Hi Sam and Solider, Thanks very much for the responses.
Yes you're right, I should have been much more explicit. Let me run over things further. I have already successfully set up some scaffolding on the wampserver with cakephp. It works fine and is CRUD ready working with the database. I get all the friendly "your stuff works" messages in the index of my app. "Your database configuration file is present." "Cake is able to connect to the database." I ran through the initial cake bake routine involving the set up of the application folder and database connection. The error message is: Fatal error: Call to undefined function mysql_connect() in C:\wamp\www \portal\cake\libs\model\datasources\dbo\dbo_mysql.php on line 117 I get this error when I'm in C:/wamp/www/portal/cake/app and type "cake bake" then "m", "v", or "c" to start working on models, views or controllers. This is the same app folder that has a couple models successfully scaffolded. I HAD (or so I think it is just had) a version of MySQL, Apache, and PHP set up on my box prior to installing Wamp. However, I removed MySQL and Apache via the Windows "Add / Remove Programs" Features. This morning I also deleted their folders from my "Program Files" folder. I also have already set up C:/wamp/www/portal/cake/console on my Windows PATH list via the System > Advanced Tab > Environment Variables. I can run the console from any directory now. Lastly, I am very foreign to using the command line. I ran dos computer games when I was a kid, that's about it. So nothing really in 10 years! Now... direct responses to your questions: Sam: I have not done a simple connection test. I believe the working scaffolding is proof enough mysql is working? Or do you mean a cmd line test? If so, could you help me go about doing that? Wampserver comes prepackaged with apache, mysql, and php. The versions should work together fine. I have a full APP working on my home box just fine with the same Wampserver build, but I have never run the bake cmd line utility with it. I'm not sure what you mean by PHP Windows List? You mean a different discussion group? Soldier: 1) cake bake initializes and I've ran through the basic set up, so I believe php is working fine from the cmd line, unless bake isn't php based? 2) done. 3) bake works fine from any directory based on 2. (4) ? Yeppers the gauge is all white. (5) ? Posted above. 6 ? Discussed above. I have a service called mysqld-nt.exe running on my machine. Is that related to wamp? Unrelated and problematic? Unrelated and a non-issue. Thanks again, if anything I've said points to a problem or you can think of more information that might help troubleshoot, I'm all ears! (well eyes!). On Oct 25, 7:30 pm, "soldier.coder" <[EMAIL PROTECTED]> wrote: > One more thing... It is hard to diagnose the problem without seeing > the exact symptoms. Could you post the exact text of the error? > > And... do you have a prior version of MySql running as a service? > > Just some thoughts. > > On Oct 24, 5:41 pm, Merk <[EMAIL PROTECTED]> wrote: > > > > > Hi, > > > I have an installation of wampserver version 2.0 on my machine. I'm > > attempting to use the cake bake console from the command line. When I > > do so, I get mysql_undefined errors. > > > Obviously the first step is to check the php.ini's to ensure > > the .dll's aren't commented out. I've checked 3 different .ini files > > on my machine under the wamp directory, and all show this is enabled. > > > php_info(); shows mysql is running. > > > I even found a php_old.ini in the windows folder on my machine and > > enabled the extensions there. No luck. > > > Has anyone else run into this problem with wampserver? Any ideas to > > troubleshoot?- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
