02-04-2019, 07:41 PM
(This post was last modified: 02-04-2019, 07:48 PM by grumpy-gnome.
Edit Reason: Added more info
)
(02-04-2019, 01:27 PM)mudmin Wrote:(02-04-2019, 01:24 PM)grumpy-gnome Wrote: Tried to run the update pack from us 4.3.26 to 4.4.01. The runme script gave me two database errors (see attachment) .That global functions is not our file. Can you share what's around that line 487? Maybe that line and the previous 3 and the following 3?
Error 1: helpers.php:288 "Table us_announcements already exists"
Error 2: helpers:288 "Multiple primary key defined"
I logged on OK, but as soon as I tried to access a secured page, I received a PHP error (second attachment) .
I'm reverting back to 4.3.26 - thank goodness for a backup
The third attachment is the US dashboard page prior to trying the upgrade.
This instance of US is running on a WAMP environment. Windows 10. PHP 7.1.9. Mysql 5.7.19.
Thanks in anticipation for ideas!
I'll look at the helpers error and get back to you on that one.
Sorry, my bad - the global functions is a red herring as, as you pointed out, not a userspice file. There was a syntax error in my code which I've now fixed.
Despite this, I'm left with the errors from the runme script. After it runme is complete and I log on as admin, I'm unable to open the userspice admin function from the twisty in the top right of the admin profile page. The URL of the link behind the admin menu seems to be # (i.e. nothing).
I'm not vardump-ing anything, the screenshot I included of the two database errors is straight off the runme.php script.
Should I try going back to a base install rather than an update? I'm early enough in the development cycle with this particular site that I can do that reasonably painlessly...
If you're not sure what the line 288 error is all about - I have no clue
** update **
PHP error log has the following:
[04-Feb-2019 11:40:33 Europe/London] PHP Notice: Undefined property: stdClass::$template in C:\wamp64\www\telemetry\users\includes\template\prep.php on line 5
[04-Feb-2019 11:40:33 Europe/London] PHP Stack trace:
[04-Feb-2019 11:40:33 Europe/London] PHP 1. {main}() C:\wamp64\www\telemetry\users\login.php:0
[04-Feb-2019 11:40:33 Europe/London] PHP 2. require_once() C:\wamp64\www\telemetry\users\login.php:24
[04-Feb-2019 11:40:33 Europe/London] PHP Fatal error: require_once(): Failed opening required 'C:/wamp64/www/telemetry/usersc/templates//header.php' (include_path='.;C:\php\pear') in C:\wamp64\www\telemetry\users\includes\template\prep.php on line 5
[04-Feb-2019 11:40:33 Europe/London] PHP Stack trace:
[04-Feb-2019 11:40:33 Europe/London] PHP 1. {main}() C:\wamp64\www\telemetry\users\login.php:0
[04-Feb-2019 11:40:33 Europe/London] PHP 2. require_once() C:\wamp64\www\telemetry\users\login.php:24