spc Posted February 7, 2023 Share Posted February 7, 2023 i get this every time i install prestashop it drives me crazy. have another site that I have the same version of php and the same prestashop and it works. Link to comment Share on other sites More sharing options...
endriu107 Posted February 7, 2023 Share Posted February 7, 2023 Turn on debug mode and try install again, you should see what module make issue in installation process and you can skip this module in next installation. Link to comment Share on other sites More sharing options...
spc Posted February 7, 2023 Author Share Posted February 7, 2023 I set debug to true, and now i get this error: Warning: Uncaught Symfony\Component\Debug\Exception\ContextErrorException: Warning: require(C:\wamp\www\airbrushes\var\cache\de_\ContainerF5x7ytq\getConsole_CommandLoaderService.php): failed to open stream: No such file or directory in C:\wamp\www\airbrushes\var\cache\de_\ContainerF5x7ytq\appDevDebugProjectContainer.php:3053 Stack trace: #0 C:\wamp\www\airbrushes\var\cache\de_\ContainerF5x7ytq\appDevDebugProjectContainer.php(3053): require() #1 C:\wamp\www\airbrushes\vendor\symfony\symfony\src\Symfony\Component\DependencyInjection\Container.php(304): ContainerF5x7ytq\appDevDebugProjectContainer->load('getConsole_Comm...') #2 C:\wamp\www\airbrushes\vendor\symfony\symfony\src\Symfony\Bundle\FrameworkBundle\Console\Application.php(165): Symfony\Component\DependencyInjection\Container->get('console.command...') #3 C:\wamp\www\airbrushes\vendor\symfony\symfony\src\Symfony\Bundle\FrameworkBundle\Console\Application.php(68): Symfony\Bundle\FrameworkBundle\Console\Application->registerCommands() #4 C:\wamp\www\airbrushes\vend in C:\wamp\www\airbrushes\var\cache\de_\ContainerF5x7ytq\appDevDebugProjectContainer.php on line 3053 Fatal error: ContainerF5x7ytq\appDevDebugProjectContainer::load(): Failed opening required 'C:\wamp\www\airbrushes\var\cache\de_\ContainerF5x7ytq\getConsole_CommandLoaderService.php' (include_path='C:\wamp\www\airbrushes\vendor/pear/pear_exception;C:\wamp\www\airbrushes\vendor/pear/console_getopt;C:\wamp\www\airbrushes\vendor/pear/pear-core-minimal/src;C:\wamp\www\airbrushes\vendor/pear/archive_tar;.;C:\php\pear') in C:\wamp\www\airbrushes\var\cache\de_\ContainerF5x7ytq\appDevDebugProjectContainer.php on line 3053 Link to comment Share on other sites More sharing options...
endriu107 Posted February 7, 2023 Share Posted February 7, 2023 This is some cache related issue try delete all in C:\wamp\www\airbrushes\var\cache\ Link to comment Share on other sites More sharing options...
spc Posted February 7, 2023 Author Share Posted February 7, 2023 (edited) I have delete everything now in var\cache, try now again. There was something with the permission so i needed to reorder. im trying now again. uppdate: It was the same error... im going crazy When i check the inspect, then i can see : Failed to load resource: the server responded with a status of 414 () and this: Request-URI Too Long The requested URL's length exceeds the capacity limit for this server. Edited February 7, 2023 by spc (see edit history) Link to comment Share on other sites More sharing options...
NPO Posted February 7, 2023 Share Posted February 7, 2023 possibly php version prob ? presta and php version ? Link to comment Share on other sites More sharing options...
spc Posted February 7, 2023 Author Share Posted February 7, 2023 php version 7.3.21 and prestashop_1.7.8.4 Link to comment Share on other sites More sharing options...
NPO Posted February 7, 2023 Share Posted February 7, 2023 mmmm, if all the usual php.ini changes have been made it should be fine... Link to comment Share on other sites More sharing options...
spc Posted February 7, 2023 Author Share Posted February 7, 2023 Just now, NPO said: mmmm, if all the usual php.ini changes have been made it should be fine... What do you mean. Link to comment Share on other sites More sharing options...
NPO Posted February 7, 2023 Share Posted February 7, 2023 changes to max execution time, max uploads, post size, memory limit, max input time, (some extensions may need to be activated) - they all need to the increased (if you have a default php installation). Link to comment Share on other sites More sharing options...
spc Posted February 7, 2023 Author Share Posted February 7, 2023 (edited) i have this: max_input_vars 5000 max_execution_time = 4000 memory_limit 256M post_max_size 256M upload_max_filesize 128M But still the same error: Warning: Uncaught Symfony\Component\Debug\Exception\ContextErrorException: Warning: require(C:\wamp\www\airbrushes\var\cache\de_\ContainerJ9taejp\getConsole_CommandLoaderService.php): failed to open stream: No such file or directory in C:\wamp\www\airbrushes\var\cache\de_\ContainerJ9taejp\appDevDebugProjectContainer.php:3053 Stack trace: #0 C:\wamp\www\airbrushes\var\cache\de_\ContainerJ9taejp\appDevDebugProjectContainer.php(3053): require() #1 C:\wamp\www\airbrushes\vendor\symfony\symfony\src\Symfony\Component\DependencyInjection\Container.php(304): ContainerJ9taejp\appDevDebugProjectContainer->load('getConsole_Comm...') #2 C:\wamp\www\airbrushes\vendor\symfony\symfony\src\Symfony\Bundle\FrameworkBundle\Console\Application.php(165): Symfony\Component\DependencyInjection\Container->get('console.command...') #3 C:\wamp\www\airbrushes\vendor\symfony\symfony\src\Symfony\Bundle\FrameworkBundle\Console\Application.php(68): Symfony\Bundle\FrameworkBundle\Console\Application->registerCommands() #4 C:\wamp\www\airbrushes\vend in C:\wamp\www\airbrushes\var\cache\de_\ContainerJ9taejp\appDevDebugProjectContainer.php on line 3053 Fatal error: ContainerJ9taejp\appDevDebugProjectContainer::load(): Failed opening required 'C:\wamp\www\airbrushes\var\cache\de_\ContainerJ9taejp\getConsole_CommandLoaderService.php' (include_path='C:\wamp\www\airbrushes\vendor/pear/pear_exception;C:\wamp\www\airbrushes\vendor/pear/console_getopt;C:\wamp\www\airbrushes\vendor/pear/pear-core-minimal/src;C:\wamp\www\airbrushes\vendor/pear/archive_tar;.;C:\php\pear') in C:\wamp\www\airbrushes\var\cache\de_\ContainerJ9taejp\appDevDebugProjectContainer.php on line 3053 Edited February 7, 2023 by spc (see edit history) Link to comment Share on other sites More sharing options...
NPO Posted February 7, 2023 Share Posted February 7, 2023 Memory limit could be better but it all looks fine..... do the apache log files give any hints? Link to comment Share on other sites More sharing options...
spc Posted February 7, 2023 Author Share Posted February 7, 2023 (edited) Im going to check that, that is strange is that i delete 2 php 8.0 and 8.1 but still i have the in the software. I dont understand why. Nothing in the error log. uppdate: I find this in php log: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 1046506584 bytes) in C:\wamp\scripts\refresh.php on line 626 Edited February 7, 2023 by spc (see edit history) Link to comment Share on other sites More sharing options...
NPO Posted February 7, 2023 Share Posted February 7, 2023 are you using the 64 bit or the old 86 wamp version? With the new one you will need to add older versions of php (7.3 down) yourself and the php version change can be a problem (had that problem myself), I did a clean installation of wamp which solved the problem and a php problem. Link to comment Share on other sites More sharing options...
spc Posted February 7, 2023 Author Share Posted February 7, 2023 (edited) i use wampserver 3.3.0 64 bit, and this is a new installation, i dont whant to install it again, have to mutch on it. uppdate: Clear all logs, find php7.2, try again to install. And the same error shows up. Edited February 7, 2023 by spc (see edit history) Link to comment Share on other sites More sharing options...
spc Posted February 7, 2023 Author Share Posted February 7, 2023 last try for today php 7.1.33, cross the fingers. Link to comment Share on other sites More sharing options...
NPO Posted February 7, 2023 Share Posted February 7, 2023 Hope it works. If you run out of options and want to try a second wamp installation, just rename the wamp directory and install a new version (it will create a new wamp directory), you can rename them to activate the one you want to work with. Link to comment Share on other sites More sharing options...
spc Posted February 7, 2023 Author Share Posted February 7, 2023 still the same error: Link to comment Share on other sites More sharing options...
spc Posted February 7, 2023 Author Share Posted February 7, 2023 change to prestashop_1.7.8.8 and the installation work now. Thanks for the help. 1 Link to comment Share on other sites More sharing options...
PPSA Posted February 8, 2023 Share Posted February 8, 2023 Funnily enough I am battling with the exact same error with similar PHP settings. I've never had issues before installing Prestashop on my server but now this specific error keeps popping up I wonder if its related to the dependencies it downloads from Prestashop when it is installing the add on modules? Link to comment Share on other sites More sharing options...
spc Posted February 8, 2023 Author Share Posted February 8, 2023 Going nuts with everything. Start from prestashop 1.7.7.0 and going up. Test with different php start from 7.1 Everytime the same error. Can someone give the exakt php version for the right prestashop. Prestashop 1.7.8.8 Prestashop 1.7.8.7 Prestashop 1.7.8.6 Prestashop 1.7.8.5 Prestashop 1.7.8.4 Prestashop 1.7.8.4 Prestashop 1.7.8.3 Prestashop 1.7.8.2 Prestashop 1.7.8.1 Prestashop 1.7.8.0 Prestashop 1.7.7.8 Some of these is php 7.1 and when i add that i get error.. Link to comment Share on other sites More sharing options...
NPO Posted February 8, 2023 Share Posted February 8, 2023 They should all work. (with a clean install). There must be a wamp or php, sql setting that is stopping the install from completing. Link to comment Share on other sites More sharing options...
spc Posted February 8, 2023 Author Share Posted February 8, 2023 I tested prestashop_1.7.8.4 With php 7.1, 7.2, 7.3, 7.4 with the same result. Can someone tell me why this happends. Link to comment Share on other sites More sharing options...
NPO Posted February 8, 2023 Share Posted February 8, 2023 are you using fastCGI? Link to comment Share on other sites More sharing options...
spc Posted February 8, 2023 Author Share Posted February 8, 2023 server API CGI/FastCGI Link to comment Share on other sites More sharing options...
NPO Posted February 8, 2023 Share Posted February 8, 2023 Could be a fastCGI timeout issue. There have been a couple of those. I just did 2 fresh installations of 1.7.4.4 (new download, standard install, standard php settings) with php 7.2.14, both are fine, no problems (one wamp one linux) so it must be a configuration setting somewhere. Link to comment Share on other sites More sharing options...
spc Posted February 8, 2023 Author Share Posted February 8, 2023 (edited) im going to try prestashop_1.7.6.9 with php 7.1, if this doesent work, i give up. This looks like it works. Edited February 8, 2023 by spc (see edit history) 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