-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Questions regarding planned update #146
Comments
Hi, you can do a direct upgrade. The upgrade script will then run through all the upgrade steps, step by step. You can just press the 'next' button until all upgrades are done. The optimal version of MySQL is probably the latest, or a recent MariaDB. Just make sure to unset all the strict mode options. We're testing 10RC1 with php 7.1, 7.2, 7.3 and 7.4. Ariadne runs fine. However... there are quite a few changes in PHP that impact the code you've written yourself in PINP templates. Many of these will be automatically fixed in one of the upgrade steps, by recompiling the templates. However some changes can't be fixed like that and you'll have to do manually. |
Hi Poef, Thanks! :) Another question: we updated to 10RC1 with no problem. After we install PHP 7.3, is it necessary to recompile the templates, since you said: 'Many of these will be automatically fixed in one of the upgrade steps, by recompiling the templates.' If so, how do we manually recompile all templates? Thanks |
Hi, I don't think the upgrade automatically recompiles all templates, but I could be wrong. You should do this yourself to make sure. Do this in a test setup first, because if you used deprecated PHP calls in your own templates, things will break. The recompile step will tell you which calls are no longer allowed though. To do this, follow these steps:
|
Hi poef, Thanks! Just did the upgrade with PHP 7.3. Question, got the following error: Got error 'PHP message: PHP Fatal error: Cannot use 'object' as class name as it is reserved in ../public_html/ariadne/lib/configs/ariadne.phtml on line 11' Which I fixed manually in the config file. All other templates where 'object' was renamed to 'baseObject', were already fixed during the 10RC1 upgrade, but the config file NOT. Why? Thanks |
The config file (ariadne.phtml) is not part of the distribution. You create it by copying either ariadne.phtml-unix or ariadne.phtml-win. These files were fixed. We can't fix your local configuration file :) |
Hi,
I have three questions regarding a planned upgrade:
It seems we are running Ariadne CMS 9.5 currently. Is it possible to do a direct upgrade to 10.0RC1, or is it necessary to do it step by step, f.e. 9.5 > 9.6 > 9.7 > 10RC1?
What would you say is the optimal MySQL version for 10RC1?
Out of curiosity: are you running 10RC1 with PHP 7.3 or 7.4 perhaps and is it working like it should?
Would like to hear, thanks in advance.
The text was updated successfully, but these errors were encountered: