Re: New to Cake PHP.

2013-10-12 Thread majna
Enable pdo-mysql extension in php.ini and restart web server. http://www.php.net/manual/en/pdo.installation.php majna On Friday, October 11, 2013 10:26:37 AM UTC+2, Shikhar kumar wrote: Hello, I have installed cake php version 2.4.1 but I am stuck to install it.My PHP version is 5.3.18.

Re: New to Cake PHP.

2013-10-12 Thread Leandro Machado Pereira
enable in php.ini in your installation. 2013/10/11 Shikhar kumar kke.shik...@gmail.com Hello, I have installed cake php version 2.4.1 but I am stuck to install it.My PHP version is 5.3.18. It shows the error:Class PDO not found.My question is: 1.What is Class PDO.? 2.How can I enable

New to Cake PHP.

2013-10-11 Thread Shikhar kumar
Hello, I have installed cake php version 2.4.1 but I am stuck to install it.My PHP version is 5.3.18. It shows the error:Class PDO not found.My question is: 1.What is Class PDO.? 2.How can I enable it? Please help. -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter

New to Cake -- Security Questions

2013-10-09 Thread schenkerstudio
Greetings, I am new to CakePHP. I've tested several other frameworks (Laravel, CodeIgniter, Symfony, Yii, and even a clever little one called PHPixie). My choice is to go with CakePHP for various reasons, but mostly because it makes sense to me. I like everything I see about CakePHP, but I

Re: New to Cake -- Security Questions

2013-10-09 Thread schenkerstudio
Sorry for the double post! My previous post seemed lost until after I posted this one! On Wednesday, October 9, 2013 12:48:03 PM UTC-4, schenke...@gmail.com wrote: Greetings, I am new to CakePHP. I've tested several other frameworks (Laravel, CodeIgniter, Symfony, Yii, and even a clever

Re: New to Cake(2.0) Form Model Questions

2012-02-11 Thread rchavik
On Friday, 10 February 2012 19:16:31 UTC+7, janimal wrote: The problem is trying to do the following Get the form to show the invoice_id passed to the controller method as a read only - non-drop down and to pass that back to the controller for the save once the user has entered the

New to Cake(2.0) Form Model Questions

2012-02-10 Thread janimal
Hi All, In order to learn cake I created a simple database to model invoices It has three tables clients - hasMany - invoices - hasMany - lineitems I then used cake bake to create a starting app. When viewing an Invoice it automatically displays the related LineItems as expected. Then under

New developer; Cake is NOT able to connect to the database.

2011-09-06 Thread Jeremy Williams
Your tmp directory is writable. The FileEngine is being used for caching. To change the config edit APP/config/core.php Your database configuration file is present. Cake is NOT able to connect to the database. I am going through the blog tut on: http://book.cakephp.org/view/1528/Blog and for

Re: New developer; Cake is NOT able to connect to the database.

2011-09-06 Thread Teddy Zeenny
1. Make sure you are working in /app/config/database.php and NOT in /app/config/database.php.default 2. Make sure mysql is on (try to access it using phpmyadmin for example) 3. Make sure you already created a database called 'cakeblog_dtd' 4. Double check your username and password. Are

Re: New developer; Cake is NOT able to connect to the database.

2011-09-06 Thread Jeremy Williams
everything you said was previously done, other than #4. does the username have to be the username and pass for the computer account i am on? how exactly do i define a username and password cuz i just made up a random one for testing. -- Our newest site for the community: CakePHP Video Tutorials

Re: New developer; Cake is NOT able to connect to the database.

2011-09-06 Thread Teddy Zeenny
It's not the computer account's credentials. It is mysql's username and password. If you haven't set any, I would try this: var $default = array( 'driver' = 'mysql', 'persistent' = 'false', 'host' = 'localhost', 'port' = '', 'login' = 'root', 'password'

Re: New developer; Cake is NOT able to connect to the database.

2011-09-06 Thread Jeremy Burns | Class Outfit
It'll be the username and password for the database, not the computer. By default, the username is probably 'root' and a blank password. If it's not, yo'll need to find out what credentials are need to access that database. Jeremy Burns Class Outfit http://www.classoutfit.com On 6 Sep 2011,

Re: New developer; Cake is NOT able to connect to the database.

2011-09-06 Thread Jeremy Williams
changed the username to 'root' and it connected! thanks guys! -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this

Re: New developer; Cake is NOT able to connect to the database.

2011-09-06 Thread Ma'moon
Just a quick small hint, never use root account for production, instead create another database user and grant for it the desired permissions. and by the way, if root worked for you then clearly you have a problem with the previous user's permissions or existence. On Tue, Sep 6, 2011 at 1:24 PM,

Re: New to Cake DB Help

2011-04-12 Thread LipeDjow
I just would change charset to utf8. Ahh.. and group is a good choice. :P LipeDjow -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To

New to Cake DB Help

2011-04-09 Thread Logan Best
Hi, I am new to CakePHP and wasn't really understanding the database structure naming conventions entirely, or maybe I am, I don't know. I was mainly wondering if someone could rewrite this DB Structure to the appropriate naming convention: CREATE TABLE `Ambiance` ( `ID` int(11) not null,

Re: New to Cake DB Help

2011-04-09 Thread cricket
On Fri, Apr 8, 2011 at 9:23 PM, Logan Best loganbes...@gmail.com wrote: Hi, I am new to CakePHP and wasn't really understanding the database structure naming conventions entirely, or maybe I am, I don't know. I was mainly wondering if someone could rewrite this DB Structure to the

Re: New to cake and need advice

2011-01-29 Thread sudarshana sampath
everyone Am new to cake and php but I have 5 - 6 years of coding experience in c/c++. I have basic php knowledge through w3schools, I am in doubt whether starting with cake is a good decision or not, am comfortable with MVC architecture and I really want to learn cake framework but my limited

Re: New to cake and need advice

2011-01-29 Thread Dr. Tarique Sani
Go for it! start developing and come back with specific problems - you will find plenty of help Cheers Tarique On Thu, Jan 27, 2011 at 11:20 PM, newguy aimanparv...@gmail.com wrote: Hi everyone Am new to cake and php but I have 5 - 6 years of coding experience in c/c++. I have basic php

Re: New to cake and need advice

2011-01-29 Thread newguy
aimanparv...@gmail.com wrote: Hi everyone Am new to cake and php but  I have 5 - 6 years of coding experience in c/c++. I have basic php knowledge through w3schools, I am in doubt whether starting with cake is a good decision or not, am comfortable with MVC architecture and I really want

Re: New to cake and need advice

2011-01-28 Thread Tonu Tusk
and figuring out the best association side of related models to use to access data based on the default recursive Model::find* methods. On Jan 27, 5:50 pm, newguy aimanparv...@gmail.com wrote: Hi everyone Am new to cake and php but  I have 5 - 6 years of coding experience in c/c++. I have basic php

New to cake and need advice

2011-01-27 Thread newguy
Hi everyone Am new to cake and php but I have 5 - 6 years of coding experience in c/c++. I have basic php knowledge through w3schools, I am in doubt whether starting with cake is a good decision or not, am comfortable with MVC architecture and I really want to learn cake framework but my limited

Re: New to cake and need advice

2011-01-27 Thread Ryan Schmidt
On Jan 27, 2011, at 11:50, newguy wrote: Am new to cake and php but I have 5 - 6 years of coding experience in c/c++. I have basic php knowledge through w3schools, I am in doubt whether starting with cake is a good decision or not, am comfortable with MVC architecture and I really want

Re: New to cake and need advice

2011-01-27 Thread newguy
Thanks Ryan I appreciate your help. On Jan 27, 8:35 pm, Ryan Schmidt google-2...@ryandesign.com wrote: On Jan 27, 2011, at 11:50, newguy wrote: Am new to cake and php but  I have 5 - 6 years of coding experience in c/c++. I have basic php knowledge through w3schools, I am in doubt whether

Re: New to cake and need advice

2011-01-27 Thread Zaky Katalan-Ezra
Go for it I made the transition after 10 years in C#. I guess you want to do web applications so you have to learn new things any way. I think php and cakephp in particular is the best thing to start with. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org

New to cake

2010-02-28 Thread jerry
Hey am very new to cakephp and am using it for creating a hospital management system for a school as my final year project.i want to use the student registration numbers as their ids but i have meet a problem.when i use the scaffold feature i don't seem to be seeing the id field input box.it's

Re: New to cake

2010-02-28 Thread John Andersen
Hi Jerry, Good that you want to use CakePHP in your final year project. Do you mean to use the students registration number as a tables primary key - the id column? If that is your intentions, I will recomend you not to do that! A primary key is the one that identifies a record at the database

new to cake-php

2009-10-14 Thread aravind raj
i am new to cake-php .. can get some free simple cakephp applications ... -- Aravind Think Global Act Local --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email

Re: new to cake-php

2009-10-14 Thread Mateusz Kaczanowski
all you need is on book.cakephp.org //Manual. Some very simple apllications. 2009/10/14 aravind raj aravind0...@gmail.com i am new to cake-php .. can get some free simple cakephp applications ... -- Aravind Think Global Act Local -- Pozdrawiam, Mateusz Kaczanowski

Im new to cake , need help on relating the models

2009-06-18 Thread Ali
hi cake gurus , i am new to world of cake php , my problem im facing is simple i have a tables , users and blood_groups , users table has a field blood_group_id , which is acting as foreign key and refference table is blood_groups , i need to related the tables please help me out.

Re: Im new to cake , need help on relating the models

2009-06-18 Thread icc97
Sounds like what you've done so far is correct - assuming that the primary key on the blood_groups table is 'id'. Now you need to bake yourself some models, controllers and views, try this website for reference:

Hi i'm a new a cake im doing my first site in cake and a small problem....

2009-04-06 Thread nahom
The problem is mostly about correlation between Table I'm trying to make a relation between 3 tables: my first table is The Product and he has many Pictures and each picture is taken from a Gallery now the relation works fine the thing is how can i call My Gallery in Product controller I tried

Re: Hi i'm a new a cake im doing my first site in cake and a small problem....

2009-04-06 Thread brian
Are all of the Pictures in a particular Gallery associated with a specific Product? If so, you might want to consider associating Gallery to Product instead of Picture to Product. It would probably help if you posted the model associations you have now. On Mon, Apr 6, 2009 at 8:29 AM, nahom

understanding shoppping carts w/ MVC, new to cake

2009-03-19 Thread squall2...@gmail.com
I know this is a long post, i'm sorry. I'm just trying to get advice on how to structure this code the right way. Alright, I've been programming php off and on for a few years now, but i'm new to cakephp 1.2. I'm working on a project that involves a shopping cart for ordering food. After talking

I am new to Cake PHP Can anybody help me on google chat

2008-07-16 Thread Ayaz Khan, Indore, India
HI, My Name is Ayaz. I am working as software developer on PHP from last 10 months but I have to work on cake php. I m doing installation of cake php. I have worked with cake php before 8 month. but Now I am facing some problem. May be version changed. So comming this. So Please Can Any body

Re: I am new to Cake PHP Can anybody help me on google chat

2008-07-16 Thread John David Anderson
On Jul 16, 2008, at 6:15 AM, Ayaz Khan, Indore, India wrote: HI, My Name is Ayaz. I am working as software developer on PHP from last 10 months but I have to work on cake php. I m doing installation of cake php. I have worked with cake php before 8 month. but Now I am facing some

New to Cake PHP

2008-07-02 Thread musammil
Hi Guys I am Mohamed Musammil.working as Web Application Developer with the Hands of 1 year 4 Months.i am new to Cake PHP,i want to study Cake PHP Framework.could anyone help me by providing the guidance .with expecting precious reply from our group. Thanks Musammil

Re: New to Cake PHP

2008-07-02 Thread dr. Hannibal Lecter
am new to Cake PHP,i want to study Cake PHP Framework.could anyone help me by providing the guidance .with expecting precious reply from our group. Thanks Musammil --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

new to cake

2008-06-26 Thread codebreak
can any one suggest me about the tutors i am new to cake development ... i have knowledge in php+mysql+ajax+javascript... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send

Re: new to cake

2008-06-26 Thread Daniel Hofstetter
Hi, can any one suggest me about the tutors i am new to cake development ... i have knowledge in php+mysql+ajax+javascript... Have a look at the blog tutorial in the manual: http://book.cakephp.org/view/219/blog -- Daniel Hofstetter http://cakebaker.42dh.com

New to Cake, issue with TimeHelper

2008-06-02 Thread gokujou
Hello, I am trying to use the time helper to format a date object string. I am trying to use this script: echo($time-niceShort($post['Post']['created'])); but all I get is this as an error: Notice (8): Undefined variable: time [APP/views/posts/index.ctp, line 10] Fatal error: Call to a

Re: New to Cake, issue with TimeHelper

2008-06-02 Thread Jonathan Snook
That's usually a sign that you forgot to include the Time helper at the controller. eg: var $helpers = array('Time'); On Mon, Jun 2, 2008 at 1:41 AM, gokujou [EMAIL PROTECTED] wrote: but all I get is this as an error: Notice (8): Undefined variable: time [APP/views/posts/index.ctp, line 10]

New to Cake, questions about views, htmlhelpers and saving data

2008-04-09 Thread Brian
First off I am familiar with php and mysql, I can create small applications (although they might not be too efficient.) So, I decided to get my feet wet with CakePHP. I figured I would create a user based system and then can add on aspects of my applications from there. I first started off with

Re: New to Cake, questions about views, htmlhelpers and saving data

2008-04-09 Thread Sliv
Have you looked at http://book.cakephp.org and searched http://bakery.cakephp.org yet? There's quite a bit more info there than in the manual. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To

Re: New to Cake, questions about views, htmlhelpers and saving data

2008-04-09 Thread Brian
I have looked at both quite a bit. I will have to take another look and see if I can find some examples to work with. Thanks On Wed, Apr 9, 2008 at 5:01 PM, Sliv [EMAIL PROTECTED] wrote: Have you looked at http://book.cakephp.org and searched http://bakery.cakephp.org yet? There's quite a

Re: New to Cake, questions about views, htmlhelpers and saving data

2008-04-09 Thread Marcin Domanski
come on irc #cakephp @ freenode as for the original question: How does one go about modifying the data before it is saved? the most appropriate place is the models beforeSave() callback On Wed, Apr 9, 2008 at 11:05 PM, Brian [EMAIL PROTECTED] wrote: I have looked at both quite a bit. I will

Re: New to Cake, questions about views, htmlhelpers and saving data

2008-04-09 Thread Joel
If you're looking to modify the data before it is saved to the DB, then you need to use the Model::beforeSave() callback, or whichever filter is appropriate for your needs. Also, the automatic password hashing is only present in the official Auth component of CakePHP 1.2. The blog tutorial was

migration to new server: cake paths no longer work

2008-01-29 Thread perelin
Hi everybody, i'm a relative newbie to cakephp. Just developed my first project and was trying to migrate to a new server, all of a sudden the paths beyond the startpage no longer work. working version on developement server: http://deftec.p2-lab.com/cake/ migrated version:

Re: migration to new server: cake paths no longer work

2008-01-29 Thread Samuel DeVore
look in my sig -- -- (the old fart) the advice is free, the lack of crankiness will cost you - its a fine line between a real question and an idiot http://blog.samdevore.com/archives/2007/03/05/when-open-source-bugs-me/ http://blog.samdevore.com/cakephp-pages/my-cake-wont-bake/

Re: New to Cake, questions about a document building website

2008-01-09 Thread dr. Hannibal Lecter
Hi, as far as Cake is concerned, good place to start would be The Bakery (http://bakery.cakephp.org/) and screencasts on the official site (http://cakephp.org/screencasts). Points of reference: if you're using 1.1 stable then the manual (http://manual.cakephp.org/), otherwise the temp docs for

New to Cake, questions about a document building website

2008-01-08 Thread [EMAIL PROTECTED]
Hi folks, I'm fairly experienced with PHP and Mysql but just started learning about Cakephp tonight. I'm interested in building a (simple, at least at first) web page that: 1. Asks the user several questions, contains checkboxes, etc (using ajax forms) 2. based on their answer criteria, builds a

Re: New To Cake PHP

2007-12-28 Thread gourab singha
singha [EMAIL PROTECTED] wrote: I am new To Cake PHP .It is very difficult to me that communicate Module,Controller,View To Each Other,Please Send me a simple coded project that help me to understand the communication between Module,Controller,View .Please Don't attach and Mysql database

Re: New To Cake PHP

2007-12-28 Thread Ron Chaplin
PROTECTED] wrote: Theory is here: http://en.wikipedia.org/wiki/Model-view-controller On Dec 21, 6:10 pm, Gourab singha [EMAIL PROTECTED] wrote: I am new To Cake PHP .It is very difficult to me that communicate Module,Controller,View To Each Other,Please Send me a simple coded

Re: New To Cake PHP

2007-12-28 Thread Chris Hartjes
On Dec 28, 2007 1:23 PM, gourab singha [EMAIL PROTECTED] wrote: Is ther any reference for cakephp job for freasher as like me. http://tempdoc.cakephp.org -- Chris Hartjes My motto for 2007: Just build it, damnit! @TheKeyboard - http://www.littlehart.net/atthekeyboard

New To Cake PHP

2007-12-21 Thread Gourab singha
I am new To Cake PHP .It is very difficult to me that communicate Module,Controller,View To Each Other,Please Send me a simple coded project that help me to understand the communication between Module,Controller,View .Please Don't attach and Mysql database table .Then it is hard to me

Re: New To Cake PHP

2007-12-21 Thread Chris Hartjes
On Dec 21, 2007 10:10 AM, Gourab singha [EMAIL PROTECTED] wrote: I am new To Cake PHP .It is very difficult to me that communicate Module,Controller,View To Each Other,Please Send me a simple coded project that help me to understand the communication between Module,Controller,View .Please

Re: New To Cake PHP

2007-12-21 Thread bingomanatee
There are two projects in the manual on the cakephp.org site: * Setting up a user login system * Setting up a blog There are other examples of first day CakePHP at IBM.com; do a web search for IBM CakePHP for those. Given your questions, the first tutorial might help the most; for displaying

Re: New To Cake PHP

2007-12-21 Thread Davide
Gourab singha wrote: I am new To Cake PHP .It is very difficult to me that communicate Module,Controller,View To Each Other,Please Send me a simple coded Sorry, I have no time to post code samples and so on, but sometime ago, I posted on the blog[1] the resources I used for learning

Re: New To Cake PHP

2007-12-21 Thread Serge Rodovnichenko
Theory is here: http://en.wikipedia.org/wiki/Model-view-controller On Dec 21, 6:10 pm, Gourab singha [EMAIL PROTECTED] wrote: I am new To Cake PHP .It is very difficult to me that communicate Module,Controller,View To Each Other,Please Send me a simple coded project that help me to understand

New to Cake PHP, Question Regarding Functions.

2007-10-16 Thread Exodus
Hello, I am new to Cake PHP and i figured i had better ask before i dive into it. I am trying to migrate a website to Cake and i currently have a file full of functions. What is the best method to include each function into Cake php so they can be used anywhere within the framework Thanks

Re: New to Cake PHP, Question Regarding Functions.

2007-10-16 Thread Chambrln
and see if you can separate your functions into logical groups so they can exist in your controller. If you aren't familiar with classes you would call the function like this. $this-functionName(); On Oct 16, 8:14 am, Exodus [EMAIL PROTECTED] wrote: Hello, I am new to Cake PHP and i figured i had

Re: New to Cake PHP, Question Regarding Functions.

2007-10-16 Thread the_woodsman
Generally people will suggest the app controller, the superclass for all your controllers, or one of the bootstrap / config files. I am new to Cake PHP and i figured i had better ask before i dive into it. I think youll be able to answer most questions like this yourself once you get started

New to Cake PHP

2007-10-05 Thread [EMAIL PROTECTED]
Hello, I'm new to CakePHP, on my first cake setup, i tried to follow the tutorial and create files as stated but it seems I can't access the page that I'm suppose to access like app/views/users/register.thtml. Its giving me this error below: Not Found The requested URL /cake/users was not

Re: New to Cake PHP

2007-10-05 Thread John David Anderson (_psychic_)
On Oct 5, 2007, at 12:22 PM, [EMAIL PROTECTED] wrote: Hello, I'm new to CakePHP, on my first cake setup, i tried to follow the tutorial and create files as stated but it seems I can't access the page that I'm suppose to access like app/views/users/register.thtml. Its giving me this error

Re: New to Cake PHP

2007-10-05 Thread [EMAIL PROTECTED]
Hello John, Thank you for your prompt response. I already did create a register() function in my controller(app \controllers\users_controller.php) and also have a view for that controller (app\views\users\register.thtml) but still has the same result. What I have in mind is I think theres

Re: New to Cake PHP

2007-10-05 Thread [EMAIL PROTECTED]
Hmm...I finally have it running. :-) Directory D:/projects/web/app/ Options Indexes MultiViews AllowOverride All Order allow,deny Allow from all /Directory I just changed the Options Indexes MultiViews to Options Indexes FollowSymLinks. Though i don't totally understand what it

New to Cake

2007-07-19 Thread Bob
I am attempting to start Cake for the first time. I get the following errors when trying to open: Warning: mysql_connect(): Can't connect to local MySQL server through socket '/usr/local/mysql-5.0/data/mysql.sock' (2) in /home/content/b/r/

Re: New to Cake

2007-07-19 Thread John David Anderson (_psychic_)
On Jul 19, 2007, at 10:28 AM, Bob wrote: I am attempting to start Cake for the first time. I get the following errors when trying to open: Warning: mysql_connect(): Can't connect to local MySQL server through socket '/usr/local/mysql-5.0/data/mysql.sock' (2) in /home/content/ b/r/

Re: New to Cake

2007-07-19 Thread Bob
Thanks for the reply. I set up the database this morning and it is up and running, but still unable to connect. Any other suggestions? On Jul 19, 11:37 am, John David Anderson (_psychic_) [EMAIL PROTECTED] wrote: On Jul 19, 2007, at 10:28 AM, Bob wrote: I am attempting to start Cake for

Re: New to Cake

2007-07-19 Thread rtconner
Did you config the configure/database.php file? On Jul 19, 10:43 am, Bob [EMAIL PROTECTED] wrote: Thanks for the reply. I set up the database this morning and it is up and running, but still unable to connect. Any other suggestions? On Jul 19, 11:37 am, John David Anderson (_psychic_)

Re: New to Cake

2007-07-19 Thread Bob
yes, here it is. class DATABASE_CONFIG { var $default = array('driver' = 'mysql', 'connect' = 'mysql_connect', 'host' = 'localhost',

Re: New to Cake

2007-07-19 Thread Christopher E. Franklin, Sr.
You should not include your password :) On Jul 19, 10:28 am, Bob [EMAIL PROTECTED] wrote: yes, here it is. class DATABASE_CONFIG { var $default = array('driver' = 'mysql', 'connect' = 'mysql_connect',

Re: New to Cake

2007-07-19 Thread Bob
you are correct! On Jul 19, 12:30 pm, Christopher E. Franklin, Sr. [EMAIL PROTECTED] wrote: You should not include your password :) On Jul 19, 10:28 am, Bob [EMAIL PROTECTED] wrote: yes, here it is. class DATABASE_CONFIG { var $default = array('driver' = 'mysql',

Re: New to Cake

2007-07-19 Thread John David Anderson (_psychic_)
On Jul 19, 2007, at 11:28 AM, Bob wrote: yes, here it is. class DATABASE_CONFIG { var $default = array('driver' = 'mysql', 'connect' = 'mysql_connect',

Re: New to Cake

2007-07-19 Thread Bob
127.0.0.1? please explain. thanks On Jul 19, 12:31 pm, John David Anderson (_psychic_) [EMAIL PROTECTED] wrote: On Jul 19, 2007, at 11:28 AM, Bob wrote: yes, here it is. class DATABASE_CONFIG { var $default = array('driver' = 'mysql',

Re: New to Cake

2007-07-19 Thread John David Anderson (_psychic_)
On Jul 19, 2007, at 11:42 AM, Bob wrote: 127.0.0.1? please explain. Instead of 'host' = 'localhost' do 'host' = '127.0.0.1' -- John --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to

Re: New to Cake

2007-07-19 Thread Chris Hartjes
On 7/19/07, Bob [EMAIL PROTECTED] wrote: Thank you. Tried that. Same result, same errors. Bob Well, I'm pretty sure that when PHP is saying that it can't connect to the database server, it's being honest. I would triple check that the username and password you are using are correct.

Re: New to Cake

2007-07-19 Thread Vincent Fleuranceau
Hi, - Is MySQL accepting (socket) connections on localhost? - Does the /usr/local/mysql-5.0/data/mysql.sock file exist? See: http://dev.mysql.com/doc/refman/5.0/en/can-not-connect-to-server.html -- Vincent --~--~-~--~~~---~--~~ You received this message

Re: New to Cake

2007-07-19 Thread Bob
I logged in to the DB using the user and pass, so I know it is correct. It matches what is in the database.PHP file. I took the IP address of the DB server and plugged it into database.PHP. I did not get the errors this time, but still can't connect to DB? Thanks On Jul 19, 12:57 pm, Chris

Re: New to Cake

2007-07-19 Thread Erich C. Beyrent
Can you connect to the database via the console using that username and password? Did you add permissions to the database for that user? -Erich- Chris Hartjes wrote: On 7/19/07, Bob [EMAIL PROTECTED] wrote: Thank you. Tried that. Same result, same errors. Bob Well, I'm pretty sure

Re: New to Cake

2007-07-19 Thread Samuel DeVore
also some php5 installs do not have the mysql connectors installed by default, have you verified that you can connect to the mysql db using just plain php? http://us.php.net/mysql Sam D On 7/19/07, Erich C. Beyrent [EMAIL PROTECTED] wrote: Can you connect to the database via the console using

new to Cake, help with setting up site's infrastucture

2007-05-04 Thread Scitt
Let me start by saying I am a complete novice to Cake PHP but plan to change that very soon, I am an intermediate php developer and can't wait to start using this framework for new apps I am developing. I don't see the whole picture yet and could use some assistance in getting started. i'm

Re: new to Cake, help with setting up site's infrastucture

2007-05-04 Thread gwoo
You would create a CitiesController with a City model. Your URL would be /cities/view/1 for the city with id 1. You could use this to set a Session that would allow the current city to persist across other controllers. hope this helps. --~--~-~--~~~---~--~~ You

Re: new to Cake, help with setting up site's infrastucture

2007-05-04 Thread Bootstrapper
Some more details that might help: Inside your CitiesController you would have a view() action (a function) that you can pass the city id too. Just in case you need to get really basic with how the MVC aspects work (broken into MVC): After requesting the url suggested by gwoo: /cities/view/1

new to cake php, need help on tag clouds database design

2007-03-22 Thread feelexit
I just start a simple web application. Need to make tag clouds for it, so it will look more like web 2.0 here's the problem, I have this table called tags. tags has id, tag, users_id, posts_id, I dont want to have id to be my primary key, I only want 3 columns, tag, users_id, posts_id, and I

Re: new to cake php, need help on tag clouds database design

2007-03-22 Thread Langdon Stevenson
Hi feelexit here's the problem, I have this table called tags. tags has id, tag, users_id, posts_id, I dont want to have id to be my primary key, I only want 3 columns, tag, users_id, posts_id, and I want all these 3 columns to form my primary key. but based on wht I learned, I need

Re: new to cake php, need help on tag clouds database design

2007-03-22 Thread barduck
I am not sure I understand what are you trying to achieve, why would you need a table with tag, user id and post id? For typical tag cloud implementation, I assume that you would have tags, users and posts, each user has set tags associated with it and each post has (different) set of tags for

Re: Urls Not functioning on new hosting cake 1.2

2007-02-27 Thread jcsiegrist
Hi Maxus, Have you uncommented the line // define ('BASE_URL', env('SCRIPT_NAME')); in /app/config/core.php ? That should do it for most cases. However, recently I had a problem with a specific host (strato.de), not supporting mod_rewrite and the server returning a false value for

Urls Not functioning on new hosting cake 1.2

2007-02-26 Thread Maxus
Hi People, I'm using cake on my new hosting (godaddy.com), Does any one know why the url is migging out of the links on the site. I'm not using mod rewrite. The links shown as: http://links/displaylinks/43 But the links should be shown as: http://linkedtwo.com/index.php/links/displaylinks/43

Re: New to Cake, Missing View Errors (?)

2007-01-01 Thread skyblueink
If you're following along with the blog tutorial withoit any modifications of the example code, your intex.thtml and view.thtml should be in app/views/posts/ instead of app/views/pages/. The error message is already saying that ithey shoud be in /.../httpdocs/app/views/posts/. As you know, Cake

Re: New to Cake, Missing View Errors (?)

2007-01-01 Thread Derrick Shields
I figured it out. A reference for anyone who runs into this error in the future: I had to change the permissions on the view.php file located in the /cake core to 755. For some reason, the version of Cake I had downloaded had the incorrect permissions set.

Re: New to Cake, Missing View Errors (?)

2006-12-31 Thread Derrick Shields
In case it helps anyone pondering this, I have copied the index.thtml and view.thtml to the app/views/pages/ folder, and CakePHP CAN access the pages now at mysite.com/pages/index (or /view) however obviously this won't load the controller, etc... Any ideas on why the two pages won't load in

New to Cake, Missing View Errors (?)

2006-12-30 Thread Derrick Shields
Greetings, I'm trying to follow along with the blog tutorial, but I keep getting Missing View errors when trying to look at the index.thtml and view.thml: You are seeing this error because the view for PostsController::index() could not be found. Fatal: Confirm you have created the file :

Re: new to cake, and mvc in general

2006-10-24 Thread Walker Hamilton
[EMAIL PROTECTED] wrote: Yeah, set DEBUG to 0 in /app/config/core.php (production mode). -- John So turning off debug also stops these calls to the database? Or does it just not log that it's doing them anymore? DESC is what cake is running to figure out your DB. Once you go into

new to cake, and mvc in general

2006-10-23 Thread [EMAIL PROTECTED]
Greetings, After putting work in for the past few months on a system I was going to build on phpBB3 (when it was released) I've decided to move over to a framework. Most of the work I've done is portable, as I was building around phpBB3, instead of modding it, with it being in development still.

RE: new to cake, and mvc in general

2006-10-23 Thread Grant Davies
:28 PM To: Cake PHP Subject: new to cake, and mvc in general Greetings, After putting work in for the past few months on a system I was going to build on phpBB3 (when it was released) I've decided to move over to a framework. Most of the work I've done is portable, as I was building around phpBB3

Re: new to cake, and mvc in general

2006-10-23 Thread John David Anderson (_psychic_)
On Oct 23, 2006, at 10:28 AM, [EMAIL PROTECTED] wrote: Data Validation - It's way too simple for what I want. I'm looking for ways to say, validate a date field is a real date, and then also validate that it's in an acceptable range (ie: over 14 years old). I'd also like to be able to set

Re: new to cake, and mvc in general

2006-10-23 Thread [EMAIL PROTECTED]
John David Anderson (_psychic_) wrote: I did try some of the snippets out there for overriding invalidate in app_model.php. I mainly just encountered preg-match errors all over the place and they didn't work. You shouldn't need to override it.. just perform your non-regex validation

Re: new to cake, and mvc in general

2006-10-23 Thread John David Anderson (_psychic_)
On Oct 23, 2006, at 12:04 PM, [EMAIL PROTECTED] wrote: John David Anderson (_psychic_) wrote: I did try some of the snippets out there for overriding invalidate in app_model.php. I mainly just encountered preg-match errors all over the place and they didn't work. You shouldn't need

New at Cake PHP?

2006-08-24 Thread jatrojoomla
Hi friends, Any body could tell me what Cake PHP actually dose? What can I do using this ? I saw so many people using Cake PHP, but what is it real purpose. thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

  1   2   >