This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$subsub = $q->createSubQuery() | |
->addSelect('subp.id') | |
->addSelect('CONCAT(\',\', GROUP_CONCAT(DISTINCT sph.subject), \',\') as subj') | |
->from('Place subp') | |
->innerJoin('subp.Historiques sph') | |
->andWhere('subp.visit_status LIKE \'%D2\'') | |
->groupBy('subp.id') | |
->addHaving('( subj LIKE \'%,10,%\') AND (subj NOT LIKE \'%,11,%\')'); | |
$sub = $q->createSubQuery()->select('sub.id')->from('('.$subsub->getDql().') sub'); // Throws 'Couldn't find class (SELECT' exception , WTF? Just following http://www.symfony-project.org/cookbook/1_2/en/retrieving_data_with_doctrine#chapter_f6fc97d827760d5157133eaf9798ddaf_sub_queries |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*** Exception SignalException in PhusionPassenger::Rack::ApplicationSpawner (SIGTERM) (process 61085): | |
from /Users/tim/.rvm/lib/rvm/shell/single_shot_wrapper.rb:20:in `read' | |
from /Users/tim/.rvm/lib/rvm/shell/single_shot_wrapper.rb:20:in `run_command' | |
from /Users/tim/.rvm/lib/rvm/shell/single_shot_wrapper.rb:44:in `with_shell_instance' | |
from /Users/tim/.rvm/lib/rvm/shell/single_shot_wrapper.rb:17:in `run_command' | |
from /Users/tim/.rvm/lib/rvm/shell/abstract_wrapper.rb:71:in `run' | |
from /Users/tim/.rvm/lib/rvm/environment/utility.rb:61:in `rvm' | |
from /Users/tim/.rvm/lib/rvm/environment/tools.rb:11:in `tools_path_identifier' | |
from /Users/tim/.rvm/lib/rvm/environment/tools.rb:47:in `path_identifier' | |
from /Users/tim/.rvm/lib/rvm/environment/rubies.rb:40:in `use_from_path!' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ENV['MY_RUBY_HOME'] && ENV['MY_RUBY_HOME'].include?('rvm') | |
begin | |
rvm_path = File.dirname(File.dirname(ENV['MY_RUBY_HOME'])) | |
rvm_lib_path = File.join(rvm_path, 'lib') | |
$LOAD_PATH.unshift rvm_lib_path | |
require 'rvm' | |
RVM.use_from_path! File.dirname(File.dirname(__FILE__)) | |
rescue LoadError | |
# RVM is unavailable at this point. | |
raise "RVM ruby lib is currently unavailable." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env sh | |
if [ -s "/Users/tim/.rvm/environments/ree-1.8.7-2010.02" ] ; then | |
\. "/Users/tim/.rvm/environments/ree-1.8.7-2010.02" | |
exec ruby "$@" | |
else | |
echo "ERROR: Missing RVM environment file: '/Users/tim/.rvm/environments/ree-1.8.7-2010.02'" | |
exit 1 | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LoadModule passenger_module /Users/tim/.rvm/gems/ree-1.8.7-2010.02@global/gems/passenger-2.2.15/ext/apache2/mod_passenger.so | |
PassengerRoot /Users/tim/.rvm/gems/ree-1.8.7-2010.02@global/gems/passenger-2.2.15 | |
PassengerRuby /Users/tim/.rvm/bin/passenger_ruby |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ee67291a3b80ca478adb258a7742469e=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set -x; rvm_rvmrc_cwd="" rvm_trust_rvmrcs=0 __rvm_project_rvmrc; set +x | |
+ rvm_rvmrc_cwd= | |
+ rvm_trust_rvmrcs=0 | |
+ __rvm_project_rvmrc | |
+ local cwd | |
+ cwd=/Users/tim/www/hotelhotel | |
+ : | |
+ [[ -z /Users/tim/www/hotelhotel ]] | |
+ [[ /Users/tim = \/\U\s\e\r\s\/\t\i\m\/\w\w\w\/\h\o\t\e\l\h\o\t\e\l ]] | |
+ [[ / = \/\U\s\e\r\s\/\t\i\m\/\w\w\w\/\h\o\t\e\l\h\o\t\e\l ]] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<VirtualHost *:80> | |
ServerName hotelhotel.local | |
ServerAlias local.hotelhotel.com | |
DocumentRoot "/Users/tim/Sites/hotelhotel/public" | |
RackEnv development | |
<Directory "/Users/tim/Sites/hotelhotel/public"> | |
Order allow,deny | |
Allow from all | |
</Directory> | |
</VirtualHost> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class ValidatePlaceNumberCollectionForm extends sfForm | |
{ | |
/** | |
* @see sfForm | |
*/ | |
public function configure() | |
{ | |
if (!$place = $this->getOption('place')) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// updateObject de mon formulaire principal | |
var_dump($values); | |
/* | |
array | |
0 => | |
array | |
'id' => string '233' | |
2 => | |
array |
OlderNewer