9.1.2.8 (also applicable to 9.2.x)
Post new topic   Reply to topic   Printer Friendly Page     Forum IndexCVS Info
Author Message
NanoCaiordo
Developer


Joined: Jun 29, 2004
Posts: 3678
Location: Melbourne, AU

PostPost subject: Re: 9.1.2.8
Posted: Tue Sep 04, 2007 12:46 am
Reply with quote

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
View user's profile Visit poster's website
darkgrue
Developer


Joined: Apr 20, 2004
Posts: 536
Location: Lancaster, CA

PostPost subject: Re: 9.1.2.8
Posted: Tue Sep 04, 2007 2:18 am
Reply with quote

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
View user's profile Visit poster's website
Dizfunkshunal
Platinum Supporter


Joined: Mar 23, 2006
Posts: 2079

PostPost subject: Re: 9.1.2.8
Posted: Tue Sep 04, 2007 2:57 pm
Reply with quote

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
View user's profile Send e-mail Visit poster's website Yahoo Messenger
dusman
Dragonfly addicted


Joined: Mar 17, 2006
Posts: 303
Location: Maryland

PostPost subject: Re: 9.1.2.8
Posted: Tue Sep 04, 2007 3:01 pm
Reply with quote

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
View user's profile Visit poster's website
Dizfunkshunal
Platinum Supporter


Joined: Mar 23, 2006
Posts: 2079

PostPost subject: Re: 9.1.2.8
Posted: Tue Sep 04, 2007 3:14 pm
Reply with quote

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
View user's profile Send e-mail Visit poster's website Yahoo Messenger
Phoenix
Site Admin


Joined: Apr 19, 2004
Posts: 8729
Location: Netizen

PostPost subject: Re: 9.1.2.8
Posted: Tue Sep 04, 2007 3:31 pm
Reply with quote

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
View user's profile Visit poster's website
Dizfunkshunal
Platinum Supporter


Joined: Mar 23, 2006
Posts: 2079

PostPost subject: Re: 9.1.2.8
Posted: Tue Sep 04, 2007 3:46 pm
Reply with quote

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
View user's profile Send e-mail Visit poster's website Yahoo Messenger
dusman
Dragonfly addicted


Joined: Mar 17, 2006
Posts: 303
Location: Maryland

PostPost subject: Re: 9.1.2.8
Posted: Tue Sep 04, 2007 4:13 pm
Reply with quote

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
View user's profile Visit poster's website
dusman
Dragonfly addicted


Joined: Mar 17, 2006
Posts: 303
Location: Maryland

PostPost subject: Re: 9.1.2.8
Posted: Tue Sep 04, 2007 4:15 pm
Reply with quote

www.aysos.com is where you can see the error...
_________________
-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
View user's profile Visit poster's website
Dizfunkshunal
Platinum Supporter


Joined: Mar 23, 2006
Posts: 2079

PostPost subject: Re: 9.1.2.8
Posted: Tue Sep 04, 2007 4:42 pm
Reply with quote

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
View user's profile Send e-mail Visit poster's website Yahoo Messenger
Phoenix
Site Admin


Joined: Apr 19, 2004
Posts: 8729
Location: Netizen

PostPost subject: Re: 9.1.2.8
Posted: Tue Sep 04, 2007 4:43 pm
Reply with quote

@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
View user's profile Visit poster's website
bigern75
Platinum Supporter


Joined: Aug 18, 2004
Posts: 2102

PostPost subject: Re: 9.1.2.8
Posted: Tue Sep 04, 2007 4:56 pm
Reply with quote

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
View user's profile Visit poster's website
Dizfunkshunal
Platinum Supporter


Joined: Mar 23, 2006
Posts: 2079

PostPost subject: Re: 9.1.2.8
Posted: Tue Sep 04, 2007 5:32 pm
Reply with quote

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
View user's profile Send e-mail Visit poster's website Yahoo Messenger
CatchImran
500+ Posts Club


Joined: Mar 06, 2006
Posts: 635
Location: India

PostPost subject: Re: 9.1.2.8
Posted: Tue Sep 04, 2007 5:39 pm
Reply with quote

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
View user's profile Visit poster's website
dusman
Dragonfly addicted


Joined: Mar 17, 2006
Posts: 303
Location: Maryland

PostPost subject: Re: 9.1.2.8
Posted: Tue Sep 04, 2007 5:44 pm
Reply with quote

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
View user's profile Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   Printer Friendly Page     Forum IndexCVS Info All times are GMT
Go to page Previous  1, 2, 3, 4  Next
Page 2 of 4


Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

stopsoftwarepatents.eu petition banner
User Info [x]

Welcome Anonymous

Nickname
Password
(Register)

Last CVS commits [x]

Languages [x]

Community [x]

Support for DragonflyCMS in a other languages:

Deutsch
Español

X-links [x]
UltraEdit Browse Happy logo Firefox MySQL PostgreSQL Valid CSS! Valid XHTML 1.0! Unicode Encoded Badge NukeBiz Resources Raven DragonflyCMS Dedicated Now InsideSupport Lampe Berger

Preview theme [x]
Each user can view the site with a different theme.
Themes marked with a * also change the forum look.


You are seeing squares or questionmarks on this page?

All content of this website is copyrighted by the Creative Commons NC-SA
The logos and trademarks used on this site are the property of their respective owners
We are not responsible for comments posted by our users, as they are the property of the poster.
Our server runs on a P3 1.2GHz with 512MB RAM with no accelerators
Support GoPHP5.org
This page generated in 0.644 seconds with 16 DB Queries in 0.0886 seconds
Memory Usage: 3.04 MB
Interactive software released under GNU GPL, Code Credits, Privacy Policy