2011-11-01から1ヶ月間の記事一覧

Ubuntu 11.04でPropelを使った時に"Could not perform XLST transformation"が出る時の対処法

エラー内容 $ symfony propel-build-all ... [propel-sql] Processing: generated-schema.xml [propel-sql] Could not perform XLST transformation. Make sure PHP has been compiled/configured to support XSLT. 解決方法 # apt-get install php5-xsl Rea…

Ubuntu 11.04でPropelを使った時に"Unable to return 'affix' for unknown CreoleType"が出る時の対処法

エラー内容 $ symfony propel-build-all ... [phingcall] Unable to return 'affix' for unknown CreoleType: 解決方法 # vim /usr/share/php/symfony/vendor/creole/CreoleTypes.php const TEXT = 17; ↓ const TEXT = 30; //php 5.3.0 fix, using an unused…

senccha-touch.jsで"WebKitPoint is not defined"が出る時のエラー対処法

エラーログ WebKitPoint is not defined [このエラーでブレーク] if(typeof Ext==="undefined"){Ext={}}Ex...fresh",Ext.plugins.PullRefreshPlugin); sencha-touch.js (6 行目) 対処法 Sencha TouchはWeb-kitベースのブラウザ用に作られているので、Firefox…

MongoDB学習に役立つエントリまとめ

インストール関連 CentOSはこっち さくらのVPSにMongoDB+PHP+Apacheをインストールしたメモ http://cloudrop.jp/mongodb/install_memo_on_sakuravps Ubuntuはこっち Ubuntu 10.04にMongoDBをapt-getでインストール http://ruco.la/2011/05/ubuntu-10-04%E3%8…

phpのMongoクラスでfind()してもレコードが返ってこないときの対処法

ソースコード comedy; // コレクション (リレーショナルデータベースのテーブルみたいなもの) の選択 $collection = $db->cartoons; // レコードの追加 $obj = array( "title" => "Calvin and Hobbes", "author" => "Bill Watterson" ); $collection->insert…

mongod.exeが起動しない。”dbpath (/data/db) does not exist”のエラー

エラーログ C:\data\mongodb-win32-i386-2.0.1\bin>mongod mongod --help for help and startup options Tue Nov 15 16:15:01 Tue Nov 15 16:15:01 warning: 32-bit servers don't have journaling enabled by def ault. Please use --journal if you want d…