| View previous topic :: View next topic   | 
	
	
	
		| Author | 
		Message | 
	
	
		Wonderman1986 -
 
  Joined: 04 Feb 2006 Posts: 7
 
  | 
		
			
				 Posted: Sat Feb 04, 2006 3:58 pm    Post subject: PHPNuke: Administration problem + Notices | 
				      | 
			 
			
				
  | 
			 
			
				Source: Http://217.157.187.104/nuke/html/index.php
 
Go click it and watch the notice in the top.
 
 
Yes !!! I've been reading all of your posts and replies on this forum and everytime a "Notice:" is included you just explain how to remove those notices.
 
In this case, you hide the problem and it doesn't solve anything.
 
I've used the tutorial to install PHPNuke and I got all the latest versions of the required software programs.
 
 
What causes that notice and how do I fix it?
 
NO !!! I do NOT want to hear anything about removing the notice by editing php.ini.
 
I belive this issue also causes the problem I have with the Super Administration where I am able to login once yet then to be logged out again.
 
 
Any experts?
 
Thank you in advance!
 
 
[edit] Typos [/edit]
  Last edited by Wonderman1986 on Sat Feb 04, 2006 4:05 pm; edited 1 time in total | 
			 
		  | 
	
	
		| Back to top | 
		
			          | 
		
	
	
		  | 
	
	
		AbyssUnderground -
 
  Joined: 31 Dec 2004 Posts: 3855
 
  | 
		
			
				 Posted: Sat Feb 04, 2006 4:03 pm    Post subject: Re: PHPNuke: Administration problem + Notices | 
				      | 
			 
			
				
  | 
			 
			
				 	  | Wonderman1986 wrote: | 	 		  Source: http://127.0.0.1/nuke/html/index.php
 
Go click it and watch the notice in the top.
 
 
Yes !!! I've been reading all of your posts and replies on this forum and everytime a "Notice:" is included you just explain how to remove those notices.
 
In this case, you hide the problem and it doesn't solve anything.
 
I've used the tutorial to install PHPNuke and I got all the latest versions of the required software programs.
 
 
What causes that notice and how do I fix it?
 
NO !!! I do NOT want to hear anything about removing the notice by editing php.ini.
 
I belive this issue also causes the problem I have with the Super Administration where I am able to login once yet then to be logged out again.
 
 
Any experts?
 
Thank you in advance!
 
 
[edit] Typos [/edit] | 	  
 
 
127.0.0.1 is only viewable by you. We cannot see it. _________________ Andy (AbyssUnderground) (previously The Inquisitor)
 
www.abyssunderground.co.uk | 
			 
		  | 
	
	
		| Back to top | 
		
			           | 
		
	
	
		  | 
	
	
		Wonderman1986 -
 
  Joined: 04 Feb 2006 Posts: 7
 
  | 
		 | 
	
	
		| Back to top | 
		
			          | 
		
	
	
		  | 
	
	
		MonkeyNation -
 
  Joined: 05 Feb 2005 Posts: 921 Location: Cardiff
  | 
		
			
				 Posted: Sat Feb 04, 2006 4:29 pm    Post subject:  | 
				      | 
			 
			
				
  | 
			 
			
				Assuming you mean: 
 
 	  | Code: | 	 		  | Notice: import_request_variables(): No prefix specified - possible security hazard in c:\programmer\easyphp1-8\www\nuke\html\mainfile.php on line 64 | 	  
 
- Then adding a prefix would most likely break your forums. So in this case, a notice is unavoidable.
 
I think you've missunderstood a notice if you want to "fix" them. A notice is purely just a notice, not something wrong with your coding. True, that sometimes notices can be prevented, but not allways, so I wouldn't read too much into it.
 
 
As it happens, I've made something to do the exact same thing, which (As far as I know.) doesn't produce notices. The source code can be found here, but if putting that in is too much, just disable notices. _________________
   | 
			 
		  | 
	
	
		| Back to top | 
		
			              | 
		
	
	
		  | 
	
	
		Wonderman1986 -
 
  Joined: 04 Feb 2006 Posts: 7
 
  | 
		
			
				 Posted: Sat Feb 04, 2006 4:43 pm    Post subject:  | 
				      | 
			 
			
				
  | 
			 
			
				 	  | MonkeyNation wrote: | 	 		  Assuming you mean: 
 
 	  | Code: | 	 		  | Notice: import_request_variables(): No prefix specified - possible security hazard in c:\programmer\easyphp1-8\www\nuke\html\mainfile.php on line 64 | 	  
 
- Then adding a prefix would most likely break your forums. So in this case, a notice is unavoidable.
 
I think you've missunderstood a notice if you want to "fix" them. A notice is purely just a notice, not something wrong with your coding. True, that sometimes notices can be prevented, but not allways, so I wouldn't read too much into it.
 
 
As it happens, I've made something to do the exact same thing, which (As far as I know.) doesn't produce notices. The source code can be found here, but if putting that in is too much, just disable notices. | 	  
 
 
I do and will always do like to work on such things.
 
The reason that I thought it was something which should be "fixed" was that when logging into the Administration Panel I always get logged out when clicking a module (as if I have never logged in or registered myself as logged in with a session [former VbScript programmer])
 
PHP is totally new to me but I rather want to work on it instead of removing it, if you get me?
 
 
Somehow you never stay logged in when you login to the Ad. Panel, know why? | 
			 
		  | 
	
	
		| Back to top | 
		
			          | 
		
	
	
		  | 
	
	
		Wonderman1986 -
 
  Joined: 04 Feb 2006 Posts: 7
 
  | 
		
			
				 Posted: Sat Feb 04, 2006 4:46 pm    Post subject:  | 
				      | 
			 
			
				
  | 
			 
			
				AFAIK Your source code must be placed somewhere in the .php files?
 
Maybe there's some overall header as for the php scripts used on every page?
 
 
 
-------
 
Notice: Undefined variable: aid in c:\programmer\easyphp1-8\www\nuke\html\admin.php on line 16
 
Is being added when you're on the admin pages. I assume this variable has got something to do with the login issue? | 
			 
		  | 
	
	
		| Back to top | 
		
			          | 
		
	
	
		  | 
	
	
		MonkeyNation -
 
  Joined: 05 Feb 2005 Posts: 921 Location: Cardiff
  | 
		
			
				 Posted: Sat Feb 04, 2006 4:51 pm    Post subject:  | 
				      | 
			 
			
				
  | 
			 
			
				Without seeing the source code I couldn't tell you if it's causing you anything other than a notice.
 
But to remove the notice, just do something like $aid = false; before line 16, and it should go.
 
 
And yes, my source code would have to be put in in place of that line, but I can't be any more prescise without seeing it, sorry. _________________
   | 
			 
		  | 
	
	
		| Back to top | 
		
			              | 
		
	
	
		  | 
	
	
		Wonderman1986 -
 
  Joined: 04 Feb 2006 Posts: 7
 
  | 
		
			
				 Posted: Sat Feb 04, 2006 5:00 pm    Post subject:  | 
				      | 
			 
			
				
  | 
			 
			
				Okay, so my issues with the Notices should be solved by now, but yet I still have the administration problem /cry.
 
 
Been searching all over the internet today, yesterday, yeah actually the entire week.
 
I'd really like to have a PHPNuke portal as that is the one I only know of (free of use)
 
http://www.phpnuke.org doesn't even have forums. | 
			 
		  | 
	
	
		| Back to top | 
		
			          | 
		
	
	
		  | 
	
	
		Moxxnixx -
 
  Joined: 21 Jun 2003 Posts: 1226 Location: Florida
  | 
		
			
				 Posted: Sat Feb 04, 2006 5:20 pm    Post subject:  | 
				      | 
			 
			
				
  | 
			 
			
				 	  | Wonderman1986 wrote: | 	 		  | Okay, so my issues with the Notices should be solved by now, but yet I still have the administration problem /cry. | 	  Have you tried deleting your cookies? Tried another browser?
 
 
 	  | Wonderman1986 wrote: | 	 		  Been searching all over the internet today, yesterday, yeah actually the entire week.
 
I'd really like to have a PHPNuke portal as that is the one I only know of (free of use)
 
http://www.phpnuke.org doesn't even have forums. | 	  IMO, the best place for Nuke support is http://nukecops.com.
 
Also, take a look at http://opensourcecms.com for other free CMS choices. | 
			 
		  | 
	
	
		| Back to top | 
		
			           | 
		
	
	
		  | 
	
	
		Wonderman1986 -
 
  Joined: 04 Feb 2006 Posts: 7
 
  | 
		
			
				 Posted: Sat Feb 04, 2006 5:32 pm    Post subject:  | 
				      | 
			 
			
				
  | 
			 
			
				Both Firefox and IE (Both updated)
 
Deleted Cookies aswell.
 
 
At the moment the only issue I have is the Administration panel which loops me around in the login.
 
Still searching to find a solution... | 
			 
		  | 
	
	
		| Back to top | 
		
			          | 
		
	
	
		  | 
	
	
		Wonderman1986 -
 
  Joined: 04 Feb 2006 Posts: 7
 
  | 
		
			
				 Posted: Sat Feb 04, 2006 6:05 pm    Post subject:  | 
				      | 
			 
			
				
  | 
			 
			
				Okay something is bugging me.
 
If you click on the link in the OP, you'll see that I still have those Notices on.
 
 
I've edited my PHP.ini file and I have even made a ";" infront of that report_errors thingy.
 
I have actually made a LOT of changes in that file but am I editing the wrong file since nothing new happens? o.O
 
 
C:/....../easyphp/php/php.ini
 
Wrong file? | 
			 
		  | 
	
	
		| Back to top | 
		
			          | 
		
	
	
		  | 
	
	
		Moxxnixx -
 
  Joined: 21 Jun 2003 Posts: 1226 Location: Florida
  | 
		
			
				 Posted: Sat Feb 04, 2006 6:20 pm    Post subject:  | 
				      | 
			 
			
				
  | 
			 
			
				Take a look at http://nukecops.com/PHP-Nuke_lots-of-notice-lines.html to be sure you're 
 
editing the correct part.
 
 
Also, easyphp is an Apache web server package. This is an Abyss web server support forum.
 
So, any server-specific help from us will be limited. (unless you want to switch to Abyss) | 
			 
		  | 
	
	
		| Back to top | 
		
			           | 
		
	
	
		  | 
	
	
		 |