Look like mysql module is not loaded, try:

sudo aptitude install php5-mysql

make sure <?php phpino();  shows mysql stuff too...


Andras Kende
http://www.kende.com


On Jan 5, 2011, at 9:47 PM, Dave Maharaj wrote:

> Yep Im the on setting up the new install on nginx but something unrelated 
> maybe?
>  
> Im getting Fatal error: Call to undefined function mysql_query() in / 
> libs/1.3.6/cake/libs/model/datasources/dbo/dbo_mysql.php on line 600
>  
> Anyone have anyideas why? The site im attempting to put up just came off a 
> media temple DV and im simply popping it onto a different server so the site 
> was working previously (as in same cake / same app ) so nothing changed in 
> the site its self other than where its sitting and the OS of the server 
> (Ubunto Lucid 10.04 now).
>  
> Thanks,
>  
> Dave
> 
> Check out the new CakePHP Questions site http://cakeqs.org and help others 
> with their CakePHP related questions.
>  
> You received this message because you are subscribed to the Google Groups 
> "CakePHP" group.
> To post to this group, send email to cake-php@googlegroups.com
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
> http://groups.google.com/group/cake-php?hl=en

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to