[solved ... nearly] CMSMS V1.2 | Edit Content | Fatal Error

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
babulski

[solved ... nearly] CMSMS V1.2 | Edit Content | Fatal Error

Post by babulski »

I've just installed 4 (yes, four!) separate installations of CMSMS on a client server.
Worked fine, as ever, CMSMS rocks  ;)

BUT:
While trying to edit a page in one of these installations (demo-stuff was installed) it got this error:

Fatal error: Call to a member function on a non-object in /~/public_html/admin/editcontent.php on line 327

Okay. Let's have a look in editcontent.php:

Code: Select all

	else if ($content_id != -1 && !$preview && strtolower(get_class($contentobj)) != strtolower($content_type))
	{
		global $gCms;
		$contentops =& $gCms->GetContentOperations();
		$contentobj = $contentops->LoadContentFromId($content_id);
line 327:	$content_type = $contentobj->Type();
		$contentobj->SetLastModifiedBy($userid);
	}
What's happening there?

The server's running PHP 4.3.3.
Excerpt from phpinfo():

magic_quotes_gpc: On On
magic_quotes_runtime: Off Off
register_globals: On On
safe_mode: Off Off

The dir-rights are set correct (during install).

Any ideas?

PS: Posted this already in the German-Thread
Last edited by babulski on Fri Oct 26, 2007 12:58 pm, edited 1 time in total.
babulski

[SOLVED] CMSMS V1.2 | Edit Content | Fatal Error

Post by babulski »

UPDATE:

I've just found a quick & dirty workaround to 'solve' this problem, and posted this in the original German-Thread.

http://forum.cmsmadesimple.org/index.php/topic,16329.0.html
neelesh
Forum Members
Forum Members
Posts: 17
Joined: Mon Aug 13, 2007 2:30 pm

Re: [solved ... nearly] CMSMS V1.2 | Edit Content | Fatal Error

Post by neelesh »

Locked

Return to “[locked] Installation, Setup and Upgrade”