Recent Topics

1 Aug 12, 2019 17:02    

6.11.2 update fails to update database schema.

Hello,

I was attempting to update to the latest version (6.11.2) and I ran into the same problem here (https://forums.b2evolution.net/database-schema-6-7-gg-6-11-2). When the installer initially ran it did not give any option for updating the database, only to either install a new version or update an existing version. At this point the installation has failed and there is no path forward. What is the solution?

Thank You.

2 Aug 13, 2019 15:38

Put back previous version (tell us exact version number so we can check) and wait for 6.11.3
thanks

3 Aug 14, 2019 10:26

@cjcatalano
Going to your site the first line is an error

Deprecated: __autoload() is deprecated, use spl_autoload_register() instead in /home/astrolog/public_html/blog/inc/_core/_class_loader.funcs.php on line 55

If you are happy to code try fixing the issue by copying the file to backup and modifying it as indicated.

Another alternative is to try a manual (ftp) upload.

However if you are not in a hurry respond to @fplanque with the version you are trying to upgrade from as there may be a fix for that version.

For you and @fplanque :: the screen shot shows the error and version number (6.9.6)

4 Aug 14, 2019 14:32

We replaced the entire directory with the backup (6.9.6) and restored the database from a backup using R1 SoftRestore in cPanel. The database seems to be problematic now as we get a different error message regarding tables not existing.

@fplanque wrote earlier:

Put back previous version (tell us exact version number so we can check) and wait for 6.11.3
thanks

5 Aug 14, 2019 14:34

I believe the error is because we had to update our php version to 7.2 for other software on the site. But the database error is now a separate problem. There must have been a problem with the database before it was backed up.

@amoun wrote earlier:

@cjcatalano
Going to your site the first line is an error


Deprecated: __autoload() is deprecated, use spl_autoload_register() instead in /home/astrolog/public_html/blog/inc/_core/_class_loader.funcs.php on line 55


If you are happy to code try fixing the issue by copying the file to backup and modifying it as indicated.


Another alternative is to try a manual (ftp) upload.


However if you are not in a hurry respond to @fplanque with the version you are trying to upgrade from as there may be a fix for that version.


For you and @fplanque :: the screen shot shows the error and version number (6.9.6)

6 Aug 14, 2019 23:51

@cjcatalano wrote earlier:

I believe the error is because we had to update our php version to 7.2 for other software on the site. But the database error is now a separate problem. There must have been a problem with the database before it was backed up.

Can you put php back to 5.6*

See
https://forums.b2evolution.net/6-9-5-won-t-load-as-expected
and
https://forums.b2evolution.net/installation-bug-in-local-pc-on-line-55
.So I downgraded to PHP 5.6 and voila, problem solved, hopefully without introducing other problems as well.

https://www.php.net/manual/en/function.autoload.php

So either edit the code at line 55 or use php 5.6 <7.2

7 Aug 21, 2019 16:46

Please try with newly released 6.11.3


Form is loading...