Die halbe Wahrheit über Viren und Linux auf SPON Umstieg auf Linux: Nie wieder Viren. Mein eeepc mit Ubuntu als OS hatte den DNSChanger (http://blog.botfrei.de/2011/11/trojaner-andert-dns-einstellungen/, http://www.dns-ok.de/).
Der eeepc wurde von meinen Nichten und Neffen nur zum Surfen genutzt, Niemand hatte root Rechte. Werden nicht kontinuierlich Updates eingespielt gibt es dieselben Probleme wie unter Windows…
$.ajax({
'type' : 'POST',
'dataType' : 'json'
'url' : 'another-remote-server',
...
});
JQuery 1.6 and lower has a bug with cross-domain XHR. According to Firebug no requests except OPTIONS were sent.
Found here: http://stackoverflow.com/questions/298745/how-do-i-send-a-cross-domain-post-request-via-javascript
Following the instruction on Redspark Framework Quickstart I created 3 simple database tables without any timestamp or id fields. After creating the module using:
$ php RedSparkInstaller/latest/redspark_model_create.php
I tried to update the database structure
Klicken Sie im Browser im noch geöffneten Backend unter System > Wartung beim Punkt Datenbankstruktur aktualisieren auf LOS. Die Änderungen werden automatisch auf die DB übertragen.
but this fails with the following log message
==> log/Exception_Warning.log <==
[05-Jun-2011 16:33:54] (xxx)/(latest) [42000] SQLSTATE[42000]: Syntax error or access violation: 1067 Invalid default value for 'id'
/xxx/redspark/library/zend/1.11.x/Zend/Db/Statement/Pdo.php 234
The solution is to fix the model xml configuration:
$ svn diff
Index: latest/xxx/RsModule/Articles/Model/Xml/Category.xml
===================================================================
--- latest/xxx/RsModule/Articles/Model/Xml/Category.xml (revision 11)
+++ latest/xxx/RsModule/Articles/Model/Xml/Category.xml (working copy)
@@ -10,7 +10,7 @@
<subgroup>
<field>
<db_field>id</db_field>
- <db_definition>int(12) NOT NULL default '' auto_increment</db_definition>
+ <db_definition>int(12) NOT NULL auto_increment</db_definition>
<db_primary>TRUE</db_primary>
<database_only>TRUE</database_only>
</field>
[kuborgh@kb projects]$ cd redspark/application/
[kuborgh@kb application]$ php RedSparkInstaller/latest/redspark_app_clone.php
PHP Fatal error: Class 'RedSparkCore_RsToolbox_Cli' not found in /xxx/redspark/application/RedSparkInstaller/latest/redspark_app_clone.php on line 60
Only the directory with the current version exists after checkout:
$ ls /xxx/redspark/application/RedSparkCore/
1.3.x
Solution: Create a symbolic link for the latest version:
$ cd /xxx/redspark/application/RedSparkCore/
$ ln -s 1.3.x latest
Ubuntu 64, Server with MySQL Server version: 5.1.41-3ubuntu12.10 (Ubuntu)
phpmyadmin
SELECT MD5( 'admin123' )
Result:
3031393230323361376262643733323530353136663036396466313862353030
console
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 90
Server version: 5.1.41-3ubuntu12.10 (Ubuntu)
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> SELECT MD5( 'admin123' );
+----------------------------------+
| MD5( 'admin123' ) |
+----------------------------------+
| 0192023a7bbd73250516f069df18b500 |
+----------------------------------+
1 row in set (0.00 sec)
wtf…
Redspark overwrites the default error handling…
/* Error Handling as Exception */
require_once ('../bootstrap/error.php');
Error logs are located at log/*.log
Gerade erst entdeckt… vielleicht doch in Zukunft mal die AGBs lesen…
Diese Website benutzt Google Analytics, einen Webanalysedienst der Google Inc. (Google) Google Analytics verwendet sog. Cookies, Textdateien, die auf Ihrem Computer gespeichert werden und die eine Analyse der Benutzung der Website durch Sie ermöglicht. Die durch den Cookie erzeugten Informationen…
blog.seibert-media.net
… sollte ganz leicht sein, trotzdem bin ich gestolpert:
-
svn: REPORT request failed on '/aaa/!svn/vcc/default'
svn: Found malformed header in revision file
oder
svn: PROPFIND request failed on '/aaa'
svn: Missing node-id in node-rev
SVN Backup wurde nicht binär übertragen.
-
svn: PROPFIND request failed on '/bbb'
svn: Could not open the requested SVN filesystem
SVN Versionen überprüfen (svnadmin –version). Mein bbb Repository wurde für Version 1.5 erstellt, auf dem Server 1.4.
libsvn1 1.4.2dfsg1-3
libapache2-svn 1.4.2dfsg1-3
- SVN Repository downgrading von 1.5 auf 1.4 … nicht schön… lieber Server updaten…
- Created a dump of the v1.5 repository named myproject_1_5.dump using the command “svnadmin dump myproject > myproject_1_5.dump”.
- Created a new repository that was compatible with v1.4 using the command “svnadmin create –pre-1.5-compatible myproject2″.
- Imported the v1.5 dump file into the new myproject2 with the command “svnadmin load myproject2 < myproject_1_5.dump”
- Created a dump of the v1.4 repository named myproject_1_4.dump using the command “svnadmin dump > myproject_1_4.dump”.
- Uploaded project_1_4.dump to the hosting account.
- Created a new repository: svnadmin create myproject
- Loaded the new data dump: svnadmin load myproject < myproject_1_4.dump”.
Thx to mc-kenna.com