Author |
Message |
arames
New Member


Joined: Apr 30, 2006
Posts: 13
|
Posted:
Sun Apr 30, 2006 9:26 am |
|
Hi everybody and thank you in advance for replying to my question.
I just intalled Nuke 7.8 (wasnt that easy with MySql file being over 3 MB).
Anyway, now the website is running perfectly (i i choose NOT to show the errors).
Except for the admin pages:
admin.php?op=submissions
admin.php?op=adminStory
I get blank pages.
Why is that? everything else work perfectly!
Thank you again in advance for your help |
|
|
|
 |
arames

|
Posted:
Sun Apr 30, 2006 9:29 am |
|
Here is the ERRORS I get when i turn ON error showing in config, and I try to go to:
www.mydomain.com/starsnews/admin.php?op=submissions
Quote: | Notice: Constant _YOUHAVE already defined in /starsnews/language/lang-english.php on line 159
Notice: Undefined variable: gfx in /starsnews/mainfile.php on line 1312
Notice: Use of undefined constant admin - assumed 'admin' in /starsnews/admin.php on line 35
Notice: Use of undefined constant admin - assumed 'admin' in /starsnews/mainfile.php on line 226
Notice: Constant _YES already defined in /starsnews/admin/language/lang-english.php on line 24
Notice: Constant _NO already defined in /starsnews/admin/language/lang-english.php on line 25
Notice: Constant _HOUR already defined in /starsnews/admin/language/lang-english.php on line 80
Notice: Constant _ADD already defined in /starsnews/admin/language/lang-english.php on line 121
Notice: Undefined variable: sitename in /starsnews/admin/language/lang-english.php on line 220
Notice: Undefined variable: nukeurl in /starsnews/admin/language/lang-english.php on line 220
Notice: Undefined variable: sitename in /starsnews/admin/language/lang-english.php on line 220
Notice: Undefined variable: sitename in /starsnews/admin/language/lang-english.php on line 223
Notice: Constant _SECURITYCODE already defined in /starsnews/admin/language/lang-english.php on line 270
Notice: Constant _TYPESECCODE already defined in /starsnews/admin/language/lang-english.php on line 271
Notice: Undefined variable: aid in /starsnews/admin.php on line 84
Notice: Undefined variable: aid in /starsnews/admin.php on line 87
Notice: Undefined variable: pwd in /starsnews/admin.php on line 88
Notice: Constant _IMAGEURL already defined in /starsnews/modules/Advertising/admin/language/lang-english.php on line 33
Notice: Constant _CLICKURL already defined in /starsnews/modules/Advertising/admin/language/lang-english.php on line 34
Notice: Constant _IMAGESWFURL already defined in /starsnews/modules/Advertising/admin/language/lang-english.php on line 89
Notice: Constant _SEND already defined in /starsnews/modules/Content/admin/language/lang-english.php on line 21
Notice: Constant _FUNCTIONS already defined in /starsnews/modules/Content/admin/language/lang-english.php on line 22
Notice: Constant _YES already defined in /starsnews/modules/Content/admin/language/lang-english.php on line 23
Notice: Constant _NO already defined in /starsnews/modules/Content/admin/language/lang-english.php on line 24
Notice: Constant _SAVECHANGES already defined in /starsnews/modules/Content/admin/language/lang-english.php on line 26
Notice: Constant _DESCRIPTION already defined in /starsnews/modules/Content/admin/language/lang-english.php on line 29
Notice: Constant _TITLE already defined in /starsnews/modules/Content/admin/language/lang-english.php on line 30
Notice: Constant _ACTIVE already defined in /starsnews/modules/Content/admin/language/lang-english.php on line 31
Notice: Constant _DEACTIVATE already defined in /starsnews/modules/Content/admin/language/lang-english.php on line 32
Notice: Constant _INACTIVE already defined in /starsnews/modules/Content/admin/language/lang-english.php on line 33
Notice: Constant _ACTIVATE already defined in /starsnews/modules/Content/admin/language/lang-english.php on line 34
Notice: Constant _CONTENT already defined in /starsnews/modules/Content/admin/language/lang-english.php on line 35
Notice: Constant _ADD already defined in /starsnews/modules/Content/admin/language/lang-english.php on line 38
Notice: Constant _LANGUAGE already defined in /starsnews/modules/Content/admin/language/lang-english.php on line 39
Notice: Constant _URL already defined in /starsnews/modules/Downloads/admin/language/lang-english.php on line 21
Notice: Constant _FUNCTIONS already defined in /starsnews/modules/Downloads/admin/language/lang-english.php on line 22
Notice: Constant _YES already defined in /starsnews/modules/Downloads/admin/language/lang-english.php on line 23
Notice: Constant _NO already defined in /starsnews/modules/Downloads/admin/language/lang-english.php on line 24
Notice: Constant _CATEGORY already defined in /starsnews/modules/Downloads/admin/language/lang-english.php on line 25
Notice: Constant _SAVECHANGES already defined in /starsnews/modules/Downloads/admin/language/lang-english.php on line 26
Notice: Constant _OK already defined in /starsnews/modules/Downloads/admin/language/lang-english.php on line 27
Notice: Constant _DESCRIPTION already defined in /starsnews/modules/Downloads/admin/language/lang-english.php on line 37
Notice: Constant _HOMEPAGE already defined in /starsnews/modules/Downloads/admin/language/lang-english.php on line 39
Notice: Constant _NAME already defined in /starsnews/modules/Downloads/admin/language/lang-english.php on line 40
Notice: Constant _DOWNLOAD already defined in /starsnews/modules/Downloads/admin/language/lang-english.php on line 46
Notice: Constant _TITLE already defined in /starsnews/modules/Downloads/admin/language/lang-english.php on line 47
Notice: Constant _STATUS already defined in /starsnews/modules/Downloads/admin/language/lang-english.php on line 48
Notice: Constant _ADD already defined in /starsnews/modules/Downloads/admin/language/lang-english.php on line 49
Notice: Constant _SEND already defined in /starsnews/modules/Encyclopedia/admin/language/lang-english.php on line 21
Notice: Constant _FUNCTIONS already defined in /starsnews/modules/Encyclopedia/admin/language/lang-english.php on line 22
Notice: Constant _YES already defined in /starsnews/modules/Encyclopedia/admin/language/lang-english.php on line 23
Notice: Constant _NO already defined in /starsnews/modules/Encyclopedia/admin/language/lang-english.php on line 24
Notice: Constant _SAVECHANGES already defined in /starsnews/modules/Encyclopedia/admin/language/lang-english.php on line 25
Notice: Constant _PAGEBREAK already defined in /starsnews/modules/Encyclopedia/admin/language/lang-english.php on line 26
Notice: Constant _DESCRIPTION already defined in /starsnews/modules/Encyclopedia/admin/language/lang-english.php on line 27
Notice: Constant _TO already defined in /starsnews/modules/Encyclopedia/admin/language/lang-english.php on line 28
Notice: Constant _TITLE already defined in /starsnews/modules/Encyclopedia/admin/language/lang-english.php on line 29
Notice: Constant _ACTIVE already defined in /starsnews/modules/Encyclopedia/admin/language/lang-english.php on line 30
Notice: Constant _DEACTIVATE already defined in /starsnews/modules/Encyclopedia/admin/language/lang-english.php on line 31
Notice: Constant _INACTIVE already defined in /starsnews/modules/Encyclopedia/admin/language/lang-english.php on line 32
Notice: Constant _ACTIVATE already defined in /starsnews/modules/Encyclopedia/admin/language/lang-english.php on line 33
Notice: Constant _ADD already defined in /starsnews/modules/Encyclopedia/admin/language/lang-english.php on line 34
Notice: Constant _LANGUAGE already defined in /starsnews/modules/Encyclopedia/admin/language/lang-english.php on line 35
Notice: Constant _ENCYCLOPEDIA already defined in /starsnews/modules/Encyclopedia/admin/language/lang-english.php on line 36
Notice: Constant _CURRENTSTATUS already defined in /starsnews/modules/Encyclopedia/admin/language/lang-english.php on line 42
Notice: Constant _ACTIVATEPAGE already defined in /starsnews/modules/Encyclopedia/admin/language/lang-english.php on line 43
Notice: Constant _TERMS already defined in /starsnews/modules/Encyclopedia/admin/language/lang-english.php on line 44
Notice: Constant _FUNCTIONS already defined in /starsnews/modules/FAQ/admin/language/lang-english.php on line 21
Notice: Constant _YES already defined in /starsnews/modules/FAQ/admin/language/lang-english.php on line 22
Notice: Constant _NO already defined in /starsnews/modules/FAQ/admin/language/lang-english.php on line 23
Notice: Constant _SAVE already defined in /starsnews/modules/FAQ/admin/language/lang-english.php on line 24
Notice: Constant _ID already defined in /starsnews/modules/FAQ/admin/language/lang-english.php on line 25
Notice: Constant _ALL already defined in /starsnews/modules/FAQ/admin/language/lang-english.php on line 27
Notice: Constant _FAQ already defined in /starsnews/modules/FAQ/admin/language/lang-english.php on line 28
Notice: Constant _CONTENT already defined in /starsnews/modules/FAQ/admin/language/lang-english.php on line 29
Notice: Constant _ADDCATEGORY already defined in /starsnews/modules/FAQ/admin/language/lang-english.php on line 32
Notice: Constant _EDITCATEGORY already defined in /starsnews/modules/FAQ/admin/language/lang-english.php on line 37
Notice: Constant _LANGUAGE already defined in /starsnews/modules/FAQ/admin/language/lang-english.php on line 41
Notice: Constant _NEWS already defined in /starsnews/modules/News/admin/language/lang-english.php on line 21
Notice: Constant _FUNCTIONS already defined in /starsnews/modules/News/admin/language/lang-english.php on line 22
Notice: Constant _YES already defined in /starsnews/modules/News/admin/language/lang-english.php on line 23
Notice: Constant _NO already defined in /starsnews/modules/News/admin/language/lang-english.php on line 24
Notice: Constant _CATEGORY already defined in /starsnews/modules/News/admin/language/lang-english.php on line 26
Notice: Constant _SAVECHANGES already defined in /starsnews/modules/News/admin/language/lang-english.php on line 27
Notice: Constant _OK already defined in /starsnews/modules/News/admin/language/lang-english.php on line 28
Notice: Constant _SAVE already defined in /starsnews/modules/News/admin/language/lang-english.php on line 29
Notice: Constant _ARTICLES already defined in /starsnews/modules/News/admin/language/lang-english.php on line 31
Notice: Constant _ALL already defined in /starsnews/modules/News/admin/language/lang-english.php on line 32
Notice: Constant _AUTHOR already defined in /starsnews/modules/News/admin/language/lang-english.php on line 36
Notice: Constant _NAME already defined in /starsnews/modules/News/admin/language/lang-english.php on line 37
Notice: Constant _DATE already defined in /starsnews/modules/News/admin/language/lang-english.php on line 38
Notice: Constant _TITLE already defined in /starsnews/modules/News/admin/language/lang-english.php on line 39
Notice: Constant _HOUR already defined in /starsnews/modules/News/admin/language/lang-english.php on line 40
Notice: Constant _EDITCATEGORY already defined in /starsnews/modules/News/admin/language/lang-english.php on line 41
Notice: Constant _ADD already defined in /starsnews/modules/News/admin/language/lang-english.php on line 49
Notice: Constant _DAY already defined in /starsnews/modules/News/admin/language/lang-english.php on line 52
Notice: Constant _UMONTH already defined in /starsnews/modules/News/admin/language/lang-english.php on line 53
Notice: Constant _YEAR already defined in /starsnews/modules/News/admin/language/lang-english.php on line 54
Notice: Constant _LANGUAGE already defined in /starsnews/modules/News/admin/language/lang-english.php on line 99
Parse error: parse error, unexpected $ in /starsnews/modules/News/admin/index.php on line 865
|
Again 1 Million thanks in advance |
|
|
|
 |
montego
Site Admin

Joined: Aug 29, 2004
Posts: 9457
Location: Arizona
|
Posted:
Sun Apr 30, 2006 10:15 am |
|
I think the last one is what is causing your issues. Have you verified that ALL files were FTP'd correctly? Sometimes files get missed or they get corrupted.
By the way, please use more descriptive topic titles in the future. Thanks! |
_________________ Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! |
|
|
 |
arames

|
Posted:
Sun Apr 30, 2006 11:37 am |
|
Quote: | I think the last one is what is causing your issues. Have you verified that ALL files were FTP'd correctly? Sometimes files get missed or they get corrupted.
|
You are simply a genius Montego!
In deed the file was uploaded wrongly (although all the other were uploaded good).
I simply reuploaded the last file and ALL worked well.
Quote: | By the way, please use more descriptive topic titles in the future. Thanks |
This was my first post here so I wasnt sure about the guidelines, but i will use them in the future for sure.
p.s: 1 last question do you know how I can get rid of ALL the other warnings?
I dont wish everytime to go to config and change the Error report, but I still want to know when I get an error
Thank you again for your great help ! |
|
|
|
 |
montego

|
Posted:
Sun Apr 30, 2006 12:17 pm |
|
You will see very quickly that I am no "genious".
Quote: |
1 last question do you know how I can get rid of ALL the other warnings?
|
I don't see all those warning messages, but I know there is some way to turn up the error reporting level, I just don't know where to do that. (See, no genious after-all )
There may be others here that know that... |
|
|
|
 |
evaders99
Former Moderator in Good Standing

Joined: Apr 30, 2004
Posts: 3221
|
Posted:
Sun Apr 30, 2006 9:19 pm |
|
Well really the warnings are an issue that need to be fix. They aren't fatal errors, but they make it harder for the PHP compiler to do its job.
You can suppress the warnings with this line of code
Code:
error_reporting(E_ALL^E_NOTICE);
|
Of course, to actually fix those issues, you have to go through each one and remove the duplicate definitions. That's what I've done with my test site.
For development, I turn on the error reporting all the way up. That helps when there are errors with your scripts.
Code:
error_reporting(E_ALL);
|
Since I use this a lot, I actually put code in mainfile.php that I can use to control this.
Code:
if (defined('ALL_ERRORS')) {
@ini_set('display_errors', 1);
error_reporting(E_ALL);
} else {
if($display_errors) {
@ini_set('display_errors', 1);
error_reporting(E_ALL^E_NOTICE);
} else {
@ini_set('display_errors', 0);
error_reporting(0);
}
}
|
And this line I can comment or uncomment in config.php to control the error reporting for development
Code:
if (!defined('ALL_ERRORS')) { define('ALL_ERRORS',1); }
|
Okay, more than I wanted to post.. but hope you find this useful. |
_________________ - Only registered users can see links on this board! Get registered or login! -
Need help? Only registered users can see links on this board! Get registered or login! |
|
|
 |
arames

|
Posted:
Tue May 02, 2006 10:16 am |
|
Thank you.
I have done this, and now I am supressing the warnings.
Thank you again |
|
|
|
 |
|