indahweb Posted December 26, 2008 Share Posted December 26, 2008 Dear All, I'm a newbie in OSC, but tried to make my own store working well. But I need more images in our product and i use OSC addon as bvelow : oscExtraImages - As many images as you want link http://addons.oscommerce.com/info/4569 oscFileBrowser - Browse, delete and organise images folder link http://addons.oscommerce.com/info/4568 After install as per instructions, I find some error when I click "choose fle" (add images) as follows : Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/var/www/online/images/) is not within the allowed path(s): (/home/mysite:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/mysite/public_html/online/admin/includes/filebrowser/index.php on line 159 Warning: dir() [function.dir]: open_basedir restriction in effect. File(/var/www/online/images/) is not within the allowed path(s): (/home/mysite:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/mysite/public_html/online/admin/includes/filebrowser/index.php on line 193 Warning: dir(/var/www/online/images/) [function.dir]: failed to open dir: Operation not permitted in /home/mysite/public_html/online/admin/includes/filebrowser/index.php on line 193 Fatal error: Call to a member function read() on a non-object in /home/mysite/public_html/online/admin_DPCP/includes/filebrowser/index.php on line 196 and our OSCfilebrowser/config.php as below : <?php // Specifies the path to your image folder. DON'T FORGET THE TRAILING SLASH! define("FILE_PATH","/var/www/online/images/"); // If your files are OUTSIDE of the web root, leave this blank. If // your files are INSIDE the web root, set this to the URI which // corresponds to FILE_PATH above. DON'T FORGET THE TRAILING SLASH! define("FILE_URI","/online/images/"); // If you wish to allow file uploads, specify the path into which // file uploads should be saved. Otherwise, leave this blank to disable // uploads. DON'T FORGET THE TRAILING SLASH! define("UPLOAD_PATH","/var/www/files/online/images/"); // Web path admin folder from web root folder. This is usually '/catalog/admin/' or '/admin/'. DON'T FORGET THE TRAILING SLASH! define('ADMIN_PATH', '/online/admin/'); // Web path to images folder from admin folder. LEAVE TRAILING SLASH OFF HERE! define('CATALOG_IMAGES_PATH_REL_TO_ADMIN', '/online/images'); // Webserver-writable temporary path for scratch space. // DON'T FORGET THE TRAILING SLASH! define("TEMP_PATH","online/tmp/"); // Path to your ZIP application define("ZIP_BINARY","online/usr/bin/zip"); :( :blink: Please very-very Help Me, thanks before. Cheers Indah Quote Link to comment Share on other sites More sharing options...
indahweb Posted December 28, 2008 Author Share Posted December 28, 2008 Now working well Thanks for your suport Jim, case closed. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.