Home Private Messages Search
CPG Dragonfly™ CMS Dedicated Server & Bandwidth Sponsored by DedicatedNOW
Toggle Content
 
Forums ⇒ DragonflyCMS ⇒ Installation Issues :: Archives ⇒ Upgrade won't complete - Error in database :: Archived


Upgrade won't complete - Error in database :: Archived
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, 3  Next
Post new topic    Revive this topic    Printer Friendly Page     Forum Index ⇒  Installation Issues

Topic Archived View previous topic :: View next topic  
Author Message
3DdesktopsUK
Silver Supporter
Silver Supporter

Offline Offline
Joined: Mar 22, 2005
Posts: 195
Location: Surrey - UK
PostPosted: Sun Jul 15, 2007 12:55 pm
Post subject: Upgrade won't complete - Error in database

Hello and I hope you can help,

I am just upgrading from CMS Version 9.0.6.1 to 9.1.2.1 and ran the installer.. Here's the error message at database set up stage..

On /install.php?
While executing query "ALTER TABLE cms_users CHANGE user_regdate user_regdate INT NOT NULL DEFAULT '0'"

the following error occured: Incorrect integer value: '' for column 'user_regdate' at row 1

In: C:\Inetpub\Www_root\includes\classes\installer.php on line: 111

Any help would be greatly appeciated..pls help Sad

Many thanks in advance

_________________
Need a new 3D Desktop wallpaper? 3D Wallpapers UK - Original 3D Digital Wallpapers

3DdesktopsUK's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Windows 2003 Server / Apache / MySQL 5.0.41 / PHP Version 4.4.7 / CMS Version 9.1.2.1
Back to top
View user's profile Visit poster's website
NanoCaiordo
Developer
Developer

Offline Offline
Joined: Jun 29, 2004
Posts: 3878
Location: Melbourne, AU
PostPosted: Sun Jul 15, 2007 1:19 pm
Post subject: Re: Upgrade won't complete - Error in database

MySQL 4.0.25 ?

_________________
.:: 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
3DdesktopsUK
Silver Supporter
Silver Supporter

Offline Offline
Joined: Mar 22, 2005
Posts: 195
Location: Surrey - UK
PostPosted: Sun Jul 15, 2007 1:30 pm
Post subject: Re: Upgrade won't complete - Error in database

Hello and thanks,

I must apologise as my server specs were out of date as I am in the process of migrating to a new server so took the opportunity to ugrade evertything.

I found the solution, connected to something complety else but seemed to fix that issue.

It is MySql 5.0 that does it. If you have MySql with Stric mode you get this error.

In My.ini find the line that has :
# Set the SQL mode to strict
sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_E NGINE_SUBSTITUTION"

and change it to:
# Set the SQL mode to strict
#sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_E NGINE_SUBSTITUTION"

Anyway, that done I now recieve this error at the bottom of the page...

INSERT INTO cms_bbsmilies VALUES (DEFAULT, ':D', 'icon_biggrin.gif', 'Very Happy')
Column count doesn't match value count at row 1

Please contact the CPG-Nuke Dev Team about the error
You cannot continue with the installationThe database has been properly updated, have fun with your incredible Dragonfly!
Remove install.php and the install directory right now!

any ideas..

My Spec:

MySQL 5
PHP 5.2.3
IIS 6

_________________
Need a new 3D Desktop wallpaper? 3D Wallpapers UK - Original 3D Digital Wallpapers

3DdesktopsUK's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Windows 2003 Server / Apache / MySQL 5.0.41 / PHP Version 4.4.7 / CMS Version 9.1.2.1
Back to top
View user's profile Visit poster's website
NanoCaiordo
Developer
Developer

Offline Offline
Joined: Jun 29, 2004
Posts: 3878
Location: Melbourne, AU
PostPosted: Sun Jul 15, 2007 1:39 pm
Post subject: Re: Upgrade won't complete - Error in database

Changing MySQL mode is not the fix, but just a workaround.

The upgrade is trying to insert an empty registration date for some of your users. I would love to investigate why it is doing it since few users had the same problem. At this point I'm not sure if the empty registration date was there already by a previuos bug or the installer is failing to convert the registration date (could be UNIX_TIMESTAMP issue).

I'll be glad if you could go trough your users registration dates to check if there is any empty or strange value. If you don't see anything wrong try to post here at least one one the registration date that populate your users table.

The second error it was not suppose to happen ... I'll look into it.

At this point I'll suggest you to wait a bit longer before upgrading.

_________________
.:: 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
3DdesktopsUK
Silver Supporter
Silver Supporter

Offline Offline
Joined: Mar 22, 2005
Posts: 195
Location: Surrey - UK
PostPosted: Sun Jul 15, 2007 2:00 pm
Post subject: Re: Upgrade won't complete - Error in database

ok and thanks nano, been putting off the upgrade for ages!!

Many thanks for your help and look forward to any further releases that will solve this issue.

will look into the dates now and post any unusual results if I find any.

_________________
Need a new 3D Desktop wallpaper? 3D Wallpapers UK - Original 3D Digital Wallpapers

3DdesktopsUK's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Windows 2003 Server / Apache / MySQL 5.0.41 / PHP Version 4.4.7 / CMS Version 9.1.2.1
Back to top
View user's profile Visit poster's website
NanoCaiordo
Developer
Developer

Offline Offline
Joined: Jun 29, 2004
Posts: 3878
Location: Melbourne, AU
PostPosted: Sun Jul 15, 2007 2:36 pm
Post subject: Re: Upgrade won't complete - Error in database

The bbsmilies error was a bug for new installs only or if the bbsmilies table was empty. However I've fix it in the current release (zip and 7z only) under the same name 9.1.2.1.

Tomorrow I'll update tarball archives and release a bug fixed version.

[edit]"The bbsmilies error was a bug for new installs only or if the bbsmilies table was empty" IF MySQL was running with STRICT_TRANS_TABLE[/edit]

_________________
.:: 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
3DdesktopsUK
Silver Supporter
Silver Supporter

Offline Offline
Joined: Mar 22, 2005
Posts: 195
Location: Surrey - UK
PostPosted: Sun Jul 15, 2007 2:47 pm
Post subject: Re: Upgrade won't complete - Error in database

Thanks, and sorry for mis-understanding..does this mean the latest cms download here will correct this error on my installation?

I have also realised that checking through those user reg dates is not easy!! over 39000 of them...is there a simple way?

Thanks so much for your help

_________________
Need a new 3D Desktop wallpaper? 3D Wallpapers UK - Original 3D Digital Wallpapers

3DdesktopsUK's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Windows 2003 Server / Apache / MySQL 5.0.41 / PHP Version 4.4.7 / CMS Version 9.1.2.1
Back to top
View user's profile Visit poster's website
NanoCaiordo
Developer
Developer

Offline Offline
Joined: Jun 29, 2004
Posts: 3878
Location: Melbourne, AU
PostPosted: Sun Jul 15, 2007 2:55 pm
Post subject: Re: Upgrade won't complete - Error in database

try
dragonflycms.org/Forum...tml#130381

Yes the current 9.1.2.1 download will fix your bbsmilies issue ONLY.
IF we are able to fix the registration date then tomorrow I'll be able to definitively release a new bug fixed version + tarball archives.

[edit]removed queries in favor of a script[/edit]

_________________
.:: 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


Last edited by NanoCaiordo on Mon Jul 16, 2007 10:43 am; edited 1 time in total
Back to top
View user's profile Visit poster's website Photo Gallery
3DdesktopsUK
Silver Supporter
Silver Supporter

Offline Offline
Joined: Mar 22, 2005
Posts: 195
Location: Surrey - UK
PostPosted: Sun Jul 15, 2007 3:19 pm
Post subject: Re: Upgrade won't complete - Error in database

thanks, and sorry my noobie'ness....

I've had quite a look and that field is populated with - "0"

Is there a string to pull out from my cms_users table that doesn't have this value, I am not sure what should be in there :-/

Sorry and thanks, and that sounds just excellent - great support

_________________
Need a new 3D Desktop wallpaper? 3D Wallpapers UK - Original 3D Digital Wallpapers

3DdesktopsUK's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Windows 2003 Server / Apache / MySQL 5.0.41 / PHP Version 4.4.7 / CMS Version 9.1.2.1
Back to top
View user's profile Visit poster's website
3DdesktopsUK
Silver Supporter
Silver Supporter

Offline Offline
Joined: Mar 22, 2005
Posts: 195
Location: Surrey - UK
PostPosted: Sun Jul 15, 2007 3:30 pm
Post subject: Re: Upgrade won't complete - Error in database

sorry, downloading the csv users table now....

_________________
Need a new 3D Desktop wallpaper? 3D Wallpapers UK - Original 3D Digital Wallpapers

3DdesktopsUK's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Windows 2003 Server / Apache / MySQL 5.0.41 / PHP Version 4.4.7 / CMS Version 9.1.2.1
Back to top
View user's profile Visit poster's website
3DdesktopsUK
Silver Supporter
Silver Supporter

Offline Offline
Joined: Mar 22, 2005
Posts: 195
Location: Surrey - UK
PostPosted: Sun Jul 15, 2007 3:43 pm
Post subject: Re: Upgrade won't complete - Error in database

ok, all fields are populated with the value 0

_________________
Need a new 3D Desktop wallpaper? 3D Wallpapers UK - Original 3D Digital Wallpapers

3DdesktopsUK's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Windows 2003 Server / Apache / MySQL 5.0.41 / PHP Version 4.4.7 / CMS Version 9.1.2.1
Back to top
View user's profile Visit poster's website
NanoCaiordo
Developer
Developer

Offline Offline
Joined: Jun 29, 2004
Posts: 3878
Location: Melbourne, AU
PostPosted: Sun Jul 15, 2007 10:00 pm
Post subject: Re: Upgrade won't complete - Error in database

Are both query returning "0".

Also what you mean with "downloading the csv users table now." ?

I'm not saying to download any "cvs" here but to re-download 9.1.2.1 package.

However until, as I stated before, until we are not sure about the regdate I'll suggest you to wait before upgrading.

If you want to upgrade you are free to but keep the old backup.

_________________
.:: 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
3DdesktopsUK
Silver Supporter
Silver Supporter

Offline Offline
Joined: Mar 22, 2005
Posts: 195
Location: Surrey - UK
PostPosted: Sun Jul 15, 2007 11:05 pm
Post subject: Re: Upgrade won't complete - Error in database

apologies for the confusion.

I meant I extracted my cms_user table to a .csv file to check all the entries and they all contained the value of 0.

As I am half way through the install, I will wait until the fix, many thanks again.

_________________
Need a new 3D Desktop wallpaper? 3D Wallpapers UK - Original 3D Digital Wallpapers

3DdesktopsUK's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Windows 2003 Server / Apache / MySQL 5.0.41 / PHP Version 4.4.7 / CMS Version 9.1.2.1
Back to top
View user's profile Visit poster's website
leddy
Newbie
Newbie

Offline Offline
Joined: Jul 16, 2007
Posts: 2

PostPosted: Mon Jul 16, 2007 12:53 am
Post subject: Re: Fresh install Smiley Error in DB

Having exact the same with :

Dragonfly9.1.2.1.7z

downloaded minutes ago.

Apache version 1.3.37 (Unix)
PHP version 5.2.1
MySQL version 5.0.27-standard-log
MySQL client version: 4.1.10

SQL_Mode field is blank.


leddy's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
PHP 5.2.1 SQL (server) 5.0.27 (client) 4.1.10 Apache Apache version 1.3.37
Back to top
View user's profile Visit poster's website
Phoenix
• Many Posts •
• Many Posts •

Offline Offline
Joined: Apr 19, 2004
Posts: 8799
Location: Netizen
PostPosted: Mon Jul 16, 2007 1:12 am
Post subject: Re: Fresh install Smiley Error in DB

Read the topic.
NanoCaiordo wrote:
http://dragonflycms.org/Forums/viewtopic/p=130330.html#130330

_________________
DonationsPro for DragonflyCMS, SMF, MyBB, vBulletin

Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website Photo Gallery
Display posts from previous:   
Post new topic    Revive this topic    Printer Friendly Page    Forum Index ⇒  Installation Issues
Page 1 of 3
All times are GMT
Go to page 1, 2, 3  Next

Archive Revive
Username:
This is an archived topic - your reply will not be appended here.
Instead, a new topic will be generated in the active forum.
The new topic will provide a reference link to this archived topic.
 
   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.

Läs mer...

   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