Forums / Installing on a Linux/Unix Server / Internal Server Error, one part of ADMIN

Internal Server Error, one part of ADMIN

Locked

Views: 2,610

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
2 Mar 2007, 8:40 PM
#1
jw716 avatar

jw716

New Zenner

Join Date:
Dec 2006
Posts:
9
Plugin Contributions:
0

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.

Zen Cart Admin. Cat -->> Configuration button.
When trying to access anything in the configuration section I get the infernal

> Internal Server Error> 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.

More information about this error may be available in the server error log.

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

3 Mar 2007, 1:55 AM
#2
ajeh avatar

ajeh

Oba-san

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

Re: Internal Server Error, one part of ADMIN

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

Works for me ... :smile:

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 Mar 2007, 1:55 PM
#3
jw716 avatar

jw716

New Zenner

Join Date:
Dec 2006
Posts:
9
Plugin Contributions:
0

Re: Internal Server Error, one part of ADMIN

Ajeh:

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

Works for me ... :smile:

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.

3 Mar 2007, 2:54 PM
#4
ajeh avatar

ajeh

Oba-san

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

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!

3 Mar 2007, 5:20 PM
#5
jw716 avatar

jw716

New Zenner

Join Date:
Dec 2006
Posts:
9
Plugin Contributions:
0

Re: Internal Server Error, one part of ADMIN

Ajeh:

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'

3 Mar 2007, 5:26 PM
#6
ajeh avatar

ajeh

Oba-san

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

Re: Internal Server Error, one part of ADMIN

Might try this instead:

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!

3 Mar 2007, 6:31 PM
#7
jw716 avatar

jw716

New Zenner

Join Date:
Dec 2006
Posts:
9
Plugin Contributions:
0

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

4 Mar 2007, 3:17 PM
#8
jw716 avatar

jw716

New Zenner

Join Date:
Dec 2006
Posts:
9
Plugin Contributions:
0

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........

4 Mar 2007, 3:43 PM
#9
ajeh avatar

ajeh

Oba-san

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

Re: Internal Server Error, one part of ADMIN

Thank for the update and glad that you were able to get things working right ... :smile:

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!