kolobeh-haldy Posted February 1, 2018 Share Posted February 1, 2018 Dear All, my shop disappeared and i have only white page instead of Prestashop 1.7.2.4 I have activated define('_PS_MODE_DEV_', true); and it says Parse error: syntax error, unexpected '.' in /vendor/composer/autoload_static.php on line 1199 but this line looks OK : 'D=> __DIR__ . '/..' . '/doctrine/orm/lib/Doctrine/ORM/Mapping/PostLoad.php', Anny suggestions anyone? Link to comment Share on other sites More sharing options...
jetx Posted February 1, 2018 Share Posted February 1, 2018 Any changes to your site, eg php version upgrade? If so and you have multi php manager maybe try another version to see if it fixes it. Link to comment Share on other sites More sharing options...
kolobeh-haldy Posted February 2, 2018 Author Share Posted February 2, 2018 Hello Jetx, there was no changes at all. One day working, another day white page. Webhosting is on PHP 7.0. Link to comment Share on other sites More sharing options...
musicmaster Posted February 2, 2018 Share Posted February 2, 2018 17 hours ago, kolobeh-haldy said: Dear All, my shop disappeared and i have only white page instead of Prestashop 1.7.2.4 I have activated define('_PS_MODE_DEV_', true); and it says But this line looks OK : 'D=> __DIR__ . '/..' . '/doctrine/orm/lib/Doctrine/ORM/Mapping/PostLoad.php', Anny suggestions anyone? I am not an expert on 1.7 specific problems. But the code you shows is likely to give a problem if the PHP constant __DIR__ is empty. Maybe you can something with that. Link to comment Share on other sites More sharing options...
musicmaster Posted February 3, 2018 Share Posted February 3, 2018 __DIR__ is likely the directory that is set when you move your shop to a different directory/domain. If so it is in the ps_shop_url table and its value should be "/" (a slash) if it is the root. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now