Jump to content

Installation stops @ step 3


Recommended Posts

Hi,

I am trying to update prestashop to 1.3.1 on the local but i cant .Installation stops @ step 3.

I tried everything.

I tried it :

my php version is 5.2.10 so i couldn't got :
; error_reporting
; Default Value: E_ALL & ~E_NOTICE
; Development Value: E_ALL | E_STRICT
; Production Value: E_ALL & ~E_DEPRECATED


here is my php.ini
;error_reporting
;error_reporting = E_ALL & ~E_NOTICE
;error_reporting = E_ALL & ~E_NOTICE | E_STRICT


when i install it also note :
Notice: Use of undefined constant _PS_VERSION_ - assumed '_PS_VERSION_' in C:\inetpub\wwwroot\shop\install\index.php on line 26


i only found 2 of 4 value which you told, help me config php.ini in PHP version 5.2.10, thank


and i tried it as well :

The problem is that a PHP notice message is raised during the install and if your PHP is configured to display notices, this messages makes the install crash.

Notices are generally not displayed on servers, but it may be the case on development systems.

To avoid this, you'll have to change your PHP configuration (php.ini) and turn (for example) :
error_reporting  =  E_ALL


to

error_reporting  =  E_ALL & ~E_NOTICE



I dont have wamp. Just uploaded it to my webhosting.
I searched for php.ini (it's not there)



But nothing happen.I cant pass step 3.

İ cant update prestashop in local.

I tries easyphp and wamp latest versions.

HELPPP
Link to comment
Share on other sites

  • 1 month later...
  • 2 weeks later...

Same here. This is crazy because its a rookie PHP error, but mine was crashing because of a rogue include directive in createDB.php.

On line 18 (ish) of install/xml/createDB.php, try changing:

include(INSTALL_PATH.'/classes/ToolsInstall.php');



To:

include_once(INSTALL_PATH.'/classes/ToolsInstall.php');



This fixed it for me. If you have a different problem then you can be sure it lies somewhere in the above file. Turning on error reporting will make no difference because this is an ajax call, so unless you have firebug and can monitor the responses in the firebug console, notices will not be displayed.

Link to comment
Share on other sites

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