I posted before that I couldn't ever get the blog tutorial to work after I installed cakephp 1.18. So I downloaded 1.2 beta and now everything works. Don't know why but I worked many hours trying to get 1.18 to work and never got it. I tried everything that people suggested but couldn't get it to work before.
My newbie tips for windows / apache users. I am not an expert but this is what worked for me. Now I can start learning how to use it finally. I had to follow the mod rewrite instructions in the manual. Uncomment load mod rewrite in your php.ini and perhaps change to "allow from all" in your apache conf as stated in the instructions. You can tell when it works when the cake index looks like the style sheet is working. My document root in apache httpd.conf file is C:/public_html. This is where I keep all my websites and is the localhost for the server. I am using the development set up so I have a folder called cake, containing all the cake folders and files, in C:/public_html/ cake/. So to see the cake index, type in: http://localhost/cake/ in your browser. Create a database file, copying the default one, and create a cake database using your username and password. I used phpmyadmin to check it. The cake index page will report that it can connect to the database. In the blog tutorial, change all the view .thtml files to end with .ctp extension. Point your browser to: http://localhost/cake/posts/index For an example view file cake/app/views/posts/index.ctp Change the html helper in forms to form helper which I heard was new with cakephp 1.2. <?php echo $form->submit('Login'); ?> instead of the deprecated <?php echo $html->submit('Login'); ?> Anyway the blog tutorial works pretty well now. There is a TagAsError method that is deprecated but I haven't found a new one to replace. The blog still works without it. Hope this helps others. Jova --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
