catalyst2 community forums  

Go Back   catalyst2 community forums > Support > Scripting Support

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old 30-09-2008, 07:01 PM   #1 (permalink)
mtr
Junior Member
 
Join Date: Sep 2003
Posts: 22
Red face PHP 5 failing

I've switched my PHP runtime over to v5, and the Beehive software is causing it to fail outright when it tries to load its language file, which is a couple of thousand lines of array initialization. When I truncated it to just under 550 lines the script completed running, although the software gave an error. I tried bunging in a few lines of entirely different code and that caused the outright failure as well, so I'm guessing it's a limit on the number of lines somehow? Is there anything like that in the configuration?

Sorry to be a pain.
mtr is offline   Reply With Quote
Old 30-09-2008, 08:38 PM   #2 (permalink)
Bring me your problems :p
 
paulredpath's Avatar
 
Join Date: Jan 2003
Location: /dev/ahhhhhhhhh
Posts: 3,537
Wouldnt be a limit on lines, could be a limit on the memory usage for the script though. Are beehive any help on the matter, as they may have a recommended limit
paulredpath is offline   Reply With Quote
Old 02-10-2008, 08:52 PM   #3 (permalink)
mtr
Junior Member
 
Join Date: Sep 2003
Posts: 22
Their guy says that Beehive runs fine with the memory_limit set to 16M, which is the default for PHP 5. 8M was the default for PHP 4.
mtr is offline   Reply With Quote
Old 03-10-2008, 06:33 PM   #4 (permalink)
Bring me your problems :p
 
paulredpath's Avatar
 
Join Date: Jan 2003
Location: /dev/ahhhhhhhhh
Posts: 3,537
Do you need us to make any changes in that case?
paulredpath is offline   Reply With Quote
Old 04-10-2008, 06:48 AM   #5 (permalink)
mtr
Junior Member
 
Join Date: Sep 2003
Posts: 22
Would it be possible to up the memory_limit setting in the php.ini file to 16M?
mtr is offline   Reply With Quote
Old 06-10-2008, 04:54 PM   #6 (permalink)
Bring me your problems :p
 
paulredpath's Avatar
 
Join Date: Jan 2003
Location: /dev/ahhhhhhhhh
Posts: 3,537
Hi,

If you can open a ticket we can get that sorted for you.
paulredpath is offline   Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 11:50 AM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.