Wrox Programmer Forums
|
BOOK: Building PHP Applications with Symfony, CakePHP, and Zend Framework
This is the forum to discuss the Wrox book Building PHP Applications with Symfony, CakePHP, and Zend Framework by Bartosz Porebski, Karol Przystalski, Leszek Nowak; ISBN: 978-0-470-88734-9
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Building PHP Applications with Symfony, CakePHP, and Zend Framework section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 16th, 2012, 02:18 PM
Registered User
 
Join Date: Jan 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Ch 2 - CakePHP controllers directory named Controller

Downloaded the latest stable CakePHP v2.05 to a Ubuntu Linux platform and extracted it and there is no controllers directory under the app directory to place the hello_controller.php file in. There is a directory called Controller under app with a capital 'C' but no ending 's' .

Either this file goes in the Controller directory or the controllers directory needs to be created. Guess I'll find out...
 
Old January 17th, 2012, 03:27 PM
Registered User
 
Join Date: Jan 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Ch 2 - CakePHP controllers directory named Controller - update

Yep.

As I surmised, several directories (Controller) in the newest version of CakePHP leave off the plural 's' and are now capitalised which the latter on Linux systems can cause folks some confusion. Windows of course doesn't care as it is not case sensitive.

So, beware code examples referencing sub-directories of the apps directory as some have changed in v2.x.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 4 - CakePHP Form ID Passing fix Akira71 BOOK: Building PHP Applications with Symfony, CakePHP, and Zend Framework 3 April 6th, 2011 07:40 AM
Controllers chillbill7 BOOK: Professional CodeIgniter ISBN: 978-0-470-28245-8 1 March 16th, 2009 10:13 AM
controllers/welcome.php throwing error modelreject BOOK: Professional CodeIgniter ISBN: 978-0-470-28245-8 4 March 16th, 2009 10:09 AM
Can not create virtual directory for Ch 16 folder cJeffreywang BOOK: Professional VB 2005 ISBN: 0-7645-7536-8 2 February 16th, 2008 09:34 PM
Ch. 10 Directory listing superkooi BOOK: Beginning ASP 3.0 1 March 3rd, 2005 07:39 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.