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 
Variable errors in PHP pages  XML
Forum Index » Support Forum
Author Message
Anonymous



I have upgraded Advanced Poll from v2.0 to v2.0.2. Now PHP gives me errors in all the pages where the poll is included:

Warning: Undefined variable: versionstats in ####/####.php on line 31

PHP gives me "variable error", all the other variables that are in the page are now "undefined". Very strange.
Anonymous



A page where the poll code is included:

http://www.emugenerations.com/reportajes/reviews/review.php?game=cninja

As you can see, there're error in the end of the page (PHP Stats).

Now see this page:

http://www.emugenerations.com/index.php

See the end of the page (PHP Stats). Since there isn't a poll included in the
page, there no errors. Very strange.

Why there're variable errors in the pages where the poll code is included?
Anonymous



very strange
Anonymous



Can the webmaster or someone help?
Anonymous



If I remove only the cookie code (the first line of the page) all works. I think that the problem is with poll_cookie.php. I have used require, require_once ... but it still gives me errors in the other variables in the page.
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum