Jump to content

[SOLVED] Failed to add images product [1.7.1 & 1.7.2 v]


yeye412

Recommended Posts

Hy guys, i've a problem with product page, i cant add any product image , because when i click "Select files" nothing appear.. The problem persists on 1.7.1 and 1.7.2  Prestashop version.. 

 

In product page there is another problem.. The maintenance page is over the product page, and i cant see the product.. Images of product page and console error on attachment.

 

 

 

error_log info:

 

[Tue Aug 08 21:41:18.640205 2017] [fcgid:warn] [pid 12584:tid 140351241070336] (104)Connection reset by peer: [client 95.248.68.61:63463] mod_fcgid: error reading data from FastCGI server, referer: https://XXXXX/admin224t7gpkc/index.php/product/catalog?_token=fOeCOf1ddYS2OyihuZauVmwuvPB5Yp_Ny5dMEQLL_Lo

 

[Tue Aug 08 21:41:18.640262 2017] [fcgid:warn] [pid 12584:tid 140351241070336] (104)Connection reset by peer: [client 95.248.68.61:63463] mod_fcgid: ap_pass_brigade failed in handle_request_ipc function, referer: https://XXXX.com/admin224t7gpkc/index.php/product/catalog?_token=fOeCOf1ddYS2OyihuZauVmwuvPB5Yp_Ny5dMEQLL_Lo

 

 

 

error_log_php info:

 

[08-Aug-2017 21:18:57 Europe/Rome] PHP Warning: curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when an open_basedir is set in /home/xxxx/public_html/classes/Tools.php on line 1899

 

 

 

The 1899 line on tools.php is:             curl_setopt($curl, CURLOPT_FOLLOWLOCATION, true);

 

 

Addiotional info:

Prestashop Version: 1.7.1  & 1.7.2 (Problem appears in both)

Php versione: 5.6

Hosting: ServerPlan (Startup 10GB)

 

Thank you for every one answer to me and sorry for my bad english .. 

post-1379360-0-75437900-1502216510_thumb.jpg

post-1379360-0-79300700-1502216516_thumb.jpg

Edited by yeye412 (see edit history)
Link to comment
Share on other sites

  • 2 months later...
  • 7 months later...

Hello, I am facing the same problem but I don't understand how to solve it. 
using Prestashop 1.7.3 

I cannot add image to my products, the 'select file' isn't clickable 

I've tried all possible browsers and different computers cleared cached and even did a clean re-install no luck..

plss any detailed pointers will be appreciated 

prestashop.JPG

Link to comment
Share on other sites

  • 1 month later...
  • 2 years later...
On 6/15/2018 at 6:55 AM, Ernest said:

Hello, I am facing the same problem but I don't understand how to solve it. 
using Prestashop 1.7.3 

I cannot add image to my products, the 'select file' isn't clickable 

I've tried all possible browsers and different computers cleared cached and even did a clean re-install no luck..

plss any detailed pointers will be appreciated 

prestashop.JPG

Have the same problem on Prestashop 1.7.7.2. Heres another simmilar report (https://www.prestashop.com/forums/topic/653945-cant-add-imagesfiles-1724/). The Add imagge button is not reactive (the cursor show as text-edit not pointer) and cant drop anny immage. The browser console show a lot of errors:

 

main.bundle.js:325 Uncaught TypeError: Cannot set property 'autoDiscover' of undefined
    at Object.<anonymous> (main.bundle.js:325)
    at Object.<anonymous> (main.bundle.js:325)
    at t (main.bundle.js:1)
    at main.bundle.js:1
    at main.bundle.js:1
main.bundle.js:97 Uncaught Error: No URL provided.
    at new t (main.bundle.js:97)
    at main.bundle.js:97
    at Function.u.discover (main.bundle.js:97)
    at u._autoDiscoverFunction (main.bundle.js:97)
    at HTMLDocument.n (main.bundle.js:97)
main.bundle.js:277 jQuery.Deferred exception: jwerty is not defined ReferenceError: jwerty is not defined
    at Object.init (http://localhost/prestashop/admin-dev/themes/default/js/bundle/product/form.js?1.7.7.2:798:7)
    at HTMLDocument.<anonymous> (http://localhost/prestashop/admin-dev/themes/default/js/bundle/product/form.js?1.7.7.2:27:8)
    at u (http://localhost/prestashop/admin-dev/themes/new-theme/public/main.bundle.js:277:50301)
    at d (http://localhost/prestashop/admin-dev/themes/new-theme/public/main.bundle.js:277:50604) undefined
De.Deferred.exceptionHook @ main.bundle.js:277
main.bundle.js:277 jQuery.Deferred exception: Dropzone is not defined ReferenceError: Dropzone is not defined
    at HTMLDocument.<anonymous> (http://localhost/prestashop/admin-dev/themes/new-theme/public/product_page.bundle.js?1.7.7.2:12:52549)
    at u (http://localhost/prestashop/admin-dev/themes/new-theme/public/main.bundle.js:277:50301)
    at d (http://localhost/prestashop/admin-dev/themes/new-theme/public/main.bundle.js:277:50604) undefined
De.Deferred.exceptionHook @ main.bundle.js:277
main.bundle.js:277 Uncaught ReferenceError: jwerty is not defined
    at Object.init (form.js?1.7.7.2:798)
    at HTMLDocument.<anonymous> (form.js?1.7.7.2:27)
    at u (main.bundle.js:277)
    at d (main.bundle.js:277)
main.bundle.js:277 Uncaught ReferenceError: Dropzone is not defined
    at HTMLDocument.<anonymous> (product_page.bundle.js?1.7.7.2:12)
    at u (main.bundle.js:277)
    at d (main.bundle.js:277)
main.bundle.js:277 jQuery.Deferred exception: p is not a function TypeError: p is not a function
    at Object.<anonymous> (http://localhost/prestashop/admin-dev/themes/new-theme/public/product_page.bundle.js?1.7.7.2:12:52452)
    at u (http://localhost/prestashop/admin-dev/themes/new-theme/public/main.bundle.js:277:50301)
    at d (http://localhost/prestashop/admin-dev/themes/new-theme/public/main.bundle.js:277:50604) undefined
De.Deferred.exceptionHook @ main.bundle.js:277

Is a dev release.
 

prestashop_error.png

Link to comment
Share on other sites

  • 2 years later...

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