Page 1 of 1

500 Internal Server error while installing osCommerce templ

Posted: Wed May 06, 2009 7:16 am
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

Re: 500 Internal Server error while installing osCommerce templ

Posted: Wed May 06, 2009 7:24 am
by ganeshdoss
Very urgent........

give me a help.......

Re: 500 Internal Server error while installing osCommerce templ

Posted: Wed May 06, 2009 8:05 am
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.

Re: 500 Internal Server error while installing osCommerce templ

Posted: Wed May 06, 2009 8:18 am
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

Re: 500 Internal Server error while installing osCommerce templ

Posted: Wed May 06, 2009 8:30 am
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

Re: 500 Internal Server error while installing osCommerce templ

Posted: Wed May 06, 2009 8:54 am
by Defiline
Write it in your .htaccess file:

Code: Select all

php_flag register_globals on

Re: 500 Internal Server error while installing osCommerce templ

Posted: Wed May 06, 2009 11:58 am
by Benjamin
:arrow: Moved to Installation and Configuration

Re: 500 Internal Server error while installing osCommerce templ

Posted: Wed May 06, 2009 5:54 pm
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.