Page 1 of 2 12 LastLast
Results 1 to 10 of 284

Hybrid View

  1. #1
    Join Date
    Oct 2010
    Location
    Bucharest
    Posts
    7
    Plugin Contributions
    0

    Default Re: Image Manager addon

    Hello,

    Can anyone please help with this error in admin/image manager:

    Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/home/MYSITE/public_html/images/3ds/mcsc.gif/) is not within the allowed path(s): (/home/MYSITE/:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/MYSITE/public_html/admin/includes/functions/extra_functions/function_image_manager.php on line 635

    The error is over and over again for every single image i have in products catalog.

    I already tried setting permissions to 777 almost to any folder or file... no result.
    I tried reinstall the image manager i had the same result.

    I notice the error after rename admin folder to another name. I restore previous name and make all the neccesary changes back to configure.php.

    I have no idea what to do next. I'm using zen cart v1.3.9f and the image manager version is 1.4

    If anybody has some ideas, please share it...

    Thanks!

  2. #2
    Join Date
    Jun 2009
    Posts
    207
    Plugin Contributions
    2

    Default Re: Image Manager addon

    Hi,

    Have you checked the paths in your <admin>/includes/configure.php? They are affected by renaming the admin folder.

    Boudewijn

  3. #3
    Join Date
    May 2009
    Posts
    68
    Plugin Contributions
    0

    Default Re: Image Manager addon

    I consider switching from IH to IM, do I need to reupload all files?

  4. #4
    Join Date
    Jun 2009
    Posts
    207
    Plugin Contributions
    2

    Default Re: Image Manager addon

    I don't use IH myself, so I can't check it on my installation.
    But if the images, with their original names that are mentioned in the product details, are still present in the images/ folder or subordinate folders, and of sufficient size to use as large images, you don't have to re-upload them.

    Boudewijn

  5. #5
    Join Date
    Oct 2010
    Location
    Bucharest
    Posts
    7
    Plugin Contributions
    0

    Default Re: Image Manager addon

    Quote Originally Posted by boudewijn View Post
    Hi,

    Have you checked the paths in your <admin>/includes/configure.php? They are affected by renaming the admin folder.

    Boudewijn
    Hi,

    Yes, I did. I followed the instruction from this tutorial when changing the admin folder name:
    https://www.zen-cart.com/tutorials/index.php?article=33
    After changing the admin folder everything works well. After some time i noticed the issue with the IM mentioned above.
    I had a backup file of the configure.php from MYADMIN/includes/ and i restore the admin name to default. Still no change, i have the same error with my IM.

    I'm not sure if the error comes from renaming the admin. I just recall being the last modification I had made on my website before the IM error ...

  6. #6
    Join Date
    Jun 2009
    Posts
    207
    Plugin Contributions
    2

    Default Re: Image Manager addon

    Quote Originally Posted by George.Boboc View Post
    Hello,

    Can anyone please help with this error in admin/image manager:

    Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/home/MYSITE/public_html/images/3ds/mcsc.gif/) is not within the allowed path(s): (/home/MYSITE/:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/MYSITE/public_html/admin/includes/functions/extra_functions/function_image_manager.php on line 635

    The error is over and over again for every single image i have in products catalog.

    I already tried setting permissions to 777 almost to any folder or file... no result.
    I tried reinstall the image manager i had the same result.

    I notice the error after rename admin folder to another name. I restore previous name and make all the neccesary changes back to configure.php.

    I have no idea what to do next. I'm using zen cart v1.3.9f and the image manager version is 1.4

    If anybody has some ideas, please share it...

    Thanks!
    Did you make changes to your htaccess file, your php.ini, or did your provider change any settings there?

  7. #7
    Join Date
    Oct 2010
    Location
    Bucharest
    Posts
    7
    Plugin Contributions
    0

    Default Re: Image Manager addon

    Quote Originally Posted by boudewijn View Post
    Did you make changes to your htaccess file, your php.ini, or did your provider change any settings there?
    No, I did not made any changes to htaccess. As per php.ini i don't even know where is it or where to find it.

    I do however have a reseller account on my provider server due to multiple domains host there. I had some changes lately like:
    - ask my provider to disable safe mode for another different domain where I have a drupal instalation and some modules are not running with this feature. But he confirm me that safe mode was disable only for that different account.
    - i changed the password from WHM page for this domain we are talking about at the same time as i change the admin folder name. As told, i reverse the name of the admin folder back to "admin" and restore the changes in configure.php using the backup file made previous to this change. I did not change back the password from WHM...I really don't think i recall the old one..
    Do you think this might be the problem?

    Any ideas?
    Thanks

  8. #8
    Join Date
    Oct 2010
    Location
    Bucharest
    Posts
    7
    Plugin Contributions
    0

    Default Re: Image Manager addon

    Quote Originally Posted by boudewijn View Post
    Did you make changes to your htaccess file, your php.ini, or did your provider change any settings there?
    I just found another error:
    Success: The database has been saved.
    Warning CAUTION: Your /admin/ foldername should be renamed to something less common, to prevent unauthorized access.
    Error ERROR: This backup script seldom works when safe_mode is enabled or open_basedir restrictions are in effect.
    If you get no errors doing a backup, check to see whether the file is less than 200kb. If so, then the backup is likely unreliable.

    This is from the module Database backup that i use. I did not have this error before... Do you thing might be related? Is there a relation between safe_mode and open_basedir restriction?

    Thanks

  9. #9
    Join Date
    Jun 2009
    Posts
    207
    Plugin Contributions
    2

    Default Re: Image Manager addon

    Both safe mode and basedir restrictions put limitations on what PHP scripts can do. I don't oversee what impact safe mode set to on has on Zen-Cart, but both IM and the backup addon cannot function normally with the basedir restriction set to on. This prevents a script from accessing parts of the filesystem, and both addons need access to create files.
    I begin to suspect that your ISP has changed these settings, causing the problems you have now.

    If you run server info from the admin interface of Zen-Cart, and lookup open_basedir, you can see what setting is in effect right now. The same applies to safe_mode.

  10. #10
    Join Date
    Oct 2010
    Location
    Bucharest
    Posts
    7
    Plugin Contributions
    0

    Default Re: Image Manager addon

    Quote Originally Posted by boudewijn View Post
    Did you make changes to your htaccess file, your php.ini, or did your provider change any settings there?
    Quote Originally Posted by boudewijn View Post
    Both safe mode and basedir restrictions put limitations on what PHP scripts can do. I don't oversee what impact safe mode set to on has on Zen-Cart, but both IM and the backup addon cannot function normally with the basedir restriction set to on. This prevents a script from accessing parts of the filesystem, and both addons need access to create files.
    I begin to suspect that your ISP has changed these settings, causing the problems you have now.

    If you run server info from the admin interface of Zen-Cart, and lookup open_basedir, you can see what setting is in effect right now. The same applies to safe_mode.
    I just did and the results are:
    open_basedir /home/MYUSER/:/usr/lib/php:/usr/local/lib/php:/tmp no value
    PHP Safe Mode: Off

    No value for open_basedir means set to one?

    I will talk to my ISP to make the changes and post than a reply with the effects. Thanks!

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Is Module Manager (for Simple SEO addon) and v1.5.0 compatible?
    By sports guy in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 6 May 2012, 02:56 AM
  2. Problem integrating additional image titles addon and commercial addon
    By strugglingnovice in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 15 Aug 2010, 03:07 PM
  3. Order Manager addon option not available
    By gruccio in forum Addon Shipping Modules
    Replies: 1
    Last Post: 19 Jan 2010, 02:23 PM
  4. Store Manager addon sees invalid Zen Cart db
    By JohnBoyCR in forum General Questions
    Replies: 1
    Last Post: 22 Jan 2009, 05:52 PM
  5. Function of Module Manager addon
    By alimtlai in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 21 Jan 2009, 09:37 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg