Tuesday, March 30, 2010

Cake 1.2.6 - Can't bake anything

So, I'm new to Cake...that being said, I followed all the directions
and went through the blog tutorial, so I have a tender grasp of how
it's supposed to work.

I tried baking my first application today and have met with nothing
but failure. While I was able to set up the console without any
errors, and I was able to bake the project and set up the database
correctly, anytime I tried to bake the models or run 'bake all' I was
met with:

Bake All
---------------------------------------------------------------
PHP Warning: mssql_connect(): Unable to connect: SQL Server is
unavailable or d
oes not exist. Connection is busy. (severity 9) in C:\Inetpub\wwwroot
\cake12\ca
ke\libs\model\datasources\dbo\dbo_mssql.php on line 144

Warning: mssql_connect(): Unable to connect: SQL Server is unavailable
or does n
ot exist. Connection is busy. (severity 9) in C:\Inetpub\wwwroot
\cake12\cake\li
bs\model\datasources\dbo\dbo_mssql.php on line 144
PHP Warning: mssql_connect(): Unable to connect to server:
itsql.oar.tamu.edu
in C:\Inetpub\wwwroot\cake12\cake\libs\model\datasources\dbo
\dbo_mssql.php on li
ne 144

Warning: mssql_connect(): Unable to connect to server:
itsql.oar.tamu.edu in C:
\Inetpub\wwwroot\cake12\cake\libs\model\datasources\dbo\dbo_mssql.php
on line 14
4
PHP Warning: mssql_select_db(): supplied argument is not a valid MS
SQL-Link re
source in C:\Inetpub\wwwroot\cake12\cake\libs\model\datasources\dbo
\dbo_mssql.ph
p on line 151

Warning: mssql_select_db(): supplied argument is not a valid MS SQL-
Link resourc
e in C:\Inetpub\wwwroot\cake12\cake\libs\model\datasources\dbo
\dbo_mssql.php on
line 151
PHP Warning: mssql_query(): supplied argument is not a valid MS SQL-
Link resour
ce in C:\Inetpub\wwwroot\cake12\cake\libs\model\datasources\dbo
\dbo_mssql.php on
line 175

Warning: mssql_query(): supplied argument is not a valid MS SQL-Link
resource in
C:\Inetpub\wwwroot\cake12\cake\libs\model\datasources\dbo
\dbo_mssql.php on line
175
Error: Your database does not have any tables.

I see several of these errors on the cakephp forum, with no real
answer. Does anybody have a clue as to what I might be doing wrong?

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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

To unsubscribe, reply using "remove me" as the subject.

No comments: