Viewing 15 replies - 1 through 15 (of 15 total)
  • Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    Hello @wlwfuture,

    Thanks for your message.

    How much memory do you have on the server? It’s about the memory_limit parameter in php.ini. Contact the administrator of your server in this matter. This limit should probably be increased.

    Best,
    Mateusz

    Hi Mateusz,

    I have the same issue. my memory limit is set to 256M.

    And I have aprox. 880 images in libray (if that could be contributing to the problem).

    Regards

    • This reply was modified 2 years, 9 months ago by zyzio.
    Thread Starter wlwfuture

    (@wlwfuture)

    2048mb

    Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    @wlwfuture and @zyzio When you click the “Calculate” link just below the Access Token field in the plugin settings, does it show the number of images or not? What’s happening?

    It says “Please wait” and after aprox 20 sec comes back to “Calculate”.

    Is there any log I could send you?

    Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    @zyzio This is an additional confirmation for me that the memory_limit is the problem. Increase this value to 512M. Has it helped?

    Unfortunately i my case hosting provider limits it to 256M. Is there a way to solve it in different way?

    Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    @zyzio Unfortunately not. You have a lot of files on your website and downloading them requires a sufficient amount of memory on the server.

    Is there a chance that in new versions of your plugin you will iterate thru files in a different way with lower memory consumption?

    Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    @zyzio There is no such technical possibility. If there are many files in a directory, enough memory is needed to download them all.

    Thread Starter wlwfuture

    (@wlwfuture)

    Hi, I have about 30,000 images. I have 2048 RAM. Is this why it’s not working?

    Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    @wlwfuture When you click the “Calculate” link just below the Access Token field in the plugin settings, does it show the number of images or not? What’s happening?

    Thread Starter wlwfuture

    (@wlwfuture)

    It was calculating, I looked and it was like I didn’t press it.

    Thread Starter wlwfuture

    (@wlwfuture)

    Side note, who designed your site? It looks great, I need someone like that in my list of designers.

    Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    @wlwfuture This means that the memory limit on your server is too low. Please set a higher value.

    I designed my website myself. Thank you very much for your words of praise. It’s very nice.

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘REST API 500 error’ is closed to new replies.