Installing cakephp on a subdomain on my development server

2010-03-09 Thread Gillian
I apologize for asking, but I can't seem to get this working despite
some googling.  I just installed cakephp on a subdirectory on my xampp
development server, and am attempting to go through the IBM tutorial
here: 
http://www.ibm.com/developerworks/opensource/tutorials/os-php-cake1/index.html
to give myself a feel for it. However, when I try to process the form
at http://127.0.0.1/cakephp/users/register from the third page of the
tutorial, I get a 404 error that apache can't find my page at
http://127.0.0.1/users/register.  I assume this means that there's a
trick to installing on a subdomain that I haven't found, though I
suppose it's also possible that something about the tutorial is simply
outdated.  Any help would be appreciated.

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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: Installing cakephp on a subdomain on my development server

2010-03-09 Thread bowikaxu
Check the web page code that cakephp generates and check the form
submit address, maybe its the link or a bad misconfiguration on the
core.
aad

On 9 mar, 18:25, Gillian gillian@gmail.com wrote:
 I apologize for asking, but I can't seem to get this working despite
 some googling.  I just installed cakephp on a subdirectory on my xampp
 development server, and am attempting to go through the IBM tutorial
 here:http://www.ibm.com/developerworks/opensource/tutorials/os-php-cake1/i...
 to give myself a feel for it. However, when I try to process the form
 athttp://127.0.0.1/cakephp/users/registerfrom the third page of the
 tutorial, I get a 404 error that apache can't find my page 
 athttp://127.0.0.1/users/register.  I assume this means that there's a
 trick to installing on a subdomain that I haven't found, though I
 suppose it's also possible that something about the tutorial is simply
 outdated.  Any help would be appreciated.

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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: installing cakephp on a subdomain

2008-05-15 Thread jason m

There are many different server configurations and I too have had
problems installing cakephp. I guess the first step would be to see if
php is working. You could do that by placing a php file there with the
code ?php phpinfo(); ?. That should print out a bunch of your php
settings.

If you httpdocs is your webroot for the subdomain and you placed the
cakephp files directly into the httpdocs folder, then the directory
structure would look something like httpdocs/app for the app root.
Then, assuming that the mod_rewrite module is enabled in apache, you
should be able to just go to http://dev.domain.com and cake should
appear. This requires that the .htaccess files be there. If you cannot
see them, it may be because files that begin with . are hidden by
default in osx so you wouldn't be able to see them in your ftp client
unless you adjust your settings.

If the apache mod_rewrite module is not enabled (you can check that
with the test php file created earlier), then the url should be
something like http://dev.domain.com/index.php/.
--~--~-~--~~~---~--~~
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: installing cakephp on a subdomain

2008-05-14 Thread Esoteric

Sorry to hear you are having problems, but your description of your
problem doesn't really help us to help you. Can you be more specific
as to what is going on?

If you want pretty urls you will have mod_rewrite installed for apache
and then upload the .htaccess files if in fact they aren't uploaded,
by default *nix based operating systems don't display . (dot) files.

More information and we might be able to help.

-Erik

On May 13, 3:15 pm, jonknee [EMAIL PROTECTED] wrote:
 There is no difference, subdomains aren't special (www or dev, it's
 all the same code wise).
--~--~-~--~~~---~--~~
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: installing cakephp on a subdomain

2008-05-14 Thread onajide

Thank you but, I thought my explanation was clear. What do I type
here, my exact steps?

Anyway, I decided to delete the install and start from scratch. A
friend said the files are supposed to be installed in httpdocs. They
were (still are until I delete everything). When you go to the web
page you're asked to download it instead of view it. 
http://dev.miamiwebservers.com

I'll be back here later today after my attempted reinstall I'm sure.

--~--~-~--~~~---~--~~
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: installing cakephp on a subdomain

2008-05-14 Thread jonknee

 Anyway, I decided to delete the install and start from scratch. A
 friend said the files are supposed to be installed in httpdocs. They
 were (still are until I delete everything). When you go to the web
 page you're asked to download it instead of view 
 it.http://dev.miamiwebservers.com

You don't have your server properly configured. It's not a CakePHP
issue. Once you get PHP working, try rolling through the install
instructions again. You should be able to follow the instructions
exactly. You are doing a very basic setup and it's definitely covered
in the manual.
--~--~-~--~~~---~--~~
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: installing cakephp on a subdomain

2008-05-14 Thread [EMAIL PROTECTED]

as jonknee said, it's not a cake issue, your web server is not
configured properly to run PHP; check the PHP manual for instructions
to properly configure PHP in whatever environment you're using for
your server

On May 14, 8:45 am, onajide [EMAIL PROTECTED] wrote:
 Thank you but, I thought my explanation was clear. What do I type
 here, my exact steps?

 Anyway, I decided to delete the install and start from scratch. A
 friend said the files are supposed to be installed in httpdocs. They
 were (still are until I delete everything). When you go to the web
 page you're asked to download it instead of view 
 it.http://dev.miamiwebservers.com

 I'll be back here later today after my attempted reinstall I'm sure.
--~--~-~--~~~---~--~~
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: installing cakephp on a subdomain

2008-05-14 Thread onajide

Huh? If there has been Cake running on that (shared) box how is it not
configured properly? There was a Cake install on one of my other
domains when we (a friend and myself) decided Cake would solve the
issues set out in front of us. Of course, he installed it as he's the
developer. I'm trying to do this without just asking him to do it
again. I'm trying to be somewhat self-sufficient although, I'm asking
lots of questions, to you and him. Sorry for my indulgence here but, I
need to learn for myself and, if I don't stumble and fall, I won't
know what issues I'll encounter along the way in the future. Thanks
very much.

On May 14, 10:11 am, jonknee [EMAIL PROTECTED] wrote:

 You don't have your server properly configured. It's not a CakePHP
 issue. Once you get PHP working, try rolling through the install
 instructions again. You should be able to follow the instructions
 exactly. You are doing a very basic setup and it's definitely covered
 in the manual.

--~--~-~--~~~---~--~~
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: installing cakephp on a subdomain

2008-05-14 Thread [EMAIL PROTECTED]

there's not really anything to install; getting the Save As...
window when you try and access a PHP file has nothing to do with Cake

On May 14, 4:23 pm, onajide [EMAIL PROTECTED] wrote:
 Huh? If there has been Cake running on that (shared) box how is it not
 configured properly? There was a Cake install on one of my other
 domains when we (a friend and myself) decided Cake would solve the
 issues set out in front of us. Of course, he installed it as he's the
 developer. I'm trying to do this without just asking him to do it
 again. I'm trying to be somewhat self-sufficient although, I'm asking
 lots of questions, to you and him. Sorry for my indulgence here but, I
 need to learn for myself and, if I don't stumble and fall, I won't
 know what issues I'll encounter along the way in the future. Thanks
 very much.

 On May 14, 10:11 am, jonknee [EMAIL PROTECTED] wrote:

  You don't have your server properly configured. It's not a CakePHP
  issue. Once you get PHP working, try rolling through the install
  instructions again. You should be able to follow the instructions
  exactly. You are doing a very basic setup and it's definitely covered
  in the manual.
--~--~-~--~~~---~--~~
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: installing cakephp on a subdomain

2008-05-14 Thread jonknee

 Huh? If there has been Cake running on that (shared) box how is it not
 configured properly? There was a Cake install on one of my other
 domains when we (a friend and myself) decided Cake would solve the
 issues set out in front of us. Of course, he installed it as he's the
 developer. I'm trying to do this without just asking him to do it
 again. I'm trying to be somewhat self-sufficient although, I'm asking
 lots of questions, to you and him. Sorry for my indulgence here but, I
 need to learn for myself and, if I don't stumble and fall, I won't
 know what issues I'll encounter along the way in the future. Thanks
 very much.

Each virtual host on a server can have its own configuration. Because
PHP is working on one VH does not mean it's a sure bet on another. In
your case it's definitely not working. If PHP was working and CakePHP
was not, you would in the very worst case get an error message of some
kind or a blank screen. If PHP is working there is no way for it to
send out the source file unless you wrote a program to do do that
(that would be a huge security issue).

If you'd like to confirm this, remove the CakePHP stuff and replace
the index.php contents with ?php phpinfo(); ?. When PHP is working
you'll see a list of all its options and variables. Until you see that
page working, you will not be able to use CakePHP or any other PHP
code/library/framework.
--~--~-~--~~~---~--~~
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: installing cakephp on a subdomain

2008-05-14 Thread Samuel DeVore

one thing that happened to someone I know recently on their shared
host was a recent upgrade to webmin caused the folder permissions to
be wedged in the new virtual host folders that were created, causing
all kinds of problems with include and require calls in php

Sam D

On Wed, May 14, 2008 at 2:47 PM, jonknee [EMAIL PROTECTED] wrote:

 Huh? If there has been Cake running on that (shared) box how is it not
 configured properly? There was a Cake install on one of my other
 domains when we (a friend and myself) decided Cake would solve the
 issues set out in front of us. Of course, he installed it as he's the
 developer. I'm trying to do this without just asking him to do it
 again. I'm trying to be somewhat self-sufficient although, I'm asking
 lots of questions, to you and him. Sorry for my indulgence here but, I
 need to learn for myself and, if I don't stumble and fall, I won't
 know what issues I'll encounter along the way in the future. Thanks
 very much.

 Each virtual host on a server can have its own configuration. Because
 PHP is working on one VH does not mean it's a sure bet on another. In
 your case it's definitely not working. If PHP was working and CakePHP
 was not, you would in the very worst case get an error message of some
 kind or a blank screen. If PHP is working there is no way for it to
 send out the source file unless you wrote a program to do do that
 (that would be a huge security issue).

 If you'd like to confirm this, remove the CakePHP stuff and replace
 the index.php contents with ?php phpinfo(); ?. When PHP is working
 you'll see a list of all its options and variables. Until you see that
 page working, you will not be able to use CakePHP or any other PHP
 code/library/framework.
 




-- 
-- 
(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/
http://blog.samdevore.com/cakephp-pages/i-cant-bake/

--~--~-~--~~~---~--~~
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: installing cakephp on a subdomain

2008-05-14 Thread onajide

Thanks but, this is my friend's server and I just talked to him on the
phone. He said that he didn't want to give me total access (to Apache)
because he didn't want me to break his server. I respect that and,
will have to wait a couple of day to have all my domains and client's
domains get transferred to my new box. In the meantime, he says the
box IS configured for PHP correctly but, that I need to hack on it
to get Cake to work properly.

I told him that I would ALWAYS ask before doing something remotely
dangerous to his server and he knows that. I'm always afraid I'll
break something being an ignorant non-programmer. Therefore, I'm just
trying to UNDERSTAND what I'm doing before doing it. Then, when I take
action I'll do the right thing. So far, I haven't broken anything
other than some minor issues, easily resolved.

I don't make any claims about being a developer or programmer but, I
have guided a few people through some install and server issues for
those people that make that claims about themselves being developers
or programmers. If I am doing that then, I figure I can figure out
how to install Cake... with some assistance, of course. And, I thank
every single person that has given me help. Thank you very much.

On May 14, 5:47 pm, jonknee [EMAIL PROTECTED] wrote:
  Huh? If there has been Cake running on that (shared) box how is it not
  configured properly? There was a Cake install on one of my other
  domains when we (a friend and myself) decided Cake would solve the
  issues set out in front of us. Of course, he installed it as he's the
  developer. I'm trying to do this without just asking him to do it
  again. I'm trying to be somewhat self-sufficient although, I'm asking
  lots of questions, to you and him. Sorry for my indulgence here but, I
  need to learn for myself and, if I don't stumble and fall, I won't
  know what issues I'll encounter along the way in the future. Thanks
  very much.

 Each virtual host on a server can have its own configuration. Because
 PHP is working on one VH does not mean it's a sure bet on another. In
 your case it's definitely not working. If PHP was working and CakePHP
 was not, you would in the very worst case get an error message of some
 kind or a blank screen. If PHP is working there is no way for it to
 send out the source file unless you wrote a program to do do that
 (that would be a huge security issue).

 If you'd like to confirm this, remove the CakePHP stuff and replace
 the index.php contents with ?php phpinfo(); ?. When PHP is working
 you'll see a list of all its options and variables. Until you see that
 page working, you will not be able to use CakePHP or any other PHP
 code/library/framework.

--~--~-~--~~~---~--~~
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: installing cakephp on a subdomain

2008-05-14 Thread jonknee

 Thanks but, this is my friend's server and I just talked to him on the
 phone. He said that he didn't want to give me total access (to Apache)
 because he didn't want me to break his server. I respect that and,
 will have to wait a couple of day to have all my domains and client's
 domains get transferred to my new box. In the meantime, he says the
 box IS configured for PHP correctly but, that I need to hack on it
 to get Cake to work properly.

He is incorrect. Correctly configured PHP will never (and I mean
never) offer up source code for a .php file. The problem most likely
lies in Apache, which is not putting the file through PHP, but it
falls under PHP configuration to make sure it's functioning through
the server environment.

And as has been said before, there is no real installing for
CakePHP. It's PHP so by nature is dynamically loaded on requests. You
just drop in the files and load the page. At most you have to set a
few paths. This method has some pros and cons, but it definitely makes
deployment easy. You'll find that out soon enough though, as soon as
PHP works for you it should be easy to get CakePHP rolling.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



installing cakephp on a subdomain

2008-05-13 Thread onajide

I'm attempting to install cake on the subdomain: http://dev.domain.com.
I'm reading too many contradictory things about what I've done wrong
and what I need to do.

Let's assume I've done nothing except upload the files to the server
(mysql  php5) from my Mac. I did create a DB and changed that in the
indicated file. There are no .htaccess files uploaded that I can see.

I followed the instructions from the Cake manual up to the point of
page 6,7 and have not changed the dir layout. I understand this thing
needs to be hacked in order to work but, I see no models of a dir
layout for a subdomain install. Maybe none exists but, the intall
instructions apparently make assumptions that I'm not familiar with.

Can anyone give a bit of guidance here, please?

--~--~-~--~~~---~--~~
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: installing cakephp on a subdomain

2008-05-13 Thread jonknee

There is no difference, subdomains aren't special (www or dev, it's
all the same code wise).
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---