[bug]9.1.1 to 9.2.1 'user_email' doesn't have a default val
| Author |
Message |
RivaDragon


Joined: Mar 24, 2008 Posts: 9 Location: Utah, US
|
Post subject: [bug]9.1.1 to 9.2.1 'user_email' doesn't have a default val Posted: Mon Mar 24, 2008 8:03 pm |
|
Hey everyone-
Im very very new to mysql and php and I apologize in advance...
I inherited a 9.1.1 site. It was being run on a linux server. The only platform I am familiar with is Windows and IIS, so I have sucessfully ported the site to Windows/IIS/mysql. That took me about 2 days to figure out, along with alot of study on this website.
Now, I am trying to upgrade to the latest version. From what I was told, I have 4 addon modules. I have turned those off. Now it is my understanding that I copy the new release files over the top of my existing site. That goes fine. I then run install.php and I get the following error in the set config.php phase...
Executing the queries: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
INSERT INTO df_users (user_id, name, username, user_email, femail, user_website, user_avatar, user_regdate, user_icq, user_occ, user_from, user_interests, user_sig, user_viewemail, user_aim, user_yim, user_skype, user_msnm, user_password, storynum, umode, uorder, thold, noscore, bio, ublockon, ublock, theme, commentmax, counter, newsletter, user_posts, user_attachsig, user_rank, user_level, user_active, user_session_time, user_lastvisit, user_timezone, user_dst, user_style, user_lang, user_dateformat, user_new_privmsg, user_unread_privmsg, user_last_privmsg, user_emailtime, user_allowhtml, user_allowbbcode, user_allowsmile, user_allowavatar, user_allow_pm, user_allow_viewonline, user_notify, user_notify_pm, user_popup_pm, user_avatar_type, user_actkey, user_newpasswd, user_group_cp, user_group_list_cp, user_active_cp, susdel_reason) VALUES ('1',DEFAULT,'Anonymous',DEFAULT,DEFAULT,DEFAULT,'gallery/blank.gif','1206409204',DEFAULT,DEFAULT,DEFAULT,DEFAULT,DEFAULT,DEFAULT,DEFAULT,DEFAULT,DEFAULT,DEFAULT,DEFAULT,'10',DEFAULT,DEFAULT,DEFAULT,DEFAULT,DEFAULT,DEFAULT,DEFAULT,DEFAULT,'4096',DEFAULT,DEFAULT,DEFAULT,DEFAULT,DEFAULT,'1','1',DEFAULT,DEFAULT,'-5',DEFAULT,DEFAULT,'english','D M d, Y g:i a',DEFAULT,DEFAULT,DEFAULT,DEFAULT,'1','1','1','1','1','1','1','1',DEFAULT,'3',DEFAULT,DEFAULT,'3','3','1',DEFAULT)
Field 'user_email' doesn't have a default value
Please contact the CPG-Nuke Dev Team about the error
You cannot continue with the installation
Thank you very much,
Steve
RivaDragon's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Win2003-r2 / IIS6 / MySQL-5.0.45 / PHP-5.2.5 / Dragonfly 9.2.1 |
|
| Back to top |
|
 |
WebSiteGuru


Joined: Jun 09, 2005 Posts: 2321
|
Post subject: Re: Problem with upgrade from 9.1.1 to 9.2.1 Posted: Mon Mar 24, 2008 8:30 pm |
|
What are the modules that you turned off? It might be related. Most modules should be about to take the upgrade without any problem.
_________________ 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 |
|
 |
RivaDragon


Joined: Mar 24, 2008 Posts: 9 Location: Utah, US
|
Post subject: Re: Problem with upgrade from 9.1.1 to 9.2.1 Posted: Mon Mar 24, 2008 8:43 pm |
|
It is an Everquest 2 guild website.
The modules I turned off are..
Member List
[.] Content
GEM
Roster Master
RivaDragon's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Win2003-r2 / IIS6 / MySQL-5.0.45 / PHP-5.2.5 / Dragonfly 9.2.1 |
|
| Back to top |
|
 |
RivaDragon


Joined: Mar 24, 2008 Posts: 9 Location: Utah, US
|
Post subject: Re: Problem with upgrade from 9.1.1 to 9.2.1 Posted: Mon Mar 24, 2008 8:48 pm |
|
I have tried doing it with all the modules and blocks turned on, also with combinations of those on and off.
Each time I get the exact same error.
RivaDragon's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Win2003-r2 / IIS6 / MySQL-5.0.45 / PHP-5.2.5 / Dragonfly 9.2.1 |
|
| Back to top |
|
 |
WebSiteGuru


Joined: Jun 09, 2005 Posts: 2321
|
Post subject: Re: Problem with upgrade from 9.1.1 to 9.2.1 Posted: Mon Mar 24, 2008 8:52 pm |
|
Then it must be something else. Did you have everything uploaded, also did you deleted anything from the old installation?
_________________ 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 |
|
 |
RivaDragon


Joined: Mar 24, 2008 Posts: 9 Location: Utah, US
|
Post subject: Re: Problem with upgrade from 9.1.1 to 9.2.1 Posted: Mon Mar 24, 2008 9:02 pm |
|
Thank you for the speedy responses.
I think I may have it resolved. I really took a close look at the error, and the problem seemed to be a field in the df_users table called 'user_email' expecting to be not null and there was no default value. So i when into phpmyadmin and manually put a default email address in that field of that table. I reran the install and it happened again with a different field in that same table. This happened 2 more times. After assigning a default value for these 'non null' fields, the install completed and it looks like my site is working on 9.2.1 now.
www.starofnorrath.com
yay!
i so suck at this stuff...
RivaDragon's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Win2003-r2 / IIS6 / MySQL-5.0.45 / PHP-5.2.5 / Dragonfly 9.2.1 |
|
| Back to top |
|
 |
NanoCaiordo


Joined: Jun 29, 2004 Posts: 3677 Location: Melbourne, AU
|
Post subject: Re: Problem with upgrade from 9.1.1 to 9.2.1 Posted: Wed Mar 26, 2008 2:29 am |
|
bookmarked, next time use our bug report system please.
_________________ .:: 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 |
|
 |
|
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
|

|
User Info ![Show/hide content [x]](themes/dragonfly/images/minus.png)
 Welcome Anonymous
Last CVS commits ![Show/hide content [x]](themes/dragonfly/images/minus.png)
Languages ![Show/hide content [x]](themes/dragonfly/images/minus.png)
Community ![Show/hide content [x]](themes/dragonfly/images/minus.png)
 Support for DragonflyCMS in a other languages:
• Deutsch
• Español
X-links ![Show/hide content [x]](themes/dragonfly/images/minus.png)
Preview theme ![Show/hide content [x]](themes/dragonfly/images/minus.png)
Each user can view the site with a different theme.
Themes marked with a * also change the forum look.
|