PHP Web Host - Quality Web Hosting For All PHP Applications Free RavenNuke(tm) Add Ons
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
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 Back to top

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 to the forums!
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 Back to top

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 to the forums!
View user's profile Send private message Visit poster's website
djw2
Regular
Regular


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

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

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
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
sixonetonoffun
Spouse Contemplates Divorce


Joined: Jan 02, 2003
Posts: 2499

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

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


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

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

Clean this end, cleaner than my print page that says:
"Sorry, such file doesn't exist..." At the bottom.
View user's profile Send private message Visit poster's website
djw2
Regular
Regular


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

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

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!
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
sixonetonoffun
Spouse Contemplates Divorce


Joined: Jan 02, 2003
Posts: 2499

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

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....
View user's profile Send private message
djw2
Regular
Regular


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

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

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.
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
sixonetonoffun
Spouse Contemplates Divorce


Joined: Jan 02, 2003
Posts: 2499

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

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.
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum