Jump to content

Featured Replies

Posted

For some reason I got this error this morning on our forum. Not sure why it started happening. Cannot access the entire forum or the admin panel. How would I go about correct this and being able to access my site again?

It is a 3rd party application I was using in IC4, but I've disabled it in IC5 and IC5 was working fine with it disabled. I did not enable it, but now I'm getting this error.

image.png

Edited by NAWAC

  • Author

Also, running on PHP 8.1.32 and mysqlnd 8.3.15 on AlmaLinux 9 with Apache 2.

  • Community Expert

If you have FTP access, attach the IPS\topicsview\Application.php and I’ll make it compatible with IPS5 then the error will go away.

Edited by Adriano Faria

  • Community Expert

Application.php

You need to update the app to IPS5 if it keeps identifying incompatible files.

  • Community Expert
 

For some reason I got this error this morning on our forum. Not sure why it started happening. Cannot access the entire forum or the admin panel. How would I go about correct this and being able to access my site again?

It is a 3rd party application I was using in IC4, but I've disabled it in IC5 and IC5 was working fine with it disabled. I did not enable it, but now I'm getting this error.

image.png

This is my app, Who Viewed Topics, which isn't compatible with Ips 5. You will have to uninstall it. On a side note, I do plan to update it for Ips 5 soon.

Edited by Miss_B

  • Author

Ok, I got the new Applications.php file uploaded and it's not showing that error now. However, in the Admin Panel it said I need to upgrade to 5.0.4, so I started the upgrade, now I have the following error during the upgrade and it says the following. I don't know what happened, I didn't change anything on my server, now these problems this morning!

#0 /var/www/vhosts/mysite.com/applications/core/sources/Setup/Upgrade.php(846): IPS\Application::load() 
#1 /var/www/vhosts/mysite.com/applications/core/sources/Setup/Upgrade.php(433): IPS\core\Setup\Upgrade->IPS\core\Setup\{closure}() 
#2 /var/www/vhosts/mysite.com/applications/core/sources/Setup/Upgrade.php(896): IPS\core\Setup\Upgrade->appLoop() 
#3 /var/www/vhosts/mysite.com/applications/core/sources/Setup/Upgrade.php(369): IPS\core\Setup\Upgrade->step3() 
#4 /var/www/vhosts/mysite.com/applications/core/modules/setup/upgrade/upgrade.php(60): IPS\core\Setup\Upgrade->process() 
#5 /var/www/vhosts/mysite.com/system/Helpers/MultipleRedirect/MultipleRedirect.php(104): IPS\core\modules\setup\upgrade\upgrade->IPS\core\modules\setup\upgrade\{closure}() 
#6 /var/www/vhosts/mysite.com/applications/core/modules/setup/upgrade/upgrade.php(90): IPS\Helpers\MultipleRedirect->__construct() 
#7 /var/www/vhosts/mysite.com/system/Dispatcher/Controller.php(139): IPS\core\modules\setup\upgrade\upgrade->manage() 
#8 /var/www/vhosts/mysite.com/system/Dispatcher/Setup.php(261): IPS\Dispatcher\Controller->execute() 
#9 /var/www/vhosts/mysite.com/admin/upgrade/index.php(38): IPS\Dispatcher\Setup->run() 
#10 {main} 
/var/www/vhosts/mysite.com/system/Application/Application.php::317

Edited by NAWAC

  • Author

To go along with this, I see this in the Admin Logs...

Error (1146) Table 'mysite.topicsview_log' doesn't exist: changeColumnsAndIndexes ["topicsview_log",{"view_date":{"name":"read_time","type":"INT","length":null,"decimals":null,"values":null,"allow_null":false,"default":"0","comment":"","unsigned":false,"auto_increment":false},"read_time":{"name":"view_time","type":"INT","length":null,"decimals":null,"values":null,"allow_null":false,"default":"0","comment":"","unsigned":false,"auto_increment":false}}]

and this...

Error: Table 'mysite.topicsview_log' doesn't exist 
#0 /var/www/vhosts/mysite.com/system/Db/Db.php(2169): IPS\Db->query() 
#1 /var/www/vhosts/mysite.com/system/Application/Application.php(1806): IPS\Db->changeColumnsAndIndexes() 
#2 /var/www/vhosts/mysite.com/applications/core/sources/Setup/Upgrade.php(565): IPS\Application->installDatabaseUpdates() 
#3 /var/www/vhosts/mysite.com/applications/core/sources/Setup/Upgrade.php(369): IPS\core\Setup\Upgrade->step1() 
#4 /var/www/vhosts/mysite.com/applications/core/modules/setup/upgrade/upgrade.php(60): IPS\core\Setup\Upgrade->process() 
#5 /var/www/vhosts/mysite.com/system/Helpers/MultipleRedirect/MultipleRedirect.php(104): IPS\core\modules\setup\upgrade\upgrade->IPS\core\modules\setup\upgrade\{closure}() 
#6 /var/www/vhosts/mysite.com/applications/core/modules/setup/upgrade/upgrade.php(90): IPS\Helpers\MultipleRedirect->__construct() 
#7 /var/www/vhosts/mysite.com/system/Dispatcher/Controller.php(139): IPS\core\modules\setup\upgrade\upgrade->manage() 
#8 /var/www/vhosts/mysite.com/system/Dispatcher/Setup.php(261): IPS\Dispatcher\Controller->execute() 
#9 /var/www/vhosts/mysite.com/admin/upgrade/index.php(38): IPS\Dispatcher\Setup->run() 
#10 {main}

and lastly...

Table 'mysite.topicsview_log' doesn't exist

Any help is greatly appreciated.

Edited by NAWAC

  • Community Expert
 

To go along with this, I see this in the Admin Logs...

Error (1146) Table 'mysite.topicsview_log' doesn't exist: changeColumnsAndIndexes ["topicsview_log",{"view_date":{"name":"read_time","type":"INT","length":null,"decimals":null,"values":null,"allow_null":false,"default":"0","comment":"","unsigned":false,"auto_increment":false},"read_time":{"name":"view_time","type":"INT","length":null,"decimals":null,"values":null,"allow_null":false,"default":"0","comment":"","unsigned":false,"auto_increment":false}}]

and this...

Error: Table 'mysite.topicsview_log' doesn't exist 
#0 /var/www/vhosts/mysite.com/system/Db/Db.php(2169): IPS\Db->query() 
#1 /var/www/vhosts/mysite.com/system/Application/Application.php(1806): IPS\Db->changeColumnsAndIndexes() 
#2 /var/www/vhosts/mysite.com/applications/core/sources/Setup/Upgrade.php(565): IPS\Application->installDatabaseUpdates() 
#3 /var/www/vhosts/mysite.com/applications/core/sources/Setup/Upgrade.php(369): IPS\core\Setup\Upgrade->step1() 
#4 /var/www/vhosts/mysite.com/applications/core/modules/setup/upgrade/upgrade.php(60): IPS\core\Setup\Upgrade->process() 
#5 /var/www/vhosts/mysite.com/system/Helpers/MultipleRedirect/MultipleRedirect.php(104): IPS\core\modules\setup\upgrade\upgrade->IPS\core\modules\setup\upgrade\{closure}() 
#6 /var/www/vhosts/mysite.com/applications/core/modules/setup/upgrade/upgrade.php(90): IPS\Helpers\MultipleRedirect->__construct() 
#7 /var/www/vhosts/mysite.com/system/Dispatcher/Controller.php(139): IPS\core\modules\setup\upgrade\upgrade->manage() 
#8 /var/www/vhosts/mysite.com/system/Dispatcher/Setup.php(261): IPS\Dispatcher\Controller->execute() 
#9 /var/www/vhosts/mysite.com/admin/upgrade/index.php(38): IPS\Dispatcher\Setup->run() 
#10 {main}

and lastly...

Table 'mysite.topicsview_log' doesn't exist

Any help is greatly appreciated.

Again, that table comes from my aforementioned app. It says that it doesn't exist. Not sure why the upgrader throws that error though seeing the fact that it's a table added by third party stuff.

  • Author
 

Not sure why the upgrader throws that error though seeing the fact that it's a table added by third party stuff.

Me neither. Right now I cannot access my site because it's caught in an upgrade and I can't upgrade due to the error. So, I'm caught between an rock and a hard place with no where to go.

  • Community Expert
 

Me neither. Right now I cannot access my site because it's caught in an upgrade and I can't upgrade due to the error. So, I'm caught between an rock and a hard place with no where to go.

You can try to re add that table in the database and hopefully it will help. You can take its schema either from a recent backup, or install the app on a test 4.7.20 forum and copy its table structure from there.

  • Author

I go to /admin/upgrade again and it shows this...

You have an unfinished upgrade from 03/26/25 09:12
Upgrading Applications
Core
Forums
Calendar
Gallery
Downloads
Convert
Cms
Nexus
Topicsview
Upgrade Status
Status: 3
Application: topicsview
Current Version: Not set

Notice that Application: topicsview is in the list of applications to update. Is there anyway to take it out of the queue of applications to update?

Edited by NAWAC

  • Community Expert
 

Notice that Application: topicsview is in the list of applications to update.

That explains why the upgrader was looking for the table of my app. Untick it from the list of the applications to update and give the upgrader another go. If you do that, I think that the upgrader will ignore it.

  • Author
 

Untick it from the list of the applications to update and give the upgrader another go. If you do that, I think that the upgrader will ignore it.

You cannot untick it, it's simply a list of items to upgrade.

 

You can try to re add that table in the database and hopefully it will help. You can take its schema either from a recent backup, or install the app on a test 4.7.20 forum and copy its table structure from there.

I added in the table from a backup, however, it didn't help. I still get the errors during the upgrade.

  • Author

Long story short, I had to restore a backup of my database (from last night luckily) and manually re-upload IC 5.0.4 I had running on my site before all this mess-up started. My site is up and running again now.

  • Community Expert

Glad to see that it has been solved.

Recently Browsing 0

  • No registered users viewing this page.