idbrokers Posted October 6, 2011 Share Posted October 6, 2011 When trying to upload product pictures to insert into description I am getting the following error "SyntaxError: missing ; before statement" Any help or advice would be really helpful !!! Link to comment Share on other sites More sharing options...
phrasespot Posted October 7, 2011 Share Posted October 7, 2011 What is the version of your installation? Link to comment Share on other sites More sharing options...
idbrokers Posted October 8, 2011 Author Share Posted October 8, 2011 Prestashop Version: 1.4.4.1 Server information: Linux #1 SMP Tue Jun 7 16:46:50 EEST 2011 x86_64 Server software Version: Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP Version: 5.2.17 MySQL Version: 5.0.92-community-log Thank you for replying. Link to comment Share on other sites More sharing options...
phrasespot Posted October 8, 2011 Share Posted October 8, 2011 I think I came across a similar post somewhere in the forums. The culprit was mod_security catching some back references (../../) in the paths in TinyMCE ajax calls. If that is the case you will find the errors in mod_security log (domain or server) so ask your hosting provider if they have mod_security, if they do ask them to check the mod_security log for the errors related to your domain and explain to them you are using Prestashop which uses TinMCE and ask them to whitelist the ajaxfilemanager. 1 Link to comment Share on other sites More sharing options...
eugenata Posted February 9, 2012 Share Posted February 9, 2012 how to solve this problem without disabling/filtering mod_security? it is possible to edit the file ajafilemanager.php to solve? in what way? Sorry for my english Link to comment Share on other sites More sharing options...
eugenata Posted February 13, 2012 Share Posted February 13, 2012 It is not a solution but allows to upload my files. http://www.prestashop.com/forums/index.php?/topic/123079-file-upload-in-tinymce/page__view__findpost__p__754408 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