If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
Cannot redeclare class poll in.... C:\...  XML
Forum Index » Support Forum
Author Message


I've got a little problem with installing multiple polls on the same page... Sure, if it's the same poll type the stuff works like a charm, but here i wan't to display one poll type from demo_3.php for example and also a demo_1.php example in the same page. I tried to modify it by myself but i just can't get it. If someone solve this problem before, can you just put a link in here or try to help me out please?

I' get this if I include the demo_3.php example in the same page:

Fatal error: Cannot redeclare class poll in C:\dir_path\include\class_poll.php on line 10

This error returns the demo_1.php example poll

Joined: 23/06/2003 22:02:17
Messages: 1053

there must be two lines the same.

look for another line EXACTLY the same as line ten, comment using //
the one nearest the bottom of the page.

Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought)
[Email] [WWW]
Forum Index » Support Forum
Go to:   
Based on the open source JForum