Log of the #symfony channel on irc.freenode.net

Using timezone: Zentraleuropäische Zeit
* RoVeRT leaves06:20
<yeahyeahyeah>pests: I'm back around if you're still looking for help.06:56
* Wombert joins07:12
* Garfield-fr leaves07:16
* fabpot joins07:29
<yeahyeahyeah>Anyone know where I can find more information on the options available in generator.yml? I'm attempting to use the admin generated scripts, but add in data from join tables to the list and edit pages.07:40
* zobi[1] joins08:03
what is the "symfony web server" that is listed in symfony -T?08:06
* Wombert leaves08:16
* yeahyeahyeah leaves08:17
* bladus joins08:24
* zobi[1] leaves08:30
* fabpot leaves08:42
* marek_ joins08:46
* fabpot joins08:56
* Garfield-fr joins09:12
* michi joins09:23
hello!!! is it possible to change the location of javascript and css files via configuration ? 09:26
* hartym joins09:47
good morning09:48
* dryad joins09:51
* brujahRg joins09:58
* benoitm joins10:01
* fabpot_ joins10:02
* benoitm leaves10:10
* redYo joins10:12
* benoitm joins10:16
* fabpot leaves10:17
* Byteorder joins10:31
Hi, anyone familiar with i18n? My project simply won't transalte...10:34
<dryad>Hello Byteorder. I am not familiar with it myself, but I think that one of the last days of the Askeet-tutorial explains the use of i18n10:35
http://www.symfony-project.com/askeet/23
<Byteorder>I tried it by following http://www.symfony-project.com/content/book/page/i18n.html
askeet is 0.4, but the docbook should be 0.6, isnt it?10:36
<dryad>yeah
<Byteorder>I set the default culture in i18n, added the helper to the standard_helpers,...
<dryad>however, I do believe that askeet's translation is pretty close to 0.6
<Byteorder>Yeah, but there is a step-by-step in the docbook10:37
somewhere at the bottom
I added the messages.de.xml10:38
<dryad>I see
<Byteorder>And i use __('english text')
<dryad>did you set the users culture?10:39
<Byteorder>Yes
I even debug_messaged that var
de_DE
Its set in the template, where the __() calls are done10:40
<dryad>okay - I'm afraid I dont know enough about it yet
<Byteorder>I found one bug in the documentation10:42
Look @ http://www.symfony-project.com/content/book/page/i18n.html
COMMENT #8
I could bet, that not many developers use i18n at all10:45
<dryad>probably not10:46
<hartym>i'll have to use it soon, but for now i didnt even thrown an ey in it :p10:48
<Byteorder>You should... I did and i found out, that it won't work for me ;-)10:49
<dryad>Byteorder: Perhaps I should try to test it on my app.
I already added the __('..')-functions and set the helper
* zobi[1] joins10:53
<Byteorder>nice idea *g*
<dryad>it works for me11:00
I just followed the docbook11:01
* fabpot_ leaves11:03
* fabpot joins11:04
<zobi[1]>I am trying to install symfony on php5. Since symfony requires zlib, I am trying to recompile php with --with-zlib option on linux. Details here http://zobi.pastebin.com/564094 . Can anyone help?
<Byteorder>Yeah, I18N works now :-)11:07
<dryad>;)
<Byteorder>I am so stupid *g*
<dryad>what was wrong?
<Byteorder>My damn editor created a file messages.de.xml.PHP
<dryad>haha
<Byteorder>I am happy now :-)11:08
Will have ten cups of coffee and then sit back and code the rest of that fu**
<dryad>hehe
this is starting to be a shitty day for me
I was supposed to be at work to work on an application of ours
<Byteorder>but?11:09
<dryad>then my dad gets sick and just got picked up by an ambulance
and next to that, I was about to order a new tv, but no stores can deliver it within the next 4 weeks
<Byteorder>Oh, thats not nice
mmmh... you should not think about the tv now *g*
<dryad>heh well, actually he told me to order it asap, just before he was picked up11:10
* mbertier joins11:20
hey
<dryad>hi
<Byteorder>dryad: lol, really? Then he can't be that sick :-)11:22
<dryad>hehe
* Erestar leaves11:34
<dryad>is it possible within a component to get the module-name of the action that is including it?11:37
What I am trying to achieve is to create a help-component for my application. The help should however be based on where the user is in the application11:41
I don't think it would be that smart to use a component slot, as I will be using the same template for the components, it will just have a different action behind it11:42
<michi>hello!!! is it possible to change the location of javascript and css files via configuration ? 11:43
* glambert leaves11:56
* redYo joins
* Pjotterken joins12:25
<dryad>Byteorder: my day just got even better12:42
some deliveryguys just got here with a new ceiling for our kitchen - then they dropped it on the ground from the truck12:43
so now it's broken
* Pjotterken leaves12:44
* marek_ leaves
* vinilios_ joins12:56
* MarekJaw joins13:07
* vinilios leaves13:10
* MacWeenie joins13:15
* zobi[1] leaves
* RoVeRT joins13:19
<hartym>dryad, have you thought about how much you should have skipped today by not getting up this morning?14:09
* geek_ joins14:10
hi folks, anyone here willing to help with the manual installation of symfony on macosx? :)14:11
* MacWeenie_ joins14:21
* MacWeenie leaves14:22
<geek_>hi there
* fabpot leaves14:30
<geek_>;-( 14:31
<benoitm>geek_: go ahead for the mac os X ? ... ?14:39
<geek_>hey! OK, here's the situation! I'm trying to install symfony under my Users directory and I went so far that I have all the things in place. Now, I want to generate schema.xml from my existing tables and "symfony" complains about missing Phing :( I got it in the same place where pake resides.14:41
Error I get when I try to create this schema is: ./locsymfony/bin/symfony.sh propel-build-schema 14:43
>> file+ /Users/geek/mi2yoo/config/propeliniOF0icG
ERROR: symfony - plugin "Phing" does not exist
* MarekJaw leaves14:52
* Byteorder leaves14:55
<benoitm>ok have you installed php 5 with pear ? and as user or admin ?14:56
* spascoe leaves14:59
* vinilios_ joins15:00
<geek_>sorry, boss came for a chat ... :) - i have a MAMP server with php5 installed on the machine - i'm a admin on the machin, yes.15:02
* MacWeenie_ joins15:15
* vinilios leaves
* MacWeenie leaves15:16
* benoitm leaves15:17
* benoitm joins15:20
* spascoe joins15:25
* geek_ leaves15:31
* enigma joins15:41
<Garfield-fr>If i internationalize my website, the default format for messages.fr.xml is XML. It's possible to use another format ?15:47
<mbertier>Garfield-fr: you can use gettext15:53
<Garfield-fr>mbertier. Thank's
Do you have an example for me
<mbertier>Garfield-fr: no example sorry15:57
<Garfield-fr>I don't find an example on the site :-(15:59
<mbertier>Garfield-fr: i think there are no examples on the site
everything is here16:01
http://www.symfony-project.com/trac/browser/trunk/lib/i18n
but i don't know how to declare what backend to use in symfony's conf
anyone ?
the variable seems to be : sf_i18n_source16:02
<Garfield-fr>I look this but i don't show an example.
<mbertier>i guess you'll have to make some guesses ;)
i'll have to dive into this also, but not for the moment16:03
* brujahRg leaves16:06
* fabpot joins16:32
* MacWeenie leaves16:38
* _Slick_Rick joins16:40
morning16:41
RoVeRT: are you on PHP 5.1?16:42
* michi leaves16:48
* notjosh leaves17:06
* jcoby joins17:07
<_Slick_Rick>anyone ran into the issue with php 5.1 where propel cant parse the created_at columns?17:13
* enigma leaves17:14
<_Slick_Rick>PropelException: Unable to parse date/time value for [created_at] from input: '30/12/2005 10:40 am'
Works on my 5.0.4 box, but not 5.1
somehow strtotime is not getting called or not working correctly
<bladus>never had this issue, im running 5.1.117:16
<_Slick_Rick>hmm17:17
bladus: it happens when selecting columns i think17:18
<bladus>have you set your timezone in the php.ini?
* MacWeenie_ joins
<_Slick_Rick>no
should i?
<dryad>yes
with 5.1.x you are ought to set it
<bladus>date.timezone17:19
<_Slick_Rick>-5 or EST?
<bladus>i have "date.timezone = Europe/Berlin17:21
"
* Erestar joins
<bladus>http://de2.php.net/manual/en/timezones.php
here :)
<_Slick_Rick>I think i found the issue17:22
In my code i have
$case->setCreatedAt($rs->getDate('created_at', 'd/m/Y H:i a'));
<bladus>whats getDate() ?
<_Slick_Rick>propel function17:23
works on 5.0.4
i guess it cant strotime that on 5.1
* marek_ joins17:30
<jcoby>is symfony being used in anything other than askeet?17:32
<dryad>yes jcoby, take a look at the wiki on symfony-project.com17:33
* victor_d joins
<dryad>there's a page that lists some applications written with Symfony
<jcoby>dryad: ok, thanks17:35
* forkmantis joins17:36
* victor_d leaves17:38
<Garfield-fr>If i have 3 forms into my template, what is the syntax for my validate.yml ?17:52
I create this but i don't work:17:54
http://symfony.pastebin.com/564615
<_Slick_Rick>dryad: do you know what's changed with LEFT JOIN queries from 4.1 to 5.0?17:56
seems not to like my left joins anymore
says unknown column
<dryad>I'm afraid I don't know18:02
<Garfield-fr>FabPot: you are here ?18:04
* Garfield-fr leaves18:14
* MarekJaw joins18:17
* marek_ leaves18:18
* fabpot leaves18:23
* mbertier leaves18:28
* benoitm leaves18:41
* Garfield-fr joins18:50
* Byteorder joins19:04
Hi
How do you develop? I use winxp and currently use NetDrive to "mount" a ftp directory to a local drive... This suxx, because it is really slow and unsafe... IDE is Eclipse...19:05
Is a local XAMPP a good idea?19:06
<_Slick_Rick>you should use SVN
but yes, developing on XAMPP or something liek that would be a good idea
* Erestar leaves19:07
<Byteorder>Can i use SVN just like FTP?
* hartym leaves19:09
<spascoe>Byteorder: The tutorials go into this deeper, but basically, you stuff your project in a svn repository, then check it out in eclipse to edit19:10
you then would check the changes back into it to securely keep the changes
Your local system, running XAMPP would have the apache server pointing at your project so that you could test and debug.19:11
your production site would get updated with something like 'symfony sync....'
<dryad>another possibility to update your production site is to create hooks in svn19:12
<Byteorder>hooks?19:13
Okay, will install SVN now to the server
<dryad>a script that is being run e.g. after a commit
* Erestar joins19:16
<Byteorder>On which port does svn run?
i dont get it ;-)
Sorry, i am inpatient... But i read the documentation while asking19:17
I installed the debian package "subversion"19:18
<spascoe>do you have the svn client on your dev box?19:26
Byteorder, the eclipse plugin is subclipse19:28
<Byteorder>spascoe: thx, i am still at the server *g*19:33
svn: '/srv/symfony/sellable' exists and is non-empty19:35
*g*
* enigma joins19:39
* fabpot joins19:44
<Garfield-fr>FabPot: Are you here ?19:53
<spascoe>Byteorder: are you trying to build the repository at this point?
<Garfield-fr>I have a question for you ?
<_Slick_Rick>Garfield-fr: whats the Q?19:57
* cored joins19:58
<_Slick_Rick>am i the only one who still gets weird errors on the symfony site?
<cored>hello
<_Slick_Rick>something is wrong with their apache or something
hola
<spascoe>hi
<cored>im just on some sort of dilema 19:59
about which framework to use
<Garfield-fr>I have a page with 3 forms. It's possible to make 1 validate.yml for controlate le form ?
<cored>i was trying with CakePHP in the pass
i get a working app, but it dosen't have support for Oracle so i drop it for big projects like the one i have at work
i found symfony, but haven't test it yet i want some opinion from a person which already used boths
_Slick_Rick: i notice that you are in #cakephp too, did you use it alerady ?20:00
<_Slick_Rick>sure
i use everything
cake, rails, symfony,
and ive used django although i dont know much python
<cored>i see 20:01
i was thinking about rails
but i have to learn ruby
<_Slick_Rick>if you want to make anything that is advanced20:02
then yes, you ahve to learn ruby
<cored>ok
but for now i think i can work around
so what are you suggestion between CakePHP and Symfony ?
<_Slick_Rick>symfony is way better20:03
imo
far more advanced
depends on what your doing though
<cored>are you telling this because we are on #symfony ?
:-D
well is just an applicaton with CRUD capabilities 20:04
thats all, but the database manager that i will use is Oracle which CakePHP dosen't have support yet
<_Slick_Rick>heh20:05
no im not just saying it
go look at the cake form validation
and then look at symfony
just an example
of the competness of symfony vs cake
<cored>well it wasn't hard to use cake's validation 20:07
<_Slick_Rick>heh
its easy to use
its just very limited
ask them in cake how to compare if 1 field = another field
i.e.
do passwords match?
password1 vs password220:08
dont get me wrong, i like cake
its a good program
it just has a lot to be developed until its mature enough to use imo
<cored>hmm
i don't know why there is more peopel there 20:09
<_Slick_Rick>been around longer
<cored>and if the project is older then it should be more mature, dont you think ?
maybe they did not choose right ways for implementing things
<_Slick_Rick>eh
just different
<cored>like the database abstraction layer that it provides
i haven't touch symfony but i think its support a lot of databases, if cake would only have support for Oracle maybe i were using it right now 20:10
<_Slick_Rick>symfony is built on creole20:12
<cored>?
<_Slick_Rick>so it supports whatever creole does
<cored>creole
a DB layer ?
im using MDB2 right now
<_Slick_Rick>http://phpdb.org/
<cored>i think its very complete
<Byteorder><spascoe> Byteorder: are you trying to build the repository at this point?20:15
spascoe: Yes, i do
But now i added the Repository to another dir
I now have a repository
And i can access it locally20:16
<spascoe>Byteorder: cool. svn has lots of capability for remote access;20:18
you can do http://, https://, file:///, etc
<Byteorder>I cant imagine, what svn can do for me
Important for me is that i can develop on one of my servers remotely20:19
<spascoe>is your dev box separate from your server?
<Byteorder>Yes
About 800 kilometers ;-)
<spascoe>generally, svn is use as a repository for your source.
Once it is set up, you can then make changes to the code and check it into the repository.20:20
<Byteorder>Can i deploy it that way to the webserver?
<spascoe>svn can be configured with scripts that notice commit changes and extract the changes to another location --namely your server
<Byteorder>Okay
<spascoe>svn is not a deployer, but a repository of code. It allows you to back out a change by going to an earlier revision of the code.
* OpenGeek joins20:21
<Byteorder>spascoe: Do you have experience with setting up svn on a linux box?
<spascoe>a little; I'm more experience in the Windows world. Once it is installed, the tools are basically the same between them.
<Byteorder>spascoe: I want to use it from windows remotely20:22
<spascoe>cool
<Byteorder>So my dev box is windows and my server is a debian sarge one
i use eclipse / trustudio
<spascoe>you are using eclipse/phpeclipse as your dev environment, right?
<Byteorder>yes
<spascoe>k
my environment is similar. I use eclipse/phpeclipse with XAMPP on my dev box20:23
this gets me a local apache and mysql
<Byteorder>I know XAMPP :)
<spascoe>my svn is on a remote server
<Byteorder>Why do you develop locally?
<spascoe>I've configured it use use https (ssl ) using a local certificate
* redCashion323 joins20:24
<spascoe>I added subclipse to my eclipse to allow subversion (svn) support.
<Byteorder>My main problem is code completion etc... Its extremely slow over a mounted FTP dir *g*
<spascoe>You build your project in the repository, and then check it out to a local drive to work on it.20:25
You can then use the right-click/Team/commit to save the change to the repository.
<Byteorder>cool, brb
<spascoe>code completion is fast then, because everything is local
<Byteorder>have to eat ***g***
<spascoe>:)
<redCashion323>does anyone find this chart interesting?20:29
http://www.alexa.com/data/details/traffic_details?&range=6m&size=medium&compare_sites=symfony-project.com&y=r&url=rubyonrails.org#top
* simonbun joins20:30
* yeahyeahyeah joins20:32
* RoVeRT leaves20:34
* RoVeRT joins
* balbinus joins20:35
<forkmantis>heh... that's a cool chart, redCashion
<cored>i want a 0.6 sandbox 20:41
where can i find it
?
<RoVeRT>http://www.symfony-project.com/get/sf_sandbox.tgz20:42
<cored>oh 20:43
i thought that was the old version
<forkmantis>has anyone here ever worked with Rockford Lhotka's CLSA framework?20:44
* Sleepy[Bo] joins20:46
<spascoe>forkmantis: yes
I actually rewrote it from vb to c# and have used it on at least one project20:47
<Sleepy[Bo]>spascoe: yumyum, im done with eating20:48
spaghetti with spinach
<spascoe>:)
<Sleepy[Bo]>I read a bit on the SVN-site while eating
But i dont find the documentation very helpful when i am looking for a short solution...20:49
<spascoe>yeah, its a long read.
in terms of need: do you need to be able to revert to previous versions of your code?20:50
* MacWeenie leaves
<Sleepy[Bo]>spascoe: no
<bladus>there's a nice link on the wiki, about a svn-book ..
<spascoe>in that case, svn isn't really where you want to go. -- unless you are planning to start using symfony20:51
are you using, or planning to use symfony?
<Sleepy[Bo]>I use it for 2 weeks20:52
<enigma>i got a quastion about i18n. where and how can i use it?20:53
<Sleepy[Bo]>But i plan to use it in a pretty big project
enigma: in the docbook there is a nice chapter
enigma: http://www.symfony-project.com/content/book/page/i18n.html
<spascoe>My experience, as well as many others probably, is that the sourcecode repository lets you move much faster because you don't have to be afraid to change code and loose something important
so, I'd stick with figuring out svn for that purpose.20:54
<Sleepy[Bo]>Okay, so i should set one up *g*
<spascoe>You asked earlier why do I dev locally...
<Sleepy[Bo]>yes
<spascoe>The reason I like symfony so much is due to the out-of-the-box setup of the three environments dev, test, and production
<Sleepy[Bo]>i like that also much20:55
<spascoe>with XAMPP, I can do local dev and do it very quickly. When I'm happy, then I can push it to production in a managed fashion
* Byteorder leaves20:56
bye bye, mini-me20:57
spascoe: Can you help me, getting apache2 to work with svn?20:59
my repository works locally
but i cant browse it with tortoise
<spascoe>you are trying to get to the repository, using apache as the frontend, right?21:00
<Byteorder>well, i dont know if i need apache... i simply want to access my repository remotely.. i think i have to go with dav_svn21:01
<enigma>Sleepy[Bo]: thx. i will try it
<RoVeRT>tortoise can browse local svn
<spascoe>let me look at my config, brb.21:02
<Byteorder>RoVeRT: My repository isnt local21:03
But i works locally on my server (seen from the serverside)
<jbauer>fabot, i'm having a little trouble setting up the dual 4.4/6 enviornment you described
<RoVeRT>tortoise can still browse it
* vilasG joins21:04
<yeahyeahyeah>Anyone know where I can find more documentation on the generator.yml file for the new symfony admin generator? I'm trying to use the generator as a starting point and then add some extra db joins for list and edit actions. I'm going back and forth on how much of it can easily be accomplished via generator.yml or if I need to start rewriting some of the methods in action.class.php. Anyone played with this yet?
<RoVeRT>(yeahyeahyeah): youd have to ask fabpot as he's about the only one how can answer that21:06
* vilasG leaves
<jbauer>RoVeRT, do you run multiple versions of symfony at the same time?
* vilasG joins
anybody there?
<RoVeRT>(jbauer): nope, i just re-symlink the dirs for testing21:07
<jbauer>well that's my issue i think
* Sleepy[Bo] joins
stupid wlan *g*
<jbauer>i wanted to keep 4.4 as a lib so i could maintain my old project
and upgrade pear to .6
<yeahyeahyeah>RoVeRT: thanks - yeah, seems like nobody knows the details on that yet since it's brand new in symfony.
<spascoe>Byteorder: yes you need to use the dav_svn module in your httpd.conf
<jbauer>to start new projects
i did a check out of 4.4
and symlinked to the lib and data dirs21:08
<spascoe>my config is focused on a Windows Domain authorization, which is probably the most complex way to get it working :)
<Sleepy[Bo]>spascoe: Currently i dont even use authentification
But it wont work
<yeahyeahyeah>Can someone confirm for me that there is no way to join more than 2 tables in a single query with propel? Or am I completely missing something?
<jbauer>is pastebin down?21:09
<spascoe>since you are remote on a linux box, it makes it a little difficult for tortoise to browse because probably the only way to access it is via http.
you'll need to set that up.
<yeahyeahyeah>And I think I need to clarify - for example, joining three tables where the first table has a foreign key relationship to the second table and the second table has a foreign keep relationship to the third. So when I query the "first" table I want to join all the way through to the third table.21:10
<jbauer>RoVeRT, now i get this when i go to the 4.4 project:
[jbauer@localhost hunt]$ symfony -T
pakeGetopt: unrecognized option -TERROR: symfony - no pakefile found (looking for: data/symfony/bin/pakefile.php)
<yeahyeahyeah>typo... "keep" => "key"
<RoVeRT>(yeahyeahyeah): you can join 2 or all with builtin function but if you go outside of that you have to create a function to handle the object creation and hydration yourself
<Sleepy[Bo]>spascoe: Is there another way of accessing svn without apache2?
<vilasG>does anybody know if sessions work ok in 0.6?
<spascoe>you can setup the svn httpd server, but I've never done that myself. If pastebin weren't down, I could paste you an example for starters... :(21:11
<yeahyeahyeah>RoVeRT: when you say you can "join all" does that include the situation I described or just joining several tables that have a direct foreign key relationship to the table you are querying?
<RoVeRT>just direct foreign keys21:12
<Sleepy[Bo]>spascoe: I currently get "ERROR * PROPFIND request failed on '/' PROPFIND bla..."
<yeahyeahyeah>Ok, thanks for clarifying that. I've been reading through the propel mailing lists trying to figure that out. That lack of feature is somewhat surprising after having worked with PEAR's DB_DataObject package but I'm sure there are ways to make it all work with Propel.21:13
<redCashion323>If I change the database name in schema.xml or propel.ini, is "symfony cc frontend config21:14
" all I have to do to clear the cache?
<Sleepy[Bo]>redCashion323: You should do propel-build-model
And probable propel-build-sql
Maybe propel-insert-sql21:15
<spascoe>Sleepy[Bo]: methinks we should maybe go private to keep from cluttering the channel. what do you think?21:16
<RoVeRT>(Sleepy[Bo]): you can use svnserve for accessing svn with the svn:// protocool
<redCashion323>I have done those Sleepy, but now when I run the batch/load_data.php I get:
Fatal error: Uncaught exception 'sfDatabaseException' with message 'Database "propel" does not exist' in C:\Dev\fanengine\lib\symfony\database\sfDatabaseManager.class.php:49 Stack trace: #0 C:\Dev\fanengine\lib\symfony\util\sfContext.class.php(174): sfDatabaseManager->getDatabase('propel') #1 C:\Dev\fanengine\lib\symfony\addon\propel\sfPropelData.class.php(42): sfContext->getDatabaseConnection('propel') #2 C:\Dev\fanengine\b
<jbauer>ok, so i think i got symfony -T working now21:17
<redCashion323>this makes me think the propel DB name is cached somewhere and didn't get updated to symfony
<RoVeRT>changes in schema.xml require a propel-build-model to tack effect21:18
* MarekJaw leaves
<RoVeRT>and the database name should match what you have defined in databases.yml
<redCashion323>I have run that, and they do match..
<database name="symfony" defaultIdMethod="native">21:19
datasource: symfony
<jbauer>RoVeRT, do i have to do anything with my php include path when hosting more than one version?
* MarekJaw joins21:20
<jbauer>Warning: main(symfony/symfony/pear.php) [function.main]: failed to open stream: No such file or directory in /www/jbauer/sfprojects/hunt/frontend/config/config.php on line 16
(this is in my 4.4 project)
<RoVeRT>(jbauer): you want the symfony version to use to be first the first symfony listed21:21
<jbauer>symfony -T works now using 4.4 when i'm in that project
RoVeRT, not sure what you mean. listed where?
<_Slick_Rick>has anyone got any ideas for the best way to handle breadcrumbing in symfony?21:22
<jbauer>_Slick_Rick, there's a breadcrumb plugin, no?
* sfLog leaves
<_Slick_Rick>ive revisited this a couple times, but im not sure of the best way
<RoVeRT>list first in include_path
<_Slick_Rick>jbauer: yea, but its very basic and incomplete
<jbauer>RoVeRT, ahhh
gotcha, i'll try that
_Slick_Rick, is it a good start? is it work working from fabien's start?21:23
<redCashion323>If the wrong db was cached, would it break everywhere across the project? I am able to get the questions page to show up
<jbauer>_Slick_Rick, can you use the action stack to make breadcrumbs?
<_Slick_Rick>jbauer: what do you mean?21:24
<Sleepy[Bo]>spascoe: Well, i am private now ;-)
<jbauer>_Slick_Rick, nevermind me, i don't know what i'm talking about
<_Slick_Rick>lol
* Byteorder leaves21:25
<_Slick_Rick>am in the only one who has issues with the symfony website?21:28
i get the weirdest errors half the time
like it tries to download the site in binary
and i get garbage on the screen all the time21:29
<yeahyeahyeah>no problems here with www.symfony-project.com
<jbauer>RoVeRT, i need to include the path to /path/to/symfony4.4/lib/symfony ?
<_Slick_Rick>hrm21:30
<RoVeRT>js: i think so
<_Slick_Rick>ever since the site moved to .6
i get very strange errors
but it happens on the forum and the trac as well21:31
so i assume it has something to do with their apache
or just me
but its the only site that it happens on
<redCashion323>Slick what OS?
<jbauer>i still get the error that it can't find pear.php
<RoVeRT>(_Slick_Rick): i havent had any problems, but i dont go to sf outside of trac often
<_Slick_Rick>im on xp
<redCashion323>same here, no problems21:32
<jbauer>the line it's choking on is:
/ PEAR config
if ((include('symfony/symfony/pear.php')) != 'OK')
{
throw new Exception('Unable to find symfony librairies');
}
* vilasG leaves
<redCashion323>man, that's definitely something they should know about21:33
the one lesson I've learned in web development is no matter how weird it's never "just me"
someone else must be seeing that
<RoVeRT>well i use greaseMonkey to modify symfony css and float the bar down the left instead of right21:34
<enigma>is somthing change about the default_culture setting in i18n.yml
since 0.6
i ask because it symfony ignore this settings
<Sleepy[Bo]>anyone familiar with apache 2 on debian?21:51
Especially with web_dav_svn?
* scorphus joins21:55
* Wombert joins21:57
* Pests joins21:59
<Sleepy[Bo]>spascoe: It works now
I can connect with Tortoise
* cored leaves22:02
* lftl joins22:18
* MacWeenie_ joins22:20
<enigma>infuriatingly. i can not find the reason why symfony do not use the default_culture setting in i18n.yml22:27
* scorphus leaves22:38
* enigma leaves22:51
<spascoe>Sleepy[Bo]: Cool!22:54
* fabpot leaves22:55
* Pests leaves23:03
<Sleepy[Bo]>spascoe: I will setup also a local development environment23:06
* MacWeenie_ leaves23:07
* fabpot joins23:11
<spascoe>Sleepy[Bo]: checkout the symfony wiki for a couple of different takes on setting up a Windows Dev Environment23:12
* notjosh joins23:22
* MarekJaw leaves
<Sleepy[Bo]>spascoe: I will23:23
* marek_ joins23:25
* spascoe leaves
* fabpot leaves23:35
* yeahyeahyeah leaves23:36
* fabpot joins23:39
<Garfield-fr>Hello FabPot23:41
* dryad leaves
<Garfield-fr>I have a problem with my project in my factory ?23:42
With form
* Sleepy[Bo] leaves23:43
<Garfield-fr>Bye. I will sleep.23:48
* Garfield-fr leaves
* fabpot leaves23:49
* Toxygene leaves23:54
* forkmantis leaves23:59
* bladus leaves00:00
* marek_ leaves00:16
* jcoby leaves00:28
* Wombert leaves00:50
* dwhittle joins00:59
* dwhittle leaves01:00
* dwhittle joins
* dwhittle leaves01:18
* jgchristopher leaves
* RoVeRT leaves01:19
* RoVeRT joins
<redCashion323>Does anyone else feel like the support documentation (while great) could be better centralized? It feels like it's difficult to know where to look between the book, the wiki, the forums, IRC, and the tutorials01:20
<_Slick_Rick>hrm
I don't know about centralized, but I think it should be more integrated
like01:21
every time a function is mentioned in the docs, it should like to the api for that function
<redCashion323>That would be a big help.. I guess I was thinking more along the lines of a search tool that looked within each of these resources
<_Slick_Rick>and every time there is a topic in the docs about a feature, it should have a little tip that links to a tutorial that covers this feature (when available)
redCashion323: well yea, just use the google search on the front page01:22
it searches it all :0
<redCashion323>I've done so :), just sayin'
<_Slick_Rick>heh
<redCashion323>Also it might be nice to open the Askeet tutorials in wiki format
<_Slick_Rick>as often as our wiki gets defaced?01:23
lol
<redCashion323>it would be much easier to keep up to date without the developers having to stop what their doing
<_Slick_Rick>indeed
<redCashion323>I don't see wikis get defaced very often, but we could always rollback
<_Slick_Rick>yea i was just playin
<redCashion323>gotcha :)01:24
what types of sites are you using symfony for?
<_Slick_Rick>web 2.0 app
top secret for now :)
<redCashion323>those are the best kind :p01:25
<_Slick_Rick>pretty big and complex though
yea
<redCashion323>The secreter the better
<_Slick_Rick>its fun
<redCashion323>Then you can do super exclusive alphas for all the A-list bloggers
when you're ready to start the buzz
<_Slick_Rick>yea, our app isnt really a general consumption app though01:26
pretty much niche industry
although we are going to make one
<redCashion323>Ah gotcha, same for me..
I'm in the fantasy sports industry, the entire industry is Web .5 so it's great to introduce some innovation
<_Slick_Rick>lol01:29
cool
i lose at fantasty football every year
cause my whole team gets hurt
* phpmonkey joins01:31
Hey guys01:32
Is there a way to specify a session expired module/action ?
<_Slick_Rick>I imagine you could create one01:37
RoVeRT: are you using the new $this->getResponse()->setTitle() yet?
<simonbun>anyone up for some php trivia / helping me out? :) I've got an array like this: array(array('green', 'red', 'blue'), array('small', 'medium'), array('cheap', 'expensive')). Now i want to echo out every possible combination between those options, like green-small-cheap, green-small-expensive, green-medium-cheap, ... etc etc. The fun part is that i have to do this iteratively instead of hardcoded because i cannot know beforehand how many possible v01:38
<_Slick_Rick>wow
my head hurts
<simonbun>previously i had a thing going like this: http://forums.devshed.com/php-development-5/ak-playing-mential-mind-games-and-losing-simple-question-for-23267.html, but that was when the number of possible varieties were fixed.01:39
<_Slick_Rick>simonbun: are you using the new $this->getResponse()->setTitle() yet?
<simonbun>no sorry i'm still on ye olde .284
<_Slick_Rick>wow
last man standing01:40
<phpmonkey> _Slick_Rick I imagine you could create one <- sweet, could you point me in teh right direction?
<simonbun>heh sorta =)
<_Slick_Rick>phpmonkey: well, you should create a filter
that checks if the session becomes stale
and if so
forward to a module
instead of allowing it to renew the session
<phpmonkey>Ok, last question ( i know I can look up filters, but I read the docs on the session 1000 times), how could I check to see if the session has gone stale?01:41
<_Slick_Rick>simonbun: so you probably need to use array_walk_recursive()
<simonbun>theres a function that does this :o01:42
let me see
<_Slick_Rick>simonbun: http://us3.php.net/array_walk_recursive
and for each value
run a foreach on every other value
phpmonkey: i forget. i can look though01:43
<phpmonkey>thanks rick01:45
I appreciate it
I cannot wait for this project to be done so I can show it off to you guys
<_Slick_Rick>heh01:47
phpmonkey: this would be the easiest if you use db session storage
no?
<phpmonkey>Could be
Docs on that?
<_Slick_Rick>hrm
not sure if the docs are ready01:48
<phpmonkey>damn
I can implement anything, if I have docs hehe
or maybe an example of overriding the default session01:49
storage thingy
<_Slick_Rick>phpmonkey: http://www.symfony-project.com/trac/browser/branches/fabien-constants/lib/symfony/storage?rev=352
<phpmonkey>sweet01:50
I can derive the schema from that
<_Slick_Rick>phpmonkey: http://www.symfony-project.com/trac/browser/trunk/lib/storage01:51
^^ thats a better URL
newer
<phpmonkey>thanks01:53
<_Slick_Rick>so i cant get $this->sfResponse()->setTitle() to work02:03
er02:05
$this->getResponse()...
* lftl leaves02:08
* OpenGeek leaves02:09
<simonbun>bah can't get it to work... i need more sleep or coffee02:20
* vinilios leaves02:32
* vinilios joins02:33
* aarkerio joins02:46
Hi!02:53
I wanna generate a Schema from an existing postgresql database
all:02:55
adapter: pgsql
host: localhost
database: DBMNEURONA
username: postgres
password: gfhgh90
on orm.yml
* simonbun leaves03:07
* _Slick_Rick leaves03:13
* aarkerio leaves03:17
* phpmonkey leaves03:25
* Pests joins03:44
Hello, anyone here?
<RoVeRT>yep03:46
<Pests>Trying to follow the askeet tutorial. Getting an error on day 10, where does Answer::getRelevancyUp() get defined at?03:47
<notjosh>presumably lib/model/Answer.php03:50
<Pests>Its not there, even in the last day.03:51
<RoVeRT>getRelevancyUp/DownPercent were defind on day 404:00
<Pests>Im not seeing it.04:01
<RoVeRT>some changes are only visible in SVN04:02
<Pests>yeah, I dont see it in svn.
all I see is getRelevancyUpPercent which calls getRelevancyUp04:04
<RoVeRT>try the propel created file lib/model/om/BaseAnswer.php04:05
<Pests>Its there...04:06
I dont see why though, there is no column like it says it modifies.04:07
"Get the [relevancy_up] column value." there is no relevancy_up column.04:08
<RoVeRT><column name="relevancy_up" type="integer" default="0" />
<Pests>erm04:09
damn, i see it now.
I was checking the actual relevancy table, my mistake.
Sorry for the troubles.
<RoVeRT>it happens with the badly coded askeet project04:10
<Pests>Why is it so badly coded?04:11
<RoVeRT>useless columns in DB that dont arent needed, all save() functions can be reduced to 3-5 lines04:13
<Pests>ah
Its kinda the only tutorial we have going for us right now it seems though.04:14
<RoVeRT>ya, i know04:15
<redCashion323>I think it just needs some time spent on cleanup and conversion to .604:16
<Pests>Is there a way to do the slot thing presented in the tutorial without using slots?04:17
<redCashion323>It is a pretty ambitious project and unfortunately it seems to not be getting attention right now
<RoVeRT>(redCashion323): it was updated to 0.6 in svn just the tutorial hasent been touched yet04:19
<Pests>i havent been able to get paging to work properly.
* RoVeRT doesnt use symfonys pager04:22
<Pests>why/do you use one?04:23
<RoVeRT>manual or Propels own PropelPager04:25
* yeahyeah1eah joins04:39
* cored joins04:42
hi all
<yeahyeah1eah>hola
* spascoe joins04:47
* Pests leaves04:52
* spascoe leaves05:30
* cored leaves05:40
* RoVeRT leaves05:52
* yeahyeah1eah leaves05:53
* cyclonus200 joins06:32
anybody use setFlash/getFlash methods?

Generated by Sualtam