| 
	
		Page 1 of 2 
		 
					 | 
 
 
	
		  Zuker   
						
		
						 
				
									
			Joined: August 2006 
			Posts: 2134 
									Location:    BA
																		   
					 
		  
	 | 
	
	
		
		  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
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
					  
		  
				
			
									____________ ? Zuker - EDDB - LPM - Sharefields								 
				  
											 | 
 
	#1  Thu 05 Apr, 2007 15:59   | 
	
		
	 | 
 
  
	
		Sponsors 
		  
		 
	 | 
	
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.
 
  | 
 
|   |  
  
	
		  Mighty Gorgon   
		Luca Libralato 				
		
						 
				
									
			Joined: August 2006 
			Posts: 7192 
									Location:    Borgo San Michele
																		   
					 
		  
	 | 
	
	
		
		  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:
 <FilesMatch ".(php|html?)$">
 
php_value memory_limit 16M
 
</FilesMatch>  
					 
		  
				
			
									____________ Luca
SEARCH is the quickest way to get support.
 
Icy Phoenix ColorizeIt - CustomIcy - HON								 
				  
											 | 
 
	#2  Sun 08 Apr, 2007 11:09   | 
	
		
	 | 
 
  
	
		  ULTRAMAX   
						
		
						 
				
									
			Joined: December 2007 
			Posts: 3 
									Location:   
																		  
					 
		  
	 | 
	
	
		
		  Re: How To Deal With Blank Pages Or Only Header Shown   
		 
		
			hello!
 
 
I have this site h**p://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? 
					 
		  
				
			
 
  
																	 
				  
											 | 
 
	#3  Tue 26 Feb, 2008 20:17   | 
	
		
	 | 
 
  
	
		  Mighty Gorgon   
		Luca Libralato 				
		
						 
				
									
			Joined: August 2006 
			Posts: 7192 
									Location:    Borgo San Michele
																		   
					 
		  
	 | 
	
	
		
		  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?  
Can you try latest Icy Phoenix and let us know?
 
Thanks.
					  
		  
				
			
									____________ Luca
SEARCH is the quickest way to get support.
 
Icy Phoenix ColorizeIt - CustomIcy - HON								 
				  
											 | 
 
	#4  Tue 04 Mar, 2008 01:26   | 
	
		
	 | 
 
  
	
		  nene94   
						
		
						 
				
									
			Joined: May 2007 
			Posts: 66 
									Location:    Puerto Rico
																		   
					 
		  
	 | 
	
	
		
		  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! 
					 
		  
				
			
									____________ http://www.nene94.com/radio/
A Internet radio station  !!								  
				  
											 | 
 
	#5  Tue 04 Mar, 2008 01:30   | 
	
		
	 | 
 
  
	
		  KasLimon   
						
		
						 
				
									
			Joined: November 2006 
			Posts: 494 
									Location:    Madrid (Spain)
																		   
					 
		  
	 | 
	
	
		
		  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! 
					 
		  
				
			
 
  
									 ____________ Gabriel Anca								 
				  
											 | 
 
	#6  Thu 06 Mar, 2008 17:51   | 
	
		
	 | 
 
  
	
		  ULTRAMAX   
						
		
						 
				
									
			Joined: December 2007 
			Posts: 3 
									Location:   
																		  
					 
		  
	 | 
	
	
		
		  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. 
					 
		  
				
			
 
  
																	 
				  
											 | 
 
	#7  Thu 06 Mar, 2008 18:18   | 
	
		
	 | 
 
  
	
		  moreteavicar  
						
		
						 
				
									
			Joined: August 2006 
			Posts: 608 
									Location:    Classified
																		   
					 
		  
	 | 
	
	
		
		  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   
					 
		  
				
			
 
  
																	 
				  
											 | 
 
	#8  Mon 07 Apr, 2008 15:16   | 
	
		
	 | 
 
  
	
		  tc1967uk   
						
		
						 
				
									
			Joined: March 2007 
			Posts: 129 
									Location:   
																		  
					 
		  
	 | 
	
	
		
		  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.    
					 
		  
				
			
 
  
																	 
				  
											 | 
 
	#9  Sat 21 Jun, 2008 22:37   | 
	
		
	 | 
 
  
	
		  novice programmer   
						
		
						 
				
									
			Joined: June 2007 
			Posts: 1030 
									Location:   
																		  
					 
		  
	 | 
	
	
		
		  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!
					  
		  
				
			
 
  
																	 
				  
											 | 
 
	#10  Mon 23 Jun, 2008 08:49   | 
	
		
	 | 
 
  
	
		  tc1967uk   
						
		
						 
				
									
			Joined: March 2007 
			Posts: 129 
									Location:   
																		  
					 
		  
	 | 
	
	
		
		  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? 
					 
		  
				
			
 
  
																	 
				  
											 | 
 
	#11  Wed 23 Jul, 2008 07:43   | 
	
		
	 | 
 
  
	
		  Mighty Gorgon   
		Luca Libralato 				
		
						 
				
									
			Joined: August 2006 
			Posts: 7192 
									Location:    Borgo San Michele
																		   
					 
		  
	 | 
	
	
		
		  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? 
					 
		  
				
			
									____________ Luca
SEARCH is the quickest way to get support.
 
Icy Phoenix ColorizeIt - CustomIcy - HON								 
				  
											 | 
 
	#12  Wed 23 Jul, 2008 15:43   | 
	
		
	 | 
 
  
	
		  Mighty Gorgon   
		Luca Libralato 				
		
						 
				
									
			Joined: August 2006 
			Posts: 7192 
									Location:    Borgo San Michele
																		   
					 
		  
	 | 
	
	
		
		  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.
					  
		  
				
			
									____________ Luca
SEARCH is the quickest way to get support.
 
Icy Phoenix ColorizeIt - CustomIcy - HON								 
				  
											 | 
 
	#13  Thu 24 Jul, 2008 10:40   | 
	
		
	 | 
 
  
	
		  tc1967uk   
						
		
						 
				
									
			Joined: March 2007 
			Posts: 129 
									Location:   
																		  
					 
		  
	 | 
	
	
		
		  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? 
					 
		  
				
			
 
  
																	 
				  
											 | 
 
	#14  Mon 28 Jul, 2008 07:23   | 
	
		
	 | 
 
  
	
		  Mighty Gorgon   
		Luca Libralato 				
		
						 
				
									
			Joined: August 2006 
			Posts: 7192 
									Location:    Borgo San Michele
																		   
					 
		  
	 | 
	
	
		
		  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. 
					 
		  
				
			
									____________ Luca
SEARCH is the quickest way to get support.
 
Icy Phoenix ColorizeIt - CustomIcy - HON								 
				  
											 | 
 
	#15  Tue 29 Jul, 2008 17:02   | 
	
		
	 | 
 
  
	
				  
		  
					 | 
	
		Page 1 of 2 
		
	 | 
 
 
 
 
 
 Was this topic useful?
 
 Was this topic useful?
| Link this topic |  
	| URL | 
	 | 
 
	| BBCode | 
	 | 
 
	| HTML | 
	 | 
 
  
	 Similar Topics
 
	 Similar Topics
 
	
		
		
			
			
				
			 
			You cannot post new topics You cannot reply to topics You cannot edit your posts You cannot delete your posts You cannot vote in polls You cannot attach files You can download files You cannot post calendar events
  |  
			 
		 		
	 | 
	
				
  
			 | 
 
 
			 |