Try what I wrote 5 messages earlier?
Offline
Hi,
I just followed this post from eRack:
[Forum, post 182050 by erAck in topic 31634] Admin-interface doesnt work after upgrade to 12.1.
The directions are very simple. You can access the local/config/config.inc.php though your file manager. Add the line that is provided in the other post and then just open this file in your browser: upgrade_feed.php ( put the full http address for the file) and hit enter.
Thats it!
Offline
Hi erAck and paulleslie, thanks for getting back to me. The directions are simple, if I can figure out where the local/config/config.inc.php is located. I assume it is on host provider, so I went in and logged onto my CPanel and went to the file manager. Searched and could not find a file by that name. I looked in the files that I have on my system and did not find the file. Please tell me more of where I may find the file. Thanks...LouiseC
Offline
[Forum, post 182181 by erAck in topic 31634] Admin-interface doesnt work after upgrade to 12.1 three messages further down in that thread.
Offline
Hi erAck, In my home directory I did not have a Local folder so, I created the local folder, the I create the config folder in the local folder and then the file config.inc.php with the 3 lines in the config folder.
<?php
$conf['check_upgrade_feed'] = true;
?>
It didn't work, I still got the same error message. Question, should there be a space in front and after of the equal sign?.....LouiseC
Offline
Hi erAck, just dawn on me that I need to look for the link to piwigo folder. I was able to locate the local/config/config.inc.php file and inserted the one line. Unfortunate that did not fix the problem.
Anything else I can try?..LouiseC
Offline
Does the file have the <?php tag on the first line and ?> on the last line?
Did you invoke http://YourPiwigoSite/upgrade_feed.php in your browser?
If yes to both then I don't know.
Offline
Hi erAck, thanks for taking me step by step thru the process of fixing the problem. It's working!
Offline
Yay \o/
Offline
Hello ErAck
I've just tried your fix and it worked a treat. Many thanks and also for pointing me in the right direction
Best wishes - Tim
Offline
Hi Brian --
If you ever find a solution, please post here and I'll do the same. I really regret upgrading to 12.1.0. I've been using Piwigo for years and if I ever get it working again I will be very very reluctant to ever upgrade again. This is really unfortunate.
Cheers,
Russ
BrianO10 wrote:
Hi Folks,
I just upgraded to 12.1.0 from 11.5 (I believe) and the Admin interface (all parts of it) results in the error shown below. My website was working well before the upgrade. The normal user interface (seeing the albums and photos) still works, but always throws this error when I try to access the Admin functions. Any suggestions on how to recover? I have a backup but would like to understand/fix this.
Thanks for any help you can provide,
Brian
Warning: Use of undefined constant LOUNGE_TABLE - assumed 'LOUNGE_TABLE' (this will throw an Error in a future version of PHP) in *****.com/Piwigo/admin/include/functions.php on line 3271
Warning: [mysql error 1146] Table '******_db.LOUNGE_TABLE' doesn't exist
SELECT
image_id
FROM LOUNGE_TABLE
; in *******.com/Piwigo/include/dblayer/functions_mysqli.inc.php on line 864
Fatal error: Uncaught Error: Call to a member function fetch_assoc() on bool in *****.com/Piwigo/include/dblayer/functions_mysqli.inc.php:925 Stack trace: #0 *******.com/Piwigo/admin/include/functions.php(3273): query2array('\nSELECT\n ima...', NULL, 'image_id') #1 *****.com/Piwigo/admin.php(254): get_orphans() #2 {main} thrown in *****.com/Piwigo/include/dblayer/functions_mysqli.inc.php on line 925
Offline
hello
russmcclay wrote:
Hi Brian --
If you ever find a solution, please post here and I'll do the same. I really regret upgrading to 12.1.0. I've been using Piwigo for years and if I ever get it working again I will be very very reluctant to ever upgrade again. This is really unfortunate.
Cheers,
RussBrianO10 wrote:
Hi Folks,
I just upgraded to 12.1.0 from 11.5 (I believe) and the Admin interface (all parts of it) results in the error shown below. My website was working well before the upgrade. The normal user interface (seeing the albums and photos) still works, but always throws this error when I try to access the Admin functions. Any suggestions on how to recover? I have a backup but would like to understand/fix this.
Thanks for any help you can provide,
Brian
Warning: Use of undefined constant LOUNGE_TABLE - assumed 'LOUNGE_TABLE' (this will throw an Error in a future version of PHP) in *****.com/Piwigo/admin/include/functions.php on line 3271
Warning: [mysql error 1146] Table '******_db.LOUNGE_TABLE' doesn't exist
SELECT
image_id
FROM LOUNGE_TABLE
; in *******.com/Piwigo/include/dblayer/functions_mysqli.inc.php on line 864
Fatal error: Uncaught Error: Call to a member function fetch_assoc() on bool in *****.com/Piwigo/include/dblayer/functions_mysqli.inc.php:925 Stack trace: #0 *******.com/Piwigo/admin/include/functions.php(3273): query2array('\nSELECT\n ima...', NULL, 'image_id') #1 *****.com/Piwigo/admin.php(254): get_orphans() #2 {main} thrown in *****.com/Piwigo/include/dblayer/functions_mysqli.inc.php on line 925
Something is missing from the MySQL database.
The lounge table.
Just add it.
Offline
k5 wrote:
Something is missing from the MySQL database.
The lounge table.
Just add it.
That is not the actual cause and not a real solution (though it may silence this very error but not work otherwise). Note it is LOUNGE_TABLE not piwigo_lounge, where LOUNGE_TABLE is a constant that should be defined to $prefixeTable.'lounge' but apparently is not. See also include/constants.php
Offline