Re: Help! Invalid argument supplied for foreach() dbo_mysql.php

2007-02-14 Thread Seb
Hi Dom. This is quite interesting indeed. Of course we all know Linux *IS* case sensitive and Windows *isn't*... but I've always experienced Cake using the correct case. I wonder if that has anything to do with the table prefix...?! Also.. can you see if the DESC statement is checking for T_User o

Re: Help! Invalid argument supplied for foreach() dbo_mysql.php

2007-02-11 Thread DominiqueM
Hi Seb, Just tried accessing the Linux maching with Putty, MySql worked fine. The DB on the Server is already configured by a collegue of mine, so that shouldnt be the reason. I'm just wondering. I have a model object called User, but the debug statement says Cake is asking for user. Is that som

Re: Help! Invalid argument supplied for foreach() dbo_mysql.php

2007-02-11 Thread DominiqueM
Hi [EMAIL PROTECTED], The Database seems to be ok, on Mysql and Toad it checks out. I bumped up the Debug and it showed me something interesting: DESC `T_user' 'DB.T_user' doesn't exist The actual table is called T_User, could that be it? What is this Describe table query? In my model I expli

Re: Help! Invalid argument supplied for foreach() dbo_mysql.php

2007-02-11 Thread Seb
Hey Dom... How did you imported the data? I ran into a similar problem about a month ago after the mysql tables got locked in read only (phpMyAdmin displaying them as 'in use'). That's likely to happen if you use InnoDB tables and mysql is not properly shutdown. I'm assuming you knew that already

Re: Help! Invalid argument supplied for foreach() dbo_mysql.php

2007-02-11 Thread [EMAIL PROTECTED]
Hmmm. Looks like a simple describe table query in the code that's returning nothing, hence the error. Did the database transfer OK? Have you got something like phpMyAdmin running on the Linux server to check the tables? On Feb 12, 1:58 pm, "DominiqueM" <[EMAIL PROTECTED]> wrote: > Hija, > > Pr

Help! Invalid argument supplied for foreach() dbo_mysql.php

2007-02-11 Thread DominiqueM
Hija, Problem: Deployment of a functional App (Windows XAMP PHP 4) to a Suse Linux Server causes the error mentioned above to appear when i try to access app on server. Warning: Invalid argument supplied for foreach() in /usr/share/php/ cake/cake/libs/model/dbo/dbo_mysql.php on line 171 Does an