Home Private Messages Search
CPG Dragonfly™ CMS stopsoftwarepatents.eu petition banner
Toggle Content
 
Forums ⇒ DragonflyCMS ⇒ Installation Issues ⇒ Upgrade problems from 9.1.2.5


Upgrade problems from 9.1.2.5
Post your DragonflyCMS installation questions and problems here.
Note that we have "Switch from X" forums for other CMS/forum conversions.
DO NOT post those or module installation issues here!

Go to page 1, 2  Next
Post new topic    Reply to topic    Printer Friendly Page     Forum Index ⇒  Installation Issues

View previous topic :: View next topic  
Author Message
Ronin
Dragonfly addicted
Dragonfly addicted

Offline Offline
Joined: Jun 07, 2004
Posts: 475
Location: Calgary, AB
PostPosted: Tue Nov 25, 2008 5:38 pm
Post subject: Upgrade problems from 9.1.2.5

Hi all,

I tried to upgrade to cvs head last night on my ronin-tech.com site and ran into several issues. First was having to change from utf8 to null in config.php. Then I got a bunch of duplicate entry errors that look to be from table fields being too short. I kept refreshing and it seemed to get past them and finish but when accessing the site after installation seemed to be finished it wasn't working. After doing some searching it sounds like if I get any error I need to abandon the installation, restore the db, fix the problematic entry and start again. Is this correct or can I fix the problems on the fly during installation. They all seem to be from varchar fields being too short to contain the data even though the data looks to be in there. So I assume I just need to jack up the lengths to accommodate the text?

Ironically after restoring my db and old site code after it was getting too late to muck around, I couldn't start the old site back up?!? Makes no sense to me as it was working before the upgrade attempt. All I can think of is that after the failed upgrade attempt I simply dropped all the tables from the dragonfly db and restored them from my sql backup rather than nuking the whole db and then restoring it. Would something aspect of the db have been changed (not the tables which I restored) that would break an older version? I managed to edit the code to get the site up but the downloads pro module still isn't working. Apologies to those trying to get the new version of my dfmaps module.

_________________
Cheers,

Ronin
Ronin Technologies
Dragonfly Google Maps Module

Ronin's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Lunarpages Linux / 1.3.37 / 4.1.22-standard-log / 4.4.4 / 9.1.2.5
Back to top
View user's profile Visit poster's website Photo Gallery
Dizfunkshunal
Platinum Supporter
Platinum Supporter

Offline Offline
Joined: Mar 23, 2006
Posts: 2064

PostPosted: Tue Nov 25, 2008 5:52 pm
Post subject: Re: Upgrade problems from 9.1.2.5

Yea if you run into problems on install (upgrading). restore everything, fix what needs fixin, and try again.


cvs version is now PHP5 only, I think its also a min. MYSQL 5 to.

_________________
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
Ronin
Dragonfly addicted
Dragonfly addicted

Offline Offline
Joined: Jun 07, 2004
Posts: 475
Location: Calgary, AB
PostPosted: Tue Nov 25, 2008 5:59 pm
Post subject: Re: Upgrade problems from 9.1.2.5

Thanks man. My ronin-tech.com server is php/mysql 5. My big ATV site is what's in my sig with the older versions. I'll try again tonight with 9.2.1 and see what happens. Should I go with a more recent snapshot or just the old 9.2.1 release?

_________________
Cheers,

Ronin
Ronin Technologies
Dragonfly Google Maps Module

Ronin's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Lunarpages Linux / 1.3.37 / 4.1.22-standard-log / 4.4.4 / 9.1.2.5
Back to top
View user's profile Visit poster's website Photo Gallery
NanoCaiordo
Developer
Developer

Offline Offline
Joined: Jun 29, 2004
Posts: 3878
Location: Melbourne, AU
PostPosted: Tue Nov 25, 2008 9:21 pm
Post subject: Re: Upgrade problems from 9.1.2.5

9.2.1

Do you select the "drop tables" option when creating the database backup?

Detailed errors would also be appreciated.

_________________
.:: 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
Ronin
Dragonfly addicted
Dragonfly addicted

Offline Offline
Joined: Jun 07, 2004
Posts: 475
Location: Calgary, AB
PostPosted: Tue Nov 25, 2008 9:25 pm
Post subject: Re: Upgrade problems from 9.1.2.5

Yep, if I get stuck you can count on detailed errors Nano.

I do not use the "drop tables" option. Is this something I need to workaround?

_________________
Cheers,

Ronin
Ronin Technologies
Dragonfly Google Maps Module

Ronin's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Lunarpages Linux / 1.3.37 / 4.1.22-standard-log / 4.4.4 / 9.1.2.5
Back to top
View user's profile Visit poster's website Photo Gallery
NanoCaiordo
Developer
Developer

Offline Offline
Joined: Jun 29, 2004
Posts: 3878
Location: Melbourne, AU
PostPosted: Tue Nov 25, 2008 10:08 pm
Post subject: Re: Upgrade problems from 9.1.2.5

Then make sure to wipe off all db tables before restoring from backup.
Not an option in your case, its a must.

_________________
.:: 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
Ronin
Dragonfly addicted
Dragonfly addicted

Offline Offline
Joined: Jun 07, 2004
Posts: 475
Location: Calgary, AB
PostPosted: Tue Nov 25, 2008 10:33 pm
Post subject: Re: Upgrade problems from 9.1.2.5

Yeah, I was dropping all the tables from the DB before doing an import.

_________________
Cheers,

Ronin
Ronin Technologies
Dragonfly Google Maps Module

Ronin's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Lunarpages Linux / 1.3.37 / 4.1.22-standard-log / 4.4.4 / 9.1.2.5
Back to top
View user's profile Visit poster's website Photo Gallery
NanoCaiordo
Developer
Developer

Offline Offline
Joined: Jun 29, 2004
Posts: 3878
Location: Melbourne, AU
PostPosted: Tue Nov 25, 2008 11:13 pm
Post subject: Re: Upgrade problems from 9.1.2.5

Files backup are also tricky, and you should take into cosideration cache/* files.

Plus today there are quite few server using php accelerators looking for the "last modified" files property.

New 9.2 files will have a recent modified date then your backuped files, so when restoring from your files backup the accelerator will not bother to "update" its own cache since your files are older then files into the accelerator chace.

eAccelerator its good but only system adminis can menage it.
Bcompiler its different this is why I start supporting it.

In other words ask your sysadmin for any accelerator installed, if any tell them whats happening.

_________________
.:: 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
Ronin
Dragonfly addicted
Dragonfly addicted

Offline Offline
Joined: Jun 07, 2004
Posts: 475
Location: Calgary, AB
PostPosted: Tue Nov 25, 2008 11:16 pm
Post subject: Re: Upgrade problems from 9.1.2.5

I'm my own sysadmin on this server and I'm not using any accelerators. Very Happy

Is the way through the installation duplicate entry errors to increase the varchar field length so the entries can become unique?

_________________
Cheers,

Ronin
Ronin Technologies
Dragonfly Google Maps Module

Ronin's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Lunarpages Linux / 1.3.37 / 4.1.22-standard-log / 4.4.4 / 9.1.2.5
Back to top
View user's profile Visit poster's website Photo Gallery
NanoCaiordo
Developer
Developer

Offline Offline
Joined: Jun 29, 2004
Posts: 3878
Location: Melbourne, AU
PostPosted: Wed Nov 26, 2008 12:30 am
Post subject: Re: Upgrade problems from 9.1.2.5

I need errors details.

_________________
.:: 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
Ronin
Dragonfly addicted
Dragonfly addicted

Offline Offline
Joined: Jun 07, 2004
Posts: 475
Location: Calgary, AB
PostPosted: Wed Nov 26, 2008 1:08 am
Post subject: Re: Upgrade problems from 9.1.2.5

OK, I guess I was right about all the duplicate entry errors. Increasing the varchar field lengths to the point where the entries became unique allowed 9.2.1 to install. I also ran a php script to change all of the tables to UTF. Post installation errors include:

Every page gives me:

Quote::
modules/Downloads/admin/adlinks.inc

* Notice line 27: Undefined index: downloads
* Notice line 30: Undefined index: downloads

Attempting to access the Downloads (pro) module gives me this error:

Quote::
includes/db/db.php

* CMS Warning line 75: On /Downloads.html While executing query "SELECT lid, title, date FROM cms_downloads_downloads WHERE active=1 AND updated<=date ORDER BY date DESC LIMIT 0," the following error occured: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 In: /var/www/html/modules/Downloads/index.php on line: 349

Turning on the admin block kills the site until I disable the block via the db. The error is:

Quote::
includes/db/db.php

* CMS Warning line 75: On /admin.php?op=blocks While executing query "SELECT dirname FROM installs WHERE cpg_id=1" the following error occured: Table 'dragonfly.installs' doesn't exist In: /var/www/html/modules/coppermine/admin/adwait.inc on line: 20

After the upgrade there is no dragonfly.installs table in my db (named dragonfly).

On this server (http://ronin-tech.com) I am now running DF 9.2.1 with Apache 2.2.6, mySQL 5.0.45 (client: 5.0.45) and PHP 5.2.4.

_________________
Cheers,

Ronin
Ronin Technologies
Dragonfly Google Maps Module

Ronin's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Lunarpages Linux / 1.3.37 / 4.1.22-standard-log / 4.4.4 / 9.1.2.5
Back to top
View user's profile Visit poster's website Photo Gallery
NanoCaiordo
Developer
Developer

Offline Offline
Joined: Jun 29, 2004
Posts: 3878
Location: Melbourne, AU
PostPosted: Wed Nov 26, 2008 1:22 am
Post subject: Re: Upgrade problems from 9.1.2.5

Clear your cache/ to, probably, resolve errors 1 and 3.

Upgrade ( or re-upload DownloadsPro/functions/* ) to, probably, resolve error 2.

_________________
.:: 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
Ronin
Dragonfly addicted
Dragonfly addicted

Offline Offline
Joined: Jun 07, 2004
Posts: 475
Location: Calgary, AB
PostPosted: Wed Nov 26, 2008 1:31 am
Post subject: Re: Upgrade problems from 9.1.2.5

Clearing the cache didn't help 1 and 3. This was created from a completely clean directory so there were no cache leftovers.

I upgraded Downloads via the modules page which I had forgotten to do so now the db should be squared away but I still get:

Quote::
modules/Downloads/index.php

* Notice line 349: Undefined index: front_rank

includes/db/db.php

* CMS Warning line 75: On /Downloads.html While executing query "SELECT lid, title, date FROM cms_downloads_downloads WHERE active=1 AND updated<=date ORDER BY date DESC LIMIT 0," the following error occured: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 In: /var/www/html/modules/Downloads/index.php on line: 349

I've cleared the cache again with no effect.

Thanks for your help Nano!

_________________
Cheers,

Ronin
Ronin Technologies
Dragonfly Google Maps Module

Ronin's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Lunarpages Linux / 1.3.37 / 4.1.22-standard-log / 4.4.4 / 9.1.2.5
Back to top
View user's profile Visit poster's website Photo Gallery
NanoCaiordo
Developer
Developer

Offline Offline
Joined: Jun 29, 2004
Posts: 3878
Location: Melbourne, AU
PostPosted: Wed Nov 26, 2008 1:50 am
Post subject: Re: Upgrade problems from 9.1.2.5

You having the db error because $dl_config is empty or its missing the [front_rank] index.

Make sure cms_config_custom have:
downloads | front_rank

if is_admin() print_r($MAIN_CFG) and check if [downloads][front_rank] is there.

_________________
.:: 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
Ronin
Dragonfly addicted
Dragonfly addicted

Offline Offline
Joined: Jun 07, 2004
Posts: 475
Location: Calgary, AB
PostPosted: Wed Nov 26, 2008 2:10 am
Post subject: Re: Upgrade problems from 9.1.2.5

In cms_config_custom I do have:

downlo | front_rank | 5

The tables structure is:

cfg_name varchar(20)
cfg_field varchar(50)
cfg_value text

Is the cfg_name supposed to be "downloads" rather than "downlo"?

I added that code and I have front_rank but its inside "downlo":

Quote::
[downlo] => Array ( [anon_dl] => 0 [anon_dl_remote] => 1 [user_catparent] => 1 [def_sort] => 1 [dimension] => 1600 [dimension_thumb] => 200 [ext_file] => ace doc gtar gz pdf rar tar zip rtf [ext_image] => gif jpg jpeg png tif [front_rank] => 5 [im_spam_protect] => 0 [leech_local] => 1 [leech_remote] => 0 [path_file] => uploads/downloads [path_image] => uploads/downloads/images [perpage] => 10 [quality] => 80 [r_perpage] => 5 [r_active] => 1 [r_queue] => 0 [screen_active] => 1 [screen_max] => 10 [size_file] => 6097152 [size_image] => 3048576 [upl_file] => 1 [upl_image] => 1 [use_fetch] => 0 [use_fetch_remote] => 1 [watermark] => 0 [md5_local] => 1 [md5_remote] => 1 [pub_mirror] => 1 ) [Contac] => Array ( [update_monitor] => 1 )

_________________
Cheers,

Ronin
Ronin Technologies
Dragonfly Google Maps Module

Ronin's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Lunarpages Linux / 1.3.37 / 4.1.22-standard-log / 4.4.4 / 9.1.2.5
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 ⇒  Installation Issues
Page 1 of 2
All times are GMT
Go to page 1, 2  Next



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 can 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.

Číta ďalej...

   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