Jump to content

Prestashop v1.7.7.7 issues - cannot reliably add or change products and images, 'All Products' page throws up exception


camman2112

Recommended Posts

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

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:

 

image.thumb.png.1b94829b3d3e8fc8e0418f31f3b659c3.png

 

 

image.thumb.png.4035e46a5df5b70e6ff9b0db942a640b.png

 

image.thumb.png.e7367caee53b7355e0bbc40d61c6a3a2.png

 

Link to comment
Share on other sites

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 by c64girl (see edit history)
Link to comment
Share on other sites

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:

 

image.thumb.png.087a19aa7f5024d24afc35f8706802bb.png

Link to comment
Share on other sites

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 by c64girl (see edit history)
Link to comment
Share on other sites

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 by camman2112 (see edit history)
Link to comment
Share on other sites

23 minutes ago, camman2112 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.

Link to comment
Share on other sites

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 by camman2112 (see edit history)
Link to comment
Share on other sites

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

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