| Author | Message | 
				 
	
					
						| 
	
				
		![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 22/03/2002 04:21:45
	 | 
					
						
						| ralph Beginner
 
 Joined: 14/03/2002 23:48:24
 Messages: 12
 Offline
 
 | Have guestbook set up and running fine within PN .71 
 Except.....when I try to log into the admin enter it accepts my login (I think) and tries to load the admin page but all I get is the following warning:
 
 Warning: Cannot add header information - headers already sent by (output started at /usr/home/courtboss/mainfile.php:1) in /usr/home/radatattat/modules/gbook/index.php on line 63
 
 Thanks for any assistance!!!!!
 | 
		
					 
						|  | 
	
					
						| 
	
				
		![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 22/03/2002 04:26:32
	 | 
					
						
						| ralph Beginner
 
 Joined: 14/03/2002 23:48:24
 Messages: 12
 Offline
 
 | another note...... 
 I can access the admin fine if I use a direct http://c.........../gbook/admin access (with out he PN module access).
 
 The problem is only accessing admin from within the embedded PN.71 display.
 | 
		
					 
						|  | 
	
					
						| 
	
				
		![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 22/03/2002 15:14:08
	 | 
					
						
						| Anonymous 
 
 
 
 | the reason is the redirection code in line 60 
 header("Location: $GB_PG[admin]");
 
 turn output buffering in your
 'mainfile.php' off.
 
 <?php
 ob_start();
 .
 .
 .
 ?>
 | 
		
					 
						|  | 
	
					
						| 
	
				
		![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 22/03/2002 15:55:00
	 | 
					
						
						| ralph Beginner
 
 Joined: 14/03/2002 23:48:24
 Messages: 12
 Offline
 
 | did it..... 
 It worked........yes........thanks!!!!
 
 Now what did I do?  Hate to admit it but I'm not a php script guru.  I do pretty good usually making needed modifications.  Can you direct me to a source where I can read and understand what I just did.
 
 Thanks again!!!!!!!!
 | 
		
					 
						|  | 
	
					
						| 
	
				
		![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 25/03/2002 12:56:24
	 | 
					
						
						| Anonymous 
 
 
 
 | http://www.php.net/manual/en/function.ob-start.php | 
		
					 
						|  | 
	
					
						| 
	
				
		![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 30/03/2002 00:33:13
	 | 
					
						
						| Anonymous 
 
 
 
 | Well.....at it again. 
 Decided to try and run under vbportal.  Tried to install Adv. Guestbook.  Still runs fine as a standalone.
 
 Under vbportal, when I try and access Adv. Guestbook as a module I get:
 
 Fatal error: Call to undefined function: modules_get_language() in /usr/home/courtboss/modules/gbook/index.php on line 21
 
 Line 21 in index.php is:
 
 modules_get_language();
 
 Been working on firguring this one out.  Any suggestions???????????????
 | 
		
					 
						|  | 
	
					
						| 
	
				
		![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 30/03/2002 00:37:24
	 | 
					
						
						| Anonymous 
 
 
 
 | Ok, I commented line 21 out and guess what........it works.......almost. 
 The page comes out great, but across the very top of my page above the header, I get:
 
 BACKGROUND-COLOR: #CFCFCF } TEXTAREA, .bginput { FONT-SIZE: 12px; FONT-FAMILY: Verdana,Arial,Helvetica,sans-serif; COLOR: #000000; BACKGROUND-COLOR: #CFCFCF } A:link, A:visited, A:active { COLOR: #003300; } A:hover { COLOR: #FF4400; } #cat A:link, #cat A:visited, #cat A:active { COLOR: #000000; TEXT-DECORATION: none; } #cat A:hover { COLOR: #000000; TEXT-DECORATION: underline; } #ltlink A:link, #ltlink A:visited, #ltlink A:active { COLOR: #003300; TEXT-DECORATION: none; } #ltlink A:hover { COLOR: #FF4400; TEXT-DECORATION: underline; } .thtcolor { COLOR: #FFFFCC; } .lf { FONT-FAMILY: verdana, arial, helvetica, sans-serif; FONT-SIZE: 14px; .nf { FONT-FAMILY: verdana, arial, helvetica, sans-serif; FONT-SIZE: 12px; } .sf { FONT-FAMILY: verdana, arial, helvetica, sans-serif; FONT-SIZE: 10px; }
 
 Now, go figure.  Anyone know how to fix this??????????????????
 | 
		
					 
						|  | 
	
					
						| 
	
				
		![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 30/03/2002 00:45:51
	 | 
					
						
						| Anonymous 
 
 
 
 | I didn't look close enough, there's more.  Immediately below my footer I get: 
 HTTP/1.1 200 OK Date: Fri, 29 Mar 2002 23:42:32 GMT Server: Apache/1.3.20 (Unix) mod_fastcgi/2.2.8 PHP/4.0.6 mod_ssl/2.8.4 OpenSSL/0.9.6a X-Powered-By: PHP/4.0.6 Content-Length: 986 Keep-Alive: timeout=15 Connection: Keep-Alive Content-Type: text/html
 
 And then......another instance of my page appears with the guestbook in place and without all of the above mess.
 
 Any ideas where I'm at anyone???????????????
 | 
		
					 
						|  | 
	
					
						| 
	
				
		![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 30/03/2002 00:51:13
	 | 
					
						
						| Anonymous 
 
 
 
 | Tried putting this in my mainfile.php   ........and got this when I try and access Adv GuestBook 
 <meta http-equiv="M
 | 
		
					 
						|  | 
	
					
						| 
	
				
		![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 30/03/2002 00:58:25
	 | 
					
						
						| ralph Beginner
 
 Joined: 14/03/2002 23:48:24
 Messages: 12
 Offline
 
 | obviously stuck here. 
 Have installed and have another guestbook operational but I sure do like Advanced Guest book.  Wish I could get it working.
 
 Thanks in advance for any help!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 | 
		
					 
						|  | 
				
		
				
					|  |