1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.3 Trouble with Import

Discussion in 'Troubleshooting and Problems' started by teletubbi, Jun 28, 2014.

  1. teletubbi

    teletubbi Well-Known Member

    I am trying to switch from VB4 to Xenforo.

    The only problem i have, till now, is to import pictures from PhotoPost vBGallery into XenGallery.
    After nearly one day of importing i got this error:

    Fatal Error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 12000 bytes) - library/XenForo/Image/Gd.php:78

    Strange is that i have in 3 different tables 3 different numbers.
    Content = 194 755
    Content_data =196 849
    Photo = 197 117

    Original amount of pictures must be 260 576

    So i am still missing around 65k of pictures in xenforo.

    I am not sure if this is a problem of Xenforo or the gallery.
    But the importer is Xenforo so i will ask here first.

    Thanks in advance.
  2. Liam W

    Liam W Well-Known Member

    The importer for the gallery comes from the gallery add on.
  3. teletubbi

    teletubbi Well-Known Member

    So i will ask there.

    Thank you.
  4. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    No matter which importer you use, this error is likely to be a problem. The image library doesn't have enough memory to resize this image.

    Ask your host to increase or disable PHP's memory_limit.

    You can also try changing the memory_limit yourself. These methods don't always work, but try adding this to your library/config.php file:

     ini_set('memory_limit', -1);
    Or add this to a .htaccess file on your server (only works on Apache servers):

     php_value memory_limit -1
  5. teletubbi

    teletubbi Well-Known Member

    Hi Jack,
    thanks also for your reply.

    The memory limit was set to 64M in PHP. I change it now to 128M.

    But what i dont understand is that i dont have any pic of this size to resize since the max. file size is limit to 14M and the size of the pic is limit to 800x600 in VB.
    So there is no need to resize any image.
    The biggest i have in the DB is 8 169 363 and the error message tell something about 67 108 864.
  6. Claudio

    Claudio Well-Known Member

    That is something you must ask to the developer of XenGallery :)
  7. teletubbi

    teletubbi Well-Known Member

    I did already.
    But till now no response.
  8. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    The memory required to resize an image is not only a function of the file size of the image. The image dimensions are also a factor.

Share This Page