QloApps Forums
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    500 error when uploading new image

    Bug Report
    500 error uploading image
    2
    2
    647
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • O
      OP last edited by

      Hi;
      I experience and error 500 when I like to upload an image under:
      hotel reservation system/settings/hotel interior block
      If i like to change the image ill get this error (I changed the definees.inc.php to true):

      Warning: unlink(/home/groupcon/public_html/rbdev/rb_pilot/hotel_app/modules/wkabouthotelblock/views/img/hotel_interior/5d6e1581ad7d0.jpg): No such file or directory in /home/groupcon/public_html/rbdev/rb_pilot/hotel_app/modules/wkabouthotelblock/controllers/admin/AdminAboutHotelBlockSettingController.php on line 266

      Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 24576 bytes) in /home/groupcon/public_html/rbdev/rb_pilot/hotel_app/classes/ImageManager.php on line 486

      If I upload a new image I'll get this error:

      Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 24576 bytes) in /home/groupcon/public_html/rbdev/rb_pilot/hotel_app/classes/ImageManager.php on line 481

      I also tried with different file sizes or images/ .png, .jpg...

      Thank you

      1 Reply Last reply Reply Quote 0
      • S
        Sumit Global Moderator last edited by

        @OP

        Please increase the value of memory_limit to 500 once on your server and try to upload the images again.
        If the issue persists the please create a ticket at https://webkul.uvdesk.com with your Admin login details and FTP credentials.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post