Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > PHP/MySQL > BOOK: Building PHP Applications with Symfony, CakePHP, and Zend Framework
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old January 16th, 2012, 01:18 PM
Registered User
Points: 8, Level: 1
Points: 8, Level: 1 Points: 8, Level: 1 Points: 8, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
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...
Reply With Quote
  #2 (permalink)  
Old January 17th, 2012, 02:27 PM
Registered User
Points: 8, Level: 1
Points: 8, Level: 1 Points: 8, Level: 1 Points: 8, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
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.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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 08:34 PM
Ch. 10 Directory listing superkooi BOOK: Beginning ASP 3.0 1 March 3rd, 2005 06:39 AM



All times are GMT -4. The time now is 09:22 PM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.