step 5: fatal error: call to a member function on a non-object

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
scion

step 5: fatal error: call to a member function on a non-object

Post by scion »

Hi,

I'm new to cms and got into trouble at step 5. Please advice.
-----------------------------------
Updating hierarchy positions...[done]

Setting up core events...[done]

Installing modules...
Fatal error: Call to a member function on a non-object in /wwwROOT/install/lib/classes/CMSInstallerPage5.class.php on line 182
------------------------------------


Thanks.

.::scion::.
[center]new beast
[/center]
Last edited by scion on Tue Jun 05, 2007 3:29 pm, edited 1 time in total.
scion

Re: step 5: fatal error: call to a member function on a non-object

Post by scion »

Thanks. I got it working. Seems table were not created in step 4.
halm
Forum Members
Forum Members
Posts: 103
Joined: Mon Jun 11, 2007 12:52 pm

Re: step 5: fatal error: call to a member function on a non-object

Post by halm »

I'm a newbie too, and I have the exact same problem ... I'd REALLY like to know how you fixed the problem!
"One measures a circle, beginning anywhere" - Charles Fort
Pierre M.

Re: step 5: fatal error: call to a member function on a non-object

Post by Pierre M. »

Scion has said the checkbox to create tables was not enabled in step 4.
Pierre M.
halm
Forum Members
Forum Members
Posts: 103
Joined: Mon Jun 11, 2007 12:52 pm

Re: step 5: fatal error: call to a member function on a non-object

Post by halm »

Well, wouldn't that delete the forum that's already in the database?
Some way to work manually around this?
"One measures a circle, beginning anywhere" - Charles Fort
Pierre M.

Re: step 5: fatal error: call to a member function on a non-object

Post by Pierre M. »

Hello again,

either you have "the exact same problem" (nothing is installed so you don't care to delete the previous install) or you haven't said enough about your own problem.

I understand this way : you have previously installed another software (a forum) already using the database. To install CMSms, you need to create its own table. It won't hurt your existing data, as CMSms prefixes its db objets. See :
http://wiki.cmsmadesimple.org/index.php ... d_database
Just use a prefix the other software doesn't.

Have fun !

Pierre M.
halm
Forum Members
Forum Members
Posts: 103
Joined: Mon Jun 11, 2007 12:52 pm

Re: step 5: fatal error: call to a member function on a non-object

Post by halm »

Pierre M. wrote:To install CMSms, you need to create its own table. It won't hurt your existing data, as CMSms prefixes its db objets. See :
http://wiki.cmsmadesimple.org/index.php ... d_database
Just use a prefix the other software doesn't.
Thanks, worked like a charm! Being new to databases and such, I was afraid creating new tables would overwrite the forum. Consider me the wiser now ;)
"One measures a circle, beginning anywhere" - Charles Fort
Locked

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