• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: site down, probably PHP change on server
PostPosted: Tue Jul 16, 2019 11:02 am 
Offline
New Member
New Member

Joined: Tue Jul 16, 2019 10:52 am
Posts: 1
I have a site made with version 1.5.2 which has been running fine for years until a few days ago. The phpinfo shows it is now version 7.3.6, which I suspect was recently upgraded, but I don't know what it was before. The error log shows an error on line 70, it doesn't like the "new" for the CmsObject:

#Make a new CMS object
require(cms_join_path($dirname,'lib','classes','class.global.inc.php'));
$gCms =& new CmsObject();
if (isset($starttime))
{
$gCms->variables['starttime'] = $starttime;
}

Is there a simple fox for this, or a way to control the PHP version?


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: site down, probably PHP change on server
PostPosted: Tue Jul 16, 2019 1:51 pm 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Wed Feb 25, 2009 4:25 am
Posts: 784
Location: Victoria, BC
Yep, you'll need to get an older version of PHP on there, or move it to a temporary location/vm with PHP 5.x. Generally PHP 5.6 works for the CMSMS 1.x series but for one that old you might need ~5.4.

_________________
Not getting the answer you need? CMSMS support options


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
A2 Hosting