Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Bug PHPFusion 6.01.12: polls_archive.php

Asked Modified Viewed 18,027 times
B
Basti
B
Basti 10
[PHP-Fusion Crew Member & Admin from June 2008 - December 2010]

http://basti2web.de - Support Site for my infusions
  • Veteran Member, joined since
  • Contributed 1,099 posts on the community forums.
  • Started 32 threads in the forums
  • Started this discussions
asked
Veteran Member

Hi, I just found another little bug:

Line 39:
   [color=#cc0000]$data[/color] = dbquery("SELECT * FROM ".$db_prefix."polls WHERE poll_id='$viewpoll_id' AND poll_ended!='0'");


should be

   [color=#66ff33]$result[/color] = dbquery("SELECT * FROM ".$db_prefix."polls WHERE poll_id='$viewpoll_id' AND poll_ended!='0'");



And I hope, you got my PM:

Quote

The register.php of the Update-Package is not uptodate. Only the register.php of the Full-Package is uptodate!!

The file of the update- pack is from 18.10.07 16:29 and the file from the Full-package from 19.10.07 13:43


Digi, please update again :)
Edited by Basti on 19-10-2007 18:10,
0 replies

7 posts

W
Wanabo
W
Wanabo 10
www.probemyip.com/probe-my-ip-80x15.png
pHp-Fusion.Asia & pHp-Fusion.Fr & pHp-Fusion.Cn are available for a localized support community. Send PB for info.
  • Senior Member, joined since
  • Contributed 598 posts on the community forums.
  • Started 94 threads in the forums
answered
Senior Member

This works OK for polls_archive.php

Thanks slaughter.
0 replies
B
Basti
B
Basti 10
[PHP-Fusion Crew Member & Admin from June 2008 - December 2010]

http://basti2web.de - Support Site for my infusions
  • Veteran Member, joined since
  • Contributed 1,099 posts on the community forums.
  • Started 32 threads in the forums
  • Started this discussions
answered
Veteran Member

no problem ;)
0 replies
D
dewa5227
D
  • Member, joined since
  • Contributed 51 posts on the community forums.
  • Started 5 threads in the forums
answered
Member

it's right in CVS ChangeLog, but dunno why it different with the code browser though ~_~

in ChangeLog :
Replaced Line 38 with:
$result = dbquery("SELECT * FROM ".$db_prefix."polls WHERE poll_id='".$_POST['viewpoll_id']."' AND poll_ended!='0'");
if (dbrows($result)) {
   $data = dbarray($result);


in the code browser show different :
$data = dbquery("SELECT * FROM ".$db_prefix."polls WHERE poll_id='$viewpoll_id' AND poll_ended!='0'");
if (dbrows($result)) {
$data = dbarray($result);
Edited by dewa5227 on 19-10-2007 18:53,
0 replies
B
Basti
B
Basti 10
[PHP-Fusion Crew Member & Admin from June 2008 - December 2010]

http://basti2web.de - Support Site for my infusions
  • Veteran Member, joined since
  • Contributed 1,099 posts on the community forums.
  • Started 32 threads in the forums
  • Started this discussions
answered
Veteran Member

Oh, I didn't see that the CVS is right. Normally the CVS is wrong and the files are right :D

Here I have uploaded the Update-Package:
http://basti2web.de/infusions/pro_dow...php?did=34
Latest Changes of register.php and polls_archive.php included.
0 replies
B
Basti
B
Basti 10
[PHP-Fusion Crew Member & Admin from June 2008 - December 2010]

http://basti2web.de - Support Site for my infusions
  • Veteran Member, joined since
  • Contributed 1,099 posts on the community forums.
  • Started 32 threads in the forums
  • Started this discussions
answered
Veteran Member

Did somebody from the PHPFusion Crew update the package???
I did not read anything in the news or news comments!
0 replies
K
Korcsii
K
Former Senior Developer (v7.02) and Hungarian Translator
  • Member, joined since
  • Contributed 132 posts on the community forums.
  • Started 8 threads in the forums
answered
Member

Digitanium
Last Visit: Oct 19 2007 at 15:24:45
:|
0 replies
I
is_m@il
I
  • Newbie, joined since
  • Contributed 5 posts on the community forums.
answered
Newbie

Thanks slaughter.
0 replies

Category Forum

Bugs and Errors - 6

Labels

None yet

Statistics

  • Views 0 views
  • Posts 7 posts
  • Votes 0 votes
  • Topic users 5 members

0 participants

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet