foo beim erstellen eines neuen Layouts

hyperlingg
Beiträge: 11
Registriert: Mo 15. Mai 2006, 21:49
Kontaktdaten:

foo beim erstellen eines neuen Layouts

Beitrag von hyperlingg »

Ich habe eben Contenido auf meinem Server installiert (Windows 2003 Web Edition, Apache 2.2.2, PHP5, MySQL).

Fast alles scheint zu funktionieren, einzig wenn ich unter Style/Layouts ein neues Layout erstellen will, erscheint im Editierungsfenster nur der Text "foo".

Woran kann das liegen? Danke für eine rasche Antwort

Bild
Halchteranerin
Beiträge: 5478
Registriert: Di 2. Mär 2004, 21:11
Wohnort: Halchter, wo sonst? ;-)
Kontaktdaten:

Beitrag von Halchteranerin »

Die Suchfunktion des Forums ist uebrigens voll funktionsfaehig!
http://www.contenido.org/forum/viewtopi ... hlight=foo
Bitte keine unaufgeforderten Privatnachrichten mit Hilfegesuchen schicken. WENN ich helfen kann, dann mache ich das im Forum, da ich auch alle Postings lese. PN werden nicht beantwortet!
hyperlingg
Beiträge: 11
Registriert: Mo 15. Mai 2006, 21:49
Kontaktdaten:

Beitrag von hyperlingg »

Danke, aber sehr viel kann ich mit dem gelinkten Post nicht anfangen.

Im Server Error Log finde ich keine Fehler und alle Contenido Original Seiten mag ich nicht nach "echo" durchsuchen und abändern.

Es muss doch eine andere Lösung geben.

Wenn es wirklich am handling der ' oder " liegen sollte hat jemand eine Ahnung wo man dies ändern kann?

Danke
HerrB
Beiträge: 6935
Registriert: Do 22. Mai 2003, 12:44
Wohnort: Berlin
Kontaktdaten:

Beitrag von HerrB »

Der Beitrag bezog sich auch auf Module, insofern nicht ganz passend.

Sofern alle Dateien ordentlich hochgeladen wurden, müssen u.U. noch Anpassungen an der PHP/Apache-Konfiguration gemacht werden (der IIS wird in dem Szenario vermutlich gar nicht verwendet).

Welche genau dazu führen, kann ich nicht sagen, ich rate nur. Was sagt das errorlog?

Gruß
HerrB
Bitte keine unaufgeforderten PMs oder E-Mails -> use da Forum!

Newsletter: V4.4.x | V4.6.0-15 (Module, Backend) | V4.6.22+
Standardartikelliste: V4.4.x | V4.6.x
http://www.contenido.org/forum/search.php | http://faq.contenido.org | http://www.communido.net
hyperlingg
Beiträge: 11
Registriert: Mo 15. Mai 2006, 21:49
Kontaktdaten:

Beitrag von hyperlingg »

In den Logs ist nichts zu sehen womit ich etwas anfangen kann.

Habe eben den Server gestoppt, alte logs gelöscht und dann den Server wieder gestartet.
Anschliessend habe ich mich im Backend als Sysadmin angemeldet und versucht ein neues Layout zu erstellen.

Hier das Error und Access log:

access.log

Code: Alles auswählen

212.161.168.5 - - [16/May/2006:11:48:23 +0200] "GET /contenido/contenido/ HTTP/1.1" 200 3789
212.161.168.5 - - [16/May/2006:11:48:35 +0200] "POST /contenido/contenido/index.php?contenido=e2bfe604bdf89b1fc401cde43bb4bf4c HTTP/1.1" 200 729
212.161.168.5 - - [16/May/2006:11:48:36 +0200] "GET /contenido/contenido/frameset.php?area=mycontenido&frame=1&menuless=1&changelang=&lang=1&client=1&contenido=e2bfe604bdf89b1fc401cde43bb4bf4c HTTP/1.1" 200 1365
212.161.168.5 - - [16/May/2006:11:48:37 +0200] "GET /contenido/contenido/main.php?area=mycontenido&frame=3&contenido=e2bfe604bdf89b1fc401cde43bb4bf4c HTTP/1.1" 200 2333
212.161.168.5 - - [16/May/2006:11:48:38 +0200] "GET /contenido/contenido/main.php?area=mycontenido&frame=4&contenido=e2bfe604bdf89b1fc401cde43bb4bf4c HTTP/1.1" 200 3425
212.161.168.5 - - [16/May/2006:11:48:39 +0200] "GET /contenido/contenido/scripts/help.js.php?contenido=e2bfe604bdf89b1fc401cde43bb4bf4c HTTP/1.1" 200 225
212.161.168.5 - - [16/May/2006:11:48:36 +0200] "GET /contenido/contenido/header.php?changelang=1&changeclient=1&contenido=e2bfe604bdf89b1fc401cde43bb4bf4c HTTP/1.1" 200 12815
212.161.168.5 - - [16/May/2006:11:48:47 +0200] "GET /contenido/contenido/frameset.php?area=lay&contenido=e2bfe604bdf89b1fc401cde43bb4bf4c HTTP/1.1" 200 1471
212.161.168.5 - - [16/May/2006:11:48:48 +0200] "GET /contenido/contenido/frameset_left.php?area=lay&contenido=e2bfe604bdf89b1fc401cde43bb4bf4c HTTP/1.1" 200 823
212.161.168.5 - - [16/May/2006:11:48:49 +0200] "GET /contenido/contenido/frameset_right.php?area=lay&contenido=e2bfe604bdf89b1fc401cde43bb4bf4c HTTP/1.1" 200 775
212.161.168.5 - - [16/May/2006:11:48:50 +0200] "GET /contenido/contenido/main.php?area=lay&frame=3&contenido=e2bfe604bdf89b1fc401cde43bb4bf4c HTTP/1.1" 200 844
212.161.168.5 - - [16/May/2006:11:48:49 +0200] "GET /contenido/contenido/main.php?area=lay&frame=2&contenido=e2bfe604bdf89b1fc401cde43bb4bf4c HTTP/1.1" 200 6519
212.161.168.5 - - [16/May/2006:11:48:50 +0200] "GET /contenido/contenido/main.php?area=lay&frame=4&contenido=e2bfe604bdf89b1fc401cde43bb4bf4c HTTP/1.1" 200 303
212.161.168.5 - - [16/May/2006:11:48:52 +0200] "GET /contenido/contenido/scripts/messageBox.js.php?contenido=e2bfe604bdf89b1fc401cde43bb4bf4c HTTP/1.1" 200 7687
212.161.168.5 - - [16/May/2006:11:48:50 +0200] "GET /contenido/contenido/main.php?area=lay&frame=1&contenido=e2bfe604bdf89b1fc401cde43bb4bf4c HTTP/1.1" 200 2424
212.161.168.5 - - [16/May/2006:11:49:16 +0200] "GET /contenido/contenido/main.php?area=lay_edit&frame=4&action=lay_new&contenido=e2bfe604bdf89b1fc401cde43bb4bf4c HTTP/1.1" 200 1269
212.161.168.5 - - [16/May/2006:11:49:17 +0200] "GET /contenido/contenido/main.php?area=lay&frame=2&contenido=e2bfe604bdf89b1fc401cde43bb4bf4c HTTP/1.1" 200 6519
212.161.168.5 - - [16/May/2006:11:49:18 +0200] "GET /contenido/contenido/main.php?area=lay&frame=3&idlay=0&contenido=e2bfe604bdf89b1fc401cde43bb4bf4c HTTP/1.1" 200 1745
212.161.168.5 - - [16/May/2006:11:49:20 +0200] "GET /contenido/contenido/scripts/messageBox.js.php?contenido=e2bfe604bdf89b1fc401cde43bb4bf4c HTTP/1.1" 200 7687
[/size]

error.log


Code: Alles auswählen

[Tue May 16 11:47:45 2006] [warn] _default_ VirtualHost overlap on port 80, the first has precedence
[Tue May 16 11:47:45 2006] [notice] Apache/2.2.2 (Win32) configured -- resuming normal operations
[Tue May 16 11:47:45 2006] [notice] Server built: Apr 29 2006 18:32:31
[Tue May 16 11:47:45 2006] [notice] Parent: Created child process 1936
[Tue May 16 11:47:45 2006] [notice] Disabled use of AcceptEx() WinSock2 API
[Tue May 16 11:47:45 2006] [warn] _default_ VirtualHost overlap on port 80, the first has precedence
[Tue May 16 11:47:45 2006] [warn] _default_ VirtualHost overlap on port 80, the first has precedence
[Tue May 16 11:47:45 2006] [notice] Child 1936: Child process is running
[Tue May 16 11:47:45 2006] [notice] Child 1936: Acquired the start mutex.
[Tue May 16 11:47:45 2006] [notice] Child 1936: Starting 250 worker threads.
[Tue May 16 11:47:45 2006] [notice] Child 1936: Listening on port 80.
[Tue May 16 11:49:18 2006] [error] [client 212.161.168.5] , referer: http://hyperlingg.ch/contenido/contenido/main.php?area=lay_edit&frame=4&action=lay_new&contenido=e2bfe604bdf89b1fc401cde43bb4bf4c
[/size]

Ich verwende den Apache Webserver und wäre froh wenn mir jemand sagen könne was für änderungen ich an der Apache/PHP konfiguration vornehmen muss.
HerrB
Beiträge: 6935
Registriert: Do 22. Mai 2003, 12:44
Wohnort: Berlin
Kontaktdaten:

Beitrag von HerrB »

Ich meinte das Contenido errorlog (Administration -> System).

Gruß
HerrB
Bitte keine unaufgeforderten PMs oder E-Mails -> use da Forum!

Newsletter: V4.4.x | V4.6.0-15 (Module, Backend) | V4.6.22+
Standardartikelliste: V4.4.x | V4.6.x
http://www.contenido.org/forum/search.php | http://faq.contenido.org | http://www.communido.net
hyperlingg
Beiträge: 11
Registriert: Mo 15. Mai 2006, 21:49
Kontaktdaten:

Beitrag von hyperlingg »

habe das error log geleert und dann versucht einen neuen Style zu erstellen:

Code: Alles auswählen

[16-May-2006 12:07:07] /contenido/contenido/main.php?area=lay_edit&frame=4&action=lay_new&contenido=e2bfe604bdf89b1fc401cde43bb4bf4c MySQL error 1364: Field 'name' doesn't have a default value
INSERT INTO con_lay (idlay) VALUES (21)
HerrB
Beiträge: 6935
Registriert: Do 22. Mai 2003, 12:44
Wohnort: Berlin
Kontaktdaten:

Beitrag von HerrB »

Irgendwie ist da in der Serverkonfiguration der Wurm drin. Ich kann da nicht helfen, mit Apache/PHP-Konfiguration kenne ich mich nicht aus.

Du kannst noch die V4.6.8.4 aus dem Forum einspielen (siehe in diesem Bereich), das könnte zumindest dieses Problem lösen, aber ich denke, da sind auch noch PHP-Parameter zu verstellen...

Gruß
HerrB
Bitte keine unaufgeforderten PMs oder E-Mails -> use da Forum!

Newsletter: V4.4.x | V4.6.0-15 (Module, Backend) | V4.6.22+
Standardartikelliste: V4.4.x | V4.6.x
http://www.contenido.org/forum/search.php | http://faq.contenido.org | http://www.communido.net
hyperlingg
Beiträge: 11
Registriert: Mo 15. Mai 2006, 21:49
Kontaktdaten:

Beitrag von hyperlingg »

Habe nun auch noch 4.6.8.4 installiert.

Nach abschluss der installation gehe ich ins Backend und versuche ein neues Layout zu erstellen. Anschliessend sehe ich rechts wieder nur "foo".

Der Contenido Fehler log enthält nun all dies:

Code: Alles auswählen

3b007634775187675f217d1ce9f MySQL error 1265: Data truncated for column 'visited' at row 1
INSERT INTO
                          con_stat
                          ( idstat, idcatart, idlang, idclient, visited )
                      VALUES (
                          27,
                          95,
                          2,
                          1,
                          '0000-00-00 00:00:00')
[16-May-2006 13:07:29] /conti/contenido/main.php?area=lay&frame=1&contenido=2e1b43b007634775187675f217d1ce9f MySQL error 1265: Data truncated for column 'visited' at row 1
INSERT INTO
                          con_stat
                          ( idstat, idcatart, idlang, idclient, visited )
                      VALUES (
                          28,
                          12,
                          1,
                          1,
                          '0000-00-00 00:00:00')
[16-May-2006 13:07:29] /conti/contenido/main.php?area=lay&frame=1&contenido=2e1b43b007634775187675f217d1ce9f MySQL error 1265: Data truncated for column 'visited' at row 1
INSERT INTO
                          con_stat
                          ( idstat, idcatart, idlang, idclient, visited )
                      VALUES (
                          29,
                          12,
                          2,
                          1,
                          '0000-00-00 00:00:00')
[16-May-2006 13:07:29] /conti/contenido/main.php?area=lay&frame=1&contenido=2e1b43b007634775187675f217d1ce9f MySQL error 1265: Data truncated for column 'visited' at row 1
INSERT INTO
                          con_stat
                          ( idstat, idcatart, idlang, idclient, visited )
                      VALUES (
                          30,
                          13,
                          1,
                          1,
                          '0000-00-00 00:00:00')
[16-May-2006 13:07:29] /conti/contenido/main.php?area=lay&frame=1&contenido=2e1b43b007634775187675f217d1ce9f MySQL error 1265: Data truncated for column 'visited' at row 1
INSERT INTO
                          con_stat
                          ( idstat, idcatart, idlang, idclient, visited )
                      VALUES (
                          31,
                          13,
                          2,
                          1,
                          '0000-00-00 00:00:00')
[16-May-2006 13:07:29] /conti/contenido/main.php?area=lay&frame=1&contenido=2e1b43b007634775187675f217d1ce9f MySQL error 1265: Data truncated for column 'visited' at row 1
INSERT INTO
                          con_stat
                          ( idstat, idcatart, idlang, idclient, visited )
                      VALUES (
                          32,
                          29,
                          1,
                          1,
                          '0000-00-00 00:00:00')
[16-May-2006 13:07:29] /conti/contenido/main.php?area=lay&frame=1&contenido=2e1b43b007634775187675f217d1ce9f MySQL error 1265: Data truncated for column 'visited' at row 1
INSERT INTO
                          con_stat
                          ( idstat, idcatart, idlang, idclient, visited )
                      VALUES (
                          33,
                          29,
                          2,
                          1,
                          '0000-00-00 00:00:00')
[16-May-2006 13:07:29] /conti/contenido/main.php?area=lay&frame=1&contenido=2e1b43b007634775187675f217d1ce9f MySQL error 1265: Data truncated for column 'visited' at row 1
INSERT INTO
                          con_stat
                          ( idstat, idcatart, idlang, idclient, visited )
                      VALUES (
                          34,
                          32,
                          1,
                          1,
                          '0000-00-00 00:00:00')
[16-May-2006 13:07:29] /conti/contenido/main.php?area=lay&frame=1&contenido=2e1b43b007634775187675f217d1ce9f MySQL error 1265: Data truncated for column 'visited' at row 1
INSERT INTO
                          con_stat
                          ( idstat, idcatart, idlang, idclient, visited )
                      VALUES (
                          35,
                          32,
                          2,
                          1,
                          '0000-00-00 00:00:00')
[16-May-2006 13:07:29] /conti/contenido/main.php?area=lay&frame=1&contenido=2e1b43b007634775187675f217d1ce9f MySQL error 1265: Data truncated for column 'visited' at row 1
INSERT INTO
                          con_stat
                          ( idstat, idcatart, idlang, idclient, visited )
                      VALUES (
                          36,
                          35,
                          1,
                          1,
                          '0000-00-00 00:00:00')
[16-May-2006 13:07:29] /conti/contenido/main.php?area=lay&frame=1&contenido=2e1b43b007634775187675f217d1ce9f MySQL error 1265: Data truncated for column 'visited' at row 1
INSERT INTO
                          con_stat
                          ( idstat, idcatart, idlang, idclient, visited )
                      VALUES (
                          37,
                          76,
                          1,
                          1,
                          '0000-00-00 00:00:00')
[16-May-2006 13:07:29] /conti/contenido/main.php?area=lay&frame=1&contenido=2e1b43b007634775187675f217d1ce9f MySQL error 1265: Data truncated for column 'visited' at row 1
INSERT INTO
                          con_stat
                          ( idstat, idcatart, idlang, idclient, visited )
                      VALUES (
                          38,
                          77,
                          1,
                          1,
                          '0000-00-00 00:00:00')
[16-May-2006 13:07:29] /conti/contenido/main.php?area=lay&frame=1&contenido=2e1b43b007634775187675f217d1ce9f MySQL error 1265: Data truncated for column 'visited' at row 1
INSERT INTO
                          con_stat
                          ( idstat, idcatart, idlang, idclient, visited )
                      VALUES (
                          39,
                          78,
                          1,
                          1,
                          '0000-00-00 00:00:00')
[16-May-2006 13:07:29] /conti/contenido/main.php?area=lay&frame=1&contenido=2e1b43b007634775187675f217d1ce9f MySQL error 1265: Data truncated for column 'visited' at row 1
INSERT INTO
                          con_stat
                          ( idstat, idcatart, idlang, idclient, visited )
                      VALUES (
                          40,
                          80,
                          1,
                          1,
                          '0000-00-00 00:00:00')
[16-May-2006 13:07:29] /conti/contenido/main.php?area=lay&frame=1&contenido=2e1b43b007634775187675f217d1ce9f MySQL error 1265: Data truncated for column 'visited' at row 1
INSERT INTO
                          con_stat
                          ( idstat, idcatart, idlang, idclient, visited )
                      VALUES (
                          41,
                          81,
                          1,
                          1,
                          '0000-00-00 00:00:00')
[16-May-2006 13:07:30] /conti/contenido/main.php?area=lay&frame=1&contenido=2e1b43b007634775187675f217d1ce9f MySQL error 1265: Data truncated for column 'visited' at row 1
INSERT INTO
                          con_stat
                          ( idstat, idcatart, idlang, idclient, visited )
                      VALUES (
                          42,
                          48,
                          1,
                          1,
                          '0000-00-00 00:00:00')
[16-May-2006 13:07:30] /conti/contenido/main.php?area=lay&frame=1&contenido=2e1b43b007634775187675f217d1ce9f MySQL error 1265: Data truncated for column 'visited' at row 1
INSERT INTO
                          con_stat
                          ( idstat, idcatart, idlang, idclient, visited )
                      VALUES (
                          43,
                          53,
                          1,
                          1,
                          '0000-00-00 00:00:00')
[16-May-2006 13:07:30] /conti/contenido/main.php?area=lay&frame=1&contenido=2e1b43b007634775187675f217d1ce9f MySQL error 1265: Data truncated for column 'visited' at row 1
INSERT INTO
                          con_stat
                          ( idstat, idcatart, idlang, idclient, visited )
                      VALUES (
                          44,
                          94,
                          1,
                          1,
                          '0000-00-00 00:00:00')
[16-May-2006 13:07:30] /conti/contenido/main.php?area=lay&frame=1&contenido=2e1b43b007634775187675f217d1ce9f MySQL error 1265: Data truncated for column 'visited' at row 1
INSERT INTO
                          con_stat
                          ( idstat, idcatart, idlang, idclient, visited )
                      VALUES (
                          45,
                          49,
                          1,
                          1,
                          '0000-00-00 00:00:00')
[16-May-2006 13:07:30] /conti/contenido/main.php?area=lay&frame=1&contenido=2e1b43b007634775187675f217d1ce9f MySQL error 1265: Data truncated for column 'visited' at row 1
INSERT INTO
                          con_stat
                          ( idstat, idcatart, idlang, idclient, visited )
                      VALUES (
                          46,
                          51,
                          1,
                          1,
                          '0000-00-00 00:00:00')
[16-May-2006 13:07:30] /conti/contenido/main.php?area=lay&frame=1&contenido=2e1b43b007634775187675f217d1ce9f MySQL error 1265: Data truncated for column 'visited' at row 1
INSERT INTO
                          con_stat
                          ( idstat, idcatart, idlang, idclient, visited )
                      VALUES (
                          47,
                          52,
                          1,
                          1,
                          '0000-00-00 00:00:00')
[16-May-2006 13:07:30] /conti/contenido/main.php?area=lay&frame=1&contenido=2e1b43b007634775187675f217d1ce9f MySQL error 1265: Data truncated for column 'visited' at row 1
INSERT INTO
                          con_stat
                          ( idstat, idcatart, idlang, idclient, visited )
                      VALUES (
                          48,
                          42,
                          1,
                          1,
                          '0000-00-00 00:00:00')
[16-May-2006 13:07:30] /conti/contenido/main.php?area=lay&frame=1&contenido=2e1b43b007634775187675f217d1ce9f MySQL error 1265: Data truncated for column 'visited' at row 1
INSERT INTO
                          con_stat
                          ( idstat, idcatart, idlang, idclient, visited )
                      VALUES (
                          49,
                          43,
                          1,
                          1,
                          '0000-00-00 00:00:00')
[16-May-2006 13:07:30] /conti/contenido/main.php?area=lay&frame=1&contenido=2e1b43b007634775187675f217d1ce9f MySQL error 1265: Data truncated for column 'visited' at row 1
INSERT INTO
                          con_stat
                          ( idstat, idcatart, idlang, idclient, visited )
                      VALUES (
                          50,
                          44,
                          1,
                          1,
                          '0000-00-00 00:00:00')
[16-May-2006 13:07:30] /conti/contenido/main.php?area=lay&frame=1&contenido=2e1b43b007634775187675f217d1ce9f MySQL error 1265: Data truncated for column 'visited' at row 1
INSERT INTO
                          con_stat
                          ( idstat, idcatart, idlang, idclient, visited )
                      VALUES (
                          51,
                          45,
                          1,
                          1,
                          '0000-00-00 00:00:00')
[16-May-2006 13:07:30] /conti/contenido/main.php?area=lay&frame=1&contenido=2e1b43b007634775187675f217d1ce9f MySQL error 1265: Data truncated for column 'visited' at row 1
INSERT INTO
                          con_stat
                          ( idstat, idcatart, idlang, idclient, visited )
                      VALUES (
                          52,
                          54,
                          1,
                          1,
                          '0000-00-00 00:00:00')
[16-May-2006 13:07:30] /conti/contenido/main.php?area=lay&frame=1&contenido=2e1b43b007634775187675f217d1ce9f MySQL error 1265: Data truncated for column 'visited' at row 1
INSERT INTO
                          con_stat
                          ( idstat, idcatart, idlang, idclient, visited )
                      VALUES (
                          53,
                          75,
                          1,
                          1,
                          '0000-00-00 00:00:00')
[16-May-2006 13:07:30] /conti/contenido/main.php?area=lay&frame=1&contenido=2e1b43b007634775187675f217d1ce9f MySQL error 1265: Data truncated for column 'visited' at row 1
INSERT INTO
                          con_stat
                          ( idstat, idcatart, idlang, idclient, visited )
                      VALUES (
                          54,
                          82,
                          1,
                          1,
                          '0000-00-00 00:00:00')
[16-May-2006 13:07:30] /conti/contenido/main.php?area=lay&frame=1&contenido=2e1b43b007634775187675f217d1ce9f MySQL error 1265: Data truncated for column 'visited' at row 1
INSERT INTO
                          con_stat
                          ( idstat, idcatart, idlang, idclient, visited )
                      VALUES (
                          55,
                          60,
                          1,
                          1,
                          '0000-00-00 00:00:00')
[16-May-2006 13:07:30] /conti/contenido/main.php?area=lay&frame=1&contenido=2e1b43b007634775187675f217d1ce9f MySQL error 1265: Data truncated for column 'visited' at row 1
INSERT INTO
                          con_stat
                          ( idstat, idcatart, idlang, idclient, visited )
                      VALUES (
                          56,
                          61,
                          1,
                          1,
                          '0000-00-00 00:00:00')
[16-May-2006 13:07:30] /conti/contenido/main.php?area=lay&frame=1&contenido=2e1b43b007634775187675f217d1ce9f MySQL error 1265: Data truncated for column 'visited' at row 1
INSERT INTO
                          con_stat
                          ( idstat, idcatart, idlang, idclient, visited )
                      VALUES (
                          57,
                          62,
                          1,
                          1,
                          '0000-00-00 00:00:00')
[16-May-2006 13:07:30] /conti/contenido/main.php?area=lay&frame=1&contenido=2e1b43b007634775187675f217d1ce9f MySQL error 1265: Data truncated for column 'visited' at row 1
INSERT INTO
                          con_stat
                          ( idstat, idcatart, idlang, idclient, visited )
                      VALUES (
                          58,
                          90,
                          1,
                          1,
                          '0000-00-00 00:00:00')
[16-May-2006 13:07:30] /conti/contenido/main.php?area=lay&frame=1&contenido=2e1b43b007634775187675f217d1ce9f MySQL error 1265: Data truncated for column 'visited' at row 1
INSERT INTO
                          con_stat
                          ( idstat, idcatart, idlang, idclient, visited )
                      VALUES (
                          59,
                          85,
                          1,
                          1,
                          '0000-00-00 00:00:00')
[16-May-2006 13:07:48] /conti/contenido/main.php?area=lay_edit&frame=4&action=lay_new&contenido=2e1b43b007634775187675f217d1ce9f MySQL error 1364: Field 'name' doesn't have a default value
INSERT INTO con_lay (idlay) VALUES (5)
Oldperl
Beiträge: 4316
Registriert: Do 30. Jun 2005, 22:56
Wohnort: Eltmann, Unterfranken, Bayern
Hat sich bedankt: 6 Mal
Danksagung erhalten: 4 Mal
Kontaktdaten:

Beitrag von Oldperl »

hmmm, das hat irgendwie mit deiner MySQL-DB zu tun.

- Überprüfe mal in MySQL die Rechte deines Users den du für Contenido hast.

- Lass die Datenbank, z.B. mit PHPMyAdmin, optimieren.

- Kontrolliere die Einträge in der DB auf Vollständigkeit, die Tabellen zum nachschauen stehen ja im error.log

- Möglich das die Ausführungszeit der Scripte, bzw. SQL-Abfragen zu kurz ist. Einfach mal ne standard php.ini und mysql.ini verwenden.

So, mehr fällt mir nu auf die schnelle nicht ein.

Gruß aus Franken

Ortwin
ConLite 3.0.0-dev, alternatives und stabiles Update von Contenido 4.8.x unter PHP 8.x - Download und Repo auf Gitport.de
phpBO Search Advanced - das Suchwort-Plugin für CONTENIDO 4.9
Mein Entwickler-Blog
hyperlingg
Beiträge: 11
Registriert: Mo 15. Mai 2006, 21:49
Kontaktdaten:

Beitrag von hyperlingg »

Ich habe die Lösung für dieses Problem gefunden:

Ich habe einfach in der Tabelle con_lay die Felder name, code und author so geändert, dass sie einen null wert haben dürfen.

Ich hoffe dies waren alle Probleme die ich mit Contenido haben werde :)


Danke für die Hilfe

hyperlingg
HerrB
Beiträge: 6935
Registriert: Do 22. Mai 2003, 12:44
Wohnort: Berlin
Kontaktdaten:

Beitrag von HerrB »

Der war jetzt lustig...

So ziemlich alle Tabellen werden mit dem Prinzip gefüllt: Erst wird ein Index-Datensatz (mit Null-Werten) erzeugt und dann die Werte eingetragen. Ich bin mir daher sicher, dass Du weitere Probleme haben wirst.

Da es etliche Installationen auf allen möglichen Servern gibt (inkl. Windows/IIS) kann ich nur wiederholen, dass die Einstellungen des Servers, von mySQL, des Apache und für PHP überprüft und geändert werden sollten.

Gruß
HerrB
Bitte keine unaufgeforderten PMs oder E-Mails -> use da Forum!

Newsletter: V4.4.x | V4.6.0-15 (Module, Backend) | V4.6.22+
Standardartikelliste: V4.4.x | V4.6.x
http://www.contenido.org/forum/search.php | http://faq.contenido.org | http://www.communido.net
emergence
Beiträge: 10653
Registriert: Mo 28. Jul 2003, 12:49
Wohnort: Austria
Kontaktdaten:

Beitrag von emergence »

@hyperlingg

welche mysql version ?
*** make your own tools (wishlist :: thx)
hyperlingg
Beiträge: 11
Registriert: Mo 15. Mai 2006, 21:49
Kontaktdaten:

Beitrag von hyperlingg »

Ich habe nun doch festgestellt dass es an einem Datenbank Problem liegt.
Auch beim neu erstellen von anderen Dingen (Artikeln) komme ich nicht weiter.

Habe jedoch nocht nicht herausgefunden woran genau es liegt.

Meine Versionen:

Apache/2.2.2 (Win32)
MySQL Serverversion 5.0.21-community-nt
PHP-Version 5.1.4
emergence
Beiträge: 10653
Registriert: Mo 28. Jul 2003, 12:49
Wohnort: Austria
Kontaktdaten:

Beitrag von emergence »

dann versteh ich woher die fehler kommen...

die mysql 5 hat einen sql kombatibiltätsmodus den man aktivieren kann und deinem fall auch muss...

wie das geht mysql doku bemühen...

im standard modus werden keine mysql queries ausgeführt, die nicht exakt der vorgabe entsprechen wie die tabelle definiert wurde...
d.h. wenn ein feld NOT NULL ist und man ein query ausführt das exakt in dieses feld nichts einträgt kommt es zu einer sql fehlermeldung...

das problem tritt aber nun auch schon bei setup auf, weil einfach nicht alle felder korrekt angelegt werden können...

einen bugreport was geändert werden müsste hab ich mal hier gepostet -> http://www.contenido.org/forum/viewtopic.php?t=11333
ändert man all diese sachen -> ist aber sicherlich noch nicht jedes problemchen behoben
*** make your own tools (wishlist :: thx)
Gesperrt