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 |
14/07/2009 18:43:53
|
croxxx69
Beginner
Joined: 24/10/2008 23:00:06
Messages: 5
Offline
|
hy,
I have a well functioning advanced poll at my old homepage http://www.kava.site50.net/index.html
and I want to put the same at my new homepage www.kava.hr
but, it doesn´t work.
Instead of the poll I get this message: poll_process(5); ?>
Where is an error??
|
|
16/07/2009 00:13:51
|
genie
Newbie
Joined: 07/07/2009 13:27:06
Messages: 3
Offline
|
Assuming you may have just cut and pasted it into a new page, or brought the old page over, are you sure your directory structure is the same. See "red" below.
Also if you're taking a backup and installing it on another site, are you sure that there is the same names and permissions set?
<?php
/* path */
$poll_path = dirname(poll);
require_once $poll_path."/poll/include/config.inc.php";
require_once $poll_path."/poll/include/$POLLDB[class]";
require_once $poll_path."/poll/include/class_poll.php";
$CLASS["db"] = new polldb_sql;
$CLASS["db"]->connect();
$php_poll = new poll();
/* the third poll */
$php_poll->set_template_set("popup");
if ($php_poll->is_valid_poll_id(xxx)) {
echo $php_poll->display_poll(xxx);
}
?>
|
|
|
|
|
|
Based on the open source JForum
|