The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$archive_pages - Line: 2 - File: printthread.php(287) : eval()'d code PHP 8.2.25 (Linux)
File Line Function
/printthread.php(287) : eval()'d code 2 errorHandler->error
/printthread.php 287 eval
/printthread.php 117 printthread_multipage



UserSpice
Update to 4.3.16 - Printable Version

+- UserSpice (https://userspice.com/forums)
+-- Forum: Support Center (https://userspice.com/forums/forumdisplay.php?fid=23)
+--- Forum: UserSpice 4.3 and Below (https://userspice.com/forums/forumdisplay.php?fid=26)
+--- Thread: Update to 4.3.16 (/showthread.php?tid=999)

Pages: 1 2


Update to 4.3.16 - AnasAZ - 03-13-2018

Hi, I used to have 4.3.14 and I downloaded the file to upgrade to 4.3.16 (4314to4316.zip). after I copied the file and edit init.php (to include DB information), in the dashboard it says that I have to update DB:

<pre>
Code:
Warning! Your database is out of date. Please click here to get the latest update. Failure to do so could cause system instability.

but every time I click on update, it takes forever, then it gives me a blank page!

When I tried to run update.php from the console, I ended up with this error:
</pre>
PHP Fatal error: require_once(): Failed opening required 'users/helpers/helpers.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/portal/users/init.php on line 23

Any ideas?


Update to 4.3.16 - AnasAZ - 03-13-2018

Repost for corrections:

Hi, I used to have 4.3.14 and I downloaded the file to upgrade to 4.3.16 (4314to4316.zip). after I copied the file and edit init.php (to include DB information), in the dashboard it says that I have to update DB:

Warning! Your database is out of date. Please click here to get the latest update. Failure to do so could cause system instability.

but every time I click on update, it takes forever, then it gives me a blank page! When I tried to run update.php from the console, I ended up with this error:

PHP Fatal error: require_once(): Failed opening required ‘users/helpers/helpers.php’ (include_path=’.:/usr/share/pear:/usr/share/php’) in /var/www/html/portal/users/init.php on line 23

Any ideas?


Update to 4.3.16 - Brandin - 03-13-2018

Can you dump your updates table so we can see what updates have been applied and what haven't?


Update to 4.3.16 - AnasAZ - 03-13-2018

MariaDB [aus_portal]> select * from updates;
+----+--------------+---------------------+
| id | migration | applied_on |
+----+--------------+---------------------+
| 15 | 3GJYaKcqUtw7 | 2018-02-01 04:15:27 |
| 16 | 3GJYaKcqUtz8 | 2018-02-01 04:15:27 |
| 17 | 2XQjsKYJAfn1 | 2018-02-01 04:15:27 |
| 18 | 69qa8h6E1bzG | 2018-02-15 21:31:02 |
| 19 | 549DLFeHMNw7 | 2018-02-15 21:31:02 |
| 20 | 4Dgt2XVjgz2x | 2018-02-15 21:31:02 |
| 21 | VLBp32gTWvEo | 2018-02-21 04:06:05 |
| 22 | 1XdrInkjV86F | 2018-02-21 04:06:05 |
| 23 | Q3KlhjdtxE5X | 2018-02-21 04:06:05 |
+----+--------------+---------------------+
Thanks for your help


Update to 4.3.16 - AnasAZ - 03-13-2018

Do you think if I added the following row to the end of the table update will work?

24 | LoI68El211ON | 2018-03-14 04:30:41


Update to 4.3.16 - Brandin - 03-14-2018

It will-but check to make sure first the actual update applied. I don't have time ATM to look into this to see what exactly you're missing/what the update was-but just use update.php as your reference.


Update to 4.3.16 - JohnBird - 03-16-2018

Hi

I've just upgraded (in stages) from 4.3.8 to 4.3.14 & all went well but if I try to upgrade from 4.3.14 to 4.3.16 then I get the following error:

SQLSTATE[HY000] [1049] Unknown database '4315'

I've tried restarting Apache & MySQL but same problem. All works perfectly if I restore my backup of 4.3.14

I'm sure I've done everything correctly so please help & thanks in anticipation.


Update to 4.3.16 - Brandin - 03-16-2018

Your init.php was patched you need to re-enter your credentials.


Update to 4.3.16 - bradley.cormack - 03-17-2018

That issue with the hung/timeout session when updating...

I ended up commenting out 3 lines for updating "LoI68El211ON" in "users/update.php"
//unlink('../install/cleanup.php');
//unlink('../install/license.php');
//rrmdir('../install');

and let it finish. Something in those calls makes php shit it's pants... maybe if the directory/files do not exist...

I found it handy to add an else clause for each update so there was a little more to look at on the screen.
eg:
else{echo "Has already been applied: ".$update."<br>";}

Im a savage coder.
yar.

Bradley.






Update to 4.3.16 - grumpy-gnome - 03-29-2018

I got around to trying a burn-it-up update. Increased memory to 1Gb, runtime to 1200 seconds and all I got was a 0.5Gb log file and no update Smile

I'll try out your commenting of lines, and see how I get on. Cheers.