Page 1 of 1

Fatal Error in admin login php line 23

Posted: Fri Jan 04, 2013 7:41 pm
by kamperguy
I am missing something for sure here. I have CMSMade Simple with the older 1.9.4 (if I remember right) and wanted to load a newer version that some shopping cart type modules required.

Now, I cant login at all, just get this message:
Warning: require_once(/nfs/c08/h04/mnt/123141/domains/rv-center.net/html/include.php) [function.require-once]: failed to open stream: Permission denied in /nfs/c08/h04/mnt/123141/domains/rv-center.net/html/admin/login.php on line 23

Fatal error: require_once() [function.require]: Failed opening required '../include.php' (include_path='/domains/rv-center.net/html') in /nfs/c08/h04/mnt/123141/domains/rv-center.net/html/admin/login.php on line 23
Here is my admin/login.php line 23 area:
$CMS_ADMIN_PAGE=1;

require_once("../include.php");
require_once("../lib/classes/class.user.inc.php");
global $gCms;
$db =& $gCms->GetDb();

$error = "";
$forgotmessage = "";
$changepwhash = "";
Our site http://www.rv-center.net is also down and this message comes up:
The wesbite declined to show this webpage

HTTP 403
Most likely causes:
•This website requires you to log in.

What you can try:
Go back to the previous page.

More information
Any help is much appreciated. I am an amateur at best. so I need newbie language please. thanks in advance.

Re: Fatal Error in admin login php line 23

Posted: Fri Jan 04, 2013 9:43 pm
by Jo Morg
I hope you have made a backup of the site before upgrading...
Was it a jump upgrade from 1.9.4 to 1.11.4?
Or did you read this, before upgrading?

Re: Fatal Error in admin login php line 23

Posted: Fri Jan 04, 2013 10:17 pm
by kamperguy
It didnt back it up properly is my best guess.

Yes, it was the jump from 1.9.4 to 1.11.4

Kinda lost here on a fix. I dont want to 'try' a bunch of things and cause further problems, so I am at a stand-still.

Re: Fatal Error in admin login php line 23

Posted: Fri Jan 04, 2013 10:40 pm
by Jo Morg
I would try to upload back the files of cmsms 1.9.4 and see if you can access admin console. After that I would follow the instructions of the link I posted previously. Look for the files on the downloads section.

Re: Fatal Error in admin login php line 23

Posted: Sat Jan 05, 2013 1:06 am
by kamperguy
Backed up files and I went ahead and loaded up 1.10 Full. Now I still get same message at admin console BUT the website now says 'down for maintenance'

Re: Fatal Error in admin login php line 23

Posted: Sat Jan 05, 2013 12:59 pm
by Jo Morg
kamperguy wrote:Backed up files and I went ahead and loaded up 1.10 Full.
Why 1.10 full?
kamperguy wrote:Now I still get same message at admin console BUT the website now says 'down for maintenance'
No... it's not the same message... which means that it is still the wrong version from what you had previously. Didn't you state you had 1.9.4? You should upload, at the very least, 1.9.4.3 and then try to access admin console. But if you not sure of which version you had before this is pretty much a trial and error exercise.
Also make sure you have a db backup: that should be the most critical backup as the database holds the data you really don't want to lose. If none of that works, try to contact your host and see if it is possible to revert the site to a state previous to your attempt to upgrade.

Re: Fatal Error in admin login php line 23

Posted: Sat Jan 05, 2013 3:13 pm
by Monitor2
Geegle "Warning: require_once" and you will see solutions. First website that pops up says it is permissions related.

How did you upload your files? FTP or on-server extract?

What are the permissions on those files?

What is your info.php?

Re: Fatal Error in admin login php line 23

Posted: Sat Jan 05, 2013 8:36 pm
by kamperguy
Making some progress. Went back to 1.9.4.3 and now I have access to admin panel. Our website still says 'down for maintenance'. Just need to fix that and I will be back to normal. thanks again!

Re: Fatal Error in admin login php line 23

Posted: Sat Jan 05, 2013 10:14 pm
by kamperguy
solved! server changed the Chmod to 644 which allowed me to change the config.php to 'write'.

Thanks for all you help! The site is back up to where it was and next week I will back it all up again and then upgrade to 1.10 and then to 1.11 so that I can start using the shopping cart and other modules.

Re: Fatal Error in admin login php line 23

Posted: Mon Jan 07, 2013 10:21 pm
by Rolf
Backup files and dbase
Upgrade to 1.10.3
Upgrade modules
Upgrade to 1.11.4
Upgrade modules...