Johncms Fatal Error

Started on the old forum in February 2011 · view the original in the archive · old links redirect here

7 replies · 633 views · started 15 years ago · 1 min read

3 participants
Jervy Senior · 250 posts #1

I always got this error in johncms 4.0.0 ...

"Fatal error : Out of memory (allocated 524288) (tried to allocate 77824 bytes) in /home/waprockn/public_html/community/incfiles/classes/functions.php on line 1230"

How to fix this error? Do i have to buy an additional ram or cpu? I'm on a vps.

subzero Super moderator Fellow · 3,954 posts #2

LoL, Your site is using more then normal lol

Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!


SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…

Jervy Senior · 250 posts #3

Then what should I do? My main site runs very well but my johncms c0mmunity always g0t that error.. Do i have to add ram or cpu?

frostymarvelous Senior · 266 posts #4

Increase the memory limit in .ini file. I think you can do that at runtime too. Increase to 8mb. 5mb too small.

Perfection comes at a cost

I accept liberty!

Jervy Senior · 250 posts #5

Where can i find that .ini to be edited bro?

frostymarvelous Senior · 266 posts #6

Are you in vps or dedicated? That's the php configurations file

Added after 6 minutes:

Find the core or settings file and put this at the top

@ini_set('memory_limit', '8M'); If error persists, change to 16 or even 128.

Perfection comes at a cost

I accept liberty!

Jervy Senior · 250 posts #7

Im in vps, i changed the php c0nfiguration in my whm and set it into -1 is it ok?

frostymarvelous Senior · 266 posts #8

-1 means unlimited. That might cause problems later if you run a poorly written script, but should work.

Perfection comes at a cost

I accept liberty!

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close