Setting up PHP-nuke

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


Joined: 18 Aug 2004
Posts: 2

PostPosted: Wed Aug 18, 2004 11:55 am    Post subject: Setting up PHP-nuke Reply with quote

I get alot of errors setting up phpnuke 7.4

Notice: Undefined index: QUERY_STRING in D:\Program Files\Abyss Web Server\htdocs\mainfile.php on line 23

Notice: Undefined index: QUERY_STRING in D:\Program Files\Abyss Web Server\htdocs\mainfile.php on line 26

Notice: Undefined variable: querystring in D:\Program Files\Abyss Web Server\htdocs\mainfile.php on line 27

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

Notice: Undefined index: HTTP_ACCEPT_ENCODING in D:\Program Files\Abyss Web Server\htdocs\mainfile.php on line 38

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

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

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

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

Notice: Constant already defined in D:\Program Files\Abyss Web Server\htdocs\language\lang-english.php on line 159

Notice: Undefined index: REQUEST_URI in D:\Program Files\Abyss Web Server\htdocs\admin.php on line 19

Notice: Undefined index: QUERY_STRING in D:\Program Files\Abyss Web Server\htdocs\admin.php on line 20

Notice: Undefined index: QUERY_STRING in D:\Program Files\Abyss Web Server\htdocs\admin.php on line 20

Notice: Use of undefined constant admin - assumed 'admin' in D:\Program Files\Abyss Web Server\htdocs\admin.php on line 23

Notice: Use of undefined constant admin - assumed 'admin' in D:\Program Files\Abyss Web Server\htdocs\mainfile.php on line 208

Notice: Constant already defined in D:\Program Files\Abyss Web Server\htdocs\admin\language\lang-english.php on line 24

Notice: Constant already defined in D:\Program Files\Abyss Web Server\htdocs\admin\language\lang-english.php on line 25

Notice: Constant already defined in D:\Program Files\Abyss Web Server\htdocs\admin\language\lang-english.php on line 36

Notice: Constant already defined in D:\Program Files\Abyss Web Server\htdocs\admin\language\lang-english.php on line 80

Notice: Constant already defined in D:\Program Files\Abyss Web Server\htdocs\admin\language\lang-english.php on line 126

Notice: Constant already defined in D:\Program Files\Abyss Web Server\htdocs\admin\language\lang-english.php on line 127

Notice: Constant already defined in D:\Program Files\Abyss Web Server\htdocs\admin\language\lang-english.php on line 170

Notice: Constant already defined in D:\Program Files\Abyss Web Server\htdocs\admin\language\lang-english.php on line 232

Notice: Constant already defined in D:\Program Files\Abyss Web Server\htdocs\admin\language\lang-english.php on line 236

Notice: Constant already defined in D:\Program Files\Abyss Web Server\htdocs\admin\language\lang-english.php on line 237

Notice: Constant already defined in D:\Program Files\Abyss Web Server\htdocs\admin\language\lang-english.php on line 487

Notice: Undefined variable: sitename in D:\Program Files\Abyss Web Server\htdocs\admin\language\lang-english.php on line 540

Notice: Undefined variable: nukeurl in D:\Program Files\Abyss Web Server\htdocs\admin\language\lang-english.php on line 540

Notice: Undefined variable: sitename in D:\Program Files\Abyss Web Server\htdocs\admin\language\lang-english.php on line 540

Notice: Undefined variable: sitename in D:\Program Files\Abyss Web Server\htdocs\admin\language\lang-english.php on line 543

Notice: Constant already defined in D:\Program Files\Abyss Web Server\htdocs\admin\language\lang-english.php on line 742

Notice: Constant already defined in D:\Program Files\Abyss Web Server\htdocs\admin\language\lang-english.php on line 743

Notice: Undefined variable: name in D:\Program Files\Abyss Web Server\htdocs\admin.php on line 45

Notice: Undefined index: 1 in D:\Program Files\Abyss Web Server\htdocs\mainfile.php on line 635

Notice: Undefined offset: 2 in D:\Program Files\Abyss Web Server\htdocs\mainfile.php on line 638

Notice: Undefined offset: 1 in D:\Program Files\Abyss Web Server\htdocs\mainfile.php on line 518

Notice: Undefined index: 2 in D:\Program Files\Abyss Web Server\htdocs\mainfile.php on line 247


Notice: Undefined variable: cid in D:\Program Files\Abyss Web Server\htdocs\banners.php on line 21

Notice: Undefined variable: login in D:\Program Files\Abyss Web Server\htdocs\banners.php on line 22

Notice: Undefined variable: op in D:\Program Files\Abyss Web Server\htdocs\banners.php on line 358

Notice: Undefined index: 2 in D:\Program Files\Abyss Web Server\htdocs\mainfile.php on line 247

Notice: Undefined index: 1 in D:\Program Files\Abyss Web Server\htdocs\mainfile.php on line 223

List goes on and on...Please Help

---------------------------------
PHP 4
Mysql 4
Back to top View user's profile Send private message
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Wed Aug 18, 2004 1:48 pm    Post subject: Reply with quote

These are Notices and this subject has been explained many times , to
configure PHP to turn these off , look below this message and find out :)

Quote:

These are Notices , since we get so many of the same posts every day
I might as well explain how to turn these Notices off , open your php.ini
file in C:\Windows or C:\Winnt depending on your OS and do this.

Find: error_reporting = E_ALL;

change this line to

error_reporting = E_ALL & ~E_NOTICE;


Find: register_globals = Off

change this line to

register_globals = On

Note: If you feel like not displaying any errors , use this directive , find
display_errors = On and change it to display_errors = Off , Enjoy PHP!

Now their you have it , a perfect configuration of the php.ini file , its not that
hard to configure but I was once confused by these so who am I kidding. LateR!
Back to top View user's profile Send private message Visit poster's website
BinaryRevolt
-


Joined: 18 Aug 2004
Posts: 2

PostPosted: Wed Aug 18, 2004 4:35 pm    Post subject: Reply with quote

display_errors=off Helped. Thank you very much and nice quick reply
Back to top View user's profile Send private message
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Wed Aug 18, 2004 9:59 pm    Post subject: Reply with quote

I only do my best to make members who need help fast in this forum , just
try and search for help on the forum before you post , you might find the
answer your looking for , any way , im glad I was able to fix your problem.
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