Drake CMS Official Forums - read-only archive

You are reading the Drake CMS Official Forums archive, available for historical purposes only.

Drake CMS has been rebranded into Lanius CMS, visit the new Lanius CMS Official Forums if you need support about Lanius CMS or Drake CMS -> Lanius CMS migration.



Home page Help & Support > Poll and Forum bugs? Permanent link to this page
 
 
Author Message:
siedlerchr
Poll and Forum bugs?
06 October 2007 13:17
Anonymous Hi,

i've done the follwonig picture, there are 70% who choose answer one, but the bar looks like answer two, 5%.

Screenshot

And in this forum, it looks like a bug, on some topcis there are more than 300 answers, but in reality there are just 1 or two.

 
stigi
Re: Poll and Forum bugs?
06 October 2007 23:31
Anonymous Hello,

About second problem, I have already wrote about it (on 13 September 2007 23:47) in your topic (Website category):

Quote:

Yes, I can reply, but I can't edit my own posts. BTW: In 'General discussion' the latest topic: First upgrade impessions v0.4.6, has got 110 Replies, and 24 Views. Some kind of a bug, I guess.


Now it's also in other topics. I guess this problem occured while migrating data from old Drake CMS to a new version.
 
legolas558
Re: Poll and Forum bugs?
07 October 2007 08:56
Anonymous Quote:

i've done the follwonig picture, there are 70% who choose answer one, but the bar looks like answer two, 5%.

Screenshot

Browser?
Can you provide the HTML sample (.txt format) of the graph?

Quote:

And in this forum, it looks like a bug, on some topcis there are more than 300 answers, but in reality there are just 1 or two.


Will be fixed in the next update
 
stigi
Re: Poll and Forum bugs?
07 October 2007 10:20
Anonymous Hello,

For English language selected, I can see poll bars properly:

Screenshot

but.. I can't change language to German (like it is on your screenshot).
 
siedlerchr
Re: Poll and Forum bugs?
07 October 2007 12:05
Anonymous
Quote:
Browser?
Can you provide the HTML sample (.txt format) of the graph?


I work with FF, it is just in FF , I tested it with Avant Browser, there all is correctly shown.


Can you explain, what do you mean?
Here is a direct Link:
Poll

I can't change the language to english!
 
stigi
Re: Poll and Forum bugs?
07 October 2007 13:33
Anonymous In Opera also looks OK. However, after clicking German flag, it doesn't change language to German (it's still English: 'Select poll', 'Number of voters' etc).
 
siedlerchr
Re: Poll and Forum bugs?
08 October 2007 17:26
Anonymous It seems to be a FF problem.

The language, due to an error, I can't acces the admin config to change the language.
And the language depends of your browser's language

 
stigi
Re: Poll and Forum bugs?
08 October 2007 18:01
Anonymous For German language it also shows poll bars properly, so I suppose you're right about FF smile
 
siedlerchr
Re: Poll and Forum bugs?
09 October 2007 15:29
Anonymous But why is it only in FF?

FF doesn't show me an error or sth like this, in the first moment I see the bars correctly, but then a second later, I don't see them correctly.
 
legolas558
Re: Poll and Forum bugs?
09 October 2007 20:24
Anonymous A precisation: if the language does not change to German, there's a problem sad
I couldn't yet verify the poll bars issue...it's strange because it's only CSS as far as I know..
 
stigi
Re: Poll and Forum bugs?
09 October 2007 21:42
Anonymous <img src='http://localhost/Drake//media/common/spacer.png' class='pollscolor1' height='2' width='0' alt="&nbsp;" />

Please notice double '//'. This is the source of that problem in FF.
 
stigi
Re: Poll and Forum bugs?
09 October 2007 22:19
Anonymous Main directory has been moved (or renamed), and link generation for image doesn't work properly (bad d_website value). Your link to spacer.png:

http://jeak.de/cgi-sys/php-cgiwrap/home/jeakxdby/www.jeak.de/ho me/jeakxdby/www.jeak.de/Subpages/siedlerchr/drake//media/common/s pacer.png

Header:
Code:
CGIWrap Error: CGIWrap cannot be accessed directly</TITLE>
<CENTER><H2>CGIWrap Error: CGIWrap cannot be accessed directly</H2></CENTER>
<HR><p></HEAD><BODY>
This CGI wrapper was compiled with force-cgi-redirect enabled. This
means that a CGI script will only be served up if the REDIRECT_STATUS
CGI variable is set. This variable is set, for example, by Apache's
Action directive redirect.

You may disable this restriction by recompiling the cgiwrap binary
with the --disable-force-cgi-redirect switch. If you do this and you
have your cgiwrap binary accessible somewhere in your web tree, people
will be able to circumvent .htaccess security by loading and executing
files through the CGI wrapper.

If this is a configuration/setup problem with cgiwrap on this server,
please contact the server administrator.
<P>
<DL>
<DT><B>Server Data:</B>
<P>
<DD><B>Server Administrator/Contact</B>: jannik.lex@hotmail.com
<DD><B>Server Name</B>: jeak.de
<DD><B>Server Port</B>: 80
<DD><B>Server Protocol</B>: HTTP/1.1
</DL>
<P>
<DL>
<DT><B>Request Data:</B>
<P>
<DD><B>User Agent/Browser</B>: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; Wi-Fi Toolbar 1.31 - wi-fitechnology.com; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
<DD><B>Request Method</B>: GET
<DD><B>Remote Address</B>: 84.31.185.151
<DD><B>Remote Port</B>: 1270
<DD><B>Extra Path Info</B>: /home/jeakxdby/www.jeak.de/home/jeakxdby/www.jeak.de/Subpages/sie dlerchr/drake/media/common/spacer.png
 
stigi
Re: Poll and Forum bugs?
09 October 2007 22:32
Anonymous Solution:

In components/polls/polls.html.php line 110:

Code:

<img src='<?php echo $d_website;?>/media/common/spacer.png' class='<?php echo $tdclass;?>' height='<?php echo $polls_barheight;?>' width='<?php echo $width;?>' alt="&nbsp;" />


change to:

Code:

<img src='media/common/spacer.png' class='<?php echo $tdclass;?>' height='<?php echo $polls_barheight;?>' width='<?php echo $width;?>' alt="&nbsp;" />


(remove <?php echo $d_website;?>/ part)
 
legolas558
Re: Poll and Forum bugs?
09 October 2007 23:09
Anonymous Quote:

Solution:

In components/polls/polls.html.php line 110:

Code:

<img src='<?php echo $d_website;?>/media/common/spacer.png' class='<?php echo $tdclass;?>' height='<?php echo $polls_barheight;?>' width='<?php echo $width;?>' alt="&nbsp;" />


change to:

Code:

<img src='media/common/spacer.png' class='<?php echo $tdclass;?>' height='<?php echo $polls_barheight;?>' width='<?php echo $width;?>' alt="&nbsp;" />


(remove <?php echo $d_website;?>/ part)


Please see the correct patch in r4517 - thanks for finding the bug!
 
Top