Jump to content

Prestashop 1.4.0.17 and HTTP 500 Internal Server Error


Recommended Posts

Hi All,

I have seen similar problems like this but thought I would start my own topic.

I have installed Prestashop for the first time and all worked fine except trying to display the Prestashop shop page displays error HTTP 500 - the website cannot display the page. The administration side of things works just fine ie: http://www.soesoft.com/golimeshop/adminxxx'>http://www.soesoft.com/golimeshop/adminxxx

But trying to display http://www.soesoft.com/golimeshop throws up the HTTP 500 error. Index.php definitely exists in this location:

Some details about my installation:

1. Windows Server 2003/IIS 6.0
2. PHP 5.3.6
3. MySQL 5.5.10

PHP definitely works correctly, install of Prestashop went on no problems, admin console works 100%, just not the most important part the shop itself. Any ideas as to what I can do?

Cheers

Link to comment
Share on other sites

Hi,

It was installed with the sample data. The rewrite tools appears to be for Apache server only, we use IIS6.0 which is our web server, we don't use a service provider. Any changes you might want to suggest we can do as being our own web server I have direct access to it. I checked out the forum link you provided but again .htaccess appears to be something used by Apache server not IIS, is this correct?

Cheers

Link to comment
Share on other sites

Yes, you right for htaccess and rewrite rules.

What about read/write permissions on directories cache, compile (in tools/smarty if I remember well).

Also what about your php or IIS error log when you try to access to your shop ?

Regards,
Michaël

Link to comment
Share on other sites

Hi,

I have for development purposes set security to R/W on all folders and sub-folders while I try to get this working for Internet User Account. There is no errors logged in either IIS or PHP logs.

What I have noticed now is that if I go to my front end web shop at say: http://www.soesoft.com/golimeshop it redirects the URL to http://www.soesoft.com/golimeshop/en, and the "en" sub-folder does not exist.

Cheers

Link to comment
Share on other sites

I have the same issue here

Mac OSX with MAMP(PHP 5.3.5 activated)

HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request.

From PHP log

[21-Mar-2011 15:03:35] PHP Fatal error: require_once() [function.require]: Failed opening required '/Applications/MAMP/htdocs/echipamentecaroserii/admin/init.php' (include_path='.:/Applications/MAMP/bin/php5.3/lib/php') in /Applications/MAMP/htdocs/echipamentecaroserii/admin/header.inc.php on line 34

I've seen that is required init.php form admin! But the admin was renamed to adminxxx. So, it cannot fetch from admin as it doesn't exist. Where do I set the new name of the admin?

p.S.

There is no path defines in settings.inc.php

Link to comment
Share on other sites

I am getting the same error message. I have full access to BO, but cannot get anywhere in FO. I have checked all of my versions of PHP and memory size limits. Still nothing. Do we have any traction on this yet?

Link to comment
Share on other sites

@Juao

# .htaccess automaticaly generated by PrestaShop e-commerce open-source solution
# WARNING: PLEASE DO NOT MODIFY THIS FILE MANUALLY. IF NECESSARY, ADD YOUR SPECIFIC CONFIGURATION WITH THE HTACCESS GENERATOR IN BACK OFFICE
# http://www.prestashop.com - http://www.prestashop.com/forums



# URL rewriting module activation
RewriteEngine on

# URL rewriting rules
RewriteRule ^api/?(.*)$ /yoursitedirectory/webservice/dispatcher.php?url=$1 [QSA,L]


# Catch 404 errors
ErrorDocument 404 /echipamentecaroserii/404.php



Mind that is working on Mac OS X with MAMP!

Link to comment
Share on other sites

Hi Guys,

Just wondering if you tested 1.4 with IIS 6/7 as that will be a very common deployment. Anyway I am going to try 1.3.7 and hopefully that will work. Happy to help with any testing as the web server is our own not a service provider one.

My understanding is .htaccess is for apache web server only anyway and has no purpose on IIS.

Cheers

Link to comment
Share on other sites

We're on IIS 6. Having major issues getting Prestashop 1.4 to work (although that doesn't appear to be anything to do with the server) and we're having problems with friendly URLs on 1.3.7 (and that's after sorting the installation issue in 1.3.7)!

All good fun...

Link to comment
Share on other sites

RESOLVED

It's in your Apache Configuration... Do an Easy Apache Update (in WHM)...

WHM >> EasyApache (Apache Update) >> Start customize based on your default profile >> Select Apache version >> Select PHP Version >> Select PHP Minor Version >> Select Short Option as per your needs >> Exhaustive Options List, there you will find "Mbstring" select that option(you can search by ctrl+F5 with Mbstring) >> start Rebuilding Apache...

Anyhow, 1.4 admin office is much desired.. I'm glad it got resolved !!!!

Link to comment
Share on other sites

  • 1 month later...

I also had the 500 error after the admin folder rename step.
I'm running 1.4.1.0 on MAMP.
My php log showed that it was still looking for the init.php file in "admin" instead of the renamed "adminxxx".

I tried various suggested fixes (changing permissions, moving .htaccess) but nothing worked.


Then by chance I decided to change the MAMP php version from 5.3 to 5.2
(the Mac MAMP has a dashboard widget which lets you quickly change this, which is why I got curious and tried)

As soon as I did this all was working!

I then switched the php back to 5.3 and it continued to work fine.


I have no idea if this has anything to do with switching versions - it seems more likely that the reboot of the apache server due to switching php versions caused it to find the init.php file correctly.

Link to comment
Share on other sites

  • 2 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...