| Author |
Message |
Olive
Tail-Wagger


Joined: 04 Mar 2001 Posts: 2198
Location: chicago
|
Posted:
Sat Jul 12, 2003 9:53 pm Post subject: phpNuke help |
|
here's the scenario:
IIS 5 (works fine)
PHP 4.3.2 (using ISAPI) (appears to work fine)
Nuke 6.5 (kinda works a little but not really)
mySQL 4.0.12-max-nt (works fine... questionable about the config for Nuke)
anyway...
installed nuke blah blah blah
edited the config file... pretty sure i did it right... not sure about the settings for user_prefix and sitekey
loaded the admin page and get this:
Quote:
Notice: Undefined variable: HTTP_USER_AGENT in E:\gallery\html\mainfile.php on line 16
Notice: import_request_variables(): No prefix specified - possible security hazard in E:\gallery\html\mainfile.php on line 39
Notice: Undefined variable: forum_admin in E:\gallery\html\mainfile.php on line 69
Notice: Use of undefined constant inside_mod - assumed 'inside_mod' in E:\gallery\html\mainfile.php on line 72
Notice: Undefined variable: inside_mod in E:\gallery\html\db\db.php on line 44
Notice: Use of undefined constant sitename - assumed 'sitename' in E:\gallery\html\mainfile.php on line 88
Notice: Use of undefined constant nukeurl - assumed 'nukeurl' in E:\gallery\html\mainfile.php on line 89
Notice: Use of undefined constant site_logo - assumed 'site_logo' in E:\gallery\html\mainfile.php on line 90
Notice: Use of undefined constant slogan - assumed 'slogan' in E:\gallery\html\mainfile.php on line 91
Notice: Use of undefined constant startdate - assumed 'startdate' in E:\gallery\html\mainfile.php on line 92
Notice: Use of undefined constant adminmail - assumed 'adminmail' in E:\gallery\html\mainfile.php on line 93
Notice: Use of undefined constant anonpost - assumed 'anonpost' in E:\gallery\html\mainfile.php on line 94
Notice: Use of undefined constant Default_Theme - assumed 'Default_Theme' in E:\gallery\html\mainfile.php on line 95
Notice: Use of undefined constant foot1 - assumed 'foot1' in E:\gallery\html\mainfile.php on line 96
Notice: Use of undefined constant foot2 - assumed 'foot2' in E:\gallery\html\mainfile.php on line 97
Notice: Use of undefined constant foot3 - assumed 'foot3' in E:\gallery\html\mainfile.php on line 98
Notice: Use of undefined constant commentlimit - assumed 'commentlimit' in E:\gallery\html\mainfile.php on line 99
Notice: Use of undefined constant anonymous - assumed 'anonymous' in E:\gallery\html\mainfile.php on line 100
Notice: Use of undefined constant minpass - assumed 'minpass' in E:\gallery\html\mainfile.php on line 101
Notice: Use of undefined constant pollcomm - assumed 'pollcomm' in E:\gallery\html\mainfile.php on line 102
Notice: Use of undefined constant articlecomm - assumed 'articlecomm' in E:\gallery\html\mainfile.php on line 103
Notice: Use of undefined constant broadcast_msg - assumed 'broadcast_msg' in E:\gallery\html\mainfile.php on line 104
Notice: Use of undefined constant my_headlines - assumed 'my_headlines' in E:\gallery\html\mainfile.php on line 105
Notice: Use of undefined constant top - assumed 'top' in E:\gallery\html\mainfile.php on line 106
Notice: Use of undefined constant storyhome - assumed 'storyhome' in E:\gallery\html\mainfile.php on line 107
Notice: Use of undefined constant user_news - assumed 'user_news' in E:\gallery\html\mainfile.php on line 108
Notice: Use of undefined constant oldnum - assumed 'oldnum' in E:\gallery\html\mainfile.php on line 109
Notice: Use of undefined constant ultramode - assumed 'ultramode' in E:\gallery\html\mainfile.php on line 110
Notice: Use of undefined constant banners - assumed 'banners' in E:\gallery\html\mainfile.php on line 111
Notice: Use of undefined constant backend_title - assumed 'backend_title' in E:\gallery\html\mainfile.php on line 112
Notice: Use of undefined constant backend_language - assumed 'backend_language' in E:\gallery\html\mainfile.php on line 113
Notice: Use of undefined constant language - assumed 'language' in E:\gallery\html\mainfile.php on line 114
Notice: Use of undefined constant locale - assumed 'locale' in E:\gallery\html\mainfile.php on line 115
Notice: Use of undefined constant multilingual - assumed 'multilingual' in E:\gallery\html\mainfile.php on line 116
Notice: Use of undefined constant useflags - assumed 'useflags' in E:\gallery\html\mainfile.php on line 117
Notice: Use of undefined constant notify - assumed 'notify' in E:\gallery\html\mainfile.php on line 118
Notice: Use of undefined constant notify_email - assumed 'notify_email' in E:\gallery\html\mainfile.php on line 119
Notice: Use of undefined constant notify_subject - assumed 'notify_subject' in E:\gallery\html\mainfile.php on line 120
Notice: Use of undefined constant notify_message - assumed 'notify_message' in E:\gallery\html\mainfile.php on line 121
Notice: Use of undefined constant notify_from - assumed 'notify_from' in E:\gallery\html\mainfile.php on line 122
Notice: Use of undefined constant footermsgtxt - assumed 'footermsgtxt' in E:\gallery\html\mainfile.php on line 123
Notice: Use of undefined constant email_send - assumed 'email_send' in E:\gallery\html\mainfile.php on line 124
Notice: Use of undefined constant attachmentdir - assumed 'attachmentdir' in E:\gallery\html\mainfile.php on line 125
Notice: Use of undefined constant attachments - assumed 'attachments' in E:\gallery\html\mainfile.php on line 126
Notice: Use of undefined constant attachments_view - assumed 'attachments_view' in E:\gallery\html\mainfile.php on line 127
Notice: Use of undefined constant download_dir - assumed 'download_dir' in E:\gallery\html\mainfile.php on line 128
Notice: Use of undefined constant defaultpopserver - assumed 'defaultpopserver' in E:\gallery\html\mainfile.php on line 129
Notice: Use of undefined constant singleaccount - assumed 'singleaccount' in E:\gallery\html\mainfile.php on line 130
Notice: Use of undefined constant singleaccountname - assumed 'singleaccountname' in E:\gallery\html\mainfile.php on line 131
Notice: Use of undefined constant numaccounts - assumed 'numaccounts' in E:\gallery\html\mainfile.php on line 132
Notice: Use of undefined constant imgpath - assumed 'imgpath' in E:\gallery\html\mainfile.php on line 133
Notice: Use of undefined constant filter_forward - assumed 'filter_forward' in E:\gallery\html\mainfile.php on line 134
Notice: Use of undefined constant moderate - assumed 'moderate' in E:\gallery\html\mainfile.php on line 135
Notice: Use of undefined constant admingraphic - assumed 'admingraphic' in E:\gallery\html\mainfile.php on line 136
Notice: Use of undefined constant httpref - assumed 'httpref' in E:\gallery\html\mainfile.php on line 137
Notice: Use of undefined constant httprefmax - assumed 'httprefmax' in E:\gallery\html\mainfile.php on line 138
Notice: Use of undefined constant CensorMode - assumed 'CensorMode' in E:\gallery\html\mainfile.php on line 139
Notice: Use of undefined constant CensorReplace - assumed 'CensorReplace' in E:\gallery\html\mainfile.php on line 140
Notice: Use of undefined constant copyright - assumed 'copyright' in E:\gallery\html\mainfile.php on line 141
Notice: Use of undefined constant Version_Num - assumed 'Version_Num' in E:\gallery\html\mainfile.php on line 142
Warning: Cannot modify header information - headers already sent by (output started at E:\gallery\html\mainfile.php:16) in E:\gallery\html\mainfile.php on line 165
Notice: Constant _YOUHAVE already defined in E:\gallery\html\language\lang-english.php on line 159
Notice: Use of undefined constant admin - assumed 'admin' in E:\gallery\html\admin.php on line 16
Notice: Use of undefined constant admin - assumed 'admin' in E:\gallery\html\mainfile.php on line 180
Notice: Constant _YES already defined in E:\gallery\html\admin\language\lang-english.php on line 24
Notice: Constant _NO already defined in E:\gallery\html\admin\language\lang-english.php on line 25
Notice: Constant _DATE already defined in E:\gallery\html\admin\language\lang-english.php on line 80
Notice: Constant _IMAGEURL already defined in E:\gallery\html\admin\language\lang-english.php on line 126
Notice: Constant _CLICKURL already defined in E:\gallery\html\admin\language\lang-english.php on line 127
Notice: Constant _HOUR already defined in E:\gallery\html\admin\language\lang-english.php on line 170
Notice: Constant _ADD already defined in E:\gallery\html\admin\language\lang-english.php on line 232
Notice: Constant _UMONTH already defined in E:\gallery\html\admin\language\lang-english.php on line 236
Notice: Constant _YEAR already defined in E:\gallery\html\admin\language\lang-english.php on line 237
Notice: Constant _TEAM already defined in E:\gallery\html\admin\language\lang-english.php on line 487
Notice: Undefined variable: sitename in E:\gallery\html\admin\language\lang-english.php on line 540
Notice: Undefined variable: nukeurl in E:\gallery\html\admin\language\lang-english.php on line 540
Notice: Undefined variable: sitename in E:\gallery\html\admin\language\lang-english.php on line 540
Notice: Undefined variable: sitename in E:\gallery\html\admin\language\lang-english.php on line 543
Notice: Use of undefined constant HTTP_USER_AGENT - assumed 'HTTP_USER_AGENT' in E:\gallery\html\auth.php on line 24
Notice: Use of undefined constant random_num - assumed 'random_num' in E:\gallery\html\auth.php on line 24
Notice: Use of undefined constant pwd - assumed 'pwd' in E:\gallery\html\auth.php on line 35
Warning: Cannot modify header information - headers already sent by (output started at E:\gallery\html\mainfile.php:16) in E:\gallery\html\auth.php on line 37
Notice: Use of undefined constant pwd - assumed 'pwd' in E:\gallery\html\auth.php on line 68
Notice: Use of undefined constant pwd - assumed 'pwd' in E:\gallery\html\auth.php on line 68
Notice: Undefined index: 1 in E:\gallery\html\mainfile.php on line 521
Notice: Use of undefined constant END_TRANSACTION - assumed 'END_TRANSACTION' in E:\gallery\html\db\mysql.php on line 117
Notice: Use of undefined constant user_password - assumed 'user_password' in E:\gallery\html\mainfile.php on line 524
Notice: Undefined offset: 2 in E:\gallery\html\mainfile.php on line 525
Notice: Undefined offset: 1 in E:\gallery\html\mainfile.php on line 408
Notice: Undefined index: 2 in E:\gallery\html\mainfile.php on line 217
Notice: Undefined variable: op in E:\gallery\html\banners.php on line 369
Notice: Use of undefined constant bid - assumed 'bid' in E:\gallery\html\banners.php on line 38
Notice: Use of undefined constant imageurl - assumed 'imageurl' in E:\gallery\html\banners.php on line 39
Notice: Use of undefined constant clickurl - assumed 'clickurl' in E:\gallery\html\banners.php on line 40
Notice: Use of undefined constant alttext - assumed 'alttext' in E:\gallery\html\banners.php on line 41
Notice: Use of undefined constant pwd - assumed 'pwd' in E:\gallery\html\mainfile.php on line 203
Notice: Undefined variable: sitename in E:\gallery\html\themes\DeepBlue\theme.php on line 69
and the "create a superuser dialog"
superuser created and was added to the _authors table (verified it in the actual db)
still get the same errors at the top of the page and towards the bottom i can get the admin menu (with various flavors or errors) to load.
here is a quick snippet of the 'mainfile.php'
Quote:
15) $phpver = phpversion();
16) if ($phpver >= '4.0.4pl1' && strstr($HTTP_USER_AGENT,'compatible')) {
17) if (extension_loaded('zlib')) {
18) ob_end_clean();
19) ob_start('ob_gzhandler');
20) }
i get the same error on the index page.
anyone know what's going on? |
_________________ i'd never join an organization who'd have me as a member
Thawte Web of Trust Notary
--wonko "I really dont know what to say exept the purpose of a lake is not to kill someone."
--maple_shaft "I AM AN ATTENTION WHORE!!!!! "
|
|
|
|
|
fathertyme
Site Admin


Joined: 30 Jun 2001 Posts: 6207
Location: The American Colonies
|
Posted:
Sat Jul 12, 2003 11:01 pm Post subject: |
|
cant remember the exact line, but it sounds like a php config problem
you need to allow "external variables" or some such
basically, you need to enable it so that you can transfer variables between files while NOT using POST (this is heavily depreciated tho, allot of php apps are behind the tymes) |
_________________ LWD web-cams: http://lwdcam.codecoma.com/?lwdcam
----
---
[9:08pm][09/16/2005]«+ flip » college...what is that
[9:08pm][09/16/2005]«+ Aff » apparently a place where you find rum
---
I used to live in my own little world, but they didn't like me there either.
You see dead people? I'm a software engineer, I don't see anybody!
---
My Amazon Wishlist
|
|
|
|
|
Extreme
Big Dog


Joined: 17 Jun 2001 Age: 28 Posts: 4396
Location: Palm Bay, Florida USA
|
Posted:
Sun Jul 13, 2003 11:07 am Post subject: |
|
It is a PHP Config setting, edit your php.ini file and update the error reporting to:
error_reporting = E_ALL & ~E_NOTICE
That will get rid of the Notice errors.
Hope this helps. |
_________________ I ♥ my IT guy, do you?
|
|
|
|
|
|
|