-
STG-Interface problem
Hi,
ich habe etwas gesucht aber nicht wirklich das richtige gefunden :(
bisher hatte ich keine Probleme mit Crons aber nun habe ich beim einlesen in die Datenbak mit den folgenden Code:
PHP-Code:
INSERT INTO `vms_crons` ( `cron` , `datei` , `bezeichnung`)
VALUES ('int_forcedbanner', 'crons/stg_werbemine.forcedbanner.php', 'STG_Werbemine (Forcedbanner)'),
('int_text', 'crons/stg_werbemine.paidlinks.php', 'STG_Werbemine (Paidlinks)'),
('int_paidmail', 'crons/stg_werbemine.paidmail.php', 'STG_Werbemine (Paidmail)');
folgendes Problem:
PHP-Code:
#1062 - Duplicate entry '0' for key 'PRIMARY'
Ich nutze vms1.2 und weiß nicht woran das liegt :( habe selbst versucht und gebastelt aber dann kommen nur noch andere Fehler :biggrin1:
-
Ok, habe das Problem nun so gelöst:
PHP-Code:
INSERT INTO `vms_crons` ( `cron` , `id` , `laufzeit` , `datei` , `bezeichnung` )
VALUES (
'int_forcedbanner', '2', '0', 'crons/stg_werbemine.forcedbanner.php', 'STG_Werbemine (Forcedbanner)'
)
:biggrin1::biggrin1::biggrin1::biggrin1::biggrin1: