Author |
Message |
djw2
Regular


Joined: Sep 19, 2003
Posts: 95
Location: St. Louis, MO
|
Posted:
Mon May 10, 2004 12:33 am |
|
Hey,
I'm getting an error on my printpage...
Quote: | Fatal error: Cannot redeclare printpage() (previously declared in /home/dwhelan/public_html/reporters/modules/News/print.php:26) in /home/dwhelan/public_html/reporters/modules/News/print.php on line 26 |
Here's what it say in my error log...
Quote: | [10-May-2004 02:25:51] PHP Fatal error: Cannot redeclare printpage() (previously declared in /home/dwhelan/public_html/reporters/modules/News/print.php:26) in /home/dwhelan/public_html/reporters/modules/News/print.php on line 26 |
Could someone help me understand exactly what this means? I have a few redeclare errors that have popped up so I'll start here and maybe I'll learn how to take care of the rest while I'm at it.
Thanks in advance,
Paxil
www.majorityreporter.com |
|
|
|
 |
GanjaUK
Life Cycles Becoming CPU Cycles

Joined: Feb 14, 2004
Posts: 633
Location: England
|
Posted:
Mon May 10, 2004 4:04 pm |
|
|
|
 |
djw2

|
Posted:
Mon May 10, 2004 4:30 pm |
|
Hey,
No, I haven't fixed it. It's at the bottom of the page... I think.
Do you NOT see it? Is that even possible?
Thanks,
Paxil |
|
|
|
 |
sixonetonoffun
Spouse Contemplates Divorce

Joined: Jan 02, 2003
Posts: 2496
|
Posted:
Mon May 10, 2004 4:37 pm |
|
I don't see an error either on that page? |
|
|
|
 |
GanjaUK

|
Posted:
Mon May 10, 2004 5:23 pm |
|
Clean this end, cleaner than my print page that says:
"Sorry, such file doesn't exist..." At the bottom. |
|
|
|
 |
djw2

|
Posted:
Mon May 10, 2004 5:44 pm |
|
Okay, well that's a different problem I suppose.
Why do I see...
Quote: | Fatal error: Cannot redeclare printpage() (previously declared in /home/dwhelan/public_html/reporters/modules/News/print.php:26) in /home/dwhelan/public_html/reporters/modules/News/print.php on line 26 |
at the bottom of that page and no one else does? How could that be?
Peace! |
|
|
|
 |
sixonetonoffun

|
Posted:
Mon May 10, 2004 6:08 pm |
|
Hmn I'd try clearing your broswer cache. Check your server error logs for the last time that error happened. See if its just happening sometimes or when coming from a certain page ect.... |
|
|
|
 |
djw2

|
Posted:
Mon May 10, 2004 7:17 pm |
|
Hmm,
Okay... I can only see it when I'm logged in as the admin.
Is that at all helpful in figuring out where the problem is?
Thanks. |
|
|
|
 |
sixonetonoffun

|
Posted:
Mon May 10, 2004 7:57 pm |
|
I just checked in the latest nuke line 26 is different. Imagine some patch was applied to it.
Since its only when your admin try putting an @ in front of the function
assuming line 26 is this
function PrintPage($sid) {
Change it to this
@function PrintPage($sid) {
That will hide the error sorry I just don't have time to track that one down right now. |
|
|
|
 |
|