Mirchard Posted May 14, 2012 Share Posted May 14, 2012 (edited) Hi there...I moved my prestashop from local server to a free hosted site. All worked fine, i followed the tutorial step by step, but the problem is I can't regenerate image URL uploaded in text editor to the actual server. I regenerated/moved images in BO then I regen-ed htacces but still doesn't work. The file permission is set to 777 and deleted all cookies. Also when I try to upload new img url using text editor, it gives me this error "syntax error unexpected identifier". Found this error in errors_log from ajaxfilemanager : [15-May-2012 02:20:04] PHP Warning: realpath() [<a href='function.realpath'>function.realpath</a>]: open_basedir restriction in effect. File(/usr/local/apache/htdocs) is not within the allowed path(s): (/home/:/usr/lib/php:/tmp) in /home/u434847839/public_html/mshop/ajaxfilemanager/inc/function.base.php on line 457 [15-May-2012 02:20:04] PHP Warning: file_exists() [<a href='function.file-exists'>function.file-exists</a>]: open_basedir restriction in effect. File(/usr/local/apache/htdocs) is not within the allowed path(s): (/home/:/usr/lib/php:/tmp) in /home/u434847839/public_html/mshop/ajaxfilemanager/inc/function.base.php on line 443 Any idea how to fix it? Regards! Edited May 15, 2012 by Mirchard (see edit history) Link to comment Share on other sites More sharing options...
MEG Venture Posted May 15, 2012 Share Posted May 15, 2012 What I would do is to export my products using CSV export from my local and also copy the pictures of products from there. I would then put the pictures to the root of my Prestashop installation. For example: root_of_PS/imgimport Then I reconfigure the paths of pictures in the CSV file, like ../imgimport/picture_1.jpg, ../imgimport/picture_2.jpg Now, import product CSV. You should be done Link to comment Share on other sites More sharing options...
bobmartinusa Posted May 25, 2012 Share Posted May 25, 2012 Hi there...I moved my prestashop from local server to a free hosted site. All worked fine, i followed the tutorial step by step, but the problem is I can't regenerate image URL uploaded in text editor to the actual server. I regenerated/moved images in BO then I regen-ed htacces but still doesn't work. The file permission is set to 777 and deleted all cookies. Also when I try to upload new img url using text editor, it gives me this error "syntax error unexpected identifier". Found this error in errors_log from ajaxfilemanager : [15-May-2012 02:20:04] PHP Warning: realpath() [<a href='function.realpath'>function.realpath</a>]: open_basedir restriction in effect. File(/usr/local/apache/htdocs) is not within the allowed path(s): (/home/:/usr/lib/php:/tmp) in /home/u434847839/public_html/mshop/ajaxfilemanager/inc/function.base.php on line 457 [15-May-2012 02:20:04] PHP Warning: file_exists() [<a href='function.file-exists'>function.file-exists</a>]: open_basedir restriction in effect. File(/usr/local/apache/htdocs) is not within the allowed path(s): (/home/:/usr/lib/php:/tmp) in /home/u434847839/public_html/mshop/ajaxfilemanager/inc/function.base.php on line 443 Any idea how to fix it? Regards! I think its the problem with write permissins on your .htaccess file you need to do something about it. Link to comment Share on other sites More sharing options...
Inarus Posted May 25, 2012 Share Posted May 25, 2012 Yes, check permissions on .htaccess file and regenerate this file. Link to comment Share on other sites More sharing options...
Recommended Posts