WebsiteBaker Support (2.13.x) > General Help & Support
Upgrade Error 2.8.3 -> 2.13.0 class.database.php
chris_s:
I am trying to do an upgrade from 2.8.3 to 2.13.0 (using the Wizard). I got it started and then it returned an error:
There was an unknown exception. Call to undefined function mysql_connect() in line (59) of (\framework\class.database.php)
I checked and there is a mysql_connect function in the connect function in the old class.database.php module.
Does this mean that the upgrade script can't handle the upgrade in one step and that I will have to upgrade to some other level first?
ruebenwurzel:
Hello,
Did you upload the zip-Package and use the unzip.php (recommanded Version) or did you upload all files with FTP and run the upgradescript?
hgs:
The upgrade goes from version 2.8.3 in one step to version 2.13
Important! Important! Create a backup of the website and the database!
This method has always worked.
1. upload the zip package (WebsiteBaker-2_13_0.zip) and the file unzip.php.zip to the server.
2. switch the website to at least php7.3 better php7.4.
3. Rename the file unzip.php.zip to unzip.php.
4. call the website https://your-domain.tld/unzip.php and follow the instructions.
5. when this is done click on the button <backend>.
5. login as SuperAdmin in the backend and click the link to the upgrade-script.
6. now several steps happen. The config.php will be rewritten in a new unified format by pressing F5.
7. after that the instruction for the upgrade-script appears.
8. select all switches and start the upgrade-script.
There is a small video (unfortunately only in german)
https://www.youtube.com/watch?v=2Vi5v7vhKx8
Translated with www.DeepL.com/Translator (free version)
chris_s:
Thanks for the feedback. I did it by unzipping the file and up loading that. I will try it the other way and let you know what happens. I am running this under WAMP, not on the server (but that shouldn't make any difference!).
chris_s:
It tried it again as suggested and I (eventually) got the same error as the very first time I tried it.
As mentioned previously, I am trying to do this on my local WAMP server. In my WWW directory, I have two directories:
* thornhill/wb (accesed as http://localhost/thornhill/wb ot just localhost/thornhill/wb
* WB_2_13_0_b which contained initially the downloaded zip file as well as unzip.php which I extracted from the downloaded Zip file's Install directory.
I have PHP 7.3.1 in this WAMP package.
The file was already unzipped in the Install directory so I didn't need to unzip it.
I ran the unzip and that seemed to complete successfully.
I clicked on the <backend> button
This took me to the upgrade panel. I filled that in and ran it.
The first time I used localhost/... in step 3 and it created a bad url for the index.php module and stopped (404).
I tried it again using http://localhost... and that avoided the previous error.
The second time through, it stopped (again) with the same error I had the very first time:
There was an unknown exception. Call to undefined function mysql_connect() in line (59) of
(framework\class.database.php)
Thus, I am stuck at the same point.
Navigation
[0] Message Index
[#] Next page
Go to full version