Results 1 to 8 of 8
-
10th Dec 2011, 01:27 PM #1OPBanned
Datalife Sql Fatal error 1054
I installed 9.4 DataLife version utf8.
After I imported the database from the control panel of the old version of DataLife 9.2 utf8,
Now I can not change settings in the all user groups, give me error:
MySQL Error!
------------------------
The Error returned was:
Unknown column 'allow_vote' in 'field list'
Error Number: 1054
PHP Code:UPDATE dle_usergroups set group_name='Members', allow_cats='all', allow_adds='1', cat_add='9,10,11,12,60,15,18,19,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,61,62,63,64,72,42,43,44,45,46,47,48,49,50,51,52,53,76,54,55,56,57,65,66,67,68,69,70,71,84,14,13,73,77,17,78,79,74,75,80,81,82,83', allow_admin='0', allow_addc='1', allow_editc='1', allow_delc='0', edit_allc='0', del_allc='0', moderation='0', allow_all_edit='0', allow_edit='0', allow_pm='1', max_pm='20', max_foto='101', allow_files='0', allow_hide='1', allow_short='1', time_limit='0', rid='4', allow_fixed='0', allow_feed='1', allow_search='1', allow_poll='1', allow_main='1', captcha='1', icon='{THEME}/images/icon_mbr.gif', allow_modc='0', allow_rating='1', allow_offline='0', allow_image_upload='1', allow_file_upload='1', allow_signature='1', allow_url='1', news_sec_code='1', allow_image='0', max_signature='500', max_info='1000', admin_addnews='0', admin_editnews='0', admin_comments='0', admin_categories='0', admin_editusers='0', admin_wordfilter='0', admin_xfields='0', admin_userfields='0', admin_static='0', admin_editvote='0', admin_newsletter='0', admin_blockip='0', admin_banners='0', admin_rss='0', admin_iptools='0', admin_rssinform='0', admin_googlemap='0', allow_html='1', group_prefix='', group_suffix='', allow_subscribe='1', allow_image_size='0', cat_allow_addnews='all', flood_news='0', max_day_news='3', force_leech='0', edit_limit='0', captcha_pm='1', max_pm_day='0', max_mail_day='0', admin_tagscloud='0', allow_vote='0', admin_complaint='0', news_question='0', comments_question='0' WHERE id='4'
ThanksEddie Morra Reviewed by Eddie Morra on . Datalife Sql Fatal error 1054 I installed 9.4 DataLife version utf8. After I imported the database from the control panel of the old version of DataLife 9.2 utf8, Now I can not change settings in the all user groups, give me error: MySQL Error! ------------------------ The Error returned was: Rating: 5
-
10th Dec 2011, 01:37 PM #2Member
Make the PHP code this:
PHP Code:UPDATE dle_usergroups set group_name='Members', allow_cats='all', allow_adds='1', cat_add='9,10,11,12,60,15,18,19,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,61,62,63,64,72,42,43,44,45,46,47,48,49,50,51,52,53,76,54,55,56,57,65,66,67,68,69,70,71,84,14,13,73,77,17,78,79,74,75,80,81,82,83', allow_admin='0', allow_addc='1', allow_editc='1', allow_delc='0', edit_allc='0', del_allc='0', moderation='0', allow_all_edit='0', allow_edit='0', allow_pm='1', max_pm='20', max_foto='101', allow_files='0', allow_hide='1', allow_short='1', time_limit='0', rid='4', allow_fixed='0', allow_feed='1', allow_search='1', allow_poll='1', allow_main='1', captcha='1', icon='{THEME}/images/icon_mbr.gif', allow_modc='0', allow_rating='1', allow_offline='0', allow_image_upload='1', allow_file_upload='1', allow_signature='1', allow_url='1', news_sec_code='1', allow_image='0', max_signature='500', max_info='1000', admin_addnews='0', admin_editnews='0', admin_comments='0', admin_categories='0', admin_editusers='0', admin_wordfilter='0', admin_xfields='0', admin_userfields='0', admin_static='0', admin_editvote='0', admin_newsletter='0', admin_blockip='0', admin_banners='0', admin_rss='0', admin_iptools='0', admin_rssinform='0', admin_googlemap='0', allow_html='1', group_prefix='', group_suffix='', allow_subscribe='1', allow_image_size='0', cat_allow_addnews='all', flood_news='0', max_day_news='3', force_leech='0', edit_limit='0', captcha_pm='1', max_pm_day='0', max_mail_day='0', admin_tagscloud='0', admin_complaint='0', news_question='0', comments_question='0' WHERE id='4'
-
10th Dec 2011, 02:02 PM #3
-
10th Dec 2011, 03:25 PM #4Respected MemberWebsite's:
DL4Everything.com Soft2050.inGo to phpmyadmin:
Execute these 2 commands:
PHP Code:ALTER TABLE `dle_usergroups` ADD `allow_vote` TINYINT( 1 ) NOT NULL DEFAULT '1';
PHP Code:ALTER TABLE `dle_usergroups` ADD `admin_complaint` TINYINT( 1 ) NOT NULL DEFAULT '0';
-
10th Dec 2011, 04:01 PM #5OPBanned
-
10th Dec 2011, 04:06 PM #6Respected MemberWebsite's:
DL4Everything.com Soft2050.inI think you didn't ran the upgrade and are simply using the script like that. Else the tables would have been automatically created through the upgrader
Run : www.mysite.com/upgrade/index.php to upgrade
-
10th Dec 2011, 05:12 PM #7OPBanned
i have reinstalled all
1. Clean database tables
2. Reinstall new copy of dle 9.4 utf8
3. Import the database (the original version of DLE 9.2 utf8)
4. after importing database run upgrades "mysites/upgrade/index.php"
5. Run command sql:PHP Code:ALTER TABLE `dle_usergroups` ADD `allow_vote` TINYINT( 1 ) NOT NULL DEFAULT '1';
6. Run command sql:
PHP Code:ALTER TABLE `dle_usergroups` ADD `admin_complaint` TINYINT( 1 ) NOT NULL DEFAULT '0';
Now give me a new error if edit all user groups:
MySQL Error!
------------------------
The Error returned was:
Unknown column 'news_question' in 'field list'
Error Number:1054
Code:UPDATE dle_usergroups set group_name='Uploader', allow_cats='all', allow_adds='1', cat_add='all', allow_admin='1', allow_addc='1', allow_editc='1', allow_delc='1', edit_allc='0', del_allc='0', moderation='1', allow_all_edit='0', allow_edit='1', allow_pm='1', max_pm='20', max_foto='200', allow_files='1', allow_hide='1', allow_short='1', time_limit='0', rid='4', allow_fixed='0', allow_feed='1', allow_search='1', allow_poll='1', allow_main='1', captcha='0', icon='{THEME}/images/icon_upl.gif', allow_modc='0', allow_rating='1', allow_offline='0', allow_image_upload='1', allow_file_upload='0', allow_signature='1', allow_url='1', news_sec_code='0', allow_image='1', max_signature='500', max_info='1000', admin_addnews='1', admin_editnews='1', admin_comments='0', admin_categories='0', admin_editusers='0', admin_wordfilter='0', admin_xfields='0', admin_userfields='0', admin_static='0', admin_editvote='0', admin_newsletter='0', admin_blockip='0', admin_banners='0', admin_rss='0', admin_iptools='0', admin_rssinform='0', admin_googlemap='0', allow_html='1', group_prefix='<b><span style=\"color:red\">', group_suffix='</span></b>', allow_subscribe='1', allow_image_size='0', cat_allow_addnews='all', flood_news='0', max_day_news='0', force_leech='0', edit_limit='0', captcha_pm='0', max_pm_day='0', max_mail_day='0', admin_tagscloud='0', allow_vote='1', admin_complaint='0', news_question='0', comments_question='0' WHERE id='6'
-
22nd Dec 2011, 03:09 PM #8
You should install the same DLE version database is for. Then upgrade to latest DLE.
Trusted: Dom, l0calh0st, 0ccul7, robert420
Find all threads started by NewEraCracker
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
wtf happened? (ipb 3.23 skin error causes fatal error)
By mrHunt in forum Technical Help Desk SupportReplies: 1Last Post: 25th Nov 2011, 03:55 AM -
[IPB 3.1.4] Fatal Error
By AJ Blacklisted in forum IP.BoardReplies: 1Last Post: 8th Sep 2011, 02:28 PM -
4.0.7 how to fix Error 1054
By fullup in forum vBulletinReplies: 3Last Post: 7th Feb 2011, 06:56 PM -
MYSQL ERROR no. 1054 in my vbulletin plz help
By saman.j.l33t in forum Technical Help Desk SupportReplies: 7Last Post: 16th Jul 2010, 01:14 PM -
fatal error?
By silent assassin in forum phpBBReplies: 3Last Post: 31st Jan 2009, 03:27 AM
themaLeecher - leech and manage...
Version 4.94 released. Open older version (or...