I experienced a
“An error occurred while starting up the preloader: it did not write a startup response in time.”
The problem was that it took more than 90 sec for the passenger preloader process to start…..
cp $(passenger-config about resourcesdir)/templates/standalone/config.erb nginx.conf.erb
edit the nginx.conf.erb in your Rails.root and add
- stop passenger
- start passenger like this: RAILS_ENV=production bundle exec passenger start -p 3006 –nginx-config-template nginx.conf.erb -d
- … wait … it worked for me
sudo apt-get install recordmydesktop
recordmydesktop -x 0 -y 40 --width 1000 --height 700 -o foo.ogv
in typo3conf/localconf.php append
$TYPO3_CONF_VARS['SYS']['exceptionalErrors'] = E_ALL ^ E_NOTICE ^ E_DEPRECATED ^ E_WARNING ^ E_USER_ERROR ^ E_USER_NOTICE ^ E_USER_WARNING ^ E_STRICT;
$TYPO3_CONF_VARS['BE']['forceCharset'] = 'utf-8';
$TYPO3_CONF_VARS['SYS']['setDBinit'] = 'SET NAMES utf8';
convert tables containing content to utf-8
ALTER TABLE tt_content CONVERT TO CHARACTER SET utf8;
ALTER TABLE pages_language_overlay CONVERT TO CHARACTER SET utf8;
you might need to convert others too like tt_news, tt_products, etc…
ALTER TABLE tt_news CONVERT TO CHARACTER SET utf8;
ALTER TABLE tt_products CONVERT TO CHARACTER SET utf8;
do not forget to clear cache …
Do you encounter the follosing strange behavious after: page looks ok if loaded after cache clear but special chars are displayed wrong when loaded from the cache? This can help:
ALTER TABLE cache_pages CONVERT TO CHARACTER SET utf8;
have a site written by a student in php before 1998?
and still need to make it work on php 5.4?
and does the code rely on register_globals?
then use this:
in global scope … maybe you’re lucky and fine some sort of conf.php (should be included in every other php-file)
filter :thing_id, as: :string, filters: ['eq']
do not forget to add the translation for active_admin.filters.predicates.eq
getting this even though pcre devel headers are installed just fine?
* Checking for PCRE development headers...
Try the solution that worked for me:
C_INCLUDE_PATH=/usr/local/include/ bundle exec passenger start
Using git just like svn? …
No branches, no tags, no stashing, just commit & push all day?
In this case, the following may apply:
svn update == git pull origin master
Suppose you want to collect your seed data from your fixtures…
past the following in you db/seeds.rb – file:
Dir.glob('test/fixtures/*.yml').each do |file|
Works in my new Rails 3.2.10 environment using ruby 1.9.3