General ⇒ DVCS Info (Mercurial/CVS) ⇒ 9.1.2.8 (also applicable to 9.2.x) ⇒ Community Forums ⇒ CPG Dragonfly™ CMS
Forum IndexDVCS Info (Mercurial/CVS)

9.1.2.8 (also applicable to 9.2.x) Reply to topic


fixed double warning.
next release will be 9.2 and it will be released only after road map will be completed.

wondering if cvs was suppose to be 9.2 already instead of 9.1.2.8.

.:: I met php the 03 December 2003 :: Unforgettable day! ::.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
CloudLinux / Apache 2.4 LSAPI / MySQLi 5.6 / PHP 5.6 / DCVS


Beldak wrote
How do you pull in the blockid (bid) with this new method?

Before, in a block, $bid would be passed into each block and you could run db queries off of the $bid variable.


I already talked with Beldak (Roster Master and a number of blocks I wrote use $bid pretty heavily), but in case anyone else was wondering, using inside a block:

$bid = (isset($block['bid'])) ? $block['bid'] : intval($bid);

Seems to keep compatibility pretty well.

NanoCaiordo wrote
fixed double warning.


The new includes/classes/blocks.php files just posted got rid of my double warning. Excellent!

It is pitch black. You are likely to be eaten by a grue.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Ubuntu 12.04, Atom D525/Apache 2.2.22/MySQL 5.5.38/PHP 5.3.10/Dragonfly 9.4.0.0 CVS


try re uploading the includes folder
if that doesn't work post the code from that file copy 5 lines of code above and below that line to be posted here.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Multiple Setups


getting same error, here are the lines from display.php


}
$CPG_SESS['theme'] = empty($theme) ? 'default' : $theme;
return $CPG_SESS['theme'];
}

/////line 42////// function adminblock($bid, $title, &$data='') {
if (is_admin()) {
global $Blocks;
$waitlist = $content = $imgcontent = '';
global $prefix, $db, $MAIN_CFG, $waitlist;

-Dustin

Celebrity Babes | Celebrity Videos | Funny Videos | Information for Men

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Linux/Apache 1.3/4.1.21/5.2.1/9.2.0.RC1


That code is correct same as mine and I have no error. download a new snap shot and upload it

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Multiple Setups


I have upgraded several sites without incident and cannot reproduce the error.

More information than a simple error report is needed to track the problem e.g. when does the error occur, which page, which theme.

A www address of localhost and "all the latest" is pretty meaningless to us when providing support.

The most common mistake we see is that people neglect to update their template files.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):


try changeing function adminblock($bid, $title, &$data='') {to
function adminblock($bid, $title, &$data) {
no gaurantteed fix but we could try it

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Multiple Setups


same here, fresh install with latest CVS as of 10am today, I have confirmed all files were uploaded...

-Dustin

Celebrity Babes | Celebrity Videos | Funny Videos | Information for Men

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Linux/Apache 1.3/4.1.21/5.2.1/9.2.0.RC1


www.aysos.com is where you can see the error...

-Dustin

Celebrity Babes | Celebrity Videos | Funny Videos | Information for Men

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Linux/Apache 1.3/4.1.21/5.2.1/9.2.0.RC1


Have you tried what I posted above?

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Multiple Setups


@dusman - I've tried all sorts of permutations without changing that function and simply cannot reproduce what I see on your link. Initially there is a different error, followed by the reported one after a refresh.

Aside from the function, there is something else going on there - are you certain all default template files were updated? In that regard, could you clear your template and blocks_list cache files?

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):


woo hoo!! I'm back and I've got the same issue on dfaddons.
I tried your fix Diz and I got maintenance to show up, but now admin.php is blank.
Ive gone thru and turned off all the 'file' blocks. Gotten rid of any and all custom themes. Moved them actually till this is fingered out.
updated several times from the cvs thru ssh
ummmmmmmm, what else.....

.::..::.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Linux/2.2.6/5.0.86/5.2.8/9.3.2


did you run the install.php after upgrading the files?

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Multiple Setups


I too haven't have had any problems with CVS as of yet, adding to what Phoenix said.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Linux/2.0.54 (Unix)/5.0.51/5.2.6/DragonflyCMS 9.2.1


seems to be an issue with php4.x versions. I have both running and set it to run under php5 without issue.....very interesting....

-Dustin

Celebrity Babes | Celebrity Videos | Funny Videos | Information for Men

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Linux/Apache 1.3/4.1.21/5.2.1/9.2.0.RC1

All times are UTC


Jump to: