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 
poll_process error  XML
Forum Index » Support Forum
Author Message
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??
genie
Newbie
[Avatar]

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);
}

?>
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum