drillsar Posted September 18, 2017 Share Posted September 18, 2017 (edited) I just installed prestashop and now receive blank page and in apache2 error log $>__construct(false, false)\n#3 /var/www/html/classes/Dispatcher.php(371): ControllerCore::getController('IndexController')\n#4 /var/www/html/index.php(28): DispatcherCore->dispatch()\n#5 {main}\n throw/classic/assets/cache/": mkdir(): Permission denied. in /var/www/html/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php:100\nStack trace:\n#0 I changed permissions to 755 dir and 644 for files after install is this correct? Edited September 18, 2017 by drillsar (see edit history) Link to comment Share on other sites More sharing options...
drillsar Posted September 18, 2017 Author Share Posted September 18, 2017 Ok I put Enable errors on and I get this: Warning: rename(/tmp/class_index.phpccQRZG,/var/www/html/app/cache/dev/class_index.php): No such file or directory in /var/www/html/classes/PrestaShopAutoload.php on line 255Warning: rename(/tmp/class_stub.phpK7HWbe,/var/www/html/app/cache/dev/class_stub.php): No such file or directory in /var/www/html/classes/PrestaShopAutoload.php on line 255Warning: rename(/tmp/namespaced_class_stub.phpj8z2nL,/var/www/html/app/cache/dev/namespaced_class_stub.php): No such file or directory in /var/www/html/classes/PrestaShopAutoload.php on line 255Warning: require_once(/var/www/html/app/cache/dev/appParameters.php): failed to open stream: No such file or directory in /var/www/html/config/bootstrap.php on line 86Fatal error: require_once(): Failed opening required '/var/www/html/app/cache/dev/appParameters.php' (include_path='/var/www/html/vendor/pear/pear_exception:/var/www/html/vendor/pear/console_getopt:/var/www/html/vendor/pear/pear-core-minimal/src:/var/www/html/vendor/pear/archive_tar:.:/usr/share/php') in /var/www/html/config/bootstrap.php on line 86 Link to comment Share on other sites More sharing options...
john king Posted January 5, 2018 Share Posted January 5, 2018 On 9/19/2017 at 3:17 AM, drillsar said: Ok I put Enable errors on and I get this: Warning: rename(/tmp/class_index.phpccQRZG,/var/www/html/app/cache/dev/class_index.php): No such file or directory in /var/www/html/classes/PrestaShopAutoload.php on line 255Warning: rename(/tmp/class_stub.phpK7HWbe,/var/www/html/app/cache/dev/class_stub.php): No such file or directory in /var/www/html/classes/PrestaShopAutoload.php on line 255Warning: rename(/tmp/namespaced_class_stub.phpj8z2nL,/var/www/html/app/cache/dev/namespaced_class_stub.php): No such file or directory in /var/www/html/classes/PrestaShopAutoload.php on line 255Warning: require_once(/var/www/html/app/cache/dev/appParameters.php): failed to open stream: No such file or directory in /var/www/html/config/bootstrap.php on line 86Fatal error: require_once(): Failed opening required '/var/www/html/app/cache/dev/appParameters.php' (include_path='/var/www/html/vendor/pear/pear_exception:/var/www/html/vendor/pear/console_getopt:/var/www/html/vendor/pear/pear-core-minimal/src:/var/www/html/vendor/pear/archive_tar:.:/usr/share/php') in /var/www/html/config/bootstrap.php on line 86 same error localhost work fine but main server this error Link to comment Share on other sites More sharing options...
john king Posted January 5, 2018 Share Posted January 5, 2018 how to slove Link to comment Share on other sites More sharing options...
Dupflo Posted July 15, 2019 Share Posted July 15, 2019 Any idea ? Got same error ... PHP 7.0 on Debian 9 Link to comment Share on other sites More sharing options...
Foghete Posted September 24, 2019 Share Posted September 24, 2019 It's a problem with permission. Try a chmod 775. 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