Page 13 of 29 FirstFirst ... 3111213141523 ... LastLast
Results 121 to 130 of 287
  1. #121
    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?

  2. #122
    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 ...

  3. #123
    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

  4. #124
    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

  5. #125
    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.

  6. #126
    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!

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

    Default Re: Image Manager addon

    Quote Originally Posted by George.Boboc View Post
    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!
    Hi,

    Just solved the problem.
    It seems that my ISP upgraded the php and the new version comes without the safe mode function but with open_basedir restriction set on. After setting to off everything is finally normal.

    Thank you for your support!
    George

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

    Default Re: Image Manager addon

    Quote Originally Posted by George.Boboc View Post
    Hi,

    Just solved the problem.
    It seems that my ISP upgraded the php and the new version comes without the safe mode function but with open_basedir restriction set on. After setting to off everything is finally normal.

    Thank you for your support!
    George
    Hi George,

    I'm glad that all is well now. Thanks for posting the solution here.

    Boudewijn

  9. #129

    Idea or Suggestion Re: Image Manager addon

    Can anyone please help with this error in image manager?

    I get this errors like 50 times before the images are showing up. I have to scroll down if I like to change something.


    ------------------------

    Warning: Division by zero in / naspex.info/spiritwear/designer.t-shirt.tshirt.tee/admin.naspex.13/includes/functions/extra_functions/function_image_manager.php on line 283


    Warning: Division by zero in /naspex.info/spiritwear/designer.t-shirt.tshirt.tee/admin.naspex.13/includes/functions/extra_functions/function_image_manager.php on line 232


    Warning: Division by zero in /naspex.info/spiritwear/designer.t-shirt.tshirt.tee/admin.naspex.13/includes/functions/extra_functions/function_image_manager.php on line 327


    Folder rights are sufficient


    ------------------------

    I Install Image Manager on zencart 1.3.9h Upload fills and SQL.


    If anybody has an idea how I can fix it.


    Thanks!
    Listen to the music of the Earth, Dance to the rhythm of Life. -- www.naspex.info -- www.bamboomoon.at --

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

    Default Re: Image Manager addon

    Quote Originally Posted by faristababa View Post
    Can anyone please help with this error in image manager?

    I get this errors like 50 times before the images are showing up. I have to scroll down if I like to change something.


    ------------------------

    Warning: Division by zero in / naspex.info/spiritwear/designer.t-shirt.tshirt.tee/admin.naspex.13/includes/functions/extra_functions/function_image_manager.php on line 283


    Warning: Division by zero in /naspex.info/spiritwear/designer.t-shirt.tshirt.tee/admin.naspex.13/includes/functions/extra_functions/function_image_manager.php on line 232


    Warning: Division by zero in /naspex.info/spiritwear/designer.t-shirt.tshirt.tee/admin.naspex.13/includes/functions/extra_functions/function_image_manager.php on line 327


    Folder rights are sufficient


    ------------------------

    I Install Image Manager on zencart 1.3.9h Upload fills and SQL.


    If anybody has an idea how I can fix it.


    Thanks!
    Hi,

    In your configuration settings, look for Images -> Small Image Height, and Images -> Product Info - Image Height. I suspect both are either not set or set to 0. They should contain a numeric value greater than 0.

    In the next version of IM I will add a check for correct configuration values of the image sizes.

    Boudewijn

 

 
Page 13 of 29 FirstFirst ... 3111213141523 ... 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

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR