Cake Installation - sorry to have to ask

2008-05-12 Thread rubin

I am having trouble getting the demo blog program to run in Cake (and
hence any real programs).  It must be something simple, but I can not
figure it out.
I installed xampp.  Tested everything. works OK.  xampp in directory:
program files/xampp.
Also installed cake.  Everything is put into directory structure as:
program files/xampp/htdocs/cake stuff.
When I run http://localhost, the cakephp index file seems to run just
fine and tells me that tmp file is writeable, caching is OK, mysql
database configuration is present and connected.
I have run phpinfo() to determine that my document root is: program
files/xampp/htdocs
I created the three demo files for the blog demo, put one in app/
controllers, one in app/models and the other, index.ctp, in a folder
called posts in the directory app/views.
When I try to run the blog demo (localhost/posts or any variation
thereof that I can think of), I get the error:
Object not found, requested URL not found on this server.  It does
not tell me what URL exactly.
I have read and re-read the cake manual and the blog demo for
installation, and can not figure out what simple thing I have done
wrong or am not doing corrrectly.
The only strange thing, is that originally I put cakephp in the
subdirectory /program files/xampp/htdocs/xampp, thinking this was the
root.  Cake is still sitting there, but I do not believe this is the
cause of my problem.
I would really appreciate if someone can help me asap.
Thanks,
Rubin
PS If someone wants to give me their phone number, I would even call
them.

--~--~-~--~~~---~--~~
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: Cake Installation - sorry to have to ask

2008-05-12 Thread rubin

I have gone to the apache error logs, and see the following messages
every time I run the cakephp index.php page:
[error] [client 127.0.0.1] File does not exist: C:/Program Files/xampp/
htdocs/css, referer: http://localhost/
[error] [client 127.0.0.1] File does not exist: C:/Program Files/xampp/
htdocs/img, referer: http://localhost/

I don't know if this message means that mod rewrite is not working, or
some other problem.  Obviously, these two folders are in the webroot
folder.  My document root is set to (program files/xampp/htdocs) and
not to (program files/xampp/htdocs/webroot)

Directory (program files/xampp/htdocs) is set for allowoverwrite all.

I will try the debug setting and see if it gives more information.
Rubin

On May 12, 5:08 am, schneimi [EMAIL PROTECTED] wrote:
 To get a more specific and detailed error message, you can set
 Configure::write('debug', 1); in your app/config/core.php

 On 12 Mai, 12:32, rubin [EMAIL PROTECTED] wrote:



  I am having trouble getting the demo blog program to run in Cake (and
  hence any real programs).  It must be something simple, but I can not
  figure it out.
  I installed xampp.  Tested everything. works OK.  xampp in directory:
  program files/xampp.
  Also installed cake.  Everything is put into directory structure as:
  program files/xampp/htdocs/cake stuff.
  When I runhttp://localhost, thecakephpindex file seems to run just
  fine and tells me that tmp file is writeable, caching is OK, mysql
  database configuration is present and connected.
  I have run phpinfo() to determine that my document root is: program
  files/xampp/htdocs
  I created the three demo files for the blog demo, put one in app/
  controllers, one in app/models and the other, index.ctp, in a folder
  called posts in the directory app/views.
  When I try to run the blog demo (localhost/posts or any variation
  thereof that I can think of), I get the error:
  Object not found, requested URL not found on this server.  It does
  not tell me what URL exactly.
  I have read and re-read the cake manual and the blog demo for
 installation, and can not figure out what simple thing I have done
  wrong or am not doing corrrectly.
  The only strange thing, is that originally I putcakephpin the
  subdirectory /program files/xampp/htdocs/xampp, thinking this was the
  root.  Cake is still sitting there, but I do not believe this is the
  cause of my problem.
  I would really appreciate if someone can help me asap.
  Thanks,
  Rubin
  PS If someone wants to give me their phone number, I would even call
  them.- 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 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: Cake Installation - sorry to have to ask

2008-05-12 Thread rubin

My debug setting has been at 2 all this time, so setting it to 1,
will not help (I don't think).
Rubin

On May 12, 6:06 am, rubin [EMAIL PROTECTED] wrote:
 I have gone to the apache error logs, and see the following messages
 every time I run thecakephpindex.php page:
 [error] [client 127.0.0.1] File does not exist: C:/Program Files/xampp/
 htdocs/css, referer:http://localhost/
 [error] [client 127.0.0.1] File does not exist: C:/Program Files/xampp/
 htdocs/img, referer:http://localhost/

 I don't know if this message means that mod rewrite is not working, or
 some other problem.  Obviously, these two folders are in the webroot
 folder.  My document root is set to (program files/xampp/htdocs) and
 not to (program files/xampp/htdocs/webroot)

 Directory (program files/xampp/htdocs) is set for allowoverwrite all.

 I will try the debug setting and see if it gives more information.
 Rubin

 On May 12, 5:08 am, schneimi [EMAIL PROTECTED] wrote:



  To get a more specific and detailed error message, you can set
  Configure::write('debug', 1); in your app/config/core.php

  On 12 Mai, 12:32, rubin [EMAIL PROTECTED] wrote:

   I am having trouble getting the demo blog program to run in Cake (and
   hence any real programs).  It must be something simple, but I can not
   figure it out.
   I installed xampp.  Tested everything. works OK.  xampp in directory:
   program files/xampp.
   Also installed cake.  Everything is put into directory structure as:
   program files/xampp/htdocs/cake stuff.
   When I runhttp://localhost, thecakephpindex file seems to run just
   fine and tells me that tmp file is writeable, caching is OK, mysql
   database configuration is present and connected.
   I have run phpinfo() to determine that my document root is: program
   files/xampp/htdocs
   I created the three demo files for the blog demo, put one in app/
   controllers, one in app/models and the other, index.ctp, in a folder
   called posts in the directory app/views.
   When I try to run the blog demo (localhost/posts or any variation
   thereof that I can think of), I get the error:
   Object not found, requested URL not found on this server.  It does
   not tell me what URL exactly.
   I have read and re-read the cake manual and the blog demo for
  installation, and can not figure out what simple thing I have done
   wrong or am not doing corrrectly.
   The only strange thing, is that originally I putcakephpin the
   subdirectory /program files/xampp/htdocs/xampp, thinking this was the
   root.  Cake is still sitting there, but I do not believe this is the
   cause of my problem.
   I would really appreciate if someone can help me asap.
   Thanks,
   Rubin
   PS If someone wants to give me their phone number, I would even call
   them.- Hide quoted text -

  - Show quoted text -- 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 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
-~--~~~~--~~--~--~---