Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2007
    Posts
    2
    Plugin Contributions
    0

    bug 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

  2. #2
    Join Date
    Sep 2004
    Posts
    1,388
    Plugin Contributions
    4

    Default 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?
    Frank Koehl
    "Cleverly Disguised as a Responsible Adult"

    frankkoehl.com

  3. #3
    Join Date
    Mar 2007
    Posts
    2
    Plugin Contributions
    0

    Default 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:
    Code:
    (bof)
    ...
    ?>
    
    
    
    (eof)
    (I've deleted the last blank lines)

    Session problem:
    PHP Code:
    define('STORE_SESSIONS'''); 
    #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

    Thank you very much!

  4. #4
    Join Date
    Sep 2004
    Posts
    1,388
    Plugin Contributions
    4

    Default 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?
    Frank Koehl
    "Cleverly Disguised as a Responsible Adult"

    frankkoehl.com

 

 

Similar Threads

  1. v151 Admin bouncing to login - session problem?
    By carlvt88 in forum Basic Configuration
    Replies: 7
    Last Post: 4 Oct 2013, 07:45 PM
  2. Problem - session consistency and Add to Cart buttons - CEON URI
    By w0rl0ck in forum All Other Contributions/Addons
    Replies: 7
    Last Post: 27 Aug 2011, 08:28 AM
  3. Session ID's and the Admin
    By worthy in forum General Questions
    Replies: 3
    Last Post: 11 Jun 2011, 10:12 AM
  4. Replies: 0
    Last Post: 2 Jun 2007, 02:28 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg