Development

Symfony11Documentation/myFirstProject (diff)

You must first sign up to be able to contribute.

Changes between Version 6 and Version 7 of Symfony11Documentation/myFirstProject

Show
Ignore:
Author:
halfer (IP: 217.79.216.190)
Timestamp:
08/26/08 12:20:04 (9 years ago)
Comment:

Removed items that have been fixed

Legend:

Unmodified
Added
Removed
Modified
  • Symfony11Documentation/myFirstProject

    v6 v7  
    33The following are errors found in http://www.symfony-project.org/tutorial/1_1/my-first-project. As errors are fixed, they may be edited out of this document, but readers are free to view previous versions should the old information prove helpful. 
    44 
    5 == FIXED: 1 == 
    6  
    7 I couldn't use a class called 'Comment' (it conflicted with phing). 
    8  
    9 Comments from "halfer": I didn't experience this on Vista/PHP 5.2.4, perhaps it's been fixed? 
    10  
    11 == 2 == 
     5== 1 == 
    126 
    137{{{ 
    5347 
    5448these values will be updated from that string 
    55 == 3 == 
    5649 
    57 {{{ 
    58 While you are at it, you can change the title of your pages. Edit the view configuration file of the application (sf_sandbox/apps/frontend/config/view.yml), locate the line showing the title key and change it to: 
     50== 2 == 
    5951 
    60 default: 
    61   http_metas: 
    62     content-type: text/html 
    63  
    64 metas: 
    65   title:        The best blog ever 
    66   robots:       index, follow 
    67   description:  symfony project 
    68   keywords:     symfony, project 
    69   language:     en 
    70 }}} 
    71  
    72 should say 
    73  
    74 {{{ 
    75 While you are at it, you can change the title of your pages. Edit the view configuration file of the application (sf_sandbox/apps/frontend/config/view.yml), locate the 'metas' section and change it to: 
    76   metas: 
    77     title:        The best blog ever 
    78     robots:       index, follow 
    79     description:  symfony project 
    80     keywords:     symfony, project 
    81     language:     en 
    82  
    83 make sure the 'metas' section is indented so that it lines up with 'http_metas' and 'stylesheets' 
    84 }}} 
    85  
    86  
    87 == 5 == 
    88 There is no default 'pretty' css file (main.css is empty) 
    89  
    90 == 7 == 
    91 Fatal error: Call to undefined method Post::__toString() in /Users/webdev/symfony/1.1/lib/plugins/sfPropelPlugin/lib/propel/widget/sfWidgetFormPropelSelect.class.php on line 88 
    92  
    93 I had to add the code below to the post model: 
    94  
    95 {{{ 
    96 function __toString() 
    97 
    98   return $this->getTitle(); 
    99 
    100 }}} 
     52There is no default 'pretty' css file (main.css is empty).