Jump to content

Blank page


NoDoze

Recommended Posts

The exact same thing is occurring to my site, that is explained in here:

http://forum.whmcs.com/showthread.php?t=31282&highlight=checkout+blank

 

I changed the config file, as described in here:

http://forum.whmcs.com/showthread.php?t=21317

 

And the error I get is:

Fatal error: Allowed memory size of 15728640 bytes exhausted (tried to allocate 7864320 bytes) in /home/user/public_html/includes/tcpdf_unicode.php on line 16485

 

What does that mean?

 

Any help appreciated.

 

Thanks!

Link to comment
Share on other sites

That means that PHP is running out of memory because you only have it set to 15MB. You need to modify the memory_limit setup for that account so you have more memory available. Since its billing software and rather important, I would set it fairly high so you do not have any problems.. Say, 512M would be fine.

 

Theres a number of ways to override the default values. Depending on how your apache/php is setup. You might find this useful:

 

http://wiki.asmallorange.com/PHPOverridePhpIni

 

The first option would be applicable if you're running suPHP, the second if you're running php as a DSO.

Link to comment
Share on other sites

Sorry, those instructions are 100% correct. Copy the stock php.ini file to your homedir, and modify it. The default php.ini is usually in /usr/local/lib/php.ini

 

The 500 error you got with the first setup was because you're setup to use suphp. So you would need to add the "SuPHP_ConfigPath" and copy the php.ini as I previously mentioned.

Link to comment
Share on other sites

Do you have shell access on this host? You should still be able to access it even from a shell.. If you dont have shell access, you could possibly copy it with php, or ask your host for it.

 

From Shell:

cp /usr/local/lib/php.ini ~/

 

From PHP:

<?php

copy('/usr/local/lib/php.ini', '/home/YOURUSERNAME/php.ini');

?>

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