Suitable editor or IDE

2009-09-25 Thread Selva manickaraja
Hi,

I wish to do all my php project development using Cake in a stable editor or
IDE. Is there any that I can get hold of? Please advice.

Thank you.

Warmest Regards,

Selvam

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



Re: Missing Controller

2009-09-24 Thread Selva manickaraja
Thanks alot guys. I was just about to edit the php.ini. Since I got advice
to stick to long tags, I wil continue using long tags not to suffer from
deprecations.

On Thu, Sep 24, 2009 at 12:08 PM, dhiraj ray dhiraj.r...@gmail.com wrote:

 hi
create controler name just pulural of modle

 check naming in data base.

 sorry for bad english.


 


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



Re: Missing Controller

2009-09-23 Thread Selva manickaraja
Hi,

I tried that and ended up with misconfiguration errors. However I did one
more look into the code. The beginning on the script for Item and
ItemsController was written as ? instead of ?php preprocessor. I
copied the script exactly as it was written in the book thinking that Cake
would understand the script as default php instead of having to explicitly
putting in ?php. So when I changed it to ?php and typed
http://localhost/ims/items in the URL it works perfectly.

Thank you John for the guidance rendered so far. It has been helpful.

Warmest Regards,

Selvam

On Wed, Sep 23, 2009 at 12:57 PM, John Andersen j.andersen...@gmail.comwrote:


 Ok, from what I can discern, your application directory is ims, so
 your cake application content should be in the ims directory, not in
 the ims/app directory.
 Move everything from app into ims directory and give it a try!
 Enjoy,
   John

 On Sep 23, 5:02 am, Selva manickaraja mavle...@gmail.com wrote:
  Yes, I had corrected that all the first time I sent the email. According
 to
  the book tutorial, I should be getting the view. But I am still stuck
 with
  the error message Missing Controller. Could it be environment setup?
 Please
  advice
 
  Thank you.
 
  On Wed, Sep 23, 2009 at 1:17 AM, John Andersen j.andersen...@gmail.com
 wrote:
  
 
 
   Correct also your model class to Item, not Items! Singular in models,
   plural in controllers.
   Enjoy,
 John
   [snip]
2. Wrote a script called item.php and placed it in app\models
 directory
   to
define a class called Items.
   [/snip]e
 


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



Re: Missing Controller

2009-09-22 Thread Selva manickaraja
Yes, I had corrected that all the first time I sent the email. According to
the book tutorial, I should be getting the view. But I am still stuck with
the error message Missing Controller. Could it be environment setup? Please
advice

Thank you.

On Wed, Sep 23, 2009 at 1:17 AM, John Andersen j.andersen...@gmail.comwrote:


 Correct also your model class to Item, not Items! Singular in models,
 plural in controllers.
 Enjoy,
   John
 [snip]
  2. Wrote a script called item.php and placed it in app\models directory
 to
  define a class called Items.
 [/snip]e

 


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



Re: Unable to view Cake Start Page

2009-09-21 Thread Selva manickaraja
I tried to have a look at both and the following is my comment.

1. Msys

This seems to be like cygwin except for the fact that it does not contain
all the unix commands to have a feel of *nix environment in command line.
But I guess it will make it easier to play with the command line functions
of cake compared to MS-DOS. Please correct me if I'm wrong

2. HeidiSQL

Looks pretty cool. But I am using PostgreSQL and never will get anywhere in
the vicinity of mysql. PostgreSQL is my favourite all the while. Currently
I'm using pgAdminIII and it seems ok. Though I feel it needs quite a bit of
improvement. Apart from that I wish to test out phpPgAdmin which I believe
is around for a long time.

Thank you.

On Sat, Sep 19, 2009 at 10:59 PM, Simon simon_d...@hotmail.com wrote:


 Here some open source software for your development

 Msys = here is the URL to download make sure to install it c:/msys
 this good for cake bake when

 http://sourceforge.net/projects/mingw/files/MSYS%20Base%20System/Current%20Release_%20MSYS-1.0.11/MSYS-1.0.11.exe/download

 hiedisql = this is better then php my admin. Easy to create databse
 and tables
  http://www.heidisql.com/?

 Thanks
 Simon


 On Sep 19, 4:11 am, Selva manickaraja mavle...@gmail.com wrote:
  Great, it works. I'm attaching the screenshot. It's all green!!! Thanks a
  lot Simon. Will update you on further development.
 
  Thank you.
 
  Warmest Regards,
 
  Selvam
  On Sat, Sep 19, 2009 at 5:57 PM, John Andersen j.andersen...@gmail.com
 wrote:
  
 
 
 
 
   In your database.php file, swap the default and the test
   configuration! The default is used, as it says, it is the default one,
   and it is currently defined with MySQL :)
 
   Enjoy,
 John
 
   On Sep 19, 12:20 pm, Selva manickaraja mavle...@gmail.com wrote:
Hi
 
I tried setting up the database file in app/config/database.php. FYI
 I am
using PostgreSQL 8.4. I went through all the references in the
 internet
   and
come to understand that the pgsql library php_pgsql.dll should be
   available
and enabled in php.ini in addition to the libpq.dll file. Did that
 all
   and
loaded the phpinfo() page. It show that pgql is set up. However in
 the
   Cake
Start Page there is still the message that Cake is NOT able to
 connect to
the database. I am attaching the files database.php, php.ini and the
screeshot for postgresql admin console, phpinfo() and cake start
 page.
Please guide me as to where should I make the changes in order to get
 it
working.
 
Thank you.
 
Warmest Regards,
 
Selvam
   [snip]
 
 
 
   cake_start6.GIF
  83KViewDownload
  


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



Re: Unable to view Cake Start Page

2009-09-19 Thread Selva manickaraja
Thank you so much for the advice. I will keep you posted.

Selvam

On Sat, Sep 19, 2009 at 1:07 PM, Simon simon_d...@hotmail.com wrote:


 Don't worry About now that you see cake page with style The problem is
 solved

 On Sep 18, 9:17 pm, Selva manickaraja mavle...@gmail.com wrote:
  Hi,
 
  I downloaded XAMPP and installed it fresh. Of course I uninstalled the
  previous version on Apache and PHP in my machine. As advised by you I
 copied
  the cake holder under the htdocs in XAMPP and
 typedhttps://localhost/ims/.
  The legendary much anticipated Cake Start page had loaded successfully. I
  have attched the screen for reference. However I tested this URL without
  copying over the code you gave into httpd.conf. But I am not sure if this
 is
  ok for me to proceed? Please advice.
 
  Thank you.
 
  Warmest Regards,
 
  Selvam
 
 
 
   On Sat, Sep 19, 2009 at 3:00 AM, Simon simon_d...@hotmail.com wrote:
 
   hi selva if your using Xampp start over create a folder in your htdocs
   whatever you wanna name it
   then  copy this whole code below  and paste it in your httpd.conf in
   apache and your good
 
   #
   # This is the main Apache HTTP server configuration file.  It contains
   the
   # configuration directives that give the server its instructions.
   # See URL:http://httpd.apache.org/docs/2.2/ for detailed
   information.
   # In particular, see
   # URL:http://httpd.apache.org/docs/2.2/mod/directives.html
   # for a discussion of each configuration directive.
   #
   # Do NOT simply read the instructions in here without understanding
   # what they do.  They're here only as hints or reminders.  If you are
   unsure
   # consult the online docs. You have been warned.
   #
   # Configuration and logfile names: If the filenames you specify for
   many
   # of the server's control files begin with / (or drive:/ for
   Win32), the
   # server will use that explicit path.  If the filenames do *not* begin
   # with /, the value of ServerRoot is prepended -- so logs/foo.log
   # with ServerRoot set to C:/xampp/apache will be interpreted by the
   # server as C:/xampp/apache/logs/foo.log.
   #
   # NOTE: Where filenames are specified, you must use forward slashes
   # instead of backslashes (e.g., c:/apache instead of c:\apache).
   # If a drive letter is omitted, the drive on which Apache.exe is
   located
   # will be used by default.  It is recommended that you always supply
   # an explicit drive letter in absolute paths, however, to avoid
   # confusion.
   #
 
   # ThreadsPerChild: constant number of worker threads in the server
   process
   # MaxRequestsPerChild: maximum  number of requests a server process
   serves
   ThreadsPerChild 250
   MaxRequestsPerChild  0
 
   #
   # ServerRoot: The top of the directory tree under which the server's
   # configuration, error, and log files are kept.
   #
   # Do not add a slash at the end of the directory path.  If you point
   # ServerRoot at a non-local disk, be sure to point the LockFile
   directive
   # at a local disk.  If you wish to share the same ServerRoot for
   multiple
   # httpd daemons, you will need to change at least LockFile and
   PidFile.
   #
   ServerRoot C:/xampp/apache
 
   #
   # Listen: Allows you to bind Apache to specific IP addresses and/or
   # ports, instead of the default. See also the VirtualHost
   # directive.
   #
   # Change this to Listen on specific IP addresses as shown below to
   # prevent Apache from glomming onto all bound IP addresses (0.0.0.0)
   #
   #Listen12.34.56.78:80 http://12.34.56.78/
 Listen 80
 
   #
   # Dynamic Shared Object (DSO) Support
   #
   # To be able to use the functionality of a module which was built as a
   DSO you
   # have to place corresponding `LoadModule' lines at this location so
   the
   # directives contained in it are actually available _before_ they are
   used.
   # Statically compiled modules (those listed by `httpd -l') do not need
   # to be loaded here.
   #
   # Example:
   # LoadModule foo_module modules/mod_foo.so
   #
   LoadModule actions_module modules/mod_actions.so
   LoadModule alias_module modules/mod_alias.so
   LoadModule asis_module modules/mod_asis.so
   LoadModule auth_basic_module modules/mod_auth_basic.so
   LoadModule auth_digest_module modules/mod_auth_digest.so
   LoadModule authn_alias_module modules/mod_authn_alias.so
   LoadModule authn_anon_module modules/mod_authn_anon.so
   LoadModule authn_dbd_module modules/mod_authn_dbd.so
   LoadModule authn_dbm_module modules/mod_authn_dbm.so
   LoadModule authn_default_module modules/mod_authn_default.so
   LoadModule authn_file_module modules/mod_authn_file.so
   #LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
   LoadModule authz_dbm_module modules/mod_authz_dbm.so
   LoadModule authz_default_module modules/mod_authz_default.so
   LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
   LoadModule authz_host_module modules/mod_authz_host.so
   #LoadModule authz_owner_module