Issue Details (XML | Word | Printable)

Key: ZF-7920
Type: Docs:  Problem Docs: Problem
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Dolf Schimmel (Freeaqingme)
Reporter: Nick Thornley
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Google issue summary
Zend Framework

The example code db adapter declaration in Quickstart guide assumes a case-insensitive file system

Created: 22/Sep/09 07:46 AM   Updated: 24/Sep/09 05:40 PM   Resolved: 24/Sep/09 05:40 PM
Component/s: None
Affects Version/s: 1.9.3
Fix Version/s: 1.9.4

Time Tracking:
Not Specified

Language: English


 Description  « Hide

See: http://framework.zend.com/docs/quickstart/create-a-model-and-database-table

Diff:
-resources.db.adapter = "PDO_SQLITE"
+resources.db.adapter = "Pdo_Sqlite"

From the code sample:
; application/configs/application.ini

; Add these lines to the appropriate sections:
[production]
resource.db.adapter = "PDO_SQLITE"



Dolf Schimmel (Freeaqingme) added a comment - 24/Sep/09 05:40 PM

This was an unfortunate mistake in 1.9.3 which was reverted/fixed in 1.9.3PL1, released a few hours (tnx Matthew!) after 1.9.3.

See also the release announcement of 1.9.3PL1:
"The BC break reported had to do with Zend_Db::factory() and how it handled adapter names. In
our API docs, we have listed the adapter name as being case insensitive, though in the end-user documentation, no examples actually showed this use case. The use case in question was to pass the adapter name in all capitals or all lowercase: e.g., "PDO_MYSQL", "pdo_mysql". A recent bugfix to allow passing in MixedCase segments in adapter prefixes and names invalidated this case. While we feel the fix was correct, unfortunately a number of users were affected by the change, and we felt it necessary to revert a portion of the changeset to ensure the previously mentioned case insensitive use cases would continue to work."

Source: http://devzone.zend.com/article/10063-Zend-Framework-1.9.3PL1-Released

I assume upgrading to 1.9.3PL1 fixes your issue.