<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://fbb.just4test.de/extern.php?action=feed&amp;tid=5090&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Informationen für CMS/made simple / Formbuilder "Datei konnte nicht gesperrt werden"]]></title>
		<link>http://www.cmsmadesimple.de/forum/viewtopic.php?id=5090</link>
		<description><![CDATA[Die aktuellsten Beiträge in Formbuilder "Datei konnte nicht gesperrt werden".]]></description>
		<lastBuildDate>Sat, 09 Sep 2017 17:40:35 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: Formbuilder "Datei konnte nicht gesperrt werden"]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=40612#p40612</link>
			<description><![CDATA[<p>Danke NaN,</p><p>ich habe die 2er-Installation parallel noch aktiv. Kann das also noch testen. Ist das ein Hinweis im Bugtracker wert oder ist das Problem bekannt und wird ausgesessen?</p><p>Naja - wen frage ich ...? <img src="http://www.cmsmadesimple.de/forum/plugins/ezbbc/style/smilies/wink.png" alt="wink" /></p>]]></description>
			<author><![CDATA[dummy@example.com (antibart)]]></author>
			<pubDate>Sat, 09 Sep 2017 17:40:35 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=40612#p40612</guid>
		</item>
		<item>
			<title><![CDATA[Re: Formbuilder "Datei konnte nicht gesperrt werden"]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=40610#p40610</link>
			<description><![CDATA[<p>Ist ein Fehler im Modul.<br />Das Problem liegt daran, dass in der neusten CMSms Version der ADODB Layer durch eine eigene Datenbankklasse ersetzt wurde.<br />Diese kennt die Eigenschaft &quot;sysTimeStamp&quot; nicht (mehr).<br />FormBuilder verwendet aber diese Eigenschaft.</p><p>Ändere mal im Modul Formbuilder in der Datei &quot;FormBuilder.module.php&quot; in der Funktion &quot;GetFileLock()&quot; (Zeile 759 bis 777) die beiden Vorkommen von &quot;$db-&gt;sysTimeStamp&quot; in &quot;$db-&gt;DbTimeStamp(time())&quot;.</p>]]></description>
			<author><![CDATA[dummy@example.com (NaN)]]></author>
			<pubDate>Fri, 08 Sep 2017 20:52:43 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=40610#p40610</guid>
		</item>
		<item>
			<title><![CDATA[Re: Formbuilder "Datei konnte nicht gesperrt werden"]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=40609#p40609</link>
			<description><![CDATA[<p>1.12.2 brachte die Rettung.</p><p>Da ich das nicht unbedingt eine &quot;Lösung&quot; nennen möchte, stelle ich den Threadstatus mal nicht auf &quot;gelöst&quot;.</p><p>Vielleicht hat nochmal jemand eine Idee für die 2er.</p>]]></description>
			<author><![CDATA[dummy@example.com (antibart)]]></author>
			<pubDate>Fri, 08 Sep 2017 11:11:22 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=40609#p40609</guid>
		</item>
		<item>
			<title><![CDATA[Re: Formbuilder "Datei konnte nicht gesperrt werden"]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=40608#p40608</link>
			<description><![CDATA[<p>Ich bin verzweifelt. </p><p>Ich habe nun auch versucht, dass ganz Projekt auf einen anderen Host zu kopieren, falls es ein Konflikt mit MariaDB sein sollte oder PHP 7 benötigt wird. Fehlanzeige.</p><p>Ich werde jetzt als letzte Lösung ein &quot;Downgrade&quot; auf cmsms 1.12.2 probieren. Damit ging ja früher auch.</p>]]></description>
			<author><![CDATA[dummy@example.com (antibart)]]></author>
			<pubDate>Fri, 08 Sep 2017 05:01:03 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=40608#p40608</guid>
		</item>
		<item>
			<title><![CDATA[Re: Formbuilder "Datei konnte nicht gesperrt werden"]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=40606#p40606</link>
			<description><![CDATA[<p>Okay. Ich habe ein weiteres, jüngeres Ergebnis auf der ORG-Seite gefunden, wo der gleiche Fehler behandelt wird.</p><p>Lösung:<br />Solved - I upgraded PHP to 5.6 (from 5.3.3) and the error disappeared<br /><a href="https://forum.cmsmadesimple.org/viewtopic.php?t=76799&amp;p=333862" rel="nofollow">https://forum.cmsmadesimple.org/viewtop … 9&amp;p=333862</a></p><p>Leider erwähnt der User nichts über seine CMS-Installation und Modul-Versionen. Ich zumindest habe bereits PHP 5.6.</p><p>Ich glaube, ich kümmere mich noch mal um die Meldung aus dem Debug-Modus.</p><p>MariaDB sagt dazu:</p><p>If there are more closed parentheses than open parentheses, the error usually looks like this:</p><p><em>You have an error in your SQL syntax; check the manual that<br />corresponds to your MariaDB server version for the right syntax to use near &#039;)&#039;<br />at line 1</em></p><p>Note the quoted closed parenthesis.</p>]]></description>
			<author><![CDATA[dummy@example.com (antibart)]]></author>
			<pubDate>Tue, 05 Sep 2017 07:02:55 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=40606#p40606</guid>
		</item>
		<item>
			<title><![CDATA[Re: Formbuilder "Datei konnte nicht gesperrt werden"]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=40605#p40605</link>
			<description><![CDATA[<p>SELECT * FROM `cms_module_fb_flock` </p><div class="quotebox"><cite>NaN schrieb:</cite><blockquote><div><p>Welcher Typ ist denn bei Dir das Feld &quot;flock&quot;?</p></div></blockquote></div><p>SQL-Befehl:</p><p>ALTER TABLE `cms_module_fb_flock` CHANGE `flock` `flock` TIME NULL DEFAULT NULL;</p><p>Typ: time<br />Null: Ja<br />Standard: NULL</p><br /><p>Das komplette Löschen dieser Tabelle bringt auch keine Änderung.</p>]]></description>
			<author><![CDATA[dummy@example.com (antibart)]]></author>
			<pubDate>Mon, 04 Sep 2017 04:45:08 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=40605#p40605</guid>
		</item>
		<item>
			<title><![CDATA[Re: Formbuilder "Datei konnte nicht gesperrt werden"]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=40604#p40604</link>
			<description><![CDATA[<p>Hm, okay.<br />Hab mich noch nicht mit dem Code des FB befasst.<br />Verstehe nicht wozu die Tabelle gut sein soll.<br />Das Sperren der Datei geschieht offenbar nicht auf Dateiebene sondern per Datenbank.<br />Die Idee dahinter erschließt sich mir nicht so recht.</p><p>Also in die Tabelle wird normalerweise etwas reingeschrieben.<br />Ein Timestamp und eine ID.<br />Die ID ist immer 1.<br />Der Timestamp ist die aktuelle Zeit.<br />Wenn das Schreiben in die Tabelle fehl schlägt, dann heißt das, dass die Datei bereits gesperrt ist.<br />Nach dem Schreiben der Datei, wird die Sperre wieder aufgehoben. Also der Eintrag aus der DB gelöscht.</p><p>Kannst Du den SQL-Befehl mal posten, der da fehlschlägt? Es scheint, er hat bei Dir Probleme beim Timestamp. Welcher Typ ist denn bei Dir das Feld &quot;flock&quot;?</p>]]></description>
			<author><![CDATA[dummy@example.com (NaN)]]></author>
			<pubDate>Sun, 03 Sep 2017 10:59:40 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=40604#p40604</guid>
		</item>
		<item>
			<title><![CDATA[Re: Formbuilder "Datei konnte nicht gesperrt werden"]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=40603#p40603</link>
			<description><![CDATA[<p>Aber da steht doch noch nichts drin:</p><p>&quot;MySQL lieferte ein leeres Resultat zurück (d.h. null Datensätze). (Die Abfrage dauerte 0.0002 Sekunden.)&quot;</p><p>Dort befinden sich lediglich die Eigenschaften der Spalten flock und flock_id.</p>]]></description>
			<author><![CDATA[dummy@example.com (antibart)]]></author>
			<pubDate>Sun, 03 Sep 2017 09:31:58 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=40603#p40603</guid>
		</item>
		<item>
			<title><![CDATA[Re: Formbuilder "Datei konnte nicht gesperrt werden"]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=40602#p40602</link>
			<description><![CDATA[<p>Lösch mal was da in der Tabelle drin steht.</p>]]></description>
			<author><![CDATA[dummy@example.com (NaN)]]></author>
			<pubDate>Sat, 02 Sep 2017 19:33:10 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=40602#p40602</guid>
		</item>
		<item>
			<title><![CDATA[Re: Formbuilder "Datei konnte nicht gesperrt werden"]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=40601#p40601</link>
			<description><![CDATA[<p>Danke schonmal...</p><p>Das wäre mir jetzt peinlich gewesen. Aber vermutlich ist es wirklich nur eine Kleinigkeit.</p><p>Der Pfad zu /mein/pfad/zum/web/uploads wird ja vom FB automatisch eingefügt und stimmt auch. Die Datei- und Verzeichnisrechte stehen auf 777.</p>]]></description>
			<author><![CDATA[dummy@example.com (antibart)]]></author>
			<pubDate>Sat, 02 Sep 2017 12:33:53 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=40601#p40601</guid>
		</item>
		<item>
			<title><![CDATA[Re: Formbuilder "Datei konnte nicht gesperrt werden"]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=40600#p40600</link>
			<description><![CDATA[<p>Wenn ich das richtig verstehe, dann stimmt der Pfad zur Datei nicht.</p>]]></description>
			<author><![CDATA[dummy@example.com (NaN)]]></author>
			<pubDate>Fri, 01 Sep 2017 16:19:58 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=40600#p40600</guid>
		</item>
		<item>
			<title><![CDATA[Formbuilder "Datei konnte nicht gesperrt werden"]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=40599#p40599</link>
			<description><![CDATA[<p>Hallo allerseits,</p><p>CMSMS 2.2.3.1<br />FB: 0.8.1.6 <br />PHP 5.6.30-0+deb8u1 <br />Server-Version: 10.0.30-MariaDB-0+deb8u2 - (Debian) </p><p>Beim Versuch, Formularergebnisse in eine Datei zu schreiben, kommt es - unabhängig vom Dateityp - zu folgener Fehlermeldung:</p><p><strong>Fehler: Datei konnte nicht gesperrt werden.</strong><br />bzw:<br />Error. Unable to obtain lock for file.</p><p>Debug sagt zigfach:<br />You have an error in your SQL syntax; check the manual that<br />corresponds to your MariaDB server version for the right syntax to use near &#039;)&#039; at line 1</p><p>Nun bin ich mit der SQL-Syntax nicht so recht bewandert. Die Englische Übersetzung der Fehlermeldung brachte mich auf diesen älteren Thread der org-Seite, in dem die Userin das Problem selbst lösen konnte:</p><p><a href="https://forum.cmsmadesimple.org/viewtopic.php?t=28727" rel="nofollow">https://forum.cmsmadesimple.org/viewtopic.php?t=28727</a></p><p>Zitat: &quot;I had bad data in my cms_module_fb_flock table and once I cleared that out it worked just fine&quot;</p><p>Ich habe die betreffende Tabelle mal mit einer funktionierenden, älteren Installation verglichen. Mir fällt da ehrlich gesagt nichts auf. Was könnten denn bad data sein in diesem Falle?</p>]]></description>
			<author><![CDATA[dummy@example.com (antibart)]]></author>
			<pubDate>Fri, 01 Sep 2017 08:39:40 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=40599#p40599</guid>
		</item>
	</channel>
</rss>
