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: sandeepnasa
Forum Index » Profile for sandeepnasa » Messages posted by sandeepnasa
Author Message
and mypolls.php read as -

<?php

include_once "/home/sana0980/public_html/spy-remover/poll/poll_cookie.php";
?>

<html>
<body>
<?php
include_once "/home/sana0980/public_html/spy-remover/poll/booth.php";
//$mypollid = $php_poll->get_random_poll_id();
for ( $counter = 1; $counter <= 100; $counter += 1) {
if ($php_poll->is_valid_poll_id($counter))
{
$php_poll->set_template_set("popup");
$php_poll->set_max_bar_length(80);
echo $php_poll->display_poll($counter);
echo "<br>";
}
}
//$php_poll->set_template_set("popup");
//$php_poll->set_max_bar_length(80);
//if ($php_poll->is_valid_poll_id($mypollid)) {
// echo $php_poll->display_poll($mypollid);
//}
//poll_process("random");
?>






</body>
</html>
I get error here -

eval("echo \"$poll_login\";");

in common.inc.php n line 67


this is the rror when i execute poll/admin/index.php

Parse error: parse error, unexpected T_STRING, expecting ',' or ';' in /home/pick22/poll/admin/common.inc.php(67) : eval()'d code on line 4
I hvae installed advanced poll on 2 server on 1st it works fine on the second server i am getting errors.

the first server is PHP 4.4.2 the second server is PHP5

when i try to go to admin URl i get this error


Parse error: parse error, unexpected T_STRING, expecting ',' or ';' in /home/pick22/poll/admin/common.inc.php(67) : eval()'d code on line 4

and on mainpage i get this

Fatal error: Call to a member function set_template_set() on a non-object in /home/pick22/poll/mypolls.php on line 10

the same setup works great on other machine

please let meknow the errors i am in a mess need to get it working on the php5 machine

thanks
 
Forum Index » Profile for sandeepnasa » Messages posted by sandeepnasa
Go to:   
Based on the open source JForum