can't find phpAdmin using Xampp to create a table
I am getting a cakephp web page when I type localhost. I am trying to follow the cakephp tutorial and create the first table. I don't know how to find the mysql phpMyAdmin to create the table in Xampp? I thought I got it by typing localhost/xampp or something like that. NOw all I get is some information about Cakephp. I tried localhost:80/myphpadmin. I assume you still need myphpadmin to create a table. It must be here somewhere since xampp is running and I get a cakephp web page. thanks, --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
missing controller, can't get http://localhost/xampp
Sorry I sent an earlier message but I didn't explain very well. I installed phpCake. I have Xampp version of apache and mysql server for localhost testing which earlier worked. If I typed http://localhost/xampp I would get a list of tools and status and so forth. Now if I type http://localhost/xampp/phpinfo.php or http://localhost/xampp. I get missing controller errors. I need to access http://localhost/xampp page to use the phpadmin tool to create a table for the tutorial. How can I reroute the xampp page index so that it works so that I can use the admin tool? thanks, --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
configuring cakePHP,
I am using Xampp I put the unpacked cake folders in the htdocs folder. I restarted it after I did the following in httpd.conf: LoadModule rewrite_module modules/mod_rewrite.so AllowOverride All I typed http://localhost/example.com. I didn't get an example page but I did get this message: CakePHP Rapid Development Not found The requested address example.com was not found on this server. I am using a PC with Windows Vista. I noticed that after I opened the .htaccess file and the httpd.conf files in Notepad that the name of the files diappeared next to the picture of the file although the name looks right in the properties. I guess Windows hid the filename. I guess I didn't need to open the httpd.conf files except to try to figure out what mod rewrite is all about. In any case my basic question is why can't I get the example.com to see if the configuration works or not and since I did get some information about CAke does that mean it might be working and what else do I need to do to get it working. thanks, --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: newbie question
thanks, - Original Message From: techiguy [EMAIL PROTECTED] To: CakePHP cake-php@googlegroups.com Sent: Wednesday, October 8, 2008 8:44:23 PM Subject: Re: newbie question yes ofcource u can use with XAMPP on windows. i am also working on that with out any problem. before u start make sure u have checked the configuration of your local server http://book.cakephp.org/view/333/A-Note-on-mod_rewrite hope this helps you On Oct 9, 7:14 am, JRough [EMAIL PROTECTED] wrote: I want to try out Cakephp. Do you know if I can use it with XXAMP on Windows just for testing or do I have to install it on a real server? thanks, --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: newbie question
WEll this is just a test I'll do it on a server later - Original Message From: [EMAIL PROTECTED] [EMAIL PROTECTED] To: cake-php@googlegroups.com Sent: Wednesday, October 8, 2008 8:09:52 PM Subject: Re: newbie question I think it may be best if you use a real server! On 10/08/2008, JRough [EMAIL PROTECTED] wrote: I want to try out Cakephp. Do you know if I can use it with XXAMP on Windows just for testing or do I have to install it on a real server? thanks, -- Xavier A. Mathews Student/Developer/Web-Master GG Client Based Tech Support Specialist Hazel Crest Illinois [EMAIL PROTECTED] Fear of a name, only increases fear of the thing itself. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: newbie question
I just installed it. Sorry I didn't research the list further. I do have another question on the tutorial. I tried running these sql create statements and they didn't work. I got 2 errors. I wonder why? 1 SQL query: CREATE TABLE posts( id INT UNSIGNED AUTO_INCREMENT PRIMARY KEY , title VARCHAR( 50 ) , body TEXT, created DATETIME DEFAULT NOT NULL , modified DATETIME DEFAULT NOT NULL ) MySQL said: #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'NOT NULL, modified DATETIME DEFAULT NOT NULL )' at line 5 2 SQL query: 1INSERT INTO posts( title, body, created ) VALUES ( 'Title strikes back', 'This is really exciting Not.', NOW( ) ); MySQL said: #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '1INSERT INTO posts (title,body,created) VALUES ('Title strikes back', 'This ' at line 1 here is the query i didn't run it with the numbers. The first error I got rid of was the word default on line 6. Why can't the default be not null?: 1. /* First, create our posts table: */ 2. CREATE TABLE posts ( 3. id INT UNSIGNED AUTO_INCREMENT PRIMARY KEY, 4. title VARCHAR(50), 5. body TEXT, 6. created DATETIME DEFAULT NOT NULL, 7. modified DATETIME DEFAULT NOT NULL 8. ); 9. /* Then insert some posts for testing: */ 10. INSERT INTO posts (title,body,created) 11. VALUES ('The title', 'This is the post body.', NOW()); 12. INSERT INTO posts (title,body,created) 13. VALUES ('A title once again', 'And the post body follows.', NOW()); 14. INSERT INTO posts (title,body,created) 15. VALUES ('Title strikes back', 'This is really exciting! Not.', NOW());This might be a mysql question but I'm trying to get the cake php tutorial to work. - Original Message From: Gabriel Kolbe [EMAIL PROTECTED] To: cake-php@googlegroups.com Sent: Thursday, October 9, 2008 2:55:42 AM Subject: Re: newbie question I user Xampp, and it works like a dream !! On Thu, Oct 9, 2008 at 4:09 AM, [EMAIL PROTECTED] wrote: I think it may be best if you use a real server! On 10/08/2008, JRough [EMAIL PROTECTED] wrote: I want to try out Cakephp. Do you know if I can use it with XXAMP on Windows just for testing or do I have to install it on a real server? thanks, -- Xavier A. Mathews Student/Developer/Web-Master GG Client Based Tech Support Specialist Hazel Crest Illinois [EMAIL PROTECTED] Fear of a name, only increases fear of the thing itself. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: newbie question
Disregard this message, sorry, I ran the query again without the word default and it worked without any errors. - Original Message From: Janis Rough [EMAIL PROTECTED] To: cake-php@googlegroups.com Sent: Thursday, October 9, 2008 8:06:16 AM Subject: Re: newbie question I just installed it. Sorry I didn't research the list further. I do have another question on the tutorial. I tried running these sql create statements and they didn't work. I got 2 errors. I wonder why? 1 SQL query: CREATE TABLE posts( id INT UNSIGNED AUTO_INCREMENT PRIMARY KEY , title VARCHAR( 50 ) , body TEXT, created DATETIME DEFAULT NOT NULL , modified DATETIME DEFAULT NOT NULL ) MySQL said: #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'NOT NULL, modified DATETIME DEFAULT NOT NULL )' at line 5 2 SQL query: 1INSERT INTO posts( title, body, created ) VALUES ( 'Title strikes back', 'This is really exciting Not.', NOW( ) ); MySQL said: #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '1INSERT INTO posts (title,body,created) VALUES ('Title strikes back', 'This ' at line 1 here is the query i didn't run it with the numbers. The first error I got rid of was the word default on line 6. Why can't the default be not null?: 1. /* First, create our posts table: */ 2. CREATE TABLE posts ( 3. id INT UNSIGNED AUTO_INCREMENT PRIMARY KEY, 4. title VARCHAR(50), 5. body TEXT, 6. created DATETIME DEFAULT NOT NULL, 7. modified DATETIME DEFAULT NOT NULL 8. ); 9. /* Then insert some posts for testing: */ 10. INSERT INTO posts (title,body,created) 11. VALUES ('The title', 'This is the post body.', NOW()); 12. INSERT INTO posts (title,body,created) 13. VALUES ('A title once again', 'And the post body follows.', NOW()); 14. INSERT INTO posts (title,body,created) 15. VALUES ('Title strikes back', 'This is really exciting! Not.', NOW());This might be a mysql question but I'm trying to get the cake php tutorial to work. - Original Message From: Gabriel Kolbe [EMAIL PROTECTED] To: cake-php@googlegroups.com Sent: Thursday, October 9, 2008 2:55:42 AM Subject: Re: newbie question I user Xampp, and it works like a dream !! On Thu, Oct 9, 2008 at 4:09 AM, [EMAIL PROTECTED] wrote: I think it may be best if you use a real server! On 10/08/2008, JRough [EMAIL PROTECTED] wrote: I want to try out Cakephp. Do you know if I can use it with XXAMP on Windows just for testing or do I have to install it on a real server? thanks, -- Xavier A. Mathews Student/Developer/Web-Master GG Client Based Tech Support Specialist Hazel Crest Illinois [EMAIL PROTECTED] Fear of a name, only increases fear of the thing itself. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---