Concrete 5.6.4.0 upgrade needs to be completed under PHP 7.3, which broke the site

Permalink
Hi developers, I'm here to ask for your help in fixing the legacy 5.6.4.0 upgrade issue with PHP 7.3. I host my website with the server service offered by concrete 5, but they forced upgraded the PHP to 7.3 and took away the old versions of PHP yesterday without prior notice, while my website was still running 5.6.3.5. That upgrade broke my website.

I did a little research myself, and I started the upgrading process to 5.6.4.0, but since the website is broken, I could not log in as admin and complete the upgrade process. Therefore, my website remains broken.

When I look at the PHP error log, it is causing a MySQL login problem. It smells like the upgrade was incomplete and selecting the wrong set of codes.

Error: Call to undefined function mysql_connect() in
/home/beaupixc/public_html/updates/concrete5.6.4.0/concrete/libraries/3rdparty/adodb/drivers/adodb-mysql.inc.php:461


I am in contact with his Portland labs support through zendesk, but they could not help and told me to open a discussion here.

My business relies on this website, and this is a critical mission. I would appreciate your help.

RyujiS
 
TMDesigns replied on at Permalink Reply
TMDesigns
Hi,

I can help you with this, PM sent
mhawke replied on at Permalink Reply
mhawke
I would love for you to write up a tutorial for upgrading beyond PHP 7.1 because I have a few sites that could benefit from that.
TMDesigns replied on at Permalink Reply
TMDesigns
For this I download the site to my server which has php5.6 did a manual upgrade to concrete 5.6.4.0 then uploaded the database to the old server. I then uploaded the concrete 5.6.4.0 from the updates folder on my server to the same folder on the old server

I then copied the define update code in the config/site.php to the old server

Cleared cache on old server.

Issues will arise with plugins but this core will work will php7.3

I am available to help people with this in the future just pm me.
ConcreteOwl replied on at Permalink Reply
ConcreteOwl
Similar to the way I do these upgrades except I also do some heavy optimisation of the files and database.
Most 5.6 sites databases are really bloated and a bit of a spring clean can reduce the database size from literally 100's of megabytes to just a few.
Same with the file system, many of the files in the files/cache and files/tmp folders are redundant and need to be removed.
RyujiS replied on at Permalink Reply
RyujiS
After Tim's work to complete the upgrade, I found a couple of remaining issues related to PHP 7.3.

The core code still generates a few warnings that make the error log grow fast, so I fixed the code (trivial).

There were two add-on modules that were causing major problems: Textile (text markup language) and Formidable.

Textile could be brought to work again with a few fixes.

There are a few fixes to Formidable found on the forum but they didn't make the addon module work again. I emailed the seller but didn't get a response. This addon seems difficult to run under PHP 7.3.
MarkAnderson1960 replied on at Permalink Reply
Hello, I trying to figure out how to upload the migration program on Dashboard from 5.6.4.0 to 5.7. This week Bluehost is requiring PHP 7.4 and my history based website will be shut down. Any help would be greatly appreciated. Thank you. Mark
MarkAnderson1960 replied on at Permalink Reply
Hi, What is the lowest upgrade number that will be compatible with PHP 7.4? Thank you.
ConcreteOwl replied on at Permalink Reply
ConcreteOwl
The 5.6.4.0 core will run under php7.4, the addons might need debugging though.