Jump to content

andavis

Clients
  • Posts

    156
  • Joined

  • Last visited

 Content Type 

Downloads

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Development Blog

Deprecation Tracker

Providers Directory

Forums

Events

Store

Gallery

Posts posted by andavis

  1. The hosting insist that there isn't any other problem in the server.

    The database errors I can get from the Get Support page are:

    There are some problems with your database. Normally it is safe to try to fix these problems automatically however if your community is large, you may want to run the necessary queries manually. If so, the queries to run are:
    CREATE TABLE `ipb_forums_forums_new` LIKE `ipb_forums_forums`;

    ALTER TABLE `ipb_forums_forums_new` ADD COLUMN `id` SMALLINT NOT NULL AUTO_INCREMENT , ADD COLUMN `topics` INT UNSIGNED NOT NULL DEFAULT 0 , ADD COLUMN `posts` INT UNSIGNED NOT NULL DEFAULT 0 , ADD

    COLUMN `last_post` INT NULL , ADD PRIMARY KEY (`id`);

    INSERT IGNORE INTO `ipb_forums_forums_new` SELECT * FROM `ipb_forums_forums`;

    DROP TABLE `ipb_forums_forums`;

    RENAME TABLE `ipb_forums_forums_new` TO `ipb_forums_forums`;

    --

    Are there any recomendations from you?

  2. 2 minutes ago, Nathan Explosion said:

    Which of these is the order of things happening?

    Option 1:

    1. You ran the support tool, and actioned its suggestions
    2. and then your forums disappeared

    Option 2:

    1. Your forums disappeared so...
    2. You then ran the support tool, and actioned its suggestions.

    Earlier today I did the option 1, so I restored a backup and problem solved for 2-3 hours.

    Now the same problem with the database and some other suggestion in the Get Support page come again and I am looking for a solution.

  3. Quote

    There are some problems with your database. Normally it is safe to try to fix these problems automatically however if your community is large, you may want to run the necessary queries manually. If so, the queries to run are:

    ALTER TABLE `ipb_core_clubs` DROP INDEX `location_lat`, ADD KEY `location_lat` (`location_lat`,`location_long`), ADD KEY `type` (`type`), ADD KEY `name` (`name`(191)), ADD KEY `content` (`content`), ADD KEY `last_activity` (`last_activity`);
    CREATE TABLE `ipb_forums_forums_new` LIKE `ipb_forums_forums`;
    ALTER TABLE `ipb_forums_forums_new` ADD COLUMN `id` SMALLINT NOT NULL AUTO_INCREMENT , ADD COLUMN `topics` INT UNSIGNED NOT NULL DEFAULT 0 , ADD COLUMN `password` VARCHAR (32) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL , ADD COLUMN `password_override` VARCHAR (255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL , ADD COLUMN `last_title` VARCHAR (255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL , ADD COLUMN `qa_rate_questions` TEXT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL , ADD COLUMN `solved_stats_from_cutoff` INT NOT NULL DEFAULT 0 , ADD PRIMARY KEY (`id`), ADD KEY `forum_password` (`password`), DROP INDEX `widget_performance`, ADD KEY `widget_performance` (`min_posts_view`,`password`(20),`password_override`(160),`can_view_others`);
    INSERT IGNORE INTO `ipb_forums_forums_new` SELECT * FROM `ipb_forums_forums`;
    DROP TABLE `ipb_forums_forums`;
    RENAME TABLE `ipb_forums_forums_new` TO `ipb_forums_forums`;
    ALTER TABLE `ipb_gallery_images` ADD KEY `image_file_size` (`image_file_size`), ADD KEY `image_views` (`image_views`);
    ALTER TABLE `ipb_cms_databases` ADD COLUMN `database_comments_perpage` TINYINT NOT NULL DEFAULT 0 ;

    or

    There are some problems with your database. Normally it is safe to try to fix these problems automatically however if your community is large, you may want to run the necessary queries manually. If so, the queries to run are:
    ALTER TABLE `ipb_core_clubs` DROP INDEX `location_lat`, ADD KEY `location_lat` (`location_lat`,`location_long`), ADD KEY `type` (`type`), ADD KEY `name` (`name`(191)), ADD KEY `content` (`content`), ADD KEY `last_activity` (`last_activity`);
    CREATE TABLE `ipb_forums_forums_new` LIKE `ipb_forums_forums`;
    ALTER TABLE `ipb_forums_forums_new` ADD COLUMN `id` SMALLINT NOT NULL AUTO_INCREMENT , ADD COLUMN `topics` INT UNSIGNED NOT NULL DEFAULT 0 , ADD COLUMN `password` VARCHAR (32) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL , ADD COLUMN `password_override` VARCHAR (255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL , ADD COLUMN `last_title` VARCHAR (255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL , ADD COLUMN `qa_rate_questions` TEXT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL , ADD COLUMN `solved_stats_from_cutoff` INT NOT NULL DEFAULT 0 , ADD PRIMARY KEY (`id`), ADD KEY `forum_password` (`password`), DROP INDEX `widget_performance`, ADD KEY `widget_performance` (`min_posts_view`,`password`(20),`password_override`(160),`can_view_others`);
    INSERT IGNORE INTO `ipb_forums_forums_new` SELECT * FROM `ipb_forums_forums`;
    DROP TABLE `ipb_forums_forums`;
    RENAME TABLE `ipb_forums_forums_new` TO `ipb_forums_forums`;
    ALTER TABLE `ipb_gallery_images` ADD KEY `image_file_size` (`image_file_size`), ADD KEY `image_views` (`image_views`);
    ALTER TABLE `ipb_cms_databases` ADD COLUMN `database_comments_perpage` TINYINT NOT NULL DEFAULT 0 ;

  4. In some way the problem is that "something" is changing all the index.php files in the server.

    After restoring the /index.php and the /admin/index.php files I get this fix issue in my ACP.

    Quote

    Some of the source files for Invision Community have been modified.
    /home/nginx/domains/michanikos.gr/public/admin/convertutf8/index.php
    /home/nginx/domains/michanikos.gr/public/admin/install/index.php
    /home/nginx/domains/michanikos.gr/public/admin/upgrade/index.php
    /home/nginx/domains/michanikos.gr/public/api/graphql/index.php
    /home/nginx/domains/michanikos.gr/public/api/index.php
    /home/nginx/domains/michanikos.gr/public/oauth/authorize/index.php
    /home/nginx/domains/michanikos.gr/public/oauth/callback/index.php
    /home/nginx/domains/michanikos.gr/public/oauth/token/index.php
    You should download an unmodified copy of those files and upload them to your server. Once that is done, check if the problem persists.

    How can I get protected? Who can access and change this files? I have the latest IPS version.

  5. I am getting a HTTP ERROR 500 and the page is down.

    From the server log I cann see:

    [20-Sep-2023 03:27:27 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function set_magic_quotes_runtime() in /home/nginx/domains/xxxxxx.com/public/initdata.php:382
    Stack trace:
    #0 /home/nginx/domains/xxxxxx.com/public/showthread.php(28): require_once()
    #1 {main}
      thrown in /home/nginx/domains/xxxxxx.com/public/initdata.php on line 382

    I tried the recovery mode solution:

    But but I still cannot see the a login page (HTTP ERROR 500)

    Is there any other suggestion to this?

×
×
  • Create New...