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 
Messages posted by: huntingpeople
Forum Index » Profile for huntingpeople » Messages posted by huntingpeople
Author Message
Hi All, I upgraded my PHP installation from PHP 5.2 to 5.4 version and my Advance Poll stopped working. I googled around for the possible causes and found that the register_globals has been dropped in PHP 5.4.
As a possible, quick fix, i changed and added the below lines to my include/config.inc.php file for advance poll -
////////////////////////////////////////////////
foreach ($_REQUEST as $key=>$val) {
${$key}=$val;
}
foreach ($_SERVER as $key=>$val) {
${$key}=$val;
}
foreach ($_COOKIE as $key=>$val) {
${$key}=$val;
}
////////////////////////////////////////////////
With these I was able to fix the admin portion. But however, the front end is still not working. I can see the poll on front-end, but I am not able to vote or see the result. Any help will be appreciated.


Rajeev.
 
Forum Index » Profile for huntingpeople » Messages posted by huntingpeople
Go to:   
Based on the open source JForum