Results 1 to 9 of 9
  1. #1
    Join Date
    Dec 2006
    Posts
    9
    Plugin Contributions
    0

    Default Internal Server Error, one part of ADMIN

    What I have done.
    Just starting store. Had domain on another host but didn't use any store.
    Set up new account at new host. I have tested Zen Cart on this host with another domain name.

    Domain name = http://grannysteacozies.com/
    When I set up the account on new host, I told them I wanted to set up zen cart before changing DNS.
    They gave me a way to access the new account to set it up (http://grannysteacozies.officewebsiteonline.com/)
    Got it all going inserted products.........

    Changed the DNS, called the hosting co. and had them do whatever they do to turn off the officewebsiteonline thing.........

    Everything looked good

    EXCEPT, the problem.
    [FONT=Book Antiqua] Zen Cart Admin. Cat -->> Configuration button.[/FONT]
    [FONT=Book Antiqua] When trying to access anything in the configuration section I get the infernal[/FONT]

    [FONT=Book Antiqua]
    Internal Server Error
    [/FONT]

    [FONT=Book Antiqua] The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.[/FONT]
    [FONT=Book Antiqua] More information about this error may be available in the server error log.[/FONT]

    [FONT=Book Antiqua] Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. [/FONT]
    [FONT=Book Antiqua] Apache/1.3.37 Server at www.grannysteacozies.com Port 80[/FONT]

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Internal Server Error, one part of ADMIN

    Try closing your browser sessions, clearing your cache and perhaps your cookies ...

    Works for me ...

    Also, you may need to restart your modem if it is not updated with the new DNS vs wait for that to happen ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Dec 2006
    Posts
    9
    Plugin Contributions
    0

    Default Re: Internal Server Error, one part of ADMIN

    Quote Originally Posted by Ajeh View Post
    Try closing your browser sessions, clearing your cache and perhaps your cookies ...

    Works for me ...

    Also, you may need to restart your modem if it is not updated with the new DNS vs wait for that to happen ...
    Yes, I did all of that and more.
    Checked my error log
    [Sat Mar 3 05:48:40 2007] [error] [client 69.153.20.37] File does not exist: /home/grann6/public_html/500.shtml
    [Sat Mar 3 05:48:40 2007] [error] [client 69.153.20.37] Premature end of script headers: /home/grann6/public_html/admin/configuration.php
    [Sat Mar 3 05:46:14 2007] [error] [client 65.55.209.149] File does not exist: /home/grann6/public_html/404.shtml
    [Sat Mar 3 05:46:14 2007] [error] [client 65.55.209.149] File does not exist: /home/grann6/public_html/robots.txt
    [Sat Mar 3 05:36:04 2007] [error] [client 69.153.20.37] File does not exist: /home/grann6/public_html/500.shtml
    [Sat Mar 3 05:36:04 2007] [error] [client 69.153.20.37] Premature end of script headers: /home/grann6/public_html/admin/configuration.php
    [Sat Mar 3 05:33:45 2007] [error] [client 65.55.209.147] File does not exist: /home/grann6/public_html/404.shtml
    [Sat Mar 3 05:33:45 2007] [error] [client 65.55.209.147] File does not exist: /home/grann6/public_html/robots.txt
    [Sat Mar 3 05:19:47 2007] [error] [client 65.55.209.148] File does not exist: /home/grann6/public_html/404.shtml
    [Sat Mar 3 05:19:47 2007] [error] [client 65.55.209.148] File does not exist: /home/grann6/public_html/robots.txt
    Ran the fix cache key 1 with these results
    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/grann6/public_html/fix_cache_key.php:43) in /home/grann6/public_html/includes/functions/sessions.php on line 102

    Warning: Cannot modify header information - headers already sent by (output started at /home/grann6/public_html/fix_cache_key.php:43) in /home/grann6/public_html/includes/init_includes/init_templates.php on line 78
    Cache Settings Synchronization Tool
    Recommendations
    Possible appropriate cache directory for your site is: /home/grann6/public_html/cache

    Actual Information
    Read DIR_FS_SQL_CACHE from configure.php: /home/grann6/public_html/cache
    Found SESSION_WRITE_DIRECTORY in database: /home/grann6/public_html/cache

    No changes required.
    Exiting.
    Security
    PLEASE DELETE THIS FILE FROM YOUR SERVER NOW!!
    Removing this file (fix_cache_key.php) from your server protects you from would-be hackers/predators who might seek to compromise your server.
    Set up a test store on the same domain. runs good without any errors.
    I did compare the config files.
    between the two and found no difference other than the pointing addresses.
    Last edited by jw716; 3 Mar 2007 at 03:01 PM.

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Internal Server Error, one part of ADMIN

    Check that both files are using the same paths, database server, database name, username and password ...

    Check in the database via phpMyAdmin on a search for the configuration_key
    SESSION_WRITE_DIRECTORY

    That this is set correctly ...

    If need be, display all of the tables in your database and select the checkboxes on:
    db_cache
    whos_online
    sessions

    Then select from the dropdown:
    Empty

    Be sure this is EMPTY and NOT drop ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  5. #5
    Join Date
    Dec 2006
    Posts
    9
    Plugin Contributions
    0

    Default Re: Internal Server Error, one part of ADMIN

    Quote Originally Posted by Ajeh View Post
    Check that both files are using the same paths, database server, database name, username and password ...

    Check in the database via phpMyAdmin on a search for the configuration_key
    SESSION_WRITE_DIRECTORY

    That this is set correctly ...

    If need be, display all of the tables in your database and select the checkboxes on:
    db_cache
    whos_online
    sessions

    Then select from the dropdown:
    Empty

    Be sure this is EMPTY and NOT drop ...
    includes -->configure.php
    Everything looks correct. Although passwords were encrypted?

    Admin -->configuration.php
    did not understand any of this file!

    admin-->includes-->configure.php
    everything looked good there except again the passwords were encrypted.

    db_cache
    whos_online
    sessions
    empty

    configuration_key
    SESSION_WRITE_DIRECTORY
    message returned
    Error

    SQL query:
    SELECT `configuration_key`
    FROM `zen_configuration`
    WHERE SESSION_WRITE_DIRECTORY
    LIMIT 0 , 30
    MySQL said:
    #1054 - Unknown column 'SESSION_WRITE_DIRECTORY' in 'where clause'

  6. #6
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Internal Server Error, one part of ADMIN

    Might try this instead:
    PHP Code:
    SELECT *
    FROM configuration
    WHERE configuration_key 
    'SESSION_WRITE_DIRECTORY'
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  7. #7
    Join Date
    Dec 2006
    Posts
    9
    Plugin Contributions
    0

    Default Re: Internal Server Error, one part of ADMIN

    I am not to good in the db with phpMyAdmin but did find what you were asking.
    configuration_key = SESSION_WRITE_DIRECTOR
    configuration_value = /home/grann6/public_html/cache

  8. #8
    Join Date
    Dec 2006
    Posts
    9
    Plugin Contributions
    0

    Default Re: Internal Server Error, one part of ADMIN

    GOT IT FIXED. First off,
    Thank you AJEH for your help.
    I did learn from you, thank you.

    I am not a professional web builder, I just do this to help friends and family.
    I learn mostly from mistakes and I make a lot of them.

    This is how I fixed my problem.
    As stated above, I set up a parallel "test" page.
    I downloaded the original db and uploaded it to the test site.
    I downloaded the original "includes" folder and uploaded it to the test site, except the config file.
    When I saw it worked good, I uninstalled the original site and did a new install and then reversed the uploads of the db and "includes" folder again excluding the config file

    I did all my install and uninstall with fantasco, it is so easy installing with this program........

  9. #9
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Internal Server Error, one part of ADMIN

    Thank for the update and glad that you were able to get things working right ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 

Similar Threads

  1. Replies: 13
    Last Post: 4 Jun 2011, 02:31 PM
  2. Admin login gives Internal Server Error
    By wingedwench in forum Installing on a Windows Server
    Replies: 8
    Last Post: 15 Dec 2009, 07:05 AM
  3. Internal server error for admin login
    By lisah746 in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 6 Jun 2009, 04:43 PM
  4. error/cannot access The Admin Console 500 internal server error
    By psarapas in forum Installing on a Mac Server
    Replies: 4
    Last Post: 12 Mar 2008, 11:45 PM
  5. 500 Internal Server Error on admin page
    By Doe in forum General Questions
    Replies: 1
    Last Post: 17 Oct 2007, 10:35 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