Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Internal Server Error


Guest

Recommended Posts

Hi.

 

My osCommerce have been running for 6 months, and everything been good. I've made plenty of alterations, and added some contribs, and so far everything has been working just fine. :D

But then I changede some of the colors on the site (in stylesheet.css) this friday, and the day after I couldn't add new products? Everytime I tried, it either came with a "the page can't be found", or an "Internal Server Error". And now it comes with an "Internal Server Error" everytime. The error comes, when you have filled out all of the product attributes, and chose to preview the product. :o

This can't be because of any changings in stylesheet.css, can it?

 

What can cause this error? Because I'm pretty lost here, and my webhost isn't any help, besides that they say it's not anything they've changed.

 

Suggestions for error searching would be MOST welcome! :(

Link to comment
Share on other sites

Hi.

 

My osCommerce have been running for 6 months, and everything been good. I've made plenty of alterations, and added some contribs, and so far everything has been working just fine.  :D

But then I changede some of the colors on the site (in stylesheet.css) this friday, and the day after I couldn't add new products? Everytime I tried, it either came with a "the page can't be found", or an "Internal Server Error". And now it comes with an "Internal Server Error" everytime. The error comes, when you have filled out all of the product attributes, and chose to preview the product.  :o

This can't be because of any changings in stylesheet.css, can it?

 

What can cause this error? Because I'm pretty lost here, and my webhost isn't any help, besides that they say it's not anything they've changed.

 

Suggestions for error searching would be MOST welcome!  :(

Not sure if by you changing the stylesheet.css it would cause that error but, how about putting the stylesheet.css original back to see if you get that error again. (the stylesheet.css before you made the changes)

Link to comment
Share on other sites

Not sure if by you changing the stylesheet.css it would cause that error but, how about putting the stylesheet.css original back to see if you get that error again. (the stylesheet.css before you made the changes)

 

I just tried that, but still the same error. :angry:

 

Any suggestions?

Link to comment
Share on other sites

I just tried that, but still the same error.  :angry:

 

Any suggestions?

 

I just tried another thing. I tried to add a new product, but this time i didn't add a picture (like i usually do), and it worked? I was able to add the product. So it must be because of the adding of the picture, that it goes wrong. But why?

What do I have to do/change?

Link to comment
Share on other sites

I just tried another thing. I tried to add a new product, but this time i didn't add a picture (like i usually do), and it worked? I was able to add the product. So it must be because of the adding of the picture, that it goes wrong. But why?

What do I have to do/change?

 

Strike that last remark. I just tried it again, and now i also get an Internal Server Error, without adding the picture.

Link to comment
Share on other sites

Hi Frank,

 

Try to get your host provider to look at the webserver error_log for any additional information that might be causing the 500 fatal error. It usually is server related when it works sporadically.

 

Tom

Link to comment
Share on other sites

Hi Frank,

 

Try to get your host provider to look at the webserver error_log for any additional information that might be causing the 500 fatal error. It usually is server related when it works sporadically.

 

Tom

 

Yeah, that was what I was thinking. But they don't think that it is their fault or problem, so they told me to try and solve the problem otherwise. :angry:

Link to comment
Share on other sites

If you can't view the error_log and your host won't send you the detail error_log message when the error occurs, then it's time to think about another host. Of course they haven't changed anything......you just want to see the details on the 500 error. When you get it, post it here and someone maybe be able to help a bit more.

 

Tom

Link to comment
Share on other sites

If you can't view the error_log and your host won't send you the detail error_log message when the error occurs, then it's time to think about another host. Of course they haven't changed anything......you just want to see the details on the 500 error. When you get it, post it here and someone maybe be able to help a bit more.

 

Tom

 

I'll try and lean on them a little bit more... but yes, I have been thinking about changing to another host, for a long time now. And I think I have found one... Just haven't had the time to actually do it.

Link to comment
Share on other sites

If you have a contribution installed that uses the .htaccess file, it can cause this problem if the proper options are not set up. Try renaming that file in your root to see if the problem goes away.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

If you have a contribution installed that uses the .htaccess file, it can cause this problem if the proper options are not set up. Try renaming that file in your root to see if the problem goes away.

 

Jack

 

Do you mean the .htaccess file? And just rename it to anything?

Link to comment
Share on other sites

Changing the stylesheet won't cause a 500 error. However if you have changed the permissions on any file (not folder) to 777 (full permissions) that can result in the Internal Server Error. Some servers are set up specifically to disallow that level of permissions for files within the web root.

 

Other than that if you genuinely did not change anything then it would appear to be a case of the often heard plaintive cry of the incompetent web hosting company "We haven't changed anything!".

 

Vger

Link to comment
Share on other sites

Changing the stylesheet won't cause a 500 error.  However if you have changed the permissions on any file (not folder) to 777 (full permissions) that can result in the Internal Server Error.  Some servers are set up specifically to disallow that level of permissions for files within the web root.

 

Other than that if you genuinely did not change anything then it would appear to be a case of the often heard plaintive cry of the incompetent web hosting company "We haven't changed anything!".

 

Vger

 

I have changed several files to cmod 777, but this have never caused any problems in the past. Could it be because of just one file, that has been changed to 777?

Link to comment
Share on other sites

None of your files should be set to 777 - it is a major security breach. Set all files to 644, except for the configure.php files. The configure.php files need to be either 644, 444 or 400 depending on the server being used.

 

Vger

Link to comment
Share on other sites

None of your files should be set to 777 - it is a major security breach.  Set all files to 644, except for the configure.php files.  The configure.php files need to be either 644, 444 or 400 depending on the server being used.

 

Vger

 

I'll try and check them out, thanks.

Now that i think of it, it was because i used the File Manager to make changes in the beginning.. And again it goes to show, that nothing good will come of that.

 

I'll post the result of this.

Link to comment
Share on other sites

None of your files should be set to 777 - it is a major security breach.  Set all files to 644, except for the configure.php files.  The configure.php files need to be either 644, 444 or 400 depending on the server being used.

 

Vger

 

Changing the cmod, didn't solve the problem either..... I'm getting desperat... And I'm still waiting for an reply from my host.

 

Hasn't anyone tried something simular? What was the problem?

Link to comment
Share on other sites

:D :D :D :D PROBLEM SOLVED :D :D :D :D

 

Finally, the problem is now solved. It turned out to be an error on my host's server. Which took them 3 days to figure out.

I've askede what the problem was, but still hasn't got any answers. <_<

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...