Re: [symfony-users] jobeet tutorial http://localhost:8080/frontend_dev.php/job
In day 4 there's a link to download the stylesheets and images used for Jobeet tutorial. Download and put them in the suggested directories. Regards, Haris On 18 April 2011 22:19, voidpointer voidpoin...@rocketmail.com wrote: Moi, I am trying to work through the jobeet tutorial. I have got to day 3 and try to use the url posted in the title. The layout is rubbish, there are no images etc. Here is a snippet from the top of that page: !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http:// www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd html xmlns=http://www.w3.org/1999/xhtml; xml:lang=en lang=en head meta http-equiv=Content-Type content=text/html; charset=utf-8 / title/title link rel=shortcut icon href=/favicon.ico / link rel=stylesheet type=text/css media=screen href=/css/ main.css / style type=text/css#sfWebDebug { padding: 0; margin: 0; font-family: Arial, sans-serif... (and on and on and on) The file /css/main.css is empty. I see the debug icons and so on at the top right of the page. Up till now, all the pages from the tutorial have been shown as per the docs. What's happening now? Cheers - VP -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
[symfony-users] jobeet tutorial http://localhost:8080/frontend_dev.php/job
Moi, I am trying to work through the jobeet tutorial. I have got to day 3 and try to use the url posted in the title. The layout is rubbish, there are no images etc. Here is a snippet from the top of that page: !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http:// www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd html xmlns=http://www.w3.org/1999/xhtml; xml:lang=en lang=en head meta http-equiv=Content-Type content=text/html; charset=utf-8 / title/title link rel=shortcut icon href=/favicon.ico / link rel=stylesheet type=text/css media=screen href=/css/ main.css / style type=text/css#sfWebDebug { padding: 0; margin: 0; font-family: Arial, sans-serif... (and on and on and on) The file /css/main.css is empty. I see the debug icons and so on at the top right of the page. Up till now, all the pages from the tutorial have been shown as per the docs. What's happening now? Cheers - VP -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
[symfony-users] Jobeet tutorial - Functional test fails while manual test in browser works correctly
Hello, I am working through Jobeet tutorial - Symfony 1.4 + Doctrine. I am on Windows with Apache and MySQL. On Day 11, Testing Forms, test 3.5 is failing. The test is that a job poster should be shown 404 page if he tries to edit a published job. When I manually test the flow in a browser, it works as expected. The test in test/functional/frontend/jobActionsTest.php -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
[symfony-users] Jobeet tutorial - Functional test fails while manual test in browser works correctly
Hello, Please ignore my earlier message, it was posted incomplete. I am sorry for the trouble. I am working through Jobeet tutorial - Symfony 1.4 + Doctrine. I am on Windows with Apache and MySQL. On Day 11, Testing Forms, test 3.5 is failing. The test is that a job poster should be shown 404 page if he tries to edit a published job. When I manually test the flow in a browser, it works as expected. Could you please point me where to debug this? The test in test/functional/frontend/jobActionsTest.php $browser-info(' 3.5 - When a job is published, it cannot be edited anymore')- createJob(array('position' = 'FOO3'), true)- get(sprintf('/job/%s/edit', $browser-getJobByPosition('FOO3')- getToken()))- with('response')-begin()- isStatusCode(404)- end() ; Output: 3.5 - When a job is published, it cannot be edited anymore # get /job/new # post /job # get /job/d2b7cf02f2d7964381b343c7b2b17426a56fceca/edit not ok 31 - status code is 404 # Failed test (.\lib\vendor\symfony\lib\test \sfTesterResponse.class.php at l ine 412) #got: 200 # expected: 404 1..31 # Looks like you failed 1 tests of 31. Relevant function in apps\frontend\modules\job\actions \actions.class.php public function executeEdit(sfWebRequest $request) { $job = $this-getRoute()-getObject(); $this-forward404If($job-getIsActivated()); $this-form = new JobeetJobForm($job); } -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
[symfony-users] Jobeet Tutorial day - 17
Hi I am implementing day 17 of the Jobeet Tutorial. But I am facing a problem with the $hits variable. The $hits array always returns an empty result set. I am using the same procedure mentioned in the tutorial. What could be the problem? Thanks. -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
[symfony-users] Jobeet Tutorial - routing problem
Hi there, I'm new to Symfony and decided to get familiar with it (btw. looks really great :)). I have a question related to the Jobeet tutorial - 5th chapter - routing, http://www.symfony-project.org/jobeet/1_4/Doctrine/en/05 After I've finished this chapter, I've tried to test the application in the production environment (cleaned cache several times): The homepage works well, but any other URL's keep telling me that the requested URL wasn't found.. Example: On homepage I click on Web Developer link: http://localhost:8082/job/sensio-labs/paris-france/1/web-developer (this doesn't work, the URL was generated by Symfony's routing framework) When I change the URL manually in the addressbar to: http://localhost:8082/index.php/job/sensio-labs/paris-france/1/web-developer It works. Since the first URL is generated by Symfony itself, I would expect it to work. What could be the problem? Could you please explain? I think I didn't miss anything in the tutorial, but one never knows :) Thank you for your response! Regards, martin -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
Re: [symfony-users] Jobeet Tutorial - routing problem
On Wed, 22 Sep 2010, martin wrote: The homepage works well, but any other URL's keep telling me that the requested URL wasn't found.. Example: On homepage I click on Web Developer link: http://localhost:8082/job/sensio-labs/paris-france/1/web-developer (this doesn't work, the URL was generated by Symfony's routing framework) When I change the URL manually in the addressbar to: http://localhost:8082/index.php/job/sensio-labs/paris-france/1/web-developer It works. This is the classic problem when either mod-rewrite isn't active or you dont have no_script_name switched on in your app settings... -- A -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
[symfony-users] jobeet tutorial
I am new to Symfony, I am currently stuck at the following command: php symfony doctrine:build --all --no-confirmation Notice: Undefined index: dbname in C:\dev\sfprojects\jobeet\lib\vendor \symfony\l ib\plugins\sfDoctrinePlugin\lib\vendor\doctrine\Doctrine \Connection.php on line 1472 doctrine SQLSTATE[42000]: Syntax error o...Failing Query: DROP DATABASE doctrine Creating dev environment doctrine database Notice: Undefined index: dbname in C:\dev\sfprojects\jobeet\lib\vendor \symfony\l ib\plugins\sfDoctrinePlugin\lib\vendor\doctrine\Doctrine \Connection.php on line 1439 doctrine SQLSTATE[42000]: Syntax error o...iling Query: CREATE DATABASE doctrine generating model classes file+ C:\Documents and Settings\dat\L...\Temp/doctrine_schema_22428.yml tokensC:/dev/sfprojects/jobeet/lib/mo...e/BaseJobeetAffiliate.class.php tokensC:/dev/sfprojects/jobeet/lib/mo...se/BaseJobeetCategory.class.php tokensC:/dev/sfprojects/jobeet/lib/mo...beetCategoryAffiliate.class.php tokensC:/dev/sfprojects/jobeet/lib/mo...ne/base/BaseJobeetJob.class.php autoload Resetting application autoloaders file- C:/dev/sfprojects/jobeet/cache/.../config/config_autoload.yml.php file- C:/dev/sfprojects/jobeet/cache/.../config/config_autoload.yml.php doctrine generating form classes tokensC:/dev/sfprojects/jobeet/lib/form/BaseForm.class.php tokensC:/dev/sfprojects/jobeet/lib/fo...seJobeetAffiliateForm.class.php tokensC:/dev/sfprojects/jobeet/lib/fo...CategoryAffiliateForm.class.php tokensC:/dev/sfprojects/jobeet/lib/fo...aseJobeetCategoryForm.class.php tokensC:/dev/sfprojects/jobeet/lib/fo...ase/BaseJobeetJobForm.class.php tokensC:/dev/sfprojects/jobeet/lib/fo...rine/BaseFormDoctrine.class.php tokensC:/dev/sfprojects/jobeet/lib/fo...e/JobeetAffiliateForm.class.php tokensC:/dev/sfprojects/jobeet/lib/fo...CategoryAffiliateForm.class.php tokensC:/dev/sfprojects/jobeet/lib/fo...ne/JobeetCategoryForm.class.php tokensC:/dev/sfprojects/jobeet/lib/fo...octrine/JobeetJobForm.class.php autoload Resetting application autoloaders file- C:/dev/sfprojects/jobeet/cache/.../config/config_autoload.yml.php doctrine generating filter form classes tokensC:/dev/sfprojects/jobeet/lib/fi...etAffiliateFormFilter.class.php tokensC:/dev/sfprojects/jobeet/lib/fi...ryAffiliateFormFilter.class.php tokensC:/dev/sfprojects/jobeet/lib/fi...eetCategoryFormFilter.class.php tokensC:/dev/sfprojects/jobeet/lib/fi...seJobeetJobFormFilter.class.php tokensC:/dev/sfprojects/jobeet/lib/fi...aseFormFilterDoctrine.class.php tokensC:/dev/sfprojects/jobeet/lib/fi...etAffiliateFormFilter.class.php tokensC:/dev/sfprojects/jobeet/lib/fi...ryAffiliateFormFilter.class.php tokensC:/dev/sfprojects/jobeet/lib/fi...eetCategoryFormFilter.class.php tokensC:/dev/sfprojects/jobeet/lib/fi...e/JobeetJobFormFilter.class.php autoload Resetting application autoloaders file- C:/dev/sfprojects/jobeet/cache/.../config/config_autoload.yml.php doctrine generating sql for models doctrine Generated SQL successfully for models doctrine creating tables SQLSTATE[HY000]: General error: 1005 Can't create table 'jobeet.#sql-8b0_21' ( errno: 121). Failing Query: ALTER TABLE jobeet_category_affiliate ADD CONSTRAIN T jobeet_category_affiliate_category_id_jobeet_category_id FOREIGN KEY (category _id) REFERENCES jobeet_category(id) ON DELETE CASCADE. Failing Query: ALTER TAB LE jobeet_category_affiliate ADD CONSTRAINT jobeet_category_affiliate_category_i d_jobeet_category_id FOREIGN KEY (category_id) REFERENCES jobeet_category(id) ON DELETE CASCADE Thanks in advance! -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
[symfony-users] Jobeet Tutorial | Day 17 with sf1.4.4
Hi ! I'm trying to include a search engine in my project with Zend_Search_Lucene according to the day 17 of the jobeet tutorial. I just copy/paste the code (http://www.symfony-project.org/jobeet/1_4/ Doctrine/en/17) and replace by my model name. When I do this task symfony doctrine:data-load I have an error PHP Strict Standards: Non-static method Doctrine_Table::getConnection() should not be called statically, assuming $this from incompatible context in [path_to_my_file] on line 46 Strict Standards: Non-static method Doctrine_Table::getConnection() should not be called statically, assuming $this from incompatible context in [path_to_my_file] on line 46 In fact, I use this in modelName.class.php : public function save(Doctrine_Connection $conn = null) { $conn = $conn ? $conn : SEOTable::getConnection(); [-- this is the 46th line] $conn-beginTransaction(); try { $ret = parent::save($conn); $this-updateLuceneIndex(); $conn-commit(); return $ret; } catch (Exception $e) { $conn-rollBack(); throw $e; } } Did I doing this wrong ? I guess I don't have to modify Doctrine_Table model... So what can I do ? Thanks for helping Bye~~ Vincent -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
[symfony-users] Jobeet Tutorial - Day 3 - databases.yml problem
Hi all, I'm new to Symfony and I'm going through the Jobeet tutorial v1.4 for Doctrine. I am currently stuck on Day 3. I've followed all the instructions on configuring the database and building models and modules; however, when I try to access http://localhost:8080/frontend_dev.php/; I receive the following error: Configuration config/databases.yml does not exist or is unreadable. My config/databases.yml file looks like this: all: doctrine: class: sfDoctrineDatabase param: dsn: 'mysql:host=localhost;dbname=jobeet' username: root password: mysecret I can't seem to figure out what's wrong. Any help would be appreciated. Thank you! - Tony -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
Re: [symfony-users] Jobeet Tutorial - Day 3 - databases.yml problem
I think yml files need two spaces as indent on all lines. It appears that after the word doctrine, the lines have only one space as indent. Also, I note the trailing / in your url. That should not be there. It should end in frontend_dev.php. If this solves it let me know which it was. From: Tony Peng tpen...@gmail.com To: symfony-users@googlegroups.com Sent: Wed, May 26, 2010 6:32:04 PM Subject: [symfony-users] Jobeet Tutorial - Day 3 - databases.yml problem Hi all, I'm new to Symfony and I'm going through the Jobeet tutorial v1.4 for Doctrine. I am currently stuck on Day 3. I've followed all the instructions on configuring the database and building models and modules; however, when I try to access http://localhost:8080/frontend_dev.php/; I receive the following error: Configuration config/databases.yml does not exist or is unreadable. My config/databases.yml file looks like this: all: doctrine: class: sfDoctrineDatabase param: dsn: 'mysql:host=localhost;dbname=jobeet' username: root password: mysecret I can't seem to figure out what's wrong. Any help would be appreciated. Thank you! - Tony -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
Re: [symfony-users] Jobeet Tutorial - Day 3 - databases.yml problem
thanks for the responses guys, but neither of those solutions seem to work. checking my database with phpmyadmin shows that all the fixtures seem to have loaded correctly so I don't think there would be anything wrong with my databases.yml On Wed, May 26, 2010 at 9:49 PM, Garry Freemyer garry...@pacbell.net wrote: I think yml files need two spaces as indent on all lines. It appears that after the word doctrine, the lines have only one space as indent. Also, I note the trailing / in your url. That should not be there. It should end in frontend_dev.php. If this solves it let me know which it was. From: Tony Peng tpen...@gmail.com To: symfony-users@googlegroups.com Sent: Wed, May 26, 2010 6:32:04 PM Subject: [symfony-users] Jobeet Tutorial - Day 3 - databases.yml problem Hi all, I'm new to Symfony and I'm going through the Jobeet tutorial v1.4 for Doctrine. I am currently stuck on Day 3. I've followed all the instructions on configuring the database and building models and modules; however, when I try to access http://localhost:8080/frontend_dev.php/; I receive the following error: Configuration config/databases.yml does not exist or is unreadable. My config/databases.yml file looks like this: all: doctrine: class: sfDoctrineDatabase param: dsn: 'mysql:host=localhost;dbname=jobeet' username: root password: mysecret I can't seem to figure out what's wrong. Any help would be appreciated. Thank you! - Tony -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -- Tony Zhixiang Peng Carnegie Mellon University '12 B.S. Information Systems (973)-842-5571 -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
[symfony-users] Jobeet tutorial | Day 3 | doctrine:insert-sql
I am new to Symfony and Doctrine and I am trying to work my way through the Jobeet tutorial (using v1.4). I am currently stuck at the following command: php symfony doctrine:insert-sql It gives me the following error in Terminal (I'm using a Mac 10.5.8): SQLSTATE[3D000]: Invalid catalog name: 1046 No database selected. Failing Query: CREATE TABLE jobeet_affiliate (id BIGINT AUTO_INCREMENT, url VARCHAR(255) NOT NULL, email VARCHAR(255) NOT NULL UNIQUE, token VARCHAR(255) NOT NULL, is_active TINYINT(1) DEFAULT '0' NOT NULL, created_at DATETIME NOT NULL, updated_at DATETIME NOT NULL, PRIMARY KEY(id)) ENGINE = INNODB. Failing Query: CREATE TABLE jobeet_affiliate (id BIGINT AUTO_INCREMENT, url VARCHAR(255) NOT NULL, email VARCHAR(255) NOT NULL UNIQUE, token VARCHAR(255) NOT NULL, is_active TINYINT(1) DEFAULT '0' NOT NULL, created_at DATETIME NOT NULL, updated_at DATETIME NOT NULL, PRIMARY KEY(id)) ENGINE = INNODB The preceding commands work fine: doctrine:build --model doctrine:build-sql It's just the insert-sql bit that doesn't work. I have been scouring the internet all day (8 hours straight) trying to find a solution to this. Any help would be hugely appreciated. I need to learn this Framework asap and get started using it on an important project so the pressure is really on. Thanks! -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
Re: [symfony-users] Jobeet tutorial | Day 3 | doctrine:insert-sql
On Tue, 11 May 2010, Kim Rowan wrote: I am new to Symfony and Doctrine and I am trying to work my way through the Jobeet tutorial (using v1.4). I am currently stuck at the following command: php symfony doctrine:insert-sql It gives me the following error in Terminal (I'm using a Mac 10.5.8): SQLSTATE[3D000]: Invalid catalog name: 1046 No database selected. Failing Query: CREATE TABLE jobeet_affiliate (id BIGINT AUTO_INCREMENT, url VARCHAR(255) NOT NULL, email VARCHAR(255) NOT NULL UNIQUE, token VARCHAR(255) NOT NULL, is_active TINYINT(1) DEFAULT '0' NOT NULL, created_at DATETIME NOT NULL, updated_at DATETIME NOT NULL, PRIMARY KEY(id)) ENGINE = INNODB. Failing Query: CREATE TABLE jobeet_affiliate (id BIGINT AUTO_INCREMENT, url VARCHAR(255) NOT NULL, email VARCHAR(255) NOT NULL UNIQUE, token VARCHAR(255) NOT NULL, is_active TINYINT(1) DEFAULT '0' NOT NULL, created_at DATETIME NOT NULL, updated_at DATETIME NOT NULL, PRIMARY KEY(id)) ENGINE = INNODB Did you try specifying the application and/or environment? symfony help doctrine:insert-sql -- -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
Re: [symfony-users] Jobeet Tutorial
On Thu, 11 Mar 2010, DEEPAK BHATIA wrote: I have created the jobeet tutorial but following command is failing php symfony propel:generate-module --with-show --non-verbose-templates frontend job JobeetJob Error Message:- [?php use_stylesheets_for_form($form) ?] [?php use_javascripts_for_form($form) ?] Fatal error: Class 'JobeetJobForm' not found in /home/sfprojects/jobeet/lib/vendor/symfony/lib/generator/sfModelGenerator.class.php on line 331 If you're following the tutorial, then it says you have to run: php symfony propel:build --all --no-confirmation to build everything including the forms and validators. -- -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
Re: [symfony-users] Jobeet Tutorial
Thanks, the response from symfony google groups is ogood that I prefer putting queries at the shot On Thu, Mar 11, 2010 at 7:16 PM, Eno symb...@gmail.com wrote: On Thu, 11 Mar 2010, DEEPAK BHATIA wrote: I have created the jobeet tutorial but following command is failing php symfony propel:generate-module --with-show --non-verbose-templates frontend job JobeetJob Error Message:- [?php use_stylesheets_for_form($form) ?] [?php use_javascripts_for_form($form) ?] Fatal error: Class 'JobeetJobForm' not found in /home/sfprojects/jobeet/lib/vendor/symfony/lib/generator/sfModelGenerator.class.php on line 331 If you're following the tutorial, then it says you have to run: php symfony propel:build --all --no-confirmation to build everything including the forms and validators. -- -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
[symfony-users] Jobeet Tutorial
Hi, I have created the jobeet tutorial but following command is failing php symfony propel:generate-module --with-show --non-verbose-templates frontend job JobeetJob Error Message:- [?php use_stylesheets_for_form($form) ?] [?php use_javascripts_for_form($form) ?] Fatal error: Class 'JobeetJobForm' not found in /home/sfprojects/jobeet/lib/vendor/symfony/lib/generator/sfModelGenerator.class.php on line 331 Best Regards Deepak Bhatia -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
[symfony-users] Jobeet Tutorial: jobs.yml data fixture example won't doctrine:data-load.
I'm aware that indentation should be spaces etc. Its the data fixture with php combined: jobs.yml I exactly copy paste the example and i still get this error. doctrine Loading data fixtures from /Use...g/Websites/jobeet/data/fixtures Unable to parse string: Unable to parse line 1 ( job_100:). http://www.symfony-project.org/jobeet/1_4/Doctrine/en/06: # Starts at the beginning of the line (no whitespace before) ?php for ($i = 100; $i = 130; $i++): ? job_?php echo $i ?: JobeetCategory: programming company: Company ?php echo $i.\n ? position: Web Developer location: Paris, France description: Lorem ipsum dolor sit amet, consectetur adipisicing elit. how_to_apply: | Send your resume to lorem.ipsum [at] company_?php echo $i ? .sit is_public:true is_activated: true token:job_?php echo $i.\n ? email:j...@example.com ?php endfor ? Please help because I really like to play with symfony (all day). -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
Re: [symfony-users] Jobeet Tutorial: jobs.yml data fixture example won't doctrine:data-load.
Try with this one: http://svn.jobeet.org/doctrine/trunk/data/fixtures/jobs.yml On Mon, Mar 1, 2010 at 14:44, Trung Huynh forrestgu...@gmail.com wrote: I'm aware that indentation should be spaces etc. Its the data fixture with php combined: jobs.yml I exactly copy paste the example and i still get this error. doctrine Loading data fixtures from /Use...g/Websites/jobeet/data/fixtures Unable to parse string: Unable to parse line 1 ( job_100:). http://www.symfony-project.org/jobeet/1_4/Doctrine/en/06: # Starts at the beginning of the line (no whitespace before) ?php for ($i = 100; $i = 130; $i++): ? job_?php echo $i ?: JobeetCategory: programming company: Company ?php echo $i.\n ? position: Web Developer location: Paris, France description: Lorem ipsum dolor sit amet, consectetur adipisicing elit. how_to_apply: | Send your resume to lorem.ipsum [at] company_?php echo $i ? .sit is_public: true is_activated: true token: job_?php echo $i.\n ? email: ...@example.com ?php endfor ? Please help because I really like to play with symfony (all day). -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
[symfony-users] jobeet tutorial Day3: ./symfony propel:build-model and Fetal error
Hi All, I am very new in Symfony ! :-) and this is my first post. I am getting Fetal error after running propel:build-model command in day3 of jobeet tutorial ! I also tried SVN (http://svn.jobeet.org/propel/tags/release_day_03) but result is same . my console output : s...@sid-t60:~/ws/php/jobeet$ ./symfony propel:build-model schemaconverting /home/sid/ws/php/jobeet/config/schema.yml to XML schemaputting /home/sid/ws/php/jobeet/config/generated-schema.xml propelRunning om phing task Buildfile: /home/sid/ws/php/jobeet/lib/vendor/symfony/lib/plugins/ sfPropelPlugin/lib/vendor/propel-generator/build.xml [resolvepath] Resolved /home/sid/ws/php/jobeet/config to /home/sid/ws/ php/jobeet/config propel-project-builder check-project-or-dir-set: propel-project-builder check-project-set: propel-project-builder set-project-dir: propel-project-builder check-buildprops-exists: propel-project-builder check-buildprops-for-propel-gen: propel-project-builder check-buildprops: propel-project-builder configure: [echo] Loading project-specific props from /home/sid/ws/php/ jobeet/config/propel.ini [property] Loading /home/sid/ws/php/jobeet/config/propel.ini propel-project-builder om: [phing] Calling Buildfile '/home/sid/ws/php/jobeet/lib/vendor/ symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/build- propel.xml' with target 'om' [property] Loading /home/sid/ws/php/jobeet/lib/vendor/symfony/lib/ plugins/sfPropelPlugin/lib/vendor/propel-generator/./ default.properties propel check-run-only-on-schema-change: propel om-check: propel mysqli-check: propel om: [echo] +--+ [echo] | | [echo] | Generating Peer-based Object Model for | [echo] | YOUR Propel project! | [echo] | | [echo] +--+ [phingcall] Calling Buildfile '/home/sid/ws/php/jobeet/lib/vendor/ symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/build- propel.xml' with target 'om-template' [property] Loading /home/sid/ws/php/jobeet/lib/vendor/symfony/lib/ plugins/sfPropelPlugin/lib/vendor/propel-generator/./ default.properties propel om-template: [propel-om] Processing: generated-schema.xml [propel-om] Processing Datamodel : JoinedDataModel [propel-om] - processing database : propel [propel-om] + jobeet_category [propel-om] - BaseJobeetCategoryPeer [builder: SfPeerBuilder] Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 30720 bytes) in /home/sid/ws/php/jobeet/lib/vendor/symfony/ lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/classes/propel/ engine/builder/om/php5/PHP5ObjectBuilder.php on line 684 Call Stack: 0.0003 106576 1. {main}() /home/sid/ws/php/jobeet/symfony:0 0.0062 513944 2. include('/home/sid/ws/php/jobeet/lib/vendor/ symfony/lib/command/cli.php') /home/sid/ws/php/jobeet/symfony:14 0.14798440552 3. sfSymfonyCommandApplication-run() /home/ sid/ws/php/jobeet/lib/vendor/symfony/lib/command/cli.php:20 0.15418739776 4. sfTask-runFromCLI() /home/sid/ws/php/ jobeet/lib/vendor/symfony/lib/command/ sfSymfonyCommandApplication.class.php:76 0.15428739776 5. sfBaseTask-doRun() /home/sid/ws/php/jobeet/ lib/vendor/symfony/lib/task/sfTask.class.php:77 0.27258897112 6. sfPropelBuildModelTask-execute() /home/sid/ ws/php/jobeet/lib/vendor/symfony/lib/task/sfBaseTask.class.php:63 0.30149321376 7. sfPropelBaseTask-callPhing() /home/sid/ws/ php/jobeet/lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/task/ sfPropelBuildModelTask.class.php:62 0.3768 16224088 8. sfPhing-runBuild() /home/sid/ws/php/jobeet/ lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/task/ sfPropelBaseTask.class.php:293 0.3768 16225800 9. Phing-runBuild() /home/sid/ws/php/jobeet/ lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/task/ sfPhing.class.php:33 0.4920 24039464 10. Project-executeTargets() /home/sid/ws/php/ jobeet/lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/ Phing.php:541 0.4920 24039464 11. Project-executeTarget() /home/sid/ws/php/ jobeet/lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/ Project.php:675 0.5067 24145608 12. Target-performTasks() /home/sid/ws/php/ jobeet/lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/ Project.php:702 0.5068 24145608 13. Target-main() /home/sid/ws/php/jobeet/lib/ vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/Target.php: 263 0.5068 24145608 14. Task-perform() /home/sid/ws/php/jobeet/lib/ vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/Target.php: 240 0.5079 24166144 15. PhingTask-main() /home/sid/ws/php/jobeet/ lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/ Task.php:253 0.5079 24166144 16.
[symfony-users] jobeet tutorial data model problem
Hi, I'm learning symfony from jobeet tutorial. In chapter 3, it shows creating data model. When i try to pre php symfony propel:build-schema /pre or pre php symfony propel:build-sql /pre commands it gives me error below. pre schemaconverting /home/grkn/public_h...obeet/config/schema.yml to XML schemaputting /home/grkn/public_html/...eet/config/generated-schema.xml propelRunning sql phing task BUILD FAILED Error reading project file [wrapped: /home/grkn/public_html/jobeet/lib/ vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/ build.xml:54:22: Error initializing nested element isset [wrapped: OrCondition (unknown) doesn't support the 'isset' creator/adder.]] Total time: 0.0997 seconds Error reading project file [wrapped: /home/grkn/public_html/jobeet/ lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel- generator/build.xml:54:22: Error initializing nested element isset [wrapped: OrCondition (unknown) doesn't support the 'isset' creator/ adder.]] Buildfile: /home/grkn/public_html/jobeet/lib/vendor/symfony/lib/ plugins/sfPropelPlugin/lib/vendor/propel-generator/build.xml [resolvepath] Resolved /home/grkn/public_html/jobeet/config to /home/ grkn/public_html/jobeet/config /pre Is there any solution for this problem? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~--~~~~--~~--~--~---
[symfony-users] jobeet tutorial backend app problem
Hello, I'm approximately following the jobeet (propel) tutorial using my own database. I went through the frontend application development and it all works as expected. Now I wanted to try the backend part of the tutorial so I created the app by running: ./symfony generate:app --escaping-strategy=on --csrf-secret=my own secrete backend Then I created a backend module for one of the tables (the table is named contact and the associate ORM class is Contact) by running: ./symfony propel:generate-admin backend Contact --module=contacts Now if I want to check the module in the Web browser I get the following error: Fatal error: Class 'ContactFormFilter' not found in /Path/To/My/webapp/ cache/backend/dev/modules/autoContacts/lib/ BaseContactsGeneratorConfiguration.class.php on line 331 The peace of code that the line 331 refers to is (with line numbers in the left column): 327 public function getFilterForm($filters) 328 { 329 $class = $this-getFilterFormClass(); 330 331 return new $class($filters, $this-getFilterFormOptions()); 332 } Does anyone have any ideas what is happening? Thank you very much, --Dan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~--~~~~--~~--~--~---
[symfony-users] Jobeet tutorial Don't display style in Job App
Hi Anyone. I'm new in symfony .I 'm reading jobeet tutorial. But now It don't display css and symfony tools menu on job app,Although it work in home page. What's problem? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~--~~~~--~~--~--~---
[symfony-users] jobeet tutorial
hai I m rightnow going through symfony jobeet tutorial. At the end of 3rd day after putting all the code when i run the module job in the browser i get what i wrote in index.php file as per the tutorial. I m new to the symfony .pls help me. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~--~~~~--~~--~--~---
[symfony-users] Jobeet Tutorial, Day 16, Propel edition
Hi. I start to follow jobeet tutorial and I'm now on 16-th day. When I try to get Web Service to work I get error and I don't know how to solve my problem. The testing file maked for testing web service trough day 16, when I start it it works ok only first run. After each successful test run I need to make symfony propel:data-load and to recreate my testing admin user. http://localhost.jobeet.dev/frontend_dev.php/api/list/sensio_labs/jobs.xml Fatal error: Call to undefined method sfRoute::getObjects() in C:\xxx\htdocs\workspace\jobeet\apps\frontend\modules\api\actions\actions.class.php on line 15 Call Stack #TimeMemoryFunctionLocation 10.025862784{main}( )..\frontend_dev.php:0 26.07077402120sfContext-dispatch( )..\frontend_dev.php:13 36.07077402248sfFrontWebController-dispatch( ) ..\sfContext.class.php:159 46.08307418992sfController-forward( ) ..\sfFrontWebController.class.php:48 56.45417805776sfFilterChain-execute( ) ..\sfController.class.php:245 66.45607813824sfRenderingFilter-execute( ) ..\sfFilterChain.class.php:53 76.45607814216sfFilterChain-execute( ) ..\sfRenderingFilter.class.php:33 86.45817819360sfCommonFilter-execute( ) ..\sfFilterChain.class.php:53 96.45817820304sfFilterChain-execute( ) ..\sfCommonFilter.class.php:29 106.46027825752sfExecutionFilter-execute( ) ..\sfFilterChain.class.php:53 116.46067826840sfExecutionFilter-handleAction( ) ..\sfExecutionFilter.class.php:42 126.46077827328sfExecutionFilter-executeAction( ) ..\sfExecutionFilter.class.php:76 136.46087827672sfActions-execute( ) ..\sfExecutionFilter.class.php:90 146.46397836232apiActions-executeList( ) ..\sfActions.class.php:53 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~--~~~~--~~--~--~---
[symfony-users] Jobeet Tutorial, Day 3, Doctrine edition
When setting up the ORM plugin, can someone explain why do we need to remove web/sfDOctrinePlugin folder? Its not really explained too well in the tutorial... -- --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~--~~~~--~~--~--~---
[symfony-users] jobeet tutorial routing problem
Hi, I am going through the jobeet tutorial. I have a little problem related with the routing. When I access the page with the URL, its coming properly. http://jobeet.localhost/index.php/job but when I click on link to Post a Job, it is taking me to http://jobeet.localhost/job/new and I am getting the following NOT FOUND error. Not Found The requested URL /job/new was not found on this server. I think there must be some simple configuration to correct it, could you please help me to fix the same. Thanks Harinath --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~--~~~~--~~--~--~---
[symfony-users] jobeet tutorial in pdf
Hi, Anybody here know about a pdf version of jobeet ? I try with pdfcrator, firefox (print at 70%) and little css adjustement,(hidden some headers, justify text, ...) but there are some bugs (especially with pre and code when code is too long). It will be fine to have a script to convert markdown from texts files to a pdf and create summary. And it will be aviable for all language. es version is in pdf but it seems it's a little bit more complicate for english version. What about filling a ticket. Thanks, Fabien. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~--~~~~--~~--~--~---
[symfony-users] Jobeet Tutorial - Doctrine
Is there a bug in day 6 of the Jobeet Tutorial for Doctrine, or am I doing something stupid somewhere? I've had the same thing happen twice now. The first time I backed my way out, and checked everything step by step. It seems that when I add the getWithJobs() method and then change the index action to use getWithJobs() I receive the following error: Unknown relation alias JobeetJob Everything works fine up to that point. Thanks for any help, Dean --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~--~~~~--~~--~--~---
[symfony-users] Jobeet tutorial for Doctrine
Hi, I've been following the Doctrine version of the Jobeet tutorial, but noticed that it just stopped after day 9. I see the Propel version for the last several days, but not the Doctrine version. I just wanted to ask if this version will still be posted, or if they're only doing the Propel version now. I'm really trying to learn about using Doctrine, so it is really useful. Thanks, Brandon --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~--~~~~--~~--~--~---
[symfony-users] Jobeet tutorial, day 1 - blank page
Hello - I am using windows vista. I am brand new to symfony and am trying to learn it via the Jobeet tutorial. I can't get past Day 1. I have installed everything exactly like the tutorial says and changed my apache file to look for the project under 'localhost:8080/ index.php' No matter what, I get a blank page when I try to access index.php. There are no php errors. There are no errors in the Apache error log. Here is my apache addendum to see just in case I made an error. # Be sure to only have this line once in your configuration NameVirtualHost 127.0.0.1:8080 # This is the configuration for Jobeet Listen 127.0.0.1:8080 VirtualHost 127.0.0.1:8080 DocumentRoot c:\development\sfprojects\jobeet\web DirectoryIndex index.php Directory c:\development\sfprojects\jobeet\web AllowOverride All Allow from All /Directory Alias /sf c:\development\sfprojects\jobeet\lib\vendor\symfony\data \web\sf Directory c:\development\sfprojects\jobeet\lib\vendor\symfony\data \web\sf AllowOverride All Allow from All /Directory /VirtualHost Any thoughts? Thanks, Blue --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~--~~~~--~~--~--~---