Home Private Messages Search
CPG Dragonfly™ CMS Dedicated Server & Bandwidth Sponsored by DedicatedNOW
Toggle Content
 
Forums ⇒ DragonflyCMS ⇒ Problems AFTER Install/Upgrade ⇒ Admin block is missing


Admin block is missing
Issues that happen after DragonflyCMS upgrade/install.
DO NOT post module installation issues here!

Go to page Previous  1, 2
Post new topic    Reply to topic    Printer Friendly Page     Forum Index ⇒  Problems AFTER Install/Upgrade

View previous topic :: View next topic  
Author Message
Eestlane
I18N / L10N Lead Dev
I18N / L10N Lead Dev

Offline Offline
Joined: Apr 06, 2005
Posts: 1404
Location: Estonia
PostPosted: Thu Feb 14, 2008 9:58 am
Post subject: Re: Admin block is missing

I'll discuss it later, need to go back to school now.


Eestlane's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/2.0.63/5.0.67/5.2.8/9.2.1
Back to top
View user's profile Send e-mail Visit poster's website
Eestlane
I18N / L10N Lead Dev
I18N / L10N Lead Dev

Offline Offline
Joined: Apr 06, 2005
Posts: 1404
Location: Estonia
PostPosted: Thu Feb 14, 2008 1:41 pm
Post subject: Re: Admin block is missing

OK, back now.


So, what you say is that...
  • 9.1.2.8 had the issue that it didn't convert 'admin' 'user' blocks with the right bkey
  • 9.1.2.81 fixed 9.1.2.8 bug, or well tries to fix it.
But now, why to repeat the same bug, if I didn't have 9.1.2.8 before but an earlier version? So we could just change the line
PHP:
$installer->add_query('UPDATE', 'blocks', "bkey='custom' WHERE content!='' AND url='' AND blockfile=''");
to
PHP:
$installer->add_query('UPDATE', 'blocks', "bkey='custom' WHERE content!='' AND url='' AND blockfile='' AND bkey!='admin'");
for version_compare($version, '9.1.2.8', '<').
The fix by 9.1.2.81 can still stay or change it to:
PHP:
if (version_compare($version, '9.1.2.81', '<') && !version_compare($version, '9.1.2.8', '<'))
or for specific fix for 9.1.2.8 version just like that:
PHP:
if (version_compare($version, '9.1.2.8', '='))


Or do I misunderstand some facts?

Last example should probably be:
PHP:
if (version_compare($version, '9.1.2.8', '=='))


Eestlane's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/2.0.63/5.0.67/5.2.8/9.2.1
Back to top
View user's profile Send e-mail Visit poster's website
NanoCaiordo
Developer
Developer

Offline Offline
Joined: Jun 29, 2004
Posts: 3878
Location: Melbourne, AU
PostPosted: Thu Feb 14, 2008 9:34 pm
Post subject: Re: Admin block is missing

dragonflycms.org/Projects.html

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

Linux 64bit / Apache 2.2 / PHP 5.4 / MySQL 5.5.22 / v9, v10
Linux 32bit / Apache 2.2 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
Windows 64bit / IIS 7.5 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10


NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
mixed
Back to top
View user's profile Visit poster's website Photo Gallery
Display posts from previous:   
Post new topic    Reply to topic    Printer Friendly Page    Forum Index ⇒  Problems AFTER Install/Upgrade
Page 2 of 2
All times are GMT
Go to page Previous  1, 2



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


 
   Toggle Content User Info

Welcome Anonymous

Nickname
Password
(Register)

   Toggle Content Last CVS commits
· Fixed .ico Expires header.
· Removed domain name from cookies so subdomains wont access them anymore.
· CSS and JS, case insensitives.
· CSS and JS, send correct HTTP 1.1 headers and fixed issues where themes and...
· Further security class improvements.
· 301 redirects on LEO changes
· Option to force 3xx http status codes
· Validate googlebot.com and google.com crawlers.
· CCBot
· Rss with etag and atom.

Gehiago irakurri . . .

   Toggle Content Community

Support for DragonflyCMS in a other languages:

Deutsch
Español

   Toggle Content X-links
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

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
Interactive software released under GNU GPL, Code Credits, Privacy Policy