You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 401 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Little error/bug in mainfile.php function headlines and fix
Bug Fixesmagmf writes "I Found a little problem with headlines refresh time in mainfile.php

function headlines($bid, $cenbox=0) {
global $prefix, $db;
$sql = "SELECT title, content, url, refresh, time FROM ".$prefix."_blocks WHERE bid='$bid'";
$result = $db->sql_query($sql);
$row = $db->sql_fetchrow($result);
$title = $row[title];
$content = $row[content];
$url = $row[url];
$refresh = $row[refresh];
$otime = $row[otime]; // this is the error

to fix

change $otime = $row[otime];
to
$otime = $row[time];

This error was found by

Marcus Maciel(ScOrP|On) - www.underlinux.com.br
and
Augusto Campos - www.brlinux.org
"
Posted on Monday, January 12 @ 22:22:44 CET by Zhen-Xjell
 
Related Links
· More about Bug Fixes
· News by Zhen-Xjell


Most read story about Bug Fixes:
Downloads & Web Links vulnerability Patch

Article Rating
Average Score: 2
Votes: 1


Please take a second and vote for this article:

Excellent
Very Good
Good
Regular
Bad


Options

 Printer Friendly Page  Printer Friendly Page

 Send to a Friend  Send to a Friend

Threshold
The comments are owned by the poster. We aren't responsible for their content.

No Comments Allowed for Anonymous, please register

Re: Little error/bug in mainfile.php function headlines and fix (Score: 1)
by luchtzak on Tuesday, January 13 @ 04:06:32 CET
(User Info | Send a Message) http://www.luchtzak.be
Why don't you include the version where the fix is applicable ? I checked my version 6.7 and that seemed to be ok there. My guess that it's for version 7.0 only.



Re: Little error/bug in mainfile.php function headlines and fix (Score: 1)
by magmf on Tuesday, January 13 @ 05:19:03 CET
(User Info | Send a Message)
Version 6.9 is the version ... but i think 7.0 have this error too



Re: Little error/bug in mainfile.php function headlines and fix (Score: 1)
by judas (judas_iscariote@piscola.com) on Tuesday, January 13 @ 17:00:36 CET
(User Info | Send a Message)
this bug isnt new..
it was fixed on nukecops cvs a long time ago..
..one more reason to use the bundle:)


Powered by TOGETHER TEAM srl ITALY http://www.togetherteam.it - DONDELEO E-COMMERCE http://www.DonDeLeo.com - TUTTISU E-COMMERCE http://www.tuttisu.it
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.161 Seconds - 246 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::