On Sep 29, 2006, at 1:21 PM, [EMAIL PROTECTED] wrote:

>
> Hi, all,
>
> I ran through the tutorial at
> http://manual.cakephp.org/appendix/blog_tutorial%22, and after
> modifying MySQl to use old passwords (since I'm using PHP4.4.1 and  
> it's
> not set to use MySQLi), and messing around with the mod_rewrite
> settings as much as I can stomach, I still can't get the site up and
> running.  Just to be double-sure, I copied all the text from the
> tutorial into files with the proper plurality and capitalization etc.
>
> I'm getting the following:
>
> Parse error: parse error, expecting `T_OLD_FUNCTION' or  
> `T_FUNCTION' or
> `T_VAR' or `'}'' in /Library/WebServer/Documents/app/models/ 
> post.php on
> line 3
>
> Line 3, from the website:
> class Post extends AppModel

Should be

class Post extends AppModel {

That is, if the character '{' is the very next one after 'AppModel'.

-- John

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to