Errors with 1.6.3

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
BSOD2600
Posts: 36
Joined: Thu Nov 10, 2005 4:50 am
Location: USA

Errors with 1.6.3

Post by BSOD2600 »

Looking through my apache logs, I found these errors related to phpmyfaq:

Code: Select all

- [Fri Aug  4 03:27:13 2006] [error] PHP Warning:  preg_replace_callback(): Compilation failed: regular expression too large at offset 0 in /home/gargoyle/web/dcpp.net/phpmyfaq.1.6.3/inc/functions.php on line 1575 
- [Fri Aug  4 03:27:13 2006] [error] PHP Warning:  preg_replace_callback(): Compilation failed: regular expression too large at offset 0 in /home/gargoyle/web/dcpp.net/phpmyfaq.1.6.3/inc/functions.php on line 1580 
- [Fri Aug  4 03:27:13 2006] [error] PHP Fatal error:  Allowed memory size of 8388608 bytes exhausted (tried to allocate 2097225 bytes) in /home/gargoyle/web/dcpp.net/phpmyfaq.1.6.3/inc/functions.php on line 1573 
Ideas?
| phpmyfaq 1.6.3 |
| MySQL 4.1.18 | PHP 4.4.2 | Apache |
matteo
Posts: 572
Joined: Sun Nov 20, 2005 6:53 pm
Location: Italy

Re: Errors with 1.6.3

Post by matteo »

Hi,
BSOD2600 wrote:Ideas?
Set an higher memory limit in your PHP configuration modifying your php.ini to read, e.g.:

Code: Select all

memory_limit = 20M
and remember to restart your Apache service.
phpMyFAQ QA / Developer
Amazon.co.uk Wishlist
BSOD2600
Posts: 36
Joined: Thu Nov 10, 2005 4:50 am
Location: USA

Post by BSOD2600 »

What about the preg_replace_callback() errors?
| phpmyfaq 1.6.3 |
| MySQL 4.1.18 | PHP 4.4.2 | Apache |
Thorsten
Posts: 15561
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

I'm looking at the errors there.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply