[Solar-talk] PHP Fatal error: Uncaught exception'Solar_Controller_Page_Exception_DuringFetch'

Paul M Jones pmjones at ciaweb.net
Tue Nov 13 15:51:33 CST 2007


On Nov 13, 2007, at 3:44 PM, Kilbride, James P. wrote:

> I think part of our problem(for example database name being in all  
> caps was causing some of the original errors) is that we have to  
> connect to existing tables at times that solar wouldn't be creating  
> and which we will not have control over the naming structure. Does  
> solar always lowercase table names when looking for them(so if they  
> are in the database in all caps it's going to fail?) or does it  
> preserve the capitalization of the names when we put them into the  
> fields? I seem to get the impression that it is not preserving  
> capitalization quite right.

Hm, iirc it does try to force everything to lower-case for  
portability reasons.  If we need to, I think we can create a  
MysqlOnly adapter that leaves everything alone and doesn't try to do  
portability stuff.  However, switching away from that to another  
adapter may reveal portability issues.

Sorry for the trouble, let me know if that idea would help (or not).



--

Paul M. Jones  <http://paul-m-jones.com>

Solar: Simple Object Library and Application Repository
for PHP5.  <http://solarphp.com>

Join the Solar community wiki!  <http://solarphp.org>

Savant: The simple, elegant, and powerful solution for
templates in PHP.  <http://phpsavant.com>




More information about the Solar-talk mailing list