Page 1 of 1

Availability of 1.12.2

Posted: Sat Dec 01, 2018 2:54 pm
by RichardC
Hi!

Apparently my webhost discontinued support for PHP5, so now I'm left with a website on 1.8.2, which gives me a server error. The error logs tell me the database is inaccessible. I have another CMSMS, on a different version, but still 1.x.x. Same server, and the error log tells me that some PHP statements are not correct.

I figured if I upgrade both websites to the newest 2.x.x version, they should start functioning again. I searched the documentation, and found a page about upgrading version 1.x.x to version 2.x.x. The documentation tells me to first upgrade to 1.12.2, however the last version 1.x.x I can find in the repository is version 1.12.1.

Is it also possible to upgrade from 1.12.1 to the latest 2.x.x version?

Re: Availability of 1.12.2

Posted: Sat Dec 01, 2018 3:31 pm
by velden
http://dev.cmsmadesimple.org/project/files/6 it's there somewhere between the early 2.x releases. Just do a 'find' on the page.

Re: Availability of 1.12.2

Posted: Mon Dec 03, 2018 9:11 am
by RichardC
Found it, thank you.

My webhost re-enabled PHP5 until it's end of life. I did have the website running, so I started upgrading:
1.8.2 -> 1.9.4.3 -> 1.10.3 -> 1.11.13 -> 1.12.2 -> 2.2.8
After this I re-enabled PHP7(.0.30).
The website gave errors on Captcha and Guestbook, so I tmped them. I did get a responsive website, however, no content was visible :(

I must be doing something wrong here.

Re: Availability of 1.12.2

Posted: Mon Dec 03, 2018 10:59 am
by RichardC
I re-did the upgrades, and uploaded the latest versions of Captcha and Guestbook.

I still get a 500-error on both the website and the admin-part, even using PHP 7.0.30. The latest error in the error-log is:
[Mon Dec 03 10:36:37.784574 2018] [proxy_fcgi:error] [pid 12905:tid 140295785395968] [client 92.109.x.x:64140] AH01071: Got error 'PHP message: PHP Fatal error: Class 'CMSMS\\AdminAlerts\\TranslatableAlert' not found in /var/www/vhosts/xxxxxxxxxxx.nl/httpdocs/lib/tasks/class.CmsSecurityCheck.task.php on line 32\n'

Re: Availability of 1.12.2

Posted: Tue Dec 04, 2018 12:58 am
by DIGI3
For the previous issue, no content is usually just a scope issue. Check if your template is assigning content to a variable, and, if so, you may need to include it in the global scope. e.g.:
{$content="{content}" scope=global}
or
{content assign='foo'}{$foo=$foo scope=global}
etc

For the other issue, what changed between when you had it working with no content, and when this happened?

Re: Availability of 1.12.2

Posted: Wed Dec 05, 2018 2:00 pm
by Rolf