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 |
25/07/2006 15:49:33
|
visitor
Beginner
Joined: 25/07/2006 15:34:19
Messages: 7
Offline
|
Just about to give up on this.
All is working except the pie chart, which shows a (red box) image (Not found).
1, I installed, deleted the test polls, set my own up, use the code for the pie chart, nothing shown in pie chart...
2, deleted database, re-installed used the test files, all work except the pie chart. (demo 6)
So.... thought I would check the server logs..
PHP Notice: Undefined variable: pollvars in /home/default/xxxxx/user/htdocs/surveyx/include/class_pgfx.php on line 69, referer: http://www.xxxxx/surveyx/demo_6.php
[Tue Jul 25 14:22:47 2006] [error] [client xxxxx]
File does not exist: /home/default/xxxxx/user/htdocs/image, referer: http://www.xxxxx/surveyx/demo_6.php
[Tue Jul 25 14:31:18 2006]
The installation worked first time, without problems, I can set up polls, vote, display the result in bar charts, but it wont work in a pie chart
Yes imagecreate will work on this server (Dedicated server)
Seams there are errors with the other demos, but they do work
PHP Notice: Undefined variable: option_votes_arr in /home/default/xxxxxx/user/htdocs/surveyx/include/class_poll.php on line 137, referer: http://www.xxxxxx/surveyx/demo_4.php?action=results&poll_ident=2
[client xxxxx]
PHP Notice: Undefined variable: option_color_arr in /home/default/xxxxx/user/htdocs/surveyx/include/class_poll.php on line 138, referer: http://www.xxxxxx/surveyx/demo_4.php?action=results&poll_ident=2
[client xxxxx]
Im using a database to store it all
|
|
25/07/2006 16:16:22
|
visitor
Beginner
Joined: 25/07/2006 15:34:19
Messages: 7
Offline
|
update
Well having copied some code from here, I can see demo 6 pie chart in full colour, using the same code for my own poll, its showing the chart, but in white, with just a black line?
|
|
25/07/2006 16:19:06
|
visitor
Beginner
Joined: 25/07/2006 15:34:19
Messages: 7
Offline
|
Update
So I never set the colors...
This is a greall script, but bloody rubbish info on setting it up
There should be a means of selecting its type perhaps...
|
|
25/07/2006 20:26:28
|
visitor
Beginner
Joined: 25/07/2006 15:34:19
Messages: 7
Offline
|
help !
Now got it all working as I like it, but slipped up somewhere
I have two iframes, one with the poll, one with the comments
When I click add comments, the comments are shown not the forum ?
I made an edit to the comment template I think
|
|
25/07/2006 22:29:11
|
visitor
Beginner
Joined: 25/07/2006 15:34:19
Messages: 7
Offline
|
Very busy forum this
where it says 1 > 2
For the page numbers, why dont it show page 3,4,5 etc ?
/* poll comments */
$php_poll->set_template("poll_comment");
$php_poll->set_comments_per_page(3);
$php_poll->set_date_format("d/m/Y H:i");
$php_poll->data_order_by("time","desc");
echo $php_poll->view_poll_comments(10);
echo "<center><font size=1 face=Verdana> Page ".$php_poll->get_comment_pages(2)."</font></center>";
will only show 2 pages?
|
|
|
|
|
|
Based on the open source JForum
|