Jump to content

Fatal Error on configgateways.php


ndmpatriot

Recommended Posts

I contacted support and they told me my error was:

 

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 232 bytes) in /home/halfhalt/public_html/clients/whmcs/admin/configgateways.php on line 0

 

How would I correct this?

 

Any help is appreciated.

- Nicole

Link to comment
Share on other sites

This is probably the php memory limit set on your server. If you're on shared hosting you can increase this by dropping an .htaccess file in your root directory with the following entry (or add it to an existing one):

 

php_value memory_limit 64M

 

You may need to adjust the 64M figure, but that certainly worked for me.

 

Paul

Link to comment
Share on other sites

I can only set this using .htaccess on my account, so don't have any experience of creating a local php.ini file.

 

However it would be worth checking that your memory limit has actually been increased by running phpinfo(). This should show your local setting of memory_limit as well as the server default value.

 

If this isn't available in cPanel, just create a file called "phpinfo.php" containing the line

<?php phpinfo(); ?>     

 

and upload that to your web site root and open the file in your browser.

 

Paul

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated