Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

allowed memory - output_handling_include.php

Asked Modified Viewed 5,025 times
D
DjordjeB
D
  • Member, joined since
  • Contributed 50 posts on the community forums.
  • Started 13 threads in the forums
  • Started this discussions
asked
Member

PHP Fatal error:  Allowed memory size of 67108864 bytes exhausted (tried to allocate 27493027 bytes) in public_html/includes/output_handling_include.php on line 85


and site show:
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at webmaster@filmopis.com to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
0 replies

11 posts

J
JoiNNN
J
JoiNNN 10
  • Veteran Member, joined since
  • Contributed 850 posts on the community forums.
  • Started 100 threads in the forums
answered
Veteran Member

Free hosting? More details.
0 replies
D
DjordjeB
D
  • Member, joined since
  • Contributed 50 posts on the community forums.
  • Started 13 threads in the forums
  • Started this discussions
answered
Member

not free, expensive hosting
host Business + hosting
0 replies
J
JoiNNN
J
JoiNNN 10
  • Veteran Member, joined since
  • Contributed 850 posts on the community forums.
  • Started 100 threads in the forums
answered
Veteran Member

Do you use many infusions? add_to_head() might be used a lot on your site which leads to this error.
Try disabling some infusions, panels etc. and see how it goes.
Increasing the memory allocated to PHP script execution would only mask the problem, 64MB should be more than enough for Fusion if other addons are coded right...
0 replies
D
DjordjeB
D
  • Member, joined since
  • Contributed 50 posts on the community forums.
  • Started 13 threads in the forums
  • Started this discussions
answered
Member

i don't have any infusion, but i have poor panels which just read one row from mysql.

i have this on almost every page:

set_title(" Pret ".$trazi);
add_to_meta("description", "aaaaaaaaaaaaaaaaaaa");
add_to_meta("keywords", " filmovi, online, najpopularniji, najnoviji, 2014, 2013, 2012, ".$trazi." komedija, horor, opis, sa prevodom, novi, 2010, 2009, 2008, 2007");
add_to_head("<link rel='image_src' href='pic.png' />\n");
add_to_head("<meta property='og:image' content='pic.png' />\n");
add_to_head("<meta property='og:title' content='Pretraga: \"".$trazi."\"'/>\n");
add_to_head("<meta property='og:type' content='website'>");
add_to_head("<meta property='og:site_name' content='site'/>\n");
add_to_head("<meta property='og:description' content='Pretraga sajta site za pojam: \"".$trazi."\". N'/>\n");
add_to_head("<meta property='fb:app_id' content='1111111111111'/>");
add_to_head("<meta property='og:url' content=/pretraga.php?head=".$trazi."'/>\n");
//SEO kraj
0 replies
J
JoiNNN
J
JoiNNN 10
  • Veteran Member, joined since
  • Contributed 850 posts on the community forums.
  • Started 100 threads in the forums
answered
Veteran Member

Instead of adding add_to_head for each line add just one and include all lines
add_to_head("<link rel='image_src' href='pic.png' />\n
<meta property='og:image' content='pic.png' />\n
<meta property='og:title' content='Pretraga: \"".$trazi."\"'/>\n
<meta property='og:type' content='website'>
<meta property='og:site_name' content='site'/>\n
<meta property='og:description' content='Pretraga sajta site za pojam: \"".$trazi."\". N'/>\n
<meta property='fb:app_id' content='1111111111111'/>
<meta property='og:url' content=/pretraga.php?head=".$trazi."'/>\n");
0 replies
A
Anna
A
Anna 10
...
  • Newbie, joined since
  • Contributed 8 posts on the community forums.
  • Started 2 threads in the forums
answered
Newbie

What is the url of your site? Would like to take a look to see if I can help you.
0 replies
D
DjordjeB
D
  • Member, joined since
  • Contributed 50 posts on the community forums.
  • Started 13 threads in the forums
  • Started this discussions
answered
Member

@JoiNNN i do that but i still have that problem

[05-Feb-2014 15:22:35] PHP Fatal error:  Allowed memory size of 67108864 bytes exhausted (tried to allocate 28788703 bytes) in /home/filmopis/public_html/includes/output_handling_include.php on line 85
[06-Feb-2014 04:19:43] PHP Fatal error:  Allowed memory size of 67108864 bytes exhausted (tried to allocate 28852631 bytes) in /home/filmopis/public_html/includes/output_handling_include.php on line 85


can i somehow locate problem?
0 replies
C
Craig
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
answered
Fusioneer

Yes it can be located. whats your site link please? I'll take a look see if I can see what's causing it.
0 replies
C
Chan
C
Chan 0
Lead Developer of PHP-Fusion
  • Super Admin, joined since
  • Contributed 3,842 posts on the community forums.
  • Started 232 threads in the forums
  • Answered 6 questions
answered
Super Admin

There is a endless loop somewhere. Buffer to head and return to same file which buffers again.

Function test_loop() {
Global $loop;

If (!$loop) { $loop = 1; }
return "This is ".FUSION_SELF." And this loop is $loop";
}


Place above code on maincore.php

And then use echo test_loop(); in anywhere you suspect have endless loop.

My first guess is header.php, footer.php, output_handler.php. It will report the amount of code file being requested and looped. Keep sniffing and happy hunting.
0 replies
D
DjordjeB
D
  • Member, joined since
  • Contributed 50 posts on the community forums.
  • Started 13 threads in the forums
  • Started this discussions
answered
Member

I got this message on every page:
This is page.php And this loop is 1
0 replies
A
Anna
A
Anna 10
...
  • Newbie, joined since
  • Contributed 8 posts on the community forums.
  • Started 2 threads in the forums
answered
Newbie

Twice you've been asked for your site url so we can look into your problem.
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 11 posts
  • Votes 0 votes
  • Topic users 5 members

5 participants

C
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
C
C
Chan 0
Lead Developer of PHP-Fusion
  • Super Admin, joined since
  • Contributed 3,842 posts on the community forums.
  • Started 232 threads in the forums
  • Answered 6 questions
D
D
  • Member, joined since
  • Contributed 50 posts on the community forums.
  • Started 13 threads in the forums
  • Started this discussions
J
J
JoiNNN 10
  • Veteran Member, joined since
  • Contributed 850 posts on the community forums.
  • Started 100 threads in the forums
A
A
Anna 10
...
  • Newbie, joined since
  • Contributed 8 posts on the community forums.
  • Started 2 threads in the forums

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet