500 Internal Server error while installing osCommerce templ

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
ganeshdoss
Forum Newbie
Posts: 7
Joined: Wed May 06, 2009 2:10 am

500 Internal Server error while installing osCommerce templ

Post by ganeshdoss »

Hai

I'm getting 500 Internal server error while installing new template to the osCommerce V2.2rca2

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, support@supportwebsite.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.

Apache/1.3.33 Server at shopping1.asalta.com Port 80

I have surfed and find possible solution and applied on it
But still remains the same error
Possible solution are,
1. Changing permission from 604 to 755(If not upto 777).
2. Enabling register_globals ON in .htaccess file.
3. Creating own php.ini and uploading it.
4. Creating valid .htaccess file.
5. File .htaccess file should be transfer as a ASCII.
6. Removing .htaccess file.

I test in all the possible solutions.

Can any one me the right solution to solve it

Thanks & Regards
Ganesh M Doss
ganeshdoss
Forum Newbie
Posts: 7
Joined: Wed May 06, 2009 2:10 am

Re: 500 Internal Server error while installing osCommerce templ

Post by ganeshdoss »

Very urgent........

give me a help.......
Defiline
Forum Commoner
Posts: 59
Joined: Tue May 05, 2009 5:34 pm

Re: 500 Internal Server error while installing osCommerce templ

Post by Defiline »

500 - Internal Server Error.

That means you should check your .htaccess file.
Try to delete it (temporarily)
The second reason is you have an error in your Perl script (if you use it).

I suggest you have unsupported directive in .htaccess or just syntax error.
ganeshdoss
Forum Newbie
Posts: 7
Joined: Wed May 06, 2009 2:10 am

Re: 500 Internal Server error while installing osCommerce templ

Post by ganeshdoss »

I deleted temporarily and checked, And It showed fatal error : register_globals On

Then i rewritten .htaccess file and it shows
500 Internal server error

I studied how to create .htaccess file and followed the same way, remains same error

yaa i too thought unsupported directive in .htaccess or syntax error

will give me correct .htaccess file, I'ii paste my .htaccess code
Check it and give me the solution.

Code: Select all

 
# $Id: .htaccess,v 1.3 2003/06/12 10:53:20 hpdl Exp $
#
# This is used with Apache WebServers
#
# For this to work, you must include the parameter 'Options' to
# the AllowOverride configuration
#
# Example:
#
# <Directory "/usr/local/apache/htdocs">
    AllowOverride Options
# </Directory>
#
# 'All' with also work. (This configuration is in the
# apache/conf/httpd.conf file)
 
# The following makes adjustments to the SSL protocol for Internet
# Explorer browsers
 
<IfModule mod_setenvif.c>
  <IfDefine SSL>
    SetEnvIf User-Agent ".*MSIE.*" \
             nokeepalive ssl-unclean-shutdown \
             downgrade-1.0 force-response-1.0
  </IfDefine>
</IfModule>
 
# Fix certain PHP values
# (commented out by default to prevent errors occuring on certain
# servers)
 
#<IfModule mod_php4.c>
#   php_value session.use_trans_sid 0
     php_value register_globals 1
#</IfModule>
 
Thanks for giving me a time

Regards
Ganesh Doss
Last edited by Benjamin on Wed May 06, 2009 11:57 am, edited 1 time in total.
Reason: Added code tags.
ganeshdoss
Forum Newbie
Posts: 7
Joined: Wed May 06, 2009 2:10 am

Re: 500 Internal Server error while installing osCommerce templ

Post by ganeshdoss »

Defiline wrote:500 - Internal Server Error.

That means you should check your .htaccess file.
Try to delete it (temporarily)
The second reason is you have an error in your Perl script (if you use it).

I suggest you have unsupported directive in .htaccess or just syntax error.
I'm using php script

Are you telling template error?

I'm going check with another template
Defiline
Forum Commoner
Posts: 59
Joined: Tue May 05, 2009 5:34 pm

Re: 500 Internal Server error while installing osCommerce templ

Post by Defiline »

Write it in your .htaccess file:

Code: Select all

php_flag register_globals on
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Re: 500 Internal Server error while installing osCommerce templ

Post by Benjamin »

:arrow: Moved to Installation and Configuration
ldougherty
Forum Contributor
Posts: 103
Joined: Sun May 03, 2009 11:39 am

Re: 500 Internal Server error while installing osCommerce templ

Post by ldougherty »

The best way to determine what is actually happening is to tail the error logs on the server while loading the page with the .htaccess enabled.

If you have access to the error logs via SSH run tail -f <error log> to see errors in real time on the server.

This is how we troubleshoot most PHP based applications with Internal Server Error to determine what directives need to be enabled on the server.
Post Reply