Drastic CVS / Dragonfly 9.1.x changes
Post new topic   This topic is locked: you cannot edit posts or make replies.   Printer Friendly Page     Forum IndexAnnouncements
Author Message
DJ Maze
Developer


Joined: Apr 19, 2004
Posts: 5668
Location: http://tinyurl.com/5z8dmv

PostPost subject: Drastic CVS / Dragonfly 9.1.x changes
Posted: Sat Dec 03, 2005 3:04 am
Reply with quote

As of today the CVS of dragonfly has had drastical changes for many reasons.
I will list the global changes/benefits here.

config.php removed
The file is no longer in the CVS and will not be distributed anymore other then in a code format.
As of today you setup config.php thru the installer and it will be saved automaticly in the /includes/ folder or offered as download.
This way we can add additional features/support inside the configuration if needed as for example full encryption of the file using bcompiler or eAccelerator.
Another benefit is that the file can't be accidentaly overwritten/corrupt on any CVS/Website update.


installer
As read above the installer creates the config.php but besides that it is almost fully rewritten since 9.0.6.1 to accomplish full PostgreSQL support inside and in Dragonfly.
The installer will auto-detect which SQL clients are available. Currently supported are MySQL, MySQLi and Postgre but others like Oracle and MSSQL are in production.

This is mostly achieved thru a new SQL system called sql_manager which uses a uniform structure and the manager for a SQL layer converts back/forth the uniform to the SQL server standards.

As and example MySQL uses tinyint which is a 1 byte integer. The uniform version is INT1.
A full documentation regarding all uniforms will be available soon and mostly comply with the ISO SQL


cmsinit.inc
Has had a major cleanup and all deprecated functions are removed from a default DF to speed things up.
If you're desperatly in need of the functions then set CPG_DEBUG to true in /includes/config.php to debug and fix the corrupt add-ons


DJ Maze's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Fedora 12 / 2.2.15 / 5.1.47 / 5.3.3 / CVS
Back to top
View user's profile Visit poster's website Yahoo Messenger
xfsunoles
XHTML Specialist


Joined: Apr 30, 2004
Posts: 2502
Location: Melbourne, Florida

PostPost subject: Re: Drastic CVS / Dragonfly 9.1.x changes
Posted: Sat Dec 03, 2005 4:16 am
Reply with quote

I had a Question, Do i need to move config.php to include dir?

xfsunoles's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Apache/1.3.34 (Unix)/4.0.25-standard/4.4.1/CVS
Back to top
View user's profile Visit poster's website AIM Address MSN Messenger Yahoo Messenger
DJ Maze
Developer


Joined: Apr 19, 2004
Posts: 5668
Location: http://tinyurl.com/5z8dmv

PostPost subject: Re: Drastic CVS / Dragonfly 9.1.x changes
Posted: Sat Dec 03, 2005 4:22 am
Reply with quote

no a new one will be written inside the /include/ dir due to changes inside config.php regarding MySQL 4.1/5.0 connections.

If the installer can't write to the /include/ it offers a download of the file so you can upload it yourself.


DJ Maze's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Fedora 12 / 2.2.15 / 5.1.47 / 5.3.3 / CVS
Back to top
View user's profile Visit poster's website Yahoo Messenger
DJ Maze
Developer


Joined: Apr 19, 2004
Posts: 5668
Location: http://tinyurl.com/5z8dmv

PostPost subject: Re: Drastic CVS / Dragonfly 9.1.x changes
Posted: Sat Dec 03, 2005 4:58 am
Reply with quote

Started with documenting the new Dragonfly 9.1.x SQL manager.
dragonflycms.org/Wiki/id=92.html


DJ Maze's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Fedora 12 / 2.2.15 / 5.1.47 / 5.3.3 / CVS
Back to top
View user's profile Visit poster's website Yahoo Messenger
norbie
Silver Supporter


Joined: Jun 29, 2004
Posts: 737
Location: Norbie's World

PostPost subject: Re: Drastic CVS / Dragonfly 9.1.x changes
Posted: Sat Dec 03, 2005 9:36 am
Reply with quote

I didn't want to try running the installerfor an upgrade as it seemed to think it was performing a new installation, as I had removed the original config.php

I moved config.php to /includes/ then it said I already had 9.1.0.1 installed so I didn't need to run the installer. Was this the correct thing to do?

_________________
Norbie

www.norbiesworld.co.uk

norbie's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux / Apache Custom Version / 4.0.26-standard (client: 5.0.15) / 4.4.4 / 9.1.1
Back to top
View user's profile Send e-mail Visit poster's website MSN Messenger
DJ Maze
Developer


Joined: Apr 19, 2004
Posts: 5668
Location: http://tinyurl.com/5z8dmv

PostPost subject: Re: Drastic CVS / Dragonfly 9.1.x changes
Posted: Sat Dec 03, 2005 11:06 am
Reply with quote

DJMaze wrote:
no a new one will be written inside the /include/ dir due to changes inside config.php regarding MySQL 4.1/5.0 connections.

If the installer can't write to the /include/ it offers a download of the file so you can upload it yourself.

So norbie delete config.php and run the installer Razz

Maybe i should say:

Don't use your old config.php the installer MUST do the job


DJ Maze's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Fedora 12 / 2.2.15 / 5.1.47 / 5.3.3 / CVS
Back to top
View user's profile Visit poster's website Yahoo Messenger
norbie
Silver Supporter


Joined: Jun 29, 2004
Posts: 737
Location: Norbie's World

PostPost subject: Re: Drastic CVS / Dragonfly 9.1.x changes
Posted: Sat Dec 03, 2005 11:24 am
Reply with quote

ok Confused

I was just worried how it seemed to think it was a new installation.
*Backs up and runs install*

_________________
Norbie

www.norbiesworld.co.uk

norbie's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux / Apache Custom Version / 4.0.26-standard (client: 5.0.15) / 4.4.4 / 9.1.1
Back to top
View user's profile Send e-mail Visit poster's website MSN Messenger
norbie
Silver Supporter


Joined: Jun 29, 2004
Posts: 737
Location: Norbie's World

PostPost subject: Re: Drastic CVS / Dragonfly 9.1.x changes
Posted: Sat Dec 03, 2005 11:32 am
Reply with quote

I got one error whilst installing, something about a duplication error of Key7 in the bbsearch_wordlist table. It still managed to write config.php though.

Just one small problem - I am unable to change admin.php in the config file to what I use (the renamed admin.php file). I can't overwrite the file or CHMOD it then overwrite it.

Will there be a web interface to edit the file?

_________________
Norbie

www.norbiesworld.co.uk

norbie's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux / Apache Custom Version / 4.0.26-standard (client: 5.0.15) / 4.4.4 / 9.1.1
Back to top
View user's profile Send e-mail Visit poster's website MSN Messenger
DJ Maze
Developer


Joined: Apr 19, 2004
Posts: 5668
Location: http://tinyurl.com/5z8dmv

PostPost subject: Re: Drastic CVS / Dragonfly 9.1.x changes
Posted: Sat Dec 03, 2005 5:06 pm
Reply with quote

@norbie: hmm i never thought of the admin.php not accessible due to a bad server setup.
Do keep a copy of config.php and use the following script in your DF root.
PHP:
<?php
delete
('includes/config.php');

Please report the installer bugs here: dragonflycms.org/Proje...eport.html

I've fixed Pitcher's bug


DJ Maze's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Fedora 12 / 2.2.15 / 5.1.47 / 5.3.3 / CVS
Back to top
View user's profile Visit poster's website Yahoo Messenger
robertall
Heavy poster


Joined: Jul 07, 2005
Posts: 181
Location: spreadkmeleon.com

PostPost subject: Re: Drastic CVS / Dragonfly 9.1.x changes
Posted: Sat Dec 03, 2005 9:25 pm
Reply with quote

I am not being rude, but what was the idea of this from and why has it changed like this, i am 99% sure it was ok before? Do we need to upgrade?
_________________
www.teenout.com
www.spreadkmeleon.com
www.host-me-free.com <free image hosting>www.imagecamel.com

robertall's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
FreeBSD/1.3.33 (Unix)/4.1.13-log/4.4.0+5.0.4(Using 4.4.0)/9.0.5.0 for teenout.com
Back to top
View user's profile Visit poster's website AIM Address MSN Messenger
DJ Maze
Developer


Joined: Apr 19, 2004
Posts: 5668
Location: http://tinyurl.com/5z8dmv

PostPost subject: Re: Drastic CVS / Dragonfly 9.1.x changes
Posted: Sat Dec 03, 2005 9:46 pm
Reply with quote

@robertall you probably forgot to read the first post cos that explains why it has been changed.
Also as a mind that has been here for ages you should have noticed the many CPG_DEBUG and Connection error topics/posts on these forums and faq.

This should explain enough, if not go test the installer


DJ Maze's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Fedora 12 / 2.2.15 / 5.1.47 / 5.3.3 / CVS
Back to top
View user's profile Visit poster's website Yahoo Messenger
djdevon3
Gold Supporter


Joined: Aug 05, 2004
Posts: 4365

PostPost subject: Re: Drastic CVS / Dragonfly 9.1.x changes
Posted: Sat Dec 03, 2005 9:57 pm
Reply with quote

MyStatus based on your statsig required cmsinit. I tried deleting it out but it just won't work without it. I'm sure statsig along with a lot of modules will be effected by the change. How should we proceed with statsigs?

djdevon3's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/1.3.33/4.4/4.3.11
Back to top
View user's profile Visit poster's website
DJ Maze
Developer


Joined: Apr 19, 2004
Posts: 5668
Location: http://tinyurl.com/5z8dmv

PostPost subject: Re: Drastic CVS / Dragonfly 9.1.x changes
Posted: Sat Dec 03, 2005 10:08 pm
Reply with quote

tested and our statsig works
dragonflycms.org/stats...viewsource

NOTE: anything processed by cmsinit.inc has no issues (this also includes modules).
If you wrote a script yourself that uses config.php then you must modify it.


DJ Maze's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Fedora 12 / 2.2.15 / 5.1.47 / 5.3.3 / CVS
Back to top
View user's profile Visit poster's website Yahoo Messenger
djdevon3
Gold Supporter


Joined: Aug 05, 2004
Posts: 4365

PostPost subject: Re: Drastic CVS / Dragonfly 9.1.x changes
Posted: Sun Dec 04, 2005 3:47 am
Reply with quote

cool Smile

djdevon3's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/1.3.33/4.4/4.3.11
Back to top
View user's profile Visit poster's website
WebSiteGuru
1000+ Posts Club


Joined: Jun 09, 2005
Posts: 2321

PostPost subject: Re: Drastic CVS / Dragonfly 9.1.x changes
Posted: Sun Dec 04, 2005 3:50 am
Reply with quote

Cool Bean, Nice going.
_________________
Lead Theme Designer - WebSiteGuru Designs

WebSiteGuru's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux 2.6.9 / Apache 2.2.6 / MySQL 5.0.27 / PHP 5 / DF Version 9.2.1
Back to top
View user's profile Visit poster's website Yahoo Messenger
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.   Printer Friendly Page     Forum IndexAnnouncements All times are GMT
Go to page 1, 2, 3, 4, 5, 6  Next
Page 1 of 6


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.9618 seconds with 16 DB Queries in 0.1156 seconds
Memory Usage: 3.06 MB
Interactive software released under GNU GPL, Code Credits, Privacy Policy