Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Internal Server Error


Guest

Recommended Posts

Posted

My oscommerce site was working perfectly fine, and now I get this error message :

 

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

Apache/1.3.33 Server at www.africanshaman.com Port 80'

 

I did not alter any files so I don't know what is causing this error.

 

Your insight would be appreciated.

Posted

could be htaccess, have u looked at the log as suggested?

 

speak to host

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Posted

Yes I looked at the htaccess and it looks fine.

 

I spoke to my host and they think its got something to do with the php5.ini file.

 

But don't you find this strange that it's been working for months and all of a sudden it stops working, even though I didn't alter any files?

 

Maybe the host made an update to their php or something, what do you think?

Posted

I checked my server log file but it doesn't appear to show anything out of the ordinary.

It shows various search engine bots, various users browsing the site.

 

But I don't know what's causing the error ;(

Posted

'500' internal server errors can be caused by a lot of things:

 

1) error uploading a file (in wrong mode, binary instead of ASCII)

2) blank or empty lines at beginning or end of a file

3) using file or directory permissions not permitted by your host (e.g., 777)

4) requesting SSL (https) services when they are not installed for that directory

5) putting PHP configuration commands in .htaccess (phpflag or phpvalue) instead of php.ini file

6) errors in .htaccess or php.ini file

 

If your host just did any updating to the server software, 3 or 5 (sometimes 4 if they botched an install) are most likely.

 

If you didn't do anything, it's possible that you were hacked and the hacker left behind damaged files or wrong permissions.

Posted

This generally happens if Your code was writing to a file and the file write is generating an error.

 

Check if DB parse or some logging set to on.

 

Satish

Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Posted

Thanks for the replies.

 

I don't think it was a hack but rather something the host did.

I also ran sitemonitor but don't see anything out of the ordinary.

 

I deleted this line in php5.ini and now the site's working (except now one of the admin contribs won't work) :

[Zend]

zend_optimizer.optimization_level=15

zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.3.3

zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.3

zend_extension=/usr/local/Zend/lib/Optimizer-3.3.3/ZendExtensionManager.so

zend_extension_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.3/ZendExtensionManager_TS.so

 

Strange because this line worked fine and then all of a sudden it caused this error, any ideas why?

 

And if I `downgrade' to php4 it's possible I'll have to recode some files, true?

I ask because I have another site using php version 4 and the contrib I was referring to works fine.

Posted

suggestion : Apply if phpscipt == this then this line to be included else not.

 

So it allows both parts to work.

 

Also initially set warning error display to true and make out exactly whats wrong.

Might be that helps You in pinpointing out whats going wrong.

 

Satish

Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Posted

Downgrading to PHP4 from PHP5 is not recommended as the solution will be very short term.

 

Rather searching a solution for PHP5 is a better option.

phperror log analysis will help further.

 

 

Satish

Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Archived

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

×
×
  • Create New...