Zen Cart Logo
Forums / General Questions / Unable To Login To Store Admin - Sessions? Warning and Fatal Error!

Unable To Login To Store Admin - Sessions? Warning and Fatal Error!

Locked

Views: 1,998

Results 1 to 11 of 11
This thread is locked. New replies are disabled.
27 May 2008, 5:11 AM
#1
nanovation avatar

nanovation

New Zenner

Join Date:
Jan 2006
Location:
Los Gatos, CA
Posts:
20
Plugin Contributions:
0

Unable To Login To Store Admin - Sessions? Warning and Fatal Error!

Hi All,

My server was hacked and ######## links were added to all my websites on the server. My web host cleaned things up for me, but when I went to login to my account at http://arizonataxliens.com/store/admin/, I saw that there were session problems (no cookie being attributed to my visit) and my username and password were thus not being processed.

I looked up the problem in the installation guide and it recommended the following change to the configure.php file:

"Change the last line in both files to: define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'"

I tried this and BAM, I could no longer attempt to login at all! See what I mean at http://arizonataxliens.com/store/admin/. I changed it back to the way it was, but it still displays the WARNING and FATAL ERROR seen below :-(


Warning: require(/includes/autoload_func.php) [function.require]: failed to open stream: No such file or directory in /home/brendan/public_html/arizonataxliens/store/admin/includes/application_top.php on line 147

Fatal error: require() [function.require]: Failed opening required '/includes/autoload_func.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/brendan/public_html/arizonataxliens/store/admin/includes/application_top.php on line 147

I don't know what to do now. Would anyone be able to help me with some recommendations or can I pay you to fix it for me? :-)

Thanks for the help,
Nanovation

27 May 2008, 9:56 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Unable To Login To Store Admin - Sessions? Warning and Fatal Error!

The "warning" and "fatal error" messages you quoted indicated that you've got bad content in your /admin/includes/configure.php file.
You did make backups of the file before editing, right?

27 May 2008, 12:39 PM
#3
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: Unable To Login To Store Admin - Sessions? Warning and Fatal Error!

I read the problem as this file appears to be MIA or incomplete:
/includes/autoload_func.php

Delete the file you have there now and re upload the default one.

28 May 2008, 5:00 AM
#4
nanovation avatar

nanovation

New Zenner

Join Date:
Jan 2006
Location:
Los Gatos, CA
Posts:
20
Plugin Contributions:
0

Re: Unable To Login To Store Admin - Sessions? Warning and Fatal Error!

Thanks for the responses guys.

DrByte, I reinstalled the original /admin/includes/configure.php file, but that did not resolve problem.

Website Rob, I deleted the /includes/autoload_func.php file and uploaded the original, but that did not resolve the problem.

Do you think it has something to do with new security my web host put in place? Do you think they disabled cookie collecting?

Any other recommendations?

Thanks!

28 May 2008, 11:26 AM
#5
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: Unable To Login To Store Admin - Sessions? Warning and Fatal Error!

The error msg. is pretty specific in that it says it cannot find this file:
/includes/autoload_func.php

Presuming you are uploading all files into the 'store' dir., have you confirmed the "/includes/autoload_func.php" file is actually there? And that file permissions are 644 for that file?

28 May 2008, 5:23 PM
#6
nanovation avatar

nanovation

New Zenner

Join Date:
Jan 2006
Location:
Los Gatos, CA
Posts:
20
Plugin Contributions:
0

Re: Unable To Login To Store Admin - Sessions? Warning and Fatal Error!

Hi WebsiteRob,
Yep, just double checked and the file is indeed there and the permissions are set to 644. I even tried deleting and replacing to no avail. Maybe it can't find that directory?

Failed opening required '/includes/autoload_func.php' (include_path='.:/usr/lib/php:/usr/local/lib/php')

Maybe it has something to do with the include_path?

28 May 2008, 5:47 PM
#7
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: Unable To Login To Store Admin - Sessions? Warning and Fatal Error!

Looks like you will need to buckle down and start doing some research then trial & error.

Search the Forum for "function.require" and you'll find some threads with similar problems. I'm sure one of them will help to solve your situation. Not sure what your Hoster did to "clean up" the previous hacking situation but your problem could be as simple as a missing file somewhere, running the "fix_cache_key" file (from the Downloads sections) or getting help from your Hoster.

Best of luck.

Forgot to mention, did you see what happens when using the default Classic Template?

Also, definitely seems like the problem is with your "sessions" caching but not sure where.

29 May 2008, 12:58 PM
#8
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Unable To Login To Store Admin - Sessions? Warning and Fatal Error!

If your configure.php file is damaged or incomplete, then the required path will not be used when trying to access the files. This can also result in "file not found" messages.

29 May 2008, 4:55 PM
#9
nanovation avatar

nanovation

New Zenner

Join Date:
Jan 2006
Location:
Los Gatos, CA
Posts:
20
Plugin Contributions:
0

Re: Unable To Login To Store Admin - Sessions? Warning and Fatal Error!

Thanks for the help guys. After a couple hours of trying to figure out what was causing the problem, I finally turned to the Commercial Help Wanted section at http://www.zen-cart.com/forum/forumdisplay.php?f=137. For $75, my problems were investigated, identified, and solved :-)

1 Jun 2008, 4:32 AM
#10
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Unable To Login To Store Admin - Sessions? Warning and Fatal Error!

What was the final solution that worked for you? :smile:

1 Jun 2008, 5:38 AM
#11
nanovation avatar

nanovation

New Zenner

Join Date:
Jan 2006
Location:
Los Gatos, CA
Posts:
20
Plugin Contributions:
0

Re: Unable To Login To Store Admin - Sessions? Warning and Fatal Error!

Well, I asked the company that helped and all they would tell me was "The problem was file based it was not to messy but enough to give a head ache."