Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Fatal Error Rate Topic   - - - - -

 
  • phnman
  • Junior Member
  • Members
  • Join Date: 07-Mar 06
  • 5 posts

Posted 07 March 2006 - 02:47 AM #1

I am doing a new install and receiving the following errors

here is Step 2
*********
PHP information Display
PHP version 4.3.10 OK
MySQL support ON OK
Safe mode OFF OK
File uploads ON OK

Not-critical requirements
--------------------------------------------------------------------------------

Upload max file size 2097152 OK
Curl support (needed for realtime shipping calculation and some payment processors) ON OK

Attention for UNIX users:
Please make sure you have the appropriate permissions on the following files:

config.php - read/write for all (chmod 666 config.php)
[cscart_directory] - read/write/execute for all (chmod 777 .)
[cscart_directory]/images - read/write for all (chmod -R 777 ./images)
[cscart_directory]/var - read/write for all (chmod -R 777 ./var)
where [cscart_directory] - directory on the server where CS-Cart package was unpacked.



************

Here is step 4

Fatal error: Allowed memory size of 18388608 bytes exhausted (tried to allocate 13797 bytes) in /home4/phnman/phnman-www/shop/core/fn_common.php on line 1758


My current disk quote on my Apache server
Disk Quota 75.3 used of 124.7 MB

Do I need to increase?

 
  • zeke
  • Megamind
  • Administrators
  • Join Date: 01-Nov 05
  • 472 posts

Posted 07 March 2006 - 06:37 AM #2

Hi,

Try to add this line in [cscart_dir]/core/install.php
@ini_set('memory_limit', '64M');

after:

if ($mode == 'install_db') {

There's a memory leak on some php versions and this solution should help.

 
  • phnman
  • Junior Member
  • Members
  • Join Date: 07-Mar 06
  • 5 posts

Posted 07 March 2006 - 03:51 PM #3

That did it
Many Thanks :)

 
  • jprior
  • Junior Member
  • Members
  • Join Date: 06-Mar 06
  • 3 posts

Posted 19 December 2006 - 08:08 PM #4

I am using Version 1.3.3 of CS-Cart.
When attempting to to generate an Orders Report in the Admin section I receive the following internal server error:

Allowed memory size of 8388608 bytes exhausted (tried to allocate 1054720 bytes), referer: http://www.mysite.ca...p?target=orders

What can I do to correct this?

Jim