Author |
Message |
10/08/2003 13:40:43
|
Anonymous
|
the page with voting give an error:
Fatal error: Cannot redeclare set_max_bar_length() in /usr/home/ftp/ru/spb.ru/kyra.spb.ru/wwwroot/bpxf5lae/xumepa/vote/include/class_poll.php on line 116
what must i do...
help please...
---
sorry for my english
|
|
10/08/2003 13:43:59
|
Auron
Expert
Joined: 23/06/2003 22:02:17
Messages: 1053
Offline
|
Whats on line 116?
Also I don't think anyones found a solution to this yet apart from starting over from scratch.
Auron
|
Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought) |
|
10/08/2003 13:47:35
|
Anonymous
|
Auron wrote:Whats on line 116?
Also I don't think anyones found a solution to this yet apart from starting over from scratch.
Auron
on line 116 is:
function set_max_bar_length($max_bar_length='') {
|
|
10/08/2003 13:50:56
|
Anonymous
|
index.php listing:
----------------------------------------------------------
<?php
// Important! You have to include it before your html code
include_once "vote/poll_cookie.php";
?>
<html>
<body>
<?php
include_once "vote/booth.php";
echo $php_poll->poll_process("newest");
?>
</body>
</html>
----------------------------------------------------------
its ok?
or i must set the full patch?
"vote/poll_cookie.php" -> "http://blah-blah-blah.../vote/poll_cookie.php"
|
|
10/08/2003 13:58:14
|
Anonymous
|
sorry
last messages are mine
|
|
10/08/2003 14:06:48
|
Anonymous
|
Auron wrote:
Also I don't think anyones found a solution to this yet apart from starting over from scratch.
Auron
scratch? what do you mean "from scratch"?
|
|
10/08/2003 14:23:31
|
Anonymous
|
bpxF5Lae wrote:the page with voting give an error:
Fatal error: Cannot redeclare set_max_bar_length() in /usr/home/ftp/ru/spb.ru/kyra.spb.ru/wwwroot/bpxf5lae/xumepa/vote/include/class_poll.php on line 116
what must i do...
help please...
- admin interface is working without problems
- i dont change anything in php-sourses (only with help of admin interface)
but i can't include voting in my index.php
please help......
|
|
10/08/2003 23:04:23
|
Auron
Expert
Joined: 23/06/2003 22:02:17
Messages: 1053
Offline
|
Have you chmod'ed all the files right and scratch means start from the beginning with EVERYTHING. Try using the full path found under help in the admin area. Also try deleting the white space between the first ?> and the <html> tag.
<?php include_once "./textfile/booth.php";
echo $php_poll->poll_process("newest"); ?>
Personally I use this and it seems to work fine. You don't really need the cookie bit if under general settings you switch IP table on.
Also I've figured out how to turn the options for each poll into links so you can view either a new page, image or text about/for that option, if your interested.
Auron
|
Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought) |
|
12/08/2003 19:19:37
|
Anonymous
|
Fatal error: Cannot redeclare set_max_bar_length() in /home2/wmpnetru/www/poll/include/class_poll.php on line 116
not work!
CHMOD is ok
|
|
|