DEBUG - How To Deal With Blank Pages Or Only Header Shown »  Show posts from    to     

Icy Phoenix


Documentation And How To - DEBUG - How To Deal With Blank Pages Or Only Header Shown



Zuker [ Thu 05 Apr, 2007 15:59 ]
Post subject: DEBUG - How To Deal With Blank Pages Or Only Header Shown
If you can see only the header of your forum or just a blank page, take a look if you can change the memory limit value and solve the problem.

add at the top of common.php

Code: [Hide] [Select]
ini_set("memory_limit","12M");


Some times, a Fatal error: Allowed memory size appears also. The fix for that problem it's the same written here


Mighty Gorgon [ Sun 08 Apr, 2007 11:09 ]
Post subject: Re: How to deal with blank Pages or only header shown
Maybe this is not the right solution for all, but it is worth trying.

I would like just to remember that you can increase MEMORY LIMIT in several ways and not only via PHP code (which should be allowed by your hosting though).

You can increase memory allocation by editing HTACCESS or PHP.INI as well. Of course your server should allow HTACCESS or you should have directly access to PHP.INI.

This is the code to be added in HTACCESS if you want to try:
Code: [Hide] [Select]
<FilesMatch ".(php|html?)$">
php_value memory_limit 16M
</FilesMatch>


ULTRAMAX [ Tue 26 Feb, 2008 20:17 ]
Post subject: Re: How To Deal With Blank Pages Or Only Header Shown
hello!

I have this site http://halocolombia.es/dll here is the Icy.

I cant see any page, and I dont change nothing in the forum. Just happen.

Do you can help me?


Mighty Gorgon [ Tue 04 Mar, 2008 01:26 ]
Post subject: Re: How to deal with blank Pages or only header shown
ULTRAMAX wrote: [View Post]
hello!

I have this site http://halocolombia.es/dll here is the Icy.

I cant see any page, and I dont change nothing in the forum. Just happen.

Do you can help me?

Can you try latest Icy Phoenix and let us know?

Thanks.


nene94 [ Tue 04 Mar, 2008 01:30 ]
Post subject: Re: How To Deal With Blank Pages Or Only Header Shown
In my forum appers this error, and I edited the files PHP in the lines and delete the show lines jejeje and the error not apper jeje..

Greetings!


KasLimon [ Thu 06 Mar, 2008 17:51 ]
Post subject: Re: How To Deal With Blank Pages Or Only Header Shown
Sometimes this is not the only reason...
Sometimes it is a double inclusion, or a double function declaration...

@nene94, BUT if you had to delete some lines the problem was, I think, memory limit...

@ULTRAMAX, I don't see blank page...

Greetings!


ULTRAMAX [ Thu 06 Mar, 2008 18:18 ]
Post subject: Re: How To Deal With Blank Pages Or Only Header Shown
a friend help me to fix the problem, i guess that he re-upload all the files of the icy, because i lose the mods.

i will upgrade to latest Icy Phoenix.


moreteavicar [ Mon 07 Apr, 2008 15:16 ]
Post subject: Re: How To Deal With Blank Pages Or Only Header Shown
I think whenever memory limit is exceeded, you always get an error message "failed to allocate blah blah". Faults / corruptions in def_themes.php and def_tree gives just a white page


tc1967uk [ Sat 21 Jun, 2008 22:37 ]
Post subject: Re: How To Deal With Blank Pages Or Only Header Shown
I had the same problem and needed both the first and second posts to fix it.

Thank you, both Zucker and MG.


novice programmer [ Mon 23 Jun, 2008 08:49 ]
Post subject: Re: How To Deal With Blank Pages Or Only Header Shown
It happend that to me when I executed first this CMS...

If MG didnĀ“t removed the tutorial about .htaccess files, if should be there, for the .htaccess and for the config.php

Greetings!


tc1967uk [ Wed 23 Jul, 2008 07:43 ]
Post subject: Re: How To Deal With Blank Pages Or Only Header Shown
Well, I'm not getting the white page of death anymore (see my post above), but when I try to post a new message I get:

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 3545735 bytes) in /home/xxxxxx/public_html/forum/includes/functions_categories_hierarchy.php on line 416

I've already tried the solutions above, but no joy. Can anyone help please?


Mighty Gorgon [ Wed 23 Jul, 2008 15:43 ]
Post subject: Re: How to deal with blank Pages or only header shown
This is strange...

What is line 416 of your file?

Can you provide a link to your board please?


Mighty Gorgon [ Thu 24 Jul, 2008 10:40 ]
Post subject: Re: How to deal with blank Pages or only header shown
I have checked your site, and I'm not 100% sure... but 90%... that your problem is related to the number of subforums...

It is not good having hundreds of subforums... users won't ever be familiar with all those subsections. Anyway it is your site, and you are free to organize it as you like.

The problem in having so many subforums is that for each forum many informations are stored and are retrieved while posting and while browsing topics... for each forum permissions are tested and stored in memory... if you have hundreds, then you have hundred of checks, and the system could run out of memory, and sometimes showing up white pages.

My advice is:
  • Make a full backup
  • Check that your backup is correct
  • Make another DB backup using a different way just to make sure you don't have to recreate manually all those categories
  • Trim subforums until you reach maximum 40 / 50 forums
  • Try again to create new topics / posts


If you really need all those subforums... you may consider moving to another system because Icy Phoenix is not optimized to have so many subcategories. phpBB 3 should be able to manage all of them correctly.


tc1967uk [ Mon 28 Jul, 2008 07:23 ]
Post subject: Re: How To Deal With Blank Pages Or Only Header Shown
Would changing most of them from forums to links save a lot of memory? Is it just categories and forums that take up a lot of memory, or would links too?


Mighty Gorgon [ Tue 29 Jul, 2008 17:02 ]
Post subject: Re: How to deal with blank Pages or only header shown
If you create Links it is the same... if you just need links, create a Block in the CMS inserting all of them in a block... you will see that it is much faster.


franjavi-35 [ Thu 20 Nov, 2008 00:06 ]
Post subject: Re: How To Deal With Blank Pages Or Only Header Shown
When people tries to login in my forum, the page stays black in http://www.virtuared.com/login_ip.php

Try to login with the nick "Franjavi_36" and the password "d597a7d4" this is a test account. You will see that.

Please help!!!!


Chaotic [ Thu 20 Nov, 2008 06:17 ]
Post subject: Re: How To Deal With Blank Pages Or Only Header Shown
Hey Fran,

Please don't ask the same question in different threads. You already created a support topic about this question here: I Can't Login In My Forum, HELP PLEASE!!!!!

I know you don't create new topics and posts here often and you probably don't know this type of activity is frowned upon. We'll try to help you as much as possible in your original support topic.

Thanks buddy


franjavi-35 [ Thu 20 Nov, 2008 08:50 ]
Post subject: Re: How To Deal With Blank Pages Or Only Header Shown
Chaotic wrote: [View Post]
Hey Fran,

Please don't ask the same question in different threads. You already created a support topic about this question here: I Can't Login In My Forum, HELP PLEASE!!!!!

I know you don't create new topics and posts here often and you probably don't know this type of activity is frowned upon. We'll try to help you as much as possible in your original support topic.

Thanks buddy
Ok sorry, but I have seen that Mighty Gorgon is solving doubts here and so I have asked.

Mighty Morton, please visit the post of my question and try to help me please: http://www.icyphoenix.com/viewtopic.php?f=2&t=5045

thanks


821 [ Mon 05 Jan, 2009 12:22 ]
Post subject: Re: How To Deal With Blank Pages Or Only Header Shown
Zuker wrote: [View Post]
If you can see only the header of your forum or just a blank page, take a look if you can change the memory limit value and solve the problem.

add at the top of common.php

Code: [Hide] [Select]
ini_set("memory_limit","12M");


Some times, a Fatal error: Allowed memory size appears also. The fix for that problem it's the same written here


hello . i see also blank pages

http://slavic-unity.glavo.net/

how i can solve ?

thanks


Mighty Gorgon [ Sat 17 Jan, 2009 13:51 ]
Post subject: Re: How to deal with blank Pages or only header shown
If you didn't solve yet, please open a new topic in the support forum explaining what your problem is and what you already did trying to solve it.

Thanks!




Powered by Icy Phoenix