CMSMS 1.11.4 getting error on User::SetInitialValues()

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
msc1
New Member
New Member
Posts: 3
Joined: Sat Mar 16, 2013 9:45 am

CMSMS 1.11.4 getting error on User::SetInitialValues()

Post by msc1 »

Hi,

We are a cpanel hosting company and yesterday our client asked for changing ownership of domain (moved from a reseller account to root account). After the change operation site's admin panel started to give following error (copy/pasted from error log)

PHP Fatal error: Call to undefined method User::SetInitialValues() in /home/xxxx/public_html/lib/classes/class.user.inc.php on line 82

There were previous errors on the error log (pasted below) but it doesn't give the error anymore;

PHP Fatal error: Call to undefined method pear_ADOConnection::IsConnected() in /home/xxxx/public_html/lib/classes/class.CmsApp.php on line 432

PHP Fatal error: Class 'Smarty_Internal_Template' not found in /home/xxxx/public_html/lib/smarty/Smarty.class.php on line 1235

I checked mysql connectivity and everything seems fine, the site's every function works as it should but I can't login to xxxx.com/admin/login.php

Any help would be appreciated, thanks.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: CMSMS 1.11.4 getting error on User::SetInitialValues()

Post by calguy1000 »

When changing the working directory of a CMSMS install, whether you just renamed the directory or physically moved the files to another host you need to:

a: Check the config.php to change any paths that may be in there.
(later versions of CMSMS automatically calculate most of the paths, but they can still be overridden in the config.php)

b: Clear the CMSMS cache.
if you cannot login to the admin to do this via the standard mechanism, you can delete all files from the tmp/cache and tmp/templates_c directories.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
msc1
New Member
New Member
Posts: 3
Joined: Sat Mar 16, 2013 9:45 am

Re: CMSMS 1.11.4 getting error on User::SetInitialValues()

Post by msc1 »

Thank you very much for your reply.

I've cleared the /tmp/cache and /tmp/templates_c folders and tried to login but no luck.

I've also checked the ../config.php where the DB credentials are stored and they are working fine and there's no sql connectivity issue. Is there any other configurations that I should also check?

I'd like to add that we only changed the ownership of the domain. I believe this only affects cPanel's database and there shouldn't be any folder change. Every file ownership and folder permissions are untouched and exactly the same as before.

Thanks again for your reply.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: CMSMS 1.11.4 getting error on User::SetInitialValues()

Post by calguy1000 »

The function SetInitialValues() is in the same file (lib/classes/class.user.inc.php) can't see a reason why it would fail... other than the normal ones.

If you have not moved the site, just some internal database work in cpanel, then I don't think this should have broken CMSMS. You're probably looking for a corrupt file some place. I would start by looking at that file (lib/classes/class.user.inc.php).
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
msc1
New Member
New Member
Posts: 3
Joined: Sat Mar 16, 2013 9:45 am

Re: CMSMS 1.11.4 getting error on User::SetInitialValues()

Post by msc1 »

I resolved the issue by reinstalling and overwriting files. Admin panel is reachable now.
Post Reply

Return to “CMSMS Core”