500 error when uploading new image



  • 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


  • Global Moderator

    @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.