Forums / General Questions / Admin and Session problem

Admin and Session problem

Locked
Results 1 to 4 of 4
This thread is locked. New replies are disabled.
20 Mar 2007, 16:44
#1
dadomingues avatar

dadomingues

New Zenner

Join Date:
Mar 2007
Posts:
2
Plugin Contributions:
0

Admin and Session problem

Hi I have 2 problems: #1 Admin login... I can't do it I've tried change session to cache file and rename .htaccess file.... Return to the same screen without error message. #2 Error Page In another instalation (other server) I get an error page when i stay a little time... i think when i access the catalog and admin area at the same time, but i am not sure. I dont know what i could do! Please!!! I have to close the problem 2 urgently!!! Tnx
22 Mar 2007, 14:12
#2
blindside avatar

blindside

Totally Zenned

Join Date:
Sep 2004
Posts:
1,237
Plugin Contributions:
0

Re: Admin and Session problem

1. Can you give us some links so we can see the problem for ourselves?

2. Definitely need to provide more details. Exactly what errors do you see? What versions are you running of PHP and Zen Cart? What OS are running on? Who's your host?
23 Mar 2007, 11:33
#3
dadomingues avatar

dadomingues

New Zenner

Join Date:
Mar 2007
Posts:
2
Plugin Contributions:
0

Re: Admin and Session problem

Hi!

The #1 I already solved the problem! Some php files had blank spaces at end of the file, and I've changed the session... it was 'db' and i changed to ''. Now, this "store" is ok.

some files:
(bof)
...
?>



(eof)

(I've deleted the last blank lines)

Session problem:
[PHP]define('STORE_SESSIONS', '');[/PHP]

#2 Sometimes the page seems to be unavaliable (other store)... I don't know if the session expires and causes some error.... sometimes... or it's a server problem... if you want see (its a *** shop): www.freecentersexshop.com.br/loja :D

Thank you very much!
29 Mar 2007, 02:24
#4
blindside avatar

blindside

Totally Zenned

Join Date:
Sep 2004
Posts:
1,237
Plugin Contributions:
0

Re: Admin and Session problem

Glad you fixed it! Note that blank lines after the ?> are only critical for the very last closing php tag in the script. So if you include a file in the middle of your php processing, that file could have a dozen blank lines after it and it wouldn't matter, as long as another php tag was opened later on.
#2 Sometimes the page seems to be unavaliable (other store)... I don't know if the session expires and causes some error.... sometimes... or it's a server problem... if you want see (its a *** shop): www.freecentersexshop.com.br/loja

Not sure what you're saying here. You have another site attached to your store? What's the navigation steps you take to produce the error?