PHP Nuke!

 
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions
View previous topic :: View next topic  
Author Message
djx
-


Joined: 06 Mar 2004
Posts: 51

PostPosted: Sun Mar 07, 2004 11:30 am    Post subject: PHP Nuke! Reply with quote

Hi!

Before i have had my own server sofware (this) i have always ran php nuke!

I have sucessfully installed php and my sql on my server and ran the php nuke create tables file but when you go to the index page its a big mess with hundreds of lnes like:

Notice: Undefined variable: HTTP_USER_AGENT in C:\Program Files\Abyss Web Server\htdocs\mainfile.php on line 16

Notice: import_request_variables(): No prefix specified - possible security hazard in C:\Program Files\Abyss Web Server\htdocs\mainfile.php on line 39

Notice: Undefined variable: forum_admin in C:\Program Files\Abyss Web Server\htdocs\mainfile.php on line 67

Notice: Undefined variable: inside_mod in C:\Program Files\Abyss Web Server\htdocs\mainfile.php on line 70

Notice: Undefined variable: inside_mod in C:\Program Files\Abyss Web Server\htdocs\db\db.php on line 44

Notice: Use of undefined constant sitename - assumed 'sitename' in C:\Program Files\Abyss Web Server\htdocs\mainfile.php on line 86

Notice: Use of undefined constant nukeurl - assumed 'nukeurl' in C:\Program Files\Abyss Web Server\htdocs\mainfile.php on line 87

Notice: Use of undefined constant site_logo - assumed 'site_logo' in C:\Program Files\Abyss Web Server\htdocs\mainfile.php on line 88

Notice: Use of undefined constant slogan - assumed 'slogan' in C:\Program Files\Abyss Web Server\htdocs\mainfile.php on line 89

And loadz more

Any idea's???

Darren
_________________
Thanks,
Back to top View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Sun Mar 07, 2004 8:02 pm    Post subject: Re: PHP Nuke! Reply with quote

djx,

The default configuration of PHP has notices displaying enabled. To disable it, edit php.ini, locate the line that begins with error_reporting and replcae it with:

Code:

error_reporting  = E_ALL & ~E_NOTICE

_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
djx
-


Joined: 06 Mar 2004
Posts: 51

PostPosted: Sun Mar 07, 2004 9:54 pm    Post subject: where Reply with quote

whers that file?
_________________
Thanks,
Back to top View user's profile Send private message
olly86
-


Joined: 25 Apr 2003
Posts: 993
Location: Wiltshire, UK

PostPosted: Sun Mar 07, 2004 11:33 pm    Post subject: Reply with quote

in your Windows folder, do a windows search to find it!
_________________
Olly
Back to top View user's profile Send private message
djx
-


Joined: 06 Mar 2004
Posts: 51

PostPosted: Mon Mar 08, 2004 8:14 am    Post subject: Reply with quote

thers loads of lines starting with error reporting

Darren
_________________
Thanks,
Back to top View user's profile Send private message
djx
-


Joined: 06 Mar 2004
Posts: 51

PostPosted: Mon Mar 08, 2004 8:20 am    Post subject: Reply with quote

well the only line whcih has eorror reporting in it that dosnt have a ; in front was:

well i aint got it any more cause even thgouh i backed it up its chaged

But i changed it to the above adn nothing happened

Darren
_________________
Thanks,
Back to top View user's profile Send private message
iNaNimAtE
-


Joined: 05 Nov 2003
Posts: 2381
Location: Everywhere you're not.

PostPosted: Tue Mar 09, 2004 12:44 am    Post subject: Reply with quote

Just getting rid of error reporting won't fix the problem. Since you didn't write phpNuke yourself, there isn't much you can do to fix it. Try downloading a different version.
_________________
Bienvenidos!
Back to top View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Tue Mar 09, 2004 3:16 pm    Post subject: Reply with quote

djx,

This is the only method you can use to disable notices displaying. Are you sure you updated the correct php.ini file (in your Windows directory)? If you still have the problem, send your php.ini file to support@aprelium.com (and write a line about the problem so that we can remember your problem).
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
ntloc
-


Joined: 26 Feb 2004
Posts: 35
Location: UT

PostPosted: Sun Mar 14, 2004 5:32 am    Post subject: Got a solution Reply with quote

Well, I got a solution for you here. To tell the truth, at first I have the same problem with PHP script just like yours but then I found the problem and found a way to fix. I have it on my web site, check it out (go Create Localhost -> Setup PHP and reinstall your PHP.exe setup exactly what the instruction say). Best of luck.

Go here: http://www.loc-nguyen.com
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 -> General Questions 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