0
Welcome Guest! Login
0 items Join Now

Fatal Error - Lumiere template

  • Fatal Error - Lumiere template

    Posted 11 years 2 months ago
    • Could you please help, I just installed the Lumiere template, and upgraded Gantry. I am getting the following error when I load the template.

      Fatal error: Allowed memory size of 18874368 bytes exhausted (tried to allocate 40 bytes) in /hermes/bosweb/web121/b1212/sl.intltrader/public_html/libraries/gantry/core/utilities/gantrylesscompiler.class.php on line 3112

      Can anyone help me with what might be causing this problem?

      Claire
    • DanG's Avatar
    • DanG
    • Preeminent Rocketeer
    • Posts: 36750
    • Thanks: 3229
    • Custom work done

    Re: Fatal Error - Lumiere template

    Posted 11 years 2 months ago
    • Hi
      and welcome to the forums :)
      You shouldn't be posting new unresolved issues in the Solved subforum. Moving to the General Gantry Framework forum
    • DanG's Avatar
    • DanG
    • Preeminent Rocketeer
    • Posts: 36750
    • Thanks: 3229
    • Custom work done

    Re: Fatal Error - Lumiere template

    Posted 11 years 2 months ago
    • Your issue isn't Gantry or Lumiere but rather your server.
      When you see an error that reads “Fatal Error: Allowed memory size of xxxxxx bytes exhausted” either in browser or server logs , that means PHP has exhausted the max memory limit. Mostly, this is due to the insufficient memory allocated for the script which tried to allocate xx more. This is part of the error message generated on your server that says (tried to allocate xx bytes).
      Increase the "memory limit" to a size that totals over the amount you saw in the error.
      Generally for Joomla 64Mb is a good number and if your running a lot of extensions, like RokGallery, 128Mb would be preferable.
      So generally, there are three methods:
      Editing the php.ini file (recommended)
      For Linux Web Hosting and Dedicated Website Servers running PHP as a CGI
      Every installation of PHP has a default or global php.ini file for the default PHP settings. Normally it is suggested to leave the default or global php.ini file unaltered and to simply create your own php.ini file wherever needed to override the default settings. You can create the php.ini file using a text editor and saving the file to the folder where the settings should apply. Please note that using a php.ini file to override the default settings will only alter the PHP settings for all PHP files in the directory where it is saved. This means that any PHP files in subfolders will not recognize the changes you've made in the php.ini file. You will have to copy the file to any subdirectories needed.
      Write each directive along with its value on separate lines. Lines starting with a hash symbol (#) are comment lines and have no effect on the settings within the file.
      An example:
      memory_limit = 64M
      upload_max_filesize = 10M
      post_max_size = 10M

      Editing the .htaccess file
      For Dedicated Website and Linux Root Servers where PHP is running as an Apache module.
      The .htaccess file is used to set Apache Web Server settings but can also be used to set php directives when used as a module. The settings in .htaccess file are recursive meaning that the settings within the .htaccess file will apply to all PHP files within the directory where it is saved as well as subdirectories. There is no default .htaccess file be default unless one was included with a Web Application install (such as Joomla, Wordpress, etc.) If not already created, you will have to create the .htaccess file using a text editor and save the file to the folder where the settings need to be applied. Please note that the dot(.) preceding the .htaccess file signifies it as a hidden file.
      Write each directive along with its value on separate lines. Lines starting with a hash symbol (#) are comment lines and have no effect on the settings within the file.
      An example:
      php_value memory_limit "64M"
      php_value post_max_size "10M"
      php_value upload_max_filesize "10M"

      Some hosters offer you the ability to change your php settings in the Cpanel or Plesk panel for your account, such as HostGator:
      Making Changes via cPanel's php.ini QuickConfig utility in the "Software/Services" section of your cPanel.
      1.Login to cPanel.
      2.Click on php.ini QuickConfig in the "Software/Services" section.
      3.Enable QuickConfig if not already enabled.
      4.Change the settings that you want to change.
      5.Click the Save Changes button to save your changes.
  • Re: Fatal Error - Lumiere template

    Posted 11 years 2 months ago
    • Thank you Dan!

      I ended up getting my host to set the phpini to 64m, and the template loaded.
    • DanG's Avatar
    • DanG
    • Preeminent Rocketeer
    • Posts: 36750
    • Thanks: 3229
    • Custom work done

    Re: Fatal Error - Lumiere template

    Posted 11 years 2 months ago
    • Claire88 wrote:
      Thank you Dan!

      I ended up getting my host to set the phpini to 64m, and the template loaded.
      As I mentioned 128MB would've been preferable but 64 will do.
      If this resolves your issue then please check my signature and click the BUTTON beside "Marking your threads as Solved".
      Thanks.

Time to create page: 0.053 seconds