Chi Kien Uong
Geranienstraße 30
71034 Böblingen
Deutschland / Germany
|
If you are not registered or logged in, you may still use these forums but with limited features.
Show recent topics
|
|
|
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.
|
|
|
|
|
|
Based on the open source JForum
|