Re: cakephp on godaddy
I know this is an old topic, but just wanted to provide an update. I just set up the latest CakePHP in GoDaddy and wanted to post my experience. First, they are using PHP5 as the default now. Second, you still get 500 errors on any path. I fixed it by adding the following at the start of the rewrite code in the .htaccess file under the webroot directory: RewriteBase / -- 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 group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Re: cakephp on godaddy
Rather than make it an absolute path (putting '/' before index.php) couldn't you just reset RewriteBase to '/'? -- 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 group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
help needed to install vamcart CakePHP on GoDaddy
Help Needed!!! I've read previous post but I still got some problems with installing CakePHP vamcart (http://vamcart.com) on GoDaddy. 1 - .htaccess on root directory of CakePHP app AddDefaultCharset utf-8 IfModule mod_rewrite.c RewriteEngine on RewriteRule^$ app/webroot/[L] RewriteRule(.*) app/webroot/$1 [L] /IfModule 2 - .htaccess on app directory of CakePHP app IfModule mod_rewrite.c RewriteEngine on RewriteRule^$webroot/[L] RewriteRule(.*) webroot/$1[L] /IfModule 3 - .htaccess on webroot directory of CakePHP app IfModule mod_rewrite.c RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ index.php?url=$1 [QSA,L] /IfModule IfModule mod_deflate.c AddOutputFilterByType DEFLATE text/html text/plain text/css text/ javascript application/x-javascript /IfModule> IfModule mod_expires.c> ExpiresActive On ExpiresByType text/css "access plus 10 years" ExpiresByType text/js "access plus 10 years" ExpiresByType text/javascript "access plus 10 years" ExpiresByType application/x-javascript "access plus 10 years" ExpiresByType application/javascript "access plus 10 years" ExpiresByType image/png "access plus 10 years" ExpiresByType image/gif "access plus 10 years" ExpiresByType image/jpeg "access plus 10 years" /IfModule FileETag none Tried to change it to IfModule mod_rewrite.c RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ /index.php?url=$1 [QSA,L] /IfModule but without success Please, give some advise 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 To unsubscribe from this group, send email to cake-php+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
Re: Help me set up cakephp on godaddy
Ooops, looks like you already figured it out. Teach me to post before reading to the end of a thread. Well, congrats on getting it all worked out! On 5/24/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > Okay everone good news, got it set up and running. > > Here's what I did (This applies to godaddy's linux hosting which has > rewrite enabled): > > 1. Added a trailing slash '/' to every rewrite rule located in > > /.htaccess > /app/.htaccess > /app/webroot/.htaccess > > 2. Modified /webroot/index.php > > ... > if (!defined('ROOT')) { > //define('ROOT', 'FULL PATH TO DIRECTORY WHERE APP > DIRECTORY IS > LOCATED DO NOT ADD A TRAILING DIRECTORY SEPARATOR'; > //You should also use the DS define to seperate your > directories > // define('ROOT', dirname(dirname(dirname(__FILE__; > define('ROOT', '/home/content/y/o/u/you/html/'); > > } > if (!defined('APP_DIR')) { > //define('APP_DIR', 'DIRECTORY NAME OF APPLICATION'; > //define('APP_DIR', basename(dirname(dirname(__FILE__; > define ('APP_DIR', 'app'); > } > ... > > Left line 41 on config/core.php commented (thus disabling internal > rewrite) > > Thats it! everything worked fine right there. Even admin and routing > were working right away. > > Thank you so much for all your help! > > > On May 24, 11:49 am, "Samuel DeVore" <[EMAIL PROTECTED]> wrote: > > I have client that I set up with a cake site about a year ago on godaddy > but > > he changed the access so I can't see how I set it. He is going to send > me > > the new passwords today, I should be able to try to help you soon > > > > Sam D > > > > On 5/24/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > > css are all linked using $html->css > > > > > Found out that if I edit webroot's .htaccess from > > > > > RewriteRule ^(.*)$ index.php?url=$1 [QSA,L] > > > to > > > RewriteRule ^(.*)$ /index.php?url=$1 [QSA,L] > > > > > Images and flash will show up, but still controllers are a no-go > > > > > On May 24, 11:11 am, "John David Anderson (_psychic_)" > > > <[EMAIL PROTECTED]> wrote: > > > > On May 24, 2007, at 10:04 AM, [EMAIL PROTECTED] wrote: > > > > > > > John, I already downloaded and installed a brand new copy of cake > and > > > > > uploaded it. > > > > > After that I tried working with internal urls but they worked only > if > > > > > I typed /site/index.php?controller > > > > > > That's how internal URLs work. > > > > > > example.com/index.php?/controller/action > > > > > > or > > > > > > example.com/index.php?url=/controller/action > > > > > > > Btw, im using godaddy's linux hosting with is SUPPOSED to have > > > > > mod_rewrite enabled. > > > > > > Verify that. That seems to be the main issue here, and you'll save a > > > > lot of time double checking that rather than assuming it. If it has > > > > it, why are you not using it? > > > > > > > here is the link to the site:http://sportmarketingcenter.com > > > > > > > so far I've gotten the homepage to render the images and flash > file > > > > > but thats it (try clicking on one of the menu options) it will > just go > > > > > back to the start page with no layout defined. > > > > > > It was my understanding that this was a fresh cake install, but it > > > > seems you're running a complete site - which is it? How are you > > > > linking to your CSS in the layouts? > > > > > > -- John > > > > -- > > (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/ > > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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: Help me set up cakephp on godaddy
I actually just wrote a blog post about getting cake working a godaddy hosting. Check it out! http://nathan.ashleafmedia.com/2007/baking-cakephp-on-godaddy-hosting/ On 5/24/07, Samuel DeVore <[EMAIL PROTECTED]> wrote: > > I have client that I set up with a cake site about a year ago on godaddy > but he changed the access so I can't see how I set it. He is going to send > me the new passwords today, I should be able to try to help you soon > > Sam D > > On 5/24/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > > > css are all linked using $html->css > > > > Found out that if I edit webroot's .htaccess from > > > > RewriteRule ^(.*)$ index.php?url=$1 [QSA,L] > > to > > RewriteRule ^(.*)$ /index.php?url=$1 [QSA,L] > > > > Images and flash will show up, but still controllers are a no-go > > > > On May 24, 11:11 am, "John David Anderson (_psychic_)" > > <[EMAIL PROTECTED]> wrote: > > > On May 24, 2007, at 10:04 AM, [EMAIL PROTECTED] wrote: > > > > > > > > > > > > > John, I already downloaded and installed a brand new copy of cake > > and > > > > uploaded it. > > > > After that I tried working with internal urls but they worked only > > if > > > > I typed /site/index.php?controller > > > > > > That's how internal URLs work. > > > > > > example.com/index.php?/controller/action > > > > > > or > > > > > > example.com/index.php?url=/controller/action > > > > > > > Btw, im using godaddy's linux hosting with is SUPPOSED to have > > > > mod_rewrite enabled. > > > > > > Verify that. That seems to be the main issue here, and you'll save a > > > lot of time double checking that rather than assuming it. If it has > > > it, why are you not using it? > > > > > > > here is the link to the site:http://sportmarketingcenter.com > > > > > > > so far I've gotten the homepage to render the images and flash file > > > > but thats it (try clicking on one of the menu options) it will just > > go > > > > back to the start page with no layout defined. > > > > > > It was my understanding that this was a fresh cake install, but it > > > seems you're running a complete site - which is it? How are you > > > linking to your CSS in the layouts? > > > > > > -- John > > > > > > > > > -- > (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/ > > > -- Nathan Garza AshLeaf Media | Director of Technology Innovations _ www.ashleafmedia.com | [EMAIL PROTECTED] | 832.514.5726 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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: Help me set up cakephp on godaddy
This .htaccess setup works for me on godaddy. the key is Options +FollowSymLinks in the .htaccess file in your document root: Options +FollowSymLinks RewriteEngine on RewriteRule^$ /app/webroot/[L] RewriteRule(.*) /app/webroot/$1 [L] and webroot/.htaccess looks like this: RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ index.php?url=$1 [QSA,L] good luck with all that. On May 24, 12:49 pm, "Samuel DeVore" <[EMAIL PROTECTED]> wrote: > I have client that I set up with a cake site about a year ago on godaddy but > he changed the access so I can't see how I set it. He is going to send me > the new passwords today, I should be able to try to help you soon > > Sam D > > On 5/24/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > > > > css are all linked using $html->css > > > Found out that if I edit webroot's .htaccess from > > > RewriteRule ^(.*)$ index.php?url=$1 [QSA,L] > > to > > RewriteRule ^(.*)$ /index.php?url=$1 [QSA,L] > > > Images and flash will show up, but still controllers are a no-go > > > On May 24, 11:11 am, "John David Anderson (_psychic_)" > > <[EMAIL PROTECTED]> wrote: > > > On May 24, 2007, at 10:04 AM, [EMAIL PROTECTED] wrote: > > > > > John, I already downloaded and installed a brand new copy of cake and > > > > uploaded it. > > > > After that I tried working with internal urls but they worked only if > > > > I typed /site/index.php?controller > > > > That's how internal URLs work. > > > > example.com/index.php?/controller/action > > > > or > > > > example.com/index.php?url=/controller/action > > > > > Btw, im using godaddy's linux hosting with is SUPPOSED to have > > > > mod_rewrite enabled. > > > > Verify that. That seems to be the main issue here, and you'll save a > > > lot of time double checking that rather than assuming it. If it has > > > it, why are you not using it? > > > > > here is the link to the site:http://sportmarketingcenter.com > > > > > so far I've gotten the homepage to render the images and flash file > > > > but thats it (try clicking on one of the menu options) it will just go > > > > back to the start page with no layout defined. > > > > It was my understanding that this was a fresh cake install, but it > > > seems you're running a complete site - which is it? How are you > > > linking to your CSS in the layouts? > > > > -- John > > -- > (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/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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: Help me set up cakephp on godaddy
Okay everone good news, got it set up and running. Here's what I did (This applies to godaddy's linux hosting which has rewrite enabled): 1. Added a trailing slash '/' to every rewrite rule located in /.htaccess /app/.htaccess /app/webroot/.htaccess 2. Modified /webroot/index.php ... if (!defined('ROOT')) { //define('ROOT', 'FULL PATH TO DIRECTORY WHERE APP DIRECTORY IS LOCATED DO NOT ADD A TRAILING DIRECTORY SEPARATOR'; //You should also use the DS define to seperate your directories // define('ROOT', dirname(dirname(dirname(__FILE__; define('ROOT', '/home/content/y/o/u/you/html/'); } if (!defined('APP_DIR')) { //define('APP_DIR', 'DIRECTORY NAME OF APPLICATION'; //define('APP_DIR', basename(dirname(dirname(__FILE__; define ('APP_DIR', 'app'); } ... Left line 41 on config/core.php commented (thus disabling internal rewrite) Thats it! everything worked fine right there. Even admin and routing were working right away. Thank you so much for all your help! On May 24, 11:49 am, "Samuel DeVore" <[EMAIL PROTECTED]> wrote: > I have client that I set up with a cake site about a year ago on godaddy but > he changed the access so I can't see how I set it. He is going to send me > the new passwords today, I should be able to try to help you soon > > Sam D > > On 5/24/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > > > > css are all linked using $html->css > > > Found out that if I edit webroot's .htaccess from > > > RewriteRule ^(.*)$ index.php?url=$1 [QSA,L] > > to > > RewriteRule ^(.*)$ /index.php?url=$1 [QSA,L] > > > Images and flash will show up, but still controllers are a no-go > > > On May 24, 11:11 am, "John David Anderson (_psychic_)" > > <[EMAIL PROTECTED]> wrote: > > > On May 24, 2007, at 10:04 AM, [EMAIL PROTECTED] wrote: > > > > > John, I already downloaded and installed a brand new copy of cake and > > > > uploaded it. > > > > After that I tried working with internal urls but they worked only if > > > > I typed /site/index.php?controller > > > > That's how internal URLs work. > > > > example.com/index.php?/controller/action > > > > or > > > > example.com/index.php?url=/controller/action > > > > > Btw, im using godaddy's linux hosting with is SUPPOSED to have > > > > mod_rewrite enabled. > > > > Verify that. That seems to be the main issue here, and you'll save a > > > lot of time double checking that rather than assuming it. If it has > > > it, why are you not using it? > > > > > here is the link to the site:http://sportmarketingcenter.com > > > > > so far I've gotten the homepage to render the images and flash file > > > > but thats it (try clicking on one of the menu options) it will just go > > > > back to the start page with no layout defined. > > > > It was my understanding that this was a fresh cake install, but it > > > seems you're running a complete site - which is it? How are you > > > linking to your CSS in the layouts? > > > > -- John > > -- > (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/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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: Help me set up cakephp on godaddy
I have client that I set up with a cake site about a year ago on godaddy but he changed the access so I can't see how I set it. He is going to send me the new passwords today, I should be able to try to help you soon Sam D On 5/24/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > css are all linked using $html->css > > Found out that if I edit webroot's .htaccess from > > RewriteRule ^(.*)$ index.php?url=$1 [QSA,L] > to > RewriteRule ^(.*)$ /index.php?url=$1 [QSA,L] > > Images and flash will show up, but still controllers are a no-go > > On May 24, 11:11 am, "John David Anderson (_psychic_)" > <[EMAIL PROTECTED]> wrote: > > On May 24, 2007, at 10:04 AM, [EMAIL PROTECTED] wrote: > > > > > > > > > John, I already downloaded and installed a brand new copy of cake and > > > uploaded it. > > > After that I tried working with internal urls but they worked only if > > > I typed /site/index.php?controller > > > > That's how internal URLs work. > > > > example.com/index.php?/controller/action > > > > or > > > > example.com/index.php?url=/controller/action > > > > > Btw, im using godaddy's linux hosting with is SUPPOSED to have > > > mod_rewrite enabled. > > > > Verify that. That seems to be the main issue here, and you'll save a > > lot of time double checking that rather than assuming it. If it has > > it, why are you not using it? > > > > > here is the link to the site:http://sportmarketingcenter.com > > > > > so far I've gotten the homepage to render the images and flash file > > > but thats it (try clicking on one of the menu options) it will just go > > > back to the start page with no layout defined. > > > > It was my understanding that this was a fresh cake install, but it > > seems you're running a complete site - which is it? How are you > > linking to your CSS in the layouts? > > > > -- John > > > > > -- (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/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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: Help me set up cakephp on godaddy
css are all linked using $html->css Found out that if I edit webroot's .htaccess from RewriteRule ^(.*)$ index.php?url=$1 [QSA,L] to RewriteRule ^(.*)$ /index.php?url=$1 [QSA,L] Images and flash will show up, but still controllers are a no-go On May 24, 11:11 am, "John David Anderson (_psychic_)" <[EMAIL PROTECTED]> wrote: > On May 24, 2007, at 10:04 AM, [EMAIL PROTECTED] wrote: > > > > > John, I already downloaded and installed a brand new copy of cake and > > uploaded it. > > After that I tried working with internal urls but they worked only if > > I typed /site/index.php?controller > > That's how internal URLs work. > > example.com/index.php?/controller/action > > or > > example.com/index.php?url=/controller/action > > > Btw, im using godaddy's linux hosting with is SUPPOSED to have > > mod_rewrite enabled. > > Verify that. That seems to be the main issue here, and you'll save a > lot of time double checking that rather than assuming it. If it has > it, why are you not using it? > > > here is the link to the site:http://sportmarketingcenter.com > > > so far I've gotten the homepage to render the images and flash file > > but thats it (try clicking on one of the menu options) it will just go > > back to the start page with no layout defined. > > It was my understanding that this was a fresh cake install, but it > seems you're running a complete site - which is it? How are you > linking to your CSS in the layouts? > > -- John --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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: Help me set up cakephp on godaddy
On May 24, 2007, at 10:04 AM, [EMAIL PROTECTED] wrote: > > John, I already downloaded and installed a brand new copy of cake and > uploaded it. > After that I tried working with internal urls but they worked only if > I typed /site/index.php?controller That's how internal URLs work. example.com/index.php?/controller/action or example.com/index.php?url=/controller/action > Btw, im using godaddy's linux hosting with is SUPPOSED to have > mod_rewrite enabled. Verify that. That seems to be the main issue here, and you'll save a lot of time double checking that rather than assuming it. If it has it, why are you not using it? > here is the link to the site: http://sportmarketingcenter.com > > so far I've gotten the homepage to render the images and flash file > but thats it (try clicking on one of the menu options) it will just go > back to the start page with no layout defined. It was my understanding that this was a fresh cake install, but it seems you're running a complete site - which is it? How are you linking to your CSS in the layouts? -- John --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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: Help me set up cakephp on godaddy
John, I already downloaded and installed a brand new copy of cake and uploaded it. After that I tried working with internal urls but they worked only if I typed /site/index.php?controller Btw, im using godaddy's linux hosting with is SUPPOSED to have mod_rewrite enabled. here is the link to the site: http://sportmarketingcenter.com so far I've gotten the homepage to render the images and flash file but thats it (try clicking on one of the menu options) it will just go back to the start page with no layout defined. On May 24, 10:50 am, "John David Anderson (_psychic_)" <[EMAIL PROTECTED]> wrote: > On May 24, 2007, at 9:42 AM, [EMAIL PROTECTED] wrote: > > > > > Still have not been able to shed some light on this. > > > Ive tried: > > > - enabling internal rewrite and deleting all .htaccess files (only > > homepage will show, links dont work) > > - putting back all .htaccess files and disabling internal rewrite (no > > good, only text shows) > > - manually setting the ROOT and APP_DIR in webroot's index.php (no > > good either) > > And what happened? > > If you can't get mod_rewrite to go at all, I'd start off with a brand > new copy of CakePHP, and try enabling Cake's internal pretty URLs > (remove .htaccess and uncomment core.php line 41). > > -- John --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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: Help me set up cakephp on godaddy
On May 24, 2007, at 9:42 AM, [EMAIL PROTECTED] wrote: > > Still have not been able to shed some light on this. > > Ive tried: > > - enabling internal rewrite and deleting all .htaccess files (only > homepage will show, links dont work) > - putting back all .htaccess files and disabling internal rewrite (no > good, only text shows) > - manually setting the ROOT and APP_DIR in webroot's index.php (no > good either) And what happened? If you can't get mod_rewrite to go at all, I'd start off with a brand new copy of CakePHP, and try enabling Cake's internal pretty URLs (remove .htaccess and uncomment core.php line 41). -- John --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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: Help me set up cakephp on godaddy
Still have not been able to shed some light on this. Ive tried: - enabling internal rewrite and deleting all .htaccess files (only homepage will show, links dont work) - putting back all .htaccess files and disabling internal rewrite (no good, only text shows) - manually setting the ROOT and APP_DIR in webroot's index.php (no good either) I would really appreciate some help here guys --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~--~~~~--~~--~--~---
Help me set up cakephp on godaddy
I've searched and read around but have found no solution to setting up my app in godaddy, my client needs the app as soon as possible but I didn't count on the whole godaddy mod_rewrite thing. I tried using internal rewrite, the main page shows but thats it. Any access to http://site/controller will just return a 404 not found error. Can someone give me a hand here please? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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: cakephp on godaddy
You right in both cases :) After my support experiences and all rewrite problems I will not use godaddy in next projects. Your suggestion about RewriteRule ^(.*)$ /index.php?url=$1 [QSA,L] is right !!! It's working , thank you very much !!! On 3/4/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > I know this isn't much help... but my suggestion is to use not use > godaddy for hosting! I still have most of my domains registered though > godaddy (too much trouble to move them all), but their hosting is very > restrictive. > > I have been using www.1and1.com (linux business account) for nearly 2 > years, without a single complaint. > > -their prices are unbeatable > -their customer service is "adequate" (I've only had to use it > once) > -and cakePHP works great (php4 and/or php5) > > As someone said, it is mass budget hosting, so don't expect personal > service. > > I had to make one change to the .htaccess file to get cake to work > properly: > Change this: > RewriteRule ^(.*)$ index.php?url=$1 [QSA,L] > To this: > RewriteRule ^(.*)$ /index.php?url=$1 [QSA,L] > > gl, > cook > > > > > -- Best Regards, Michael Rubanov. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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: cakephp on godaddy
I know this isn't much help... but my suggestion is to use not use godaddy for hosting! I still have most of my domains registered though godaddy (too much trouble to move them all), but their hosting is very restrictive. I have been using www.1and1.com (linux business account) for nearly 2 years, without a single complaint. -their prices are unbeatable -their customer service is "adequate" (I've only had to use it once) -and cakePHP works great (php4 and/or php5) As someone said, it is mass budget hosting, so don't expect personal service. I had to make one change to the .htaccess file to get cake to work properly: Change this: RewriteRule ^(.*)$ index.php?url=$1 [QSA,L] To this: RewriteRule ^(.*)$ /index.php?url=$1 [QSA,L] gl, cook --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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: [C] cakephp on godaddy
Michael Rubanov wrote: > > Hm...no that does not help. > Did you installed your app on subdomain ? > No, I just put it in a subdirectory for a quick test. It is certainly not a "production install". Some other ideas (from godaddy's php faqs): 1. "For security reasons, we [godaddy] run PHP as a CGI and not as a module." I'm not sure what this means or if it's relevant. 2. I think by default *.php runs as php4 and *.php5 runs as php5. This can be changed with some .htaccess rules if you're running "hosting configuration 2.0". Sorry, I'm not really a php guy at all, so I'm not much help. -- View this message in context: http://www.nabble.com/cakephp-on-godaddy-tf3340227.html#a9300470 Sent from the CakePHP mailing list archive at Nabble.com. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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: [C] cakephp on godaddy
Hm...no that does not help. Did you installed your app on subdomain ? On 3/4/07, TekJansen <[EMAIL PROTECTED]> wrote: > > > > > Michael Rubanov wrote: > > > > When mod_rewrite future is on , I am getting 500 errors on all > > controllers... > > > > Do these errors go away if you manually append a trailing slash to the > url? > > I have just started with cakephp and the first thing I did was throw the > completed tutorial up onto my godaddy shared linux hosting account to make > sure it would work. I got the same errors you describe until I noticed > that > they worked perfectly with a trailing slash. I have found some references > online to the "trailing slash problem" but no definitive solution. > > I have simply gotten used to adding the trailing slash in code and > everything works fine. > e.g., > link($movie['Movie']['title'], > "/movies/detail/{$movie['Movie']['id']}"); ?> > becomes > link($movie['Movie']['title'], > "/movies/detail/{$movie['Movie']['id']}/"); ?> > > I don't know if this is the best solution, but it seems to be working so > far. > > of > the group for my first attempted reply.> > -- > View this message in context: > http://www.nabble.com/cakephp-on-godaddy-tf3340227.html#a9299935 > Sent from the CakePHP mailing list archive at Nabble.com. > > > > > -- Best Regards, Michael Rubanov. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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: [C] cakephp on godaddy
Michael Rubanov wrote: > > When mod_rewrite future is on , I am getting 500 errors on all > controllers... > Do these errors go away if you manually append a trailing slash to the url? I have just started with cakephp and the first thing I did was throw the completed tutorial up onto my godaddy shared linux hosting account to make sure it would work. I got the same errors you describe until I noticed that they worked perfectly with a trailing slash. I have found some references online to the "trailing slash problem" but no definitive solution. I have simply gotten used to adding the trailing slash in code and everything works fine. e.g., link($movie['Movie']['title'], "/movies/detail/{$movie['Movie']['id']}"); ?> becomes link($movie['Movie']['title'], "/movies/detail/{$movie['Movie']['id']}/"); ?> I don't know if this is the best solution, but it seems to be working so far. -- View this message in context: http://www.nabble.com/cakephp-on-godaddy-tf3340227.html#a9299935 Sent from the CakePHP mailing list archive at Nabble.com. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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: cakephp on godaddy
My Idea was: 1) To see if cakePHP can work using internal rewrite - I think you need to delete the .htaccess Now if this works, you may have to settle for using cakePHP without mod rewrite - but at least its working A month or so ago I was having troubles with 1and1 and mod_rewrite - not exactly parallel, but a few similarities GoDaddy is a not a host I have familiarity with but I believe its a mass budget shared hosting service like 1and1. Therefore they have config'd the servers to alleviate some issues In my case the support staff were no help at all, PaulIV on this list put me in the right direction Not saying that this is a solution that will work for you but it may be of help. - S On 04/03/07, Michael Rubanov <[EMAIL PROTECTED]> wrote: > > Hey Sam , > > 1. To enable internal rewrite I uncommented: > define ('BASE_URL', env('SCRIPT_NAME')); > > In godaddy hosting env('SCRIPT_NAME') equals to 0... > Do I have to define it manually ? > What url do I put there ? > The sub domain url ? > > 2. After internal rewrite is on , I getting dispatcher errors : > > *Warning*: preg_replace(): Unknown modifier 'a' in *dispatcher.php* on > line *487 > > *Sam do you have some idea ?** > > > On 3/4/07, Sam Sherlock < [EMAIL PROTECTED] > wrote: > > > > What happens when mod rewrite is off and your using internal rewrite? > > > > On 04/03/07, Michael Rubanov <[EMAIL PROTECTED] > wrote: > > > > > > Actually the "missing" component is in place . > > > > > > I found that problem is connected to godaddy's freaky > > > mod_rewrite/htacces setup. > > > When I turning of mod_rewrite support i core.php I got a app working > > > but dispatcher showing an errors. > > > > > > When mod_rewrite future is on , I am getting 500 errors on all > > > controllers... > > > > > > I had a similar problem with wordpress plugins development , when I > > > tried to define additional rewrite rules via worpress hook , which is > > > working excellent in development environment but not on godaddy's > > > hosting... > > > > > > > > > > > > On 3/4/07, gwoo <[EMAIL PROTECTED] > wrote: > > > > > > > > > > > > what is the missing file? Sounds less to do with godaddy and the > > > > subdomain, and more to do with the code in your controller. > > > > > > > > > > > > > > > > > > > > > -- > > > Best Regards, > > > > > > Michael Rubanov. > > > ## ICQ 7299656 ## > > > > > > > > > > > > > > > > > > -- > Best Regards, > > Michael Rubanov. > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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: cakephp on godaddy
Hey Sam , 1. To enable internal rewrite I uncommented: define ('BASE_URL', env('SCRIPT_NAME')); In godaddy hosting env('SCRIPT_NAME') equals to 0... Do I have to define it manually ? What url do I put there ? The sub domain url ? 2. After internal rewrite is on , I getting dispatcher errors : *Warning*: preg_replace(): Unknown modifier 'a' in *dispatcher.php* on line *487 *Sam do you have some idea ?** On 3/4/07, Sam Sherlock <[EMAIL PROTECTED]> wrote: > > What happens when mod rewrite is off and your using internal rewrite? > > On 04/03/07, Michael Rubanov <[EMAIL PROTECTED] > wrote: > > > > Actually the "missing" component is in place . > > > > I found that problem is connected to godaddy's freaky > > mod_rewrite/htacces setup. > > When I turning of mod_rewrite support i core.php I got a app working but > > dispatcher showing an errors. > > > > When mod_rewrite future is on , I am getting 500 errors on all > > controllers... > > > > I had a similar problem with wordpress plugins development , when I > > tried to define additional rewrite rules via worpress hook , which is > > working excellent in development environment but not on godaddy's hosting... > > > > > > > > On 3/4/07, gwoo <[EMAIL PROTECTED] > wrote: > > > > > > > > > what is the missing file? Sounds less to do with godaddy and the > > > subdomain, and more to do with the code in your controller. > > > > > > > > > > > > > > > -- > > Best Regards, > > > > Michael Rubanov. > > ## ICQ 7299656 ## > > > > > > > > > > -- Best Regards, Michael Rubanov. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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: cakephp on godaddy
What happens when mod rewrite is off and your using internal rewrite? On 04/03/07, Michael Rubanov <[EMAIL PROTECTED]> wrote: > > Actually the "missing" component is in place . > > I found that problem is connected to godaddy's freaky mod_rewrite/htacces > setup. > When I turning of mod_rewrite support i core.php I got a app working but > dispatcher showing an errors. > > When mod_rewrite future is on , I am getting 500 errors on all > controllers... > > I had a similar problem with wordpress plugins development , when I tried > to define additional rewrite rules via worpress hook , which is working > excellent in development environment but not on godaddy's hosting... > > > On 3/4/07, gwoo <[EMAIL PROTECTED]> wrote: > > > > > > what is the missing file? Sounds less to do with godaddy and the > > subdomain, and more to do with the code in your controller. > > > > > > > > > -- > Best Regards, > > Michael Rubanov. > ## ICQ 7299656 ## > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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: cakephp on godaddy
Actually the "missing" component is in place . I found that problem is connected to godaddy's freaky mod_rewrite/htacces setup. When I turning of mod_rewrite support i core.php I got a app working but dispatcher showing an errors. When mod_rewrite future is on , I am getting 500 errors on all controllers... I had a similar problem with wordpress plugins development , when I tried to define additional rewrite rules via worpress hook , which is working excellent in development environment but not on godaddy's hosting... On 3/4/07, gwoo <[EMAIL PROTECTED]> wrote: > > > what is the missing file? Sounds less to do with godaddy and the > subdomain, and more to do with the code in your controller. > > > > > -- Best Regards, Michael Rubanov. ## ICQ 7299656 ## --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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: cakephp on godaddy
what is the missing file? Sounds less to do with godaddy and the subdomain, and more to do with the code in your controller. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~--~~~~--~~--~--~---
cakephp on godaddy
Hello all , Any one has an troubleshooting experience with cakephp on godaddy hosting ? Is it posbile ? I am trying to set up application on subdomain , but for some reason I got an "missing component file error". -- Best Regards, Michael Rubanov. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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: CakePHP on goDaddy?
Great! Exactly what I was looking for. I'll give it a try tonight and let you know. Thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~--~~~~--~~--~--~---
Re: CakePHP on goDaddy?
I have a site set up on GoDaddy. Since you can't access any files/folders above the public webroot on GoDaddy and you can't change the DocumentRoot to a subdirectory I had to put cake and the app directory UNDERNEATH the webroot directory which is at GoDaddy's "/". Then modify webroot's index.php if (!defined('ROOT')) { //define('ROOT', 'FULL PATH TO DIRECTORY WHERE APP DIRECTORY IS LOCATED DO NOT ADD A TRAILING DIRECTORY SEPARATOR'; //You should also use the DS define to seperate your directories //define('ROOT', dirname(dirname(dirname(__FILE__; define('ROOT', '/home/content/y/o/u/yoursite/html'); // change to whatever your GoDaddy root path is } if (!defined('APP_DIR')) { //define('APP_DIR', 'DIRECTORY NAME OF APPLICATION'; //define ('APP_DIR', basename(dirname(dirname(__FILE__; define ('APP_DIR', 'app'); } /** * This only needs to be changed if the cake installed libs are located * outside of the distributed directory structure. */ if (!defined('CAKE_CORE_INCLUDE_PATH')) { //define ('CAKE_CORE_INCLUDE_PATH', FULL PATH TO DIRECTORY WHERE CAKE CORE IS INSTALLED DO NOT ADD A TRAILING DIRECTORY SEPARATOR'; //You should also use the DS define to seperate your directories define('CAKE_CORE_INCLUDE_PATH', ROOT); } --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~--~~~~--~~--~--~---
Re: CakePHP on goDaddy?
Thanks. I think it's my APP_DIR setting in the index.php page. I think the ROOT is set right now. I'll just keep trying things. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~--~~~~--~~--~--~---
Re: Re: CakePHP on goDaddy?
this site http://www.glicksmanlaw.com/ is a very basic cake site running on the private label hosting component of godaddy wildwest domains. When I get to work tomorrow, I'll login and see how it is set up (I can't remember the logins off the top of my head) And see if that helps you. Sam D On 10/15/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I'm wondering what I need to set in my index.php file in my www > directory? Specifically, what to set my Root directory to. > > [EMAIL PROTECTED] wrote: > > Anyone have any luck getting cake to work on goDaddy? I'm not having > > much luck. > > > > > -- == S. DeVore (the old fart) the advice is free, the lack of crankiness will cost you --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~--~~~~--~~--~--~---
Re: CakePHP on goDaddy?
I'm wondering what I need to set in my index.php file in my www directory? Specifically, what to set my Root directory to. [EMAIL PROTECTED] wrote: > Anyone have any luck getting cake to work on goDaddy? I'm not having > much luck. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~--~~~~--~~--~--~---
CakePHP on goDaddy?
Anyone have any luck getting cake to work on goDaddy? I'm not having much luck. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~--~~~~--~~--~--~---