Results 1 to 10 of 10
  1. #1
    Join Date
    Apr 2005
    Posts
    392
    Plugin Contributions
    0

    Default Can't Add Prod. After Switching Webhost

    Gooday, I have just switched web host and am encountering the following errors when I attempt to add new products:

    Warning: rename(/home/myfdr/public_html/images/naraya/NB-03.jpg,/home/myfdr/public_html/images/original/naraya/NB-03.jpg): Permission denied in /home/myfdr/public_html/shadmin/includes/functions/extra_functions/functions_images.php on line 94

    Warning: getimagesize(/home/myfdr/public_html/images/original/naraya/NB-03.jpg): failed to open stream: No such file or directory in /home/myfdr/public_html/includes/functions/extra_functions/functions_images.php on line 95

    Warning: Division by zero in /home/myfdr/public_html/includes/functions/extra_functions/functions_images.php on line 100

    Warning: Division by zero in /home/myfdr/public_html/includes/functions/extra_functions/functions_images.php on line 101

    Warning: imagecreatefromjpeg(/home/myfdr/public_html/images/original/naraya/NB-03.jpg): failed to open stream: No such file or directory in /home/myfdr/public_html/includes/functions/extra_functions/functions_images.php on line 351

    Warning: imagecopyresampled(): supplied argument is not a valid Image resource in /home/myfdr/public_html/includes/functions/extra_functions/functions_images.php on line 120

    Warning: imagedestroy(): supplied argument is not a valid Image resource in /home/myfdr/public_html/includes/functions/extra_functions/functions_images.php on line 122

    Warning: getimagesize(/home/myfdr/public_html/images/original/naraya/NB-03.jpg): failed to open stream: No such file or directory in /home/myfdr/public_html/includes/functions/extra_functions/functions_images.php on line 95

    Warning: Division by zero in /home/myfdr/public_html/includes/functions/extra_functions/functions_images.php on line 100

    Warning: Division by zero in /home/myfdr/public_html/includes/functions/extra_functions/functions_images.php on line 101

    Warning: imagecreatefromjpeg(/home/myfdr/public_html/images/original/naraya/NB-03.jpg): failed to open stream: No such file or directory in /home/myfdr/public_html/includes/functions/extra_functions/functions_images.php on line 351

    Warning: imagecopyresampled(): supplied argument is not a valid Image resource in /home/myfdr/public_html/includes/functions/extra_functions/functions_images.php on line 120

    Warning: imagedestroy(): supplied argument is not a valid Image resource in /home/myfdr/public_html/includes/functions/extra_functions/functions_images.php on line 122

    Warning: imagegif(): Unable to open '/home/myfdr/public_html/images/medium/naraya/NB-03_MED.gif' for writing in /home/myfdr/public_html/includes/functions/extra_functions/functions_images.php on line 369

    Warning: copy(/home/myfdr/public_html/images/original/naraya/NB-03.jpg): failed to open stream: No such file or directory in /home/myfdr/public_html/shadmin/includes/functions/extra_functions/functions_images.php on line 126
    Any help is greatly appreciated. TIA.

  2. #2
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: Can't Add Prod. After Switching Webhost

    Set the images and the BMZ directories to 777
    Zen cart PCI compliant Hosting

  3. #3
    Join Date
    Apr 2005
    Posts
    392
    Plugin Contributions
    0

    Default Re: Can't Add Prod. After Switching Webhost

    Quote Originally Posted by Merlinpa1969
    Set the images and the BMZ directories to 777
    Hi Merlin,

    I'm not sure what is the BMZ directory. Cld you elaborate?
    Thanks.

  4. #4
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: Can't Add Prod. After Switching Webhost

    are you using image handler?

    also make sure that in your configure.php files that you are sure that the correct path is /home/ and not /home2/

    and that the username is right
    Zen cart PCI compliant Hosting

  5. #5
    Join Date
    Apr 2005
    Posts
    392
    Plugin Contributions
    0

    Default Re: Can't Add Prod. After Switching Webhost

    Quote Originally Posted by Merlinpa1969
    are you using image handler?

    also make sure that in your configure.php files that you are sure that the correct path is /home/ and not /home2/

    and that the username is right
    I'm using image handler indeed.
    BTW, is BMZ directory the cache directory?
    I've verified that the configure.php and username are correct.
    Thanks very much for your advises.
    Last edited by Stenrique; 16 Aug 2006 at 04:18 AM.

  6. #6
    Join Date
    Apr 2005
    Posts
    392
    Plugin Contributions
    0

    Default Re: Can't Add Prod. After Switching Webhost

    I have verified that the IH mod. files are the same before and after the switching of web host so what cld have caused the issue? Any advise? TIA.

  7. #7
    Join Date
    Apr 2005
    Posts
    392
    Plugin Contributions
    0

    Default Re: Can't Add Prod. After Switching Webhost

    Thought it wold be good to add that I did a search and found the bmz_cache folder (that Merlin had mentioned) in ZC v1.3.0.2. As I have not been able to upgrade to that version yet, I am still running V1.2.7d. Tks.

  8. #8
    Join Date
    Apr 2005
    Posts
    392
    Plugin Contributions
    0

    Default Re: Can't Add Prod. After Switching Webhost

    Hi, according to my current hosting company, the difference betw. it's server's setting and that of my previous hosting company is that it's use of the open_basedir restriction. Could this be the cause of the problem? TIA for any advise.

  9. #9
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: Can't Add Prod. After Switching Webhost

    Yea that might be the issue,
    You should have looked into the Certified Hosts
    they are Guaranteed to work
    Zen cart PCI compliant Hosting

  10. #10
    Join Date
    Apr 2005
    Posts
    392
    Plugin Contributions
    0

    Default Re: Can't Add Prod. After Switching Webhost

    Problem solved.

    Resolution: Make sure the /images folders and ALL sub-folders within it has their folder permission set to 777.

 

 

Similar Threads

  1. add shipping costs after the sale? and can I edit orders after placed?
    By Mellon in forum Built-in Shipping and Payment Modules
    Replies: 11
    Last Post: 7 Jan 2011, 03:55 PM
  2. Can't update EZ pgs or add Prod Images
    By lafhaha in forum General Questions
    Replies: 8
    Last Post: 27 Apr 2010, 11:16 PM
  3. Can't update modules after switching to https
    By kamelda in forum Basic Configuration
    Replies: 2
    Last Post: 3 Apr 2010, 04:37 PM
  4. Empty shop after moving on prod server.
    By golotan in forum General Questions
    Replies: 3
    Last Post: 1 Apr 2009, 06:49 AM
  5. Prod Listing Grid Layout : Showing repeat Prod Desc when changed to row format
    By dhermanus in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 7 Nov 2006, 02:28 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