camman2112 Posted September 7, 2021 Share Posted September 7, 2021 Hello, I made a video describing my issues. I cannot reliably add or change products and images and the 'All Products' page throws up an exception. PrestaShop site: https://marknoble.art/ Running v1.7.7.7 and PHP v7.3. PHP settings should be fine, permissions are hard to tell because it's so laborious changing things in cPanel, but I did try and set as many correct permissions as possible across the folders and files. Not 100% sure what the issues are. Any advice would be very much appreciated! Does anyone know how I can attach the error logs from Symfony Profiler? Many thanks, Cam Link to comment Share on other sites More sharing options...
camman2112 Posted September 10, 2021 Author Share Posted September 10, 2021 Can anyone help please? Link to comment Share on other sites More sharing options...
ps8modules Posted September 10, 2021 Share Posted September 10, 2021 (edited) Prestashop + Chrome = 99% of problems. Chrome cannot work with javascripts used by Prestashop. Try another browser (Firefox). Edited September 10, 2021 by WebSoft (see edit history) Link to comment Share on other sites More sharing options...
c64girl Posted September 10, 2021 Share Posted September 10, 2021 7 hours ago, camman2112 said: Can anyone help please? Try checking the server logs it help to find error Link to comment Share on other sites More sharing options...
camman2112 Posted September 12, 2021 Author Share Posted September 12, 2021 On 9/10/2021 at 4:03 AM, WebSoft said: Prestashop + Chrome = 99% of problems. Chrome cannot work with javascripts used by Prestashop. Try another browser (Firefox). This didn't make any difference, still doesn't work on Firefox. On 9/10/2021 at 8:54 AM, c64girl said: Try checking the server logs it help to find error Here's a screenshot of the error message I get when I try to attach images to new products: Link to comment Share on other sites More sharing options...
c64girl Posted September 13, 2021 Share Posted September 13, 2021 (edited) 17 hours ago, camman2112 said: Here's a screenshot of the error message I get when I try to attach images to new products: Can You enter Your cPanel logs and check what is happening when You add image. What error is in the log file? It seems Your picture upload folder in prestashop have wrong permitions CHMOD or You dont have POST option turned on in Your cPanel or cPanel protection blocking the POST function. Edited September 13, 2021 by c64girl (see edit history) Link to comment Share on other sites More sharing options...
camman2112 Posted September 13, 2021 Author Share Posted September 13, 2021 8 hours ago, c64girl said: Can You enter Your cPanel logs and check what is happening when You add image. What error is in the log file? It seems Your picture upload folder in prestashop have wrong permitions CHMOD or You dont have POST option turned on in Your cPanel or cPanel protection blocking the POST function. Thanks for the reply. Here's what I see: Link to comment Share on other sites More sharing options...
c64girl Posted September 14, 2021 Share Posted September 14, 2021 (edited) 16 hours ago, camman2112 said: Thanks for the reply. Here's what I see: Its not a error. Its INFO. Go to server and check server log file. https://www.liquidweb.com/kb/locations-of-common-log-files-on-cpanel-servers/ /usr/local/apache/logs/access_log The access_log is used to log all http requests to either the hostname of the server, requests directed at the servers IPs, or sites that resolve to the server but are no longer hosted on it. and /usr/local/apache/logs/error_log On cPanel servers all Apache errors, regardless of site, are logged in the error_log. Copy the info from those two files at the time You making a request to upload a image or save the product. Edited September 14, 2021 by c64girl (see edit history) Link to comment Share on other sites More sharing options...
camman2112 Posted September 14, 2021 Author Share Posted September 14, 2021 (edited) Unfortunately I don't have access to: /usr/local/cpanel/logs I can only login to cPanel but I don't have access to that directory. EDIT: I also get this in cPanel: 'Error: The system failed to open the file “/etc/apache2/logs/error_log” for reading because of an error: Permission denied' Edited September 14, 2021 by camman2112 (see edit history) Link to comment Share on other sites More sharing options...
camman2112 Posted September 14, 2021 Author Share Posted September 14, 2021 Does this help? marknobleart_co_uk.php.error (1).log Link to comment Share on other sites More sharing options...
c64girl Posted September 14, 2021 Share Posted September 14, 2021 23 minutes ago, camman2112 said: Does this help? marknobleart_co_uk.php.error (1).log 163.57 kB · 1 download Did You installed new modules before this error happend? Or update prestashop? 1. Try disabling new installed modules. 2. Disable cache in back office and clear it. 3. To be sure cache is deleted change catalog "var" to "var_backup" in main dir of prestashop. Link to comment Share on other sites More sharing options...
camman2112 Posted September 14, 2021 Author Share Posted September 14, 2021 (edited) 2 hours ago, c64girl said: Did You installed new modules before this error happend? Or update prestashop? 1. Try disabling new installed modules. 2. Disable cache in back office and clear it. 3. To be sure cache is deleted change catalog "var" to "var_backup" in main dir of prestashop. I've tried all of those things before but they didn't help unfortunately. Edited September 14, 2021 by camman2112 (see edit history) Link to comment Share on other sites More sharing options...
c64girl Posted September 15, 2021 Share Posted September 15, 2021 9 hours ago, camman2112 said: I've tried all of those things before but they didn't help unfortunately. If You want i can take a look but i will need access. 1 Link to comment Share on other sites More sharing options...
camman2112 Posted September 20, 2021 Author Share Posted September 20, 2021 Issue fixed. It was a cache problem! c64girl kindly told me to: 1. Always do backup before installing, updating, plugins and prestashop. Make backup of mysql and files. 2. Always after installation, updates etc go clean cache in prestashop. If You cant enter advanced parameters > preformance > clean cache you can go by entering this link https://marknoble.art/canvas/index.php/configure/advanced/performance/clear-cache?_token=#################### 3. You can now disable debug mode. ######################## is the token You will have in prestashop when You login as admin it changes everytime You log in. Thanks! 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