Hi, I've just installed cakephp and I'm really looking forward to getting used to it but I'm having a problem accessing files saved in the folders that come with cakephp.
I was following the blog example, where I saved post.php in the model folder, posts_controller in the controller folder and hello_world(action) in the posts folder under view. I am using wampserver and phpmyadmin for the database. The database is called caketest and table posts. I have edited the configuration file and other files so it is all set up and there are no errors on the release notes page as shown below: Your tmp directory is writable. The FileEngine is being used for caching. To change the config edit APP/config/core.php Your database configuration file is present. Cake is able to connect to the database. However, localhost can only run files saved in the www directory folder. I have put the cakephp folder in the www folder but I can't run any files saved inside of the cakephp folder only files directly in the www folder. I just get the error - 'The requested URL was not found on the server'. I think the problem is quite simple and it something to do with this -' As such, make sure the /app/tmp directory in your cake installation is writable by the web server user.' Not sure how to make the files saved in cakephp open on the localhost basically. http://www.youtube.com/watch?v=8D7cdja8OXA&feature=related That is the tutorial I was following, also was wondering how to save a file as cpt on web expression aswell as I wasnt able to do that for the views. Any help would be greatly appreciated, Thanks Rob -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
