Navigation
Home Community News Search Projekte
Languages
Design
Each user can view the site with a different theme.
Themes marked with a * also change the forum look.
|
Changing to Month as default causes bug
|
View previous topic :: View next topic |
Author |
Message |
dcorwin Investigator
Offline Joined: Jun 03, 2004 Posts: 14
|
Posted: 09.06.2004 00:34 Post subject: Changing to Month as default causes bug |
|
I get the following when I try to change Events4U's default view to month:
Array:
On /admin.php?op=CalendarConfigSave
While executing query "UPDATE cms_events4u_config SET defaultview='month', minuterange='10', usetopics='1', allowaddarticle='1', allowuserpost='1', userautoactive='0', allowanonpost='1', anonautoactive='0', AdminEditAll='1', weekbeginn='0', interdate='1', AdminType='radminsuper', listcount='15', listStarttime='0', listEnddate='1', listEndtime ='0', listEnddate2='0', listBrTime='0', catListCols='3', TextEvents='1', ShowPopup='0', showlinks='0', showblock='1' , TimeArray='09:00:00, 10:00:00, 11:00:00, 12:00:00, 13:00:00, 14:00:00, 15:00:00, 16:00:00, 17:00:00, 19:00:00' , searchcount='30', searchTopics='1' WHERE id='1'"
the following error occured: Unknown column 'weekbeginn' in 'field list'
I then went in to sql and changed it from'day' to 'month' by hand and it won't change. Is 'month' the word it's looking for even?
Thanks
dcorwin please enter your server specs in your user profile!
|
|
Back to top |
|
|
Ertan Webmaster
Offline Joined: Mar 19, 2004 Posts: 1264 Location: Germany
|
Posted: 09.06.2004 12:47 Post subject: Re: Changing to Month as default causes bug |
|
it is solved bug
delete with phpmyadmin the $prefix_events4u_config table
and create new one :
CREATE TABLE `cms_events4u_config` (
`id` int(9) NOT NULL auto_increment,
`defaultview` varchar(25) NOT NULL default 'day',
`minuterange` int(10) NOT NULL default '15',
`usetopics` varchar(10) NOT NULL default '1',
`allowaddarticle` int(1) NOT NULL default '0',
`allowuserpost` int(1) NOT NULL default '0',
`userautoactive` int(1) NOT NULL default '0',
`allowanonpost` int(1) NOT NULL default '0',
`anonautoactive` int(1) NOT NULL default '0',
`AdminEditAll` int(1) NOT NULL default '1',
`weekbeginn` int(1) NOT NULL default '0',
`interdate` int(1) NOT NULL default '1',
`AdminType` varchar(25) NOT NULL default 'radminsuper',
`listcount` int(10) NOT NULL default '4',
`listStarttime` int(1) NOT NULL default '1',
`listEnddate` int(1) NOT NULL default '0',
`listEndtime` int(1) NOT NULL default '0',
`listEnddate2` int(1) NOT NULL default '0',
`listBrTime` int(1) NOT NULL default '0',
`catListCols` int(3) NOT NULL default '4',
`TextEvents` int(1) NOT NULL default '1',
`ShowPopup` int(1) NOT NULL default '0',
`showlinks` int(1) NOT NULL default '0',
`showblock` int(1) NOT NULL default '1',
`TimeArray` text NOT NULL,
`searchcount` int(5) NOT NULL default '30',
`searchTopics` int(1) NOT NULL default '1',
PRIMARY KEY (`id`)
) ;
Ertan's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
|
|
Back to top |
|
|
dcorwin Investigator
Offline Joined: Jun 03, 2004 Posts: 14
|
Posted: 09.06.2004 23:31 Post subject: Re: Changing to Month as default causes bug |
|
This code unfortunately generates and sql error when I return to my cpgnuke site.
Array:
On /admin.php?op=CalendarAdmin
While executing query "select aid, pwd, , radminsuper from cms_authors where aid='admin'"
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 ' radminsuper from cms_authors where aid='admin'' at line 1
dcorwin please enter your server specs in your user profile!
|
|
Back to top |
|
|
Ertan Webmaster
Offline Joined: Mar 19, 2004 Posts: 1264 Location: Germany
|
Posted: 10.06.2004 13:15 Post subject: Re: Changing to Month as default causes bug |
|
oohhpps
insert data for config table :
INSERT INTO `cms_events4u_config` VALUES (1, 'day', 10, '1', 1, 1, 0, 1, 0, 1, 1, 0, 'radminsuper', 15, 0, 1, 0, 0, 0, 3, 1, 0, 0, 1, '09:00:00, 10:00:00, 11:00:00, 12:00:00, 13:00:00, 14:00:00, 15:00:00, 16:00:00, 17:00:00, 19:00:00', 30, 1);
Ertan's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
|
|
Back to top |
|
|
dcorwin Investigator
Offline Joined: Jun 03, 2004 Posts: 14
|
Posted: 10.06.2004 22:11 Post subject: Re: Changing to Month as default causes bug |
|
Danke CpgNuke4U! Works great, now onto the new block!
dcorwin please enter your server specs in your user profile!
|
|
Back to top |
|
|
|
All times are GMT + 1 Hour
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
|