Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> General/Other Stuff
Author Message
djw2
Regular
Regular



Joined: Sep 19, 2003
Posts: 95
Location: St. Louis, MO

PostPosted: Mon May 10, 2004 12:33 am Reply with quote

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 [ Only registered users can see links on this board! Get registered or login! ]
 
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
GanjaUK
Life Cycles Becoming CPU Cycles



Joined: Feb 14, 2004
Posts: 633
Location: England

PostPosted: Mon May 10, 2004 4:04 pm Reply with quote

I dont see any error on your print page, did you fix it? [ Only registered users can see links on this board! Get registered or login! ]

_________________
Image
Need a quality custom theme designed? PM me!
 
View user's profile Send private message Visit poster's website
djw2







PostPosted: Mon May 10, 2004 4:30 pm Reply with quote

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

PostPosted: Mon May 10, 2004 4:37 pm Reply with quote

I don't see an error either on that page?
 
View user's profile Send private message
GanjaUK







PostPosted: Mon May 10, 2004 5:23 pm Reply with quote

Clean this end, cleaner than my print page that says:
"Sorry, such file doesn't exist..." At the bottom.
 
djw2







PostPosted: Mon May 10, 2004 5:44 pm Reply with quote

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







PostPosted: Mon May 10, 2004 6:08 pm Reply with quote

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







PostPosted: Mon May 10, 2004 7:17 pm Reply with quote

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







PostPosted: Mon May 10, 2004 7:57 pm Reply with quote

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.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> General/Other Stuff

View next topic
View previous topic
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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©