Habe nun verschiedene Kalender ausprobiert und den perfekten gefunden *freude*
Von diesem Kalender gibt es eine erweiterte Version, die ich bei mir aber nicht installieren kann, ich erhalte folgende Fehlermeldung in phpMyAdmin, wenn ich versuche, die Datenbank zu importieren:
SQL-Befehl:
INSERT INTO phpCalendar_Config
VALUES (
'Category', '1', '1', '0', '1', '0', 'month', '1', '1', '1', '1', '15', 'AppIdeas.com Community Calendar', '1', 'you@yourdomain.com', '0', '1', '1', '1', '0'
)
MySQL meldet:
#1136 - Column count doesn't match value count at row 1
Das ist der entsprechende Abschnitt, der mit Probleme bereitet, für mich sieht da alles OK aus
Code: Alles auswählen
CREATE TABLE phpCalendar_Config (
LocationTitle varchar(100) NOT NULL,
AllowPublicSubmission tinyint(1) unsigned DEFAULT '0' NOT NULL,
ApprovePublicSubmission tinyint(1) unsigned DEFAULT '0' NOT NULL,
ApprovalBySiteAdmin tinyint(1) unsigned DEFAULT '0' NOT NULL,
ApprovalByLocationAdmin tinyint(1) unsigned DEFAULT '0' NOT NULL,
AllowCrossLocationSubmission tinyint(1) unsigned DEFAULT '0' NOT NULL,
DefaultView varchar(100) NOT NULL,
AllowMonth tinyint(1) unsigned DEFAULT '0' NOT NULL,
AllowWeek tinyint(1) unsigned DEFAULT '0' NOT NULL,
AllowDay tinyint(1) unsigned DEFAULT '0' NOT NULL,
UseEventLocation tinyint(1) unsigned DEFAULT '0' NOT NULL,
TruncateLength tinyint(20) unsigned DEFAULT '0' NOT NULL,
SiteTitle tinytext NOT NULL,
AllowEventPrint tinyint(1) unsigned DEFAULT '0' NOT NULL,
AdminEmail varchar(100) NOT NULL,
MonthSelection tinyint(1) unsigned DEFAULT '0' NOT NULL,
ShowJumpBar tinyint(1) unsigned DEFAULT '1' NOT NULL,
CalendarSelection tinyint(1) unsigned DEFAULT '1' NOT NULL,
ShowAdminLink tinyint(1) unsigned DEFAULT '1' NOT NULL,
LocationID int(10) unsigned NOT NULL
REFERENCES phpCalendar_Locations(LocationID),
BaseURL varchar(100) NOT NULL,
PRIMARY KEY (LocationID)
);
INSERT INTO phpCalendar_Config VALUES ( 'Category', '1', '1', '0', '1', '0', 'month', '1', '1', '1', '1', '15', 'AppIdeas.com Community Calendar', '1', 'you@yourdomain.com', '0', '1', '1', '1', '0');
Was ist das Problem, woran liegt's?
Danke und viele Grüße,
- Lucas