Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Freelance Jobs / Help Wanted


You are currently viewing our Freelance Jobs / Help Wanted as a guest. Please register to participate.
Login



 
Getting a Fatal error on my website
Old 02-12-2008, 08:54 AM Getting a Fatal error on my website
Skilled Talker

Posts: 81
Trades: 0
Hey
I have www.pg-evo.biz running on this cms template. When I go to it I see but I highlighted it and it said

Fatal error: Unable to read 502 bytes in /home/pgevo/public_html/incs/headers/MachineBlue.inc.php on line 0


Any help?
prodigy64 is offline
View Public Profile
 
 
Register now for full access!
Old 02-12-2008, 11:20 AM Re: Getting a Fatal error on my website
tripy's Avatar
Do not try this at home!

Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
Trades: 0
The script tries to read the content of a file (probably) in a variable, but all the available memory has been exhausted.

PHP limits the available memory to 8Mo per default.
http://www.php.net/manual/en/ini.cor...i.memory-limit
Change this value with ini_set [ http://www.php.net/manual/en/function.ini-set.php ] in the php file, or in a .htaccess (php_value memory_limit 64M)
http://www.php.net/manual/en/function.ini-set.php

Either modify your script to parse the file line by line, or increase the memory limit of your PHP installation
__________________
Only a biker knows why a dog sticks his head out the window.

Last edited by tripy; 02-12-2008 at 11:22 AM..
tripy is offline
View Public Profile Visit tripy's homepage!
 
Old 02-12-2008, 11:40 AM Re: Getting a Fatal error on my website
Skilled Talker

Posts: 81
Trades: 0
So I go into the file machineblue.inc.php and add the lines
memory_limit integer?
I am confused on what I am supposed to add and where to add it.
prodigy64 is offline
View Public Profile
 
Old 02-12-2008, 11:50 AM Re: Getting a Fatal error on my website
Skilled Talker

Posts: 81
Trades: 0
Ok I added that, Now it says this on my website.
Install Zend Core of something?
Any help?
prodigy64 is offline
View Public Profile
 
Old 02-12-2008, 11:57 AM Re: Getting a Fatal error on my website
tripy's Avatar
Do not try this at home!

Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
Trades: 0
Please paste the exact message, I cannot say anything with what you provided.
Zend core is an extension to the PHP core engine, but is not be necessary to alter the max allowed memory.

And no, the ini_set setting should be put on the "main" file, the one including the machineblue.inc.php
Put this on the top, just after the <?php tag
PHP Code:
ini_set('memory_limit','64M'); 
__________________
Only a biker knows why a dog sticks his head out the window.
tripy is offline
View Public Profile Visit tripy's homepage!
 
Old 02-12-2008, 12:02 PM Re: Getting a Fatal error on my website
Skilled Talker

Posts: 81
Trades: 0
I get it now. I have to install this Zend Optimizer.
It says to find the root where my web server is located, it is not on my computer how do I connect it to my web server. Also it says find the folder php.ini is in. Where is that? Help appreciated.
Thanks!


Edit it asks me what web server it should be installed on-
llS
Apache 1.x
Apache 2.x
Other webserver. If I do other webserver It goes to asks what I stated above

Last edited by prodigy64; 02-12-2008 at 12:04 PM..
prodigy64 is offline
View Public Profile
 
Old 02-12-2008, 12:25 PM Re: Getting a Fatal error on my website
tripy's Avatar
Do not try this at home!

Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
Trades: 0
If you don't know that, it means that you should ask to your host.
You usually have no access to the php.ini, as it's changes affect all the server, and not just your account.

Contact your hosting provider, and ask them to install it, if they allow it.
__________________
Only a biker knows why a dog sticks his head out the window.
tripy is offline
View Public Profile Visit tripy's homepage!
 
   

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.24652 seconds with 12 queries