PHPNuke: Administration problem + Notices

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
Wonderman1986
-


Joined: 04 Feb 2006
Posts: 7

PostPosted: Sat Feb 04, 2006 3:58 pm    Post subject: PHPNuke: Administration problem + Notices Reply with quote

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 View user's profile Send private message
AbyssUnderground
-


Joined: 31 Dec 2004
Posts: 3855

PostPosted: Sat Feb 04, 2006 4:03 pm    Post subject: Re: PHPNuke: Administration problem + Notices Reply with quote

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 View user's profile Send private message Visit poster's website
Wonderman1986
-


Joined: 04 Feb 2006
Posts: 7

PostPosted: Sat Feb 04, 2006 4:05 pm    Post subject: Reply with quote

I am sorry, I've copied it from the wrong browser window by a mistake.

New Link: Http://217.157.187.104/nuke/html/index.php
(also edited in the OP)
Back to top View user's profile Send private message
MonkeyNation
-


Joined: 05 Feb 2005
Posts: 921
Location: Cardiff

PostPosted: Sat Feb 04, 2006 4:29 pm    Post subject: Reply with quote

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 View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger ICQ Number
Wonderman1986
-


Joined: 04 Feb 2006
Posts: 7

PostPosted: Sat Feb 04, 2006 4:43 pm    Post subject: Reply with quote

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 View user's profile Send private message
Wonderman1986
-


Joined: 04 Feb 2006
Posts: 7

PostPosted: Sat Feb 04, 2006 4:46 pm    Post subject: Reply with quote

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 View user's profile Send private message
MonkeyNation
-


Joined: 05 Feb 2005
Posts: 921
Location: Cardiff

PostPosted: Sat Feb 04, 2006 4:51 pm    Post subject: Reply with quote

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 View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger ICQ Number
Wonderman1986
-


Joined: 04 Feb 2006
Posts: 7

PostPosted: Sat Feb 04, 2006 5:00 pm    Post subject: Reply with quote

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 View user's profile Send private message
Moxxnixx
-


Joined: 21 Jun 2003
Posts: 1226
Location: Florida

PostPosted: Sat Feb 04, 2006 5:20 pm    Post subject: Reply with quote

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 View user's profile Send private message Visit poster's website
Wonderman1986
-


Joined: 04 Feb 2006
Posts: 7

PostPosted: Sat Feb 04, 2006 5:32 pm    Post subject: Reply with quote

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 View user's profile Send private message
Wonderman1986
-


Joined: 04 Feb 2006
Posts: 7

PostPosted: Sat Feb 04, 2006 6:05 pm    Post subject: Reply with quote

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 View user's profile Send private message
Moxxnixx
-


Joined: 21 Jun 2003
Posts: 1226
Location: Florida

PostPosted: Sat Feb 04, 2006 6:20 pm    Post subject: Reply with quote

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 View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group