500 Internal Server Error (oscommerce site)

Status
Not open for further replies.

monster061

New Member
Messages
18
Reaction score
0
Points
0
Hi all,

Here is the deal. I have an OsCommerce website waiting to be put in action but I am running into 10 problems a day and this one really blocked me :)

I uploaded the whole site
I've put all permisions to 755
I have the registry globals off, with the proper changes made so it can work correctly.

And I am getting this message:
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@061.elementfx.com 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/2.2.6 (Unix) mod_ssl/2.2.6 OpenSSL/0.9.8g mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at www.061.elementfx.com Port 80




So good people, can someone arround here tell me what should I do to see my webpage up and running. I assume that this post will help everyone who wants to open an oscommerce site with registry_globals off.

Thanks in advance,
 
Last edited:

kajasweb

New Member
Messages
1,723
Reaction score
0
Points
0
- Have you uploaded the files to /public_html directory?
- Have you checked whether is there any problem with your .htaccess (Additional 404 Error !!!)
 

kajasweb

New Member
Messages
1,723
Reaction score
0
Points
0
I just asked to check whether the Default Index Page and ErrorHandler page is a valid page as an Additional 404 Error is encountered.
 

SNSDfans

New Member
Messages
7
Reaction score
0
Points
0
You think so?
Because I got the same error like him ><"

Do you think we should upgrade our PHP?
I have applied for that, but not accepted yet :(
 

mdatab

New Member
Messages
29
Reaction score
0
Points
0
Well i registered yesterday then i installed the WikiTiki script and PHPwiki using fantastico . But it doesn't seem to work!! I'm getting the same error as,
Code:
[B]Internal Server Error[/B]

 The server encountered an internal error or misconfiguration and was unable to complete your request.
 Please contact the server administrator,  webmaster@mdatab.pcriot.com 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/2.2.6 (Unix) mod_ssl/2.2.6 OpenSSL/0.9.7a mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at mdatab.pcriot.com Port 80

I've tried changing the permissions , but :dunno:
Please can anybody help me?
 

kajasweb

New Member
Messages
1,723
Reaction score
0
Points
0
Have you tried with any small PHP Code Snippets? If MySQL is the issue, you can check whether your configurations & Permissions are correct or not.

Just create a test PHP File with some PHP Code and try to execute it.
 
Last edited:

mdatab

New Member
Messages
29
Reaction score
0
Points
0
Oh the test file is working, you can check it here but wikitiki and phpwiki not working!! Same 500 internal server error..
Im changing the permisisons to 644.. it'll work i hope...
Edit:
Yippie... Changing permission to 644 works for me.. :cool:
 
Last edited:

SNSDfans

New Member
Messages
7
Reaction score
0
Points
0
Changed to 644, but what I got is

403 Forbidden

Forbidden

You don't have permission to access / on this server.

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
 

mdatab

New Member
Messages
29
Reaction score
0
Points
0
Changed to 644, but what I got is

403 Forbidden

Forbidden

You don't have permission to access / on this server.

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

Hey SNSDfans , change chmod of the folders to 755 while chmod of the files (eg: php) to 644 . It'll definitely work then!! Reply if it works ..
 

monster061

New Member
Messages
18
Reaction score
0
Points
0
Hi, PLEASE HEEEEEEELP !!!!!

Still nothing is going on...

I have all of my folders with 755 and all of my files to 644.

My .htaccess files are empty the main one and the one in my shop

Whats the whole thing with the .htaccess file ??? I think the problem is lays there...

What should be done ????

Previously I got the 500 internal server error and now I get the forbiden page, this is what I get:


Forbidden

You don't have permission to access /shop/9083/osc/ on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.2.6 (Unix) mod_ssl/2.2.6 OpenSSL/0.9.8g mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at www.061.elementfx.com Port 80




This is what shows up in my error log:

[Thu Dec 27 16:37:50 2007] [error] [client 79.125.142.228] File does not exist: /home/monster/public_html/403.shtml
[Thu Dec 27 16:37:50 2007] [crit] [client 79.125.142.228] (13)Permission denied: /home/monster/public_html/shop/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Thu Dec 27 16:37:50 2007] [error] [client 79.125.142.228] File does not exist: /home/monster/public_html/403.shtml
[Thu Dec 27 16:37:50 2007] [crit] [client 79.125.142.228] (13)Permission denied: /home/monster/public_html/shop/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Thu Dec 27 16:37:49 2007] [error] [client 79.125.142.228] File does not exist: /home/monster/public_html/403.shtml
[Thu Dec 27 16:37:49 2007] [crit] [client 79.125.142.228] (13)Permission denied: /home/monster/public_html/shop/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Thu Dec 27 16:37:49 2007] [error] [client 79.125.142.228] File does not exist: /home/monster/public_html/403.shtml
[Thu Dec 27 16:37:49 2007] [crit] [client 79.125.142.228] (13)Permission denied: /home/monster/public_html/shop/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Thu Dec 27 16:37:48 2007] [error] [client 79.125.142.228] File does not exist: /home/monster/public_html/403.shtml
[Thu Dec 27 16:37:48 2007] [crit] [client 79.125.142.228] (13)Permission denied: /home/monster/public_html/shop/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Thu Dec 27 16:34:17 2007] [error] [client 79.125.142.228] File does not exist: /home/monster/public_html/403.shtml
[Thu Dec 27 16:34:17 2007] [crit] [client 79.125.142.228] (13)Permission denied: /home/monster/public_html/shop/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Thu Dec 27 16:31:37 2007] [error] [client 79.125.142.228] File does not exist: /home/monster/public_html/403.shtml
[Thu Dec 27 16:31:37 2007] [crit] [client 79.125.142.228] (13)Permission denied: /home/monster/public_html/shop/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
 

SNSDfans

New Member
Messages
7
Reaction score
0
Points
0
Hey SNSDfans , change chmod of the folders to 755 while chmod of the files (eg: php) to 644 . It'll definitely work then!! Reply if it works ..

nothing happened, still got 500 Internal Server Error

sorry, can you explain it to me clearly? because I really don't understand :happysad:
 

kajasweb

New Member
Messages
1,723
Reaction score
0
Points
0
- Set 755 to your directories.
- Set 644 for PHP Files
- Place .htaccess in your sub-directories with the following content
DirectoryIndex filename.html
where filename.html is your default homepage for that directory.
 
Last edited:

mdatab

New Member
Messages
29
Reaction score
0
Points
0
Yeah , that's what i was trying to tell.. except the .htaccess file.
 

aeromgk

New Member
Messages
7
Reaction score
0
Points
0
I'm getting something similar... and tried using IE and Firefox, but the error persists.
Bad Request
Your browser sent a request that this server could not understand.


Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


--------------------------------------------------------------------------------

Apache/2.2.6 (Unix) mod_ssl/2.2.6 OpenSSL/0.9.8g mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at www.thinkfast.com.ar Port 80
 

mdatab

New Member
Messages
29
Reaction score
0
Points
0
I'm getting something similar... and tried using IE and Firefox, but the error persists.

The site works fine on my browser. Maybe something's wrong with your PC (i suppose)..
Edit:
nothing happened, still got 500 Internal Server Error

sorry, can you explain it to me clearly? because I really don't understand :happysad:

Oh, hey please check the permission of the main folder in which your index.php is located i mean if it is wiki/index.php Check the permission of the folder wiki . It should be 755 . Please describe your directory structure if possible alongwith permissions.
 
Last edited:

Chris73

New Member
Messages
5,356
Reaction score
1
Points
0
I have checked the accounts in question. I have found no problems accessing any site/link on the sites. I would suggest clearing cache and DNS.
 

aeromgk

New Member
Messages
7
Reaction score
0
Points
0
The site works fine on my browser. Maybe something's wrong with your PC (i suppose)..

I'm sorry, I provided the site name, however the problem is not on the main page, but on a sub-folder.
The problem is in http://www.thinkfast.com.ar/es/
I didn't have any .htaccess files there. I copied the one I had on the root folder to the "es" folder, but the problem still remains.

However, when I write the full path to the page http://www.thinkfast.com.ar/es/index.html it works fine.

It's really weird, don't you think?
Thanks for your help.
Marcelo
Edit:
Nevermind, I just fixed it.

There was a problem in my .htaccess when it copied from the root one, and a character got corrupted.

Thank you very much!
 
Last edited:
Status
Not open for further replies.
Top