| Author |
Message |
NanoCaiordo


Joined: Jun 29, 2004 Posts: 3678 Location: Melbourne, AU
|
Post subject: Re: 9.1.2.8 Posted: Tue Sep 04, 2007 12:46 am |
|
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! ::.
NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) MySQL 5.1 / PHP 5.3 / NextGen() |
|
| Back to top |
|
 |
darkgrue


Joined: Apr 20, 2004 Posts: 536 Location: Lancaster, CA
|
Post subject: Re: 9.1.2.8 Posted: Tue Sep 04, 2007 2:18 am |
|
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:
PHP:
$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.
darkgrue's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Ubuntu 11.04, Atom D525/Apache 2.2.17/MySQL 5.1.54/PHP 5.3.5/Dragonfly 10.0.04 CVS |
|
| Back to top |
|
 |
Dizfunkshunal


Joined: Mar 23, 2006 Posts: 2079
|
Post subject: Re: 9.1.2.8 Posted: Tue Sep 04, 2007 2:57 pm |
|
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.
_________________ Diz Web Design Status: Open (Use of resources requires registration.)
Dizfunkshunal's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Multiple Setups |
|
| Back to top |
|
 |
dusman


Joined: Mar 17, 2006 Posts: 303 Location: Maryland
|
Post subject: Re: 9.1.2.8 Posted: Tue Sep 04, 2007 3:01 pm |
|
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
dusman's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux/Apache 1.3/4.1.21/5.2.1/9.2.0.RC1 |
|
| Back to top |
|
 |
Dizfunkshunal


Joined: Mar 23, 2006 Posts: 2079
|
Post subject: Re: 9.1.2.8 Posted: Tue Sep 04, 2007 3:14 pm |
|
That code is correct same as mine and I have no error. download a new snap shot and upload it
_________________ Diz Web Design Status: Open (Use of resources requires registration.)
Dizfunkshunal's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Multiple Setups |
|
| Back to top |
|
 |
Phoenix


Joined: Apr 19, 2004 Posts: 8729 Location: Netizen
|
Post subject: Re: 9.1.2.8 Posted: Tue Sep 04, 2007 3:31 pm |
|
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.
Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
 |
|
| Back to top |
|
 |
Dizfunkshunal


Joined: Mar 23, 2006 Posts: 2079
|
Post subject: Re: 9.1.2.8 Posted: Tue Sep 04, 2007 3:46 pm |
|
try changeing
Code:
function adminblock($bid, $title, &$data='') { to
Code:
function adminblock($bid, $title, &$data) {
no gaurantteed fix but we could try it
_________________ Diz Web Design Status: Open (Use of resources requires registration.)
Dizfunkshunal's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Multiple Setups |
|
| Back to top |
|
 |
dusman


Joined: Mar 17, 2006 Posts: 303 Location: Maryland
|
Post subject: Re: 9.1.2.8 Posted: Tue Sep 04, 2007 4:13 pm |
|
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
dusman's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux/Apache 1.3/4.1.21/5.2.1/9.2.0.RC1 |
|
| Back to top |
|
 |
dusman


Joined: Mar 17, 2006 Posts: 303 Location: Maryland
|
|
| Back to top |
|
 |
Dizfunkshunal


Joined: Mar 23, 2006 Posts: 2079
|
Post subject: Re: 9.1.2.8 Posted: Tue Sep 04, 2007 4:42 pm |
|
Have you tried what I posted above?
_________________ Diz Web Design Status: Open (Use of resources requires registration.)
Dizfunkshunal's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Multiple Setups |
|
| Back to top |
|
 |
Phoenix


Joined: Apr 19, 2004 Posts: 8729 Location: Netizen
|
Post subject: Re: 9.1.2.8 Posted: Tue Sep 04, 2007 4:43 pm |
|
@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?
Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
 |
|
| Back to top |
|
 |
bigern75


Joined: Aug 18, 2004 Posts: 2102
|
Post subject: Re: 9.1.2.8 Posted: Tue Sep 04, 2007 4:56 pm |
|
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.....
_________________ iPad 1 running iOS 5.1 b2
bigern75's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux/2.2.6/5.0.86/5.2.8/9.3.2 |
|
| Back to top |
|
 |
Dizfunkshunal


Joined: Mar 23, 2006 Posts: 2079
|
Post subject: Re: 9.1.2.8 Posted: Tue Sep 04, 2007 5:32 pm |
|
did you run the install.php after upgrading the files?
_________________ Diz Web Design Status: Open (Use of resources requires registration.)
Dizfunkshunal's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Multiple Setups |
|
| Back to top |
|
 |
CatchImran


Joined: Mar 06, 2006 Posts: 635 Location: India
|
Post subject: Re: 9.1.2.8 Posted: Tue Sep 04, 2007 5:39 pm |
|
I too haven't have had any problems with CVS as of yet, adding to what Phoenix said.
_________________

Visit www.RadoPOD.com Today!
CatchImran's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux/2.0.54 (Unix)/5.0.51/5.2.6/DragonflyCMS 9.2.1 |
|
| Back to top |
|
 |
dusman


Joined: Mar 17, 2006 Posts: 303 Location: Maryland
|
Post subject: Re: 9.1.2.8 Posted: Tue Sep 04, 2007 5:44 pm |
|
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
dusman's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux/Apache 1.3/4.1.21/5.2.1/9.2.0.RC1 |
|
| Back to top |
|
 |