Re: how to confiure myproject with cakephp 1.3 on shaing host
Seems like you got it working. Just need to make a controller. On Jan 31, 3:46 pm, ahmed fakher wrote: > something wrong it is not work > look at this linkhttp://alashera.3owl.com/testproject/ > you will see this error > > Warning: include(cake/bootstrap.php) [function.include]: failed to > open stream: No such file or directory in /home/u560489163/public_html/ > testproject/index.php on line 76 > > Warning: include() [function.include]: Failed opening 'cake/ > bootstrap.php' for inclusion (include_path='/home/u560489163/cake:/ > home/u560489163/cake/testproject/:.:/usr/lib/php:/usr/local/lib/php') > in /home/u560489163/public_html/testproject/index.php on line 76 > > Fatal error: CakePHP core could not be found. Check the value of > CAKE_CORE_INCLUDE_PATH in APP/webroot/index.php. It should point to > the directory containing your /cake core directory and your /vendors > root directory. in /home/u560489163/public_html/testproject/index.php > on line 77 -- 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: how to confiure myproject with cakephp 1.3 on shaing host
something wrong it is not work look at this link http://alashera.3owl.com/testproject/ you will see this error Warning: include(cake/bootstrap.php) [function.include]: failed to open stream: No such file or directory in /home/u560489163/public_html/ testproject/index.php on line 76 Warning: include() [function.include]: Failed opening 'cake/ bootstrap.php' for inclusion (include_path='/home/u560489163/cake:/ home/u560489163/cake/testproject/:.:/usr/lib/php:/usr/local/lib/php') in /home/u560489163/public_html/testproject/index.php on line 76 Fatal error: CakePHP core could not be found. Check the value of CAKE_CORE_INCLUDE_PATH in APP/webroot/index.php. It should point to the directory containing your /cake core directory and your /vendors root directory. in /home/u560489163/public_html/testproject/index.php on line 77 -- 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: how to confiure myproject with cakephp 1.3 on shaing host
thatsgreat2345... thanks man .. i will try it now..i hope its works and i will reply to tell you when work On Jan 31, 11:03 pm, thatsgreat2345 wrote: > This way you can just add as many apps you want inside /cake, and then > toss the webroots into public_html. You won't have to have tons of > different cakes for each project you work on. > > On Jan 31, 1:01 pm, thatsgreat2345 wrote: > > > > > > > > > Running on shared hosting, I upload my cake folder to just above > > public_html. > > Inside this cake folder you should have your app folder, and lib, > > plugins, vendors, index.php, and .htaccess > > My app folder I will name after my project, so for this instance we > > shall call it TestProj > > Then in public_html I will upload my webroot folder, I generally name > > this the same as my app folder, so TestProj. > > Then you just need to configure your index.php in your webroot to > > point to cake. > > Change these lines, you will have to adjust the number of dirnames() > > depending on how far away the cake folder is from your webroot. > > If you really don't know what you're doing then try 3 dirnames, then > > 2, then 4. I say this because if you have multiple domains on your > > shared hosting then you will have multiple subdirectories, you can > > count how many subdirectories there are and that is how many dirnames > > you will need but trial and error also works. > > if (!defined('ROOT')) { > > define('ROOT', dirname(dirname(dirname(__FILE__))) . DS . > > 'cake'); > > } > > /** > > * The actual directory name for the "app". > > * > > */ > > if (!defined('APP_DIR')) { > > define('APP_DIR', 'TestProj'); > > } > > > /cake > > -TestProj > > -lib > > -plugins > > -vendors > > -index.php > > -.htacces > > /public_html > > -/TestProj > > --css > > --js > > --img > > --files > > --index.php (Where you make modifications) > > --.htacces > > --test.php > > > Then you would go to "www.example.com/TestProj/controller/index" > > And you should be good to go > > On Jan 29, 2:05 pm, ahmed fakher wrote: > > > > At first I prefer to explaine important things > > > First, this question very basiclly but I'm Newbie To Cake > > > Second,doesnt have a place with experts in the cake Except this place, > > > so I hope that you help me > > > Third, I've made several attempts but failed > > > So please do not let me without any help .. > > > > i read this link and i miss understanding the full > > > stepshttp://book.cakephp.org/1.3/en/view/912/Installation > > > > so please i need clear steps... > > > this image from ftp have two folders (public_html / myproject > > > )http://www12.0zz0.com/2012/01/29/22/349925194.jpg -- 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: how to confiure myproject with cakephp 1.3 on shaing host
This way you can just add as many apps you want inside /cake, and then toss the webroots into public_html. You won't have to have tons of different cakes for each project you work on. On Jan 31, 1:01 pm, thatsgreat2345 wrote: > Running on shared hosting, I upload my cake folder to just above > public_html. > Inside this cake folder you should have your app folder, and lib, > plugins, vendors, index.php, and .htaccess > My app folder I will name after my project, so for this instance we > shall call it TestProj > Then in public_html I will upload my webroot folder, I generally name > this the same as my app folder, so TestProj. > Then you just need to configure your index.php in your webroot to > point to cake. > Change these lines, you will have to adjust the number of dirnames() > depending on how far away the cake folder is from your webroot. > If you really don't know what you're doing then try 3 dirnames, then > 2, then 4. I say this because if you have multiple domains on your > shared hosting then you will have multiple subdirectories, you can > count how many subdirectories there are and that is how many dirnames > you will need but trial and error also works. > if (!defined('ROOT')) { > define('ROOT', dirname(dirname(dirname(__FILE__))) . DS . > 'cake'); > } > /** > * The actual directory name for the "app". > * > */ > if (!defined('APP_DIR')) { > define('APP_DIR', 'TestProj'); > } > > /cake > -TestProj > -lib > -plugins > -vendors > -index.php > -.htacces > /public_html > -/TestProj > --css > --js > --img > --files > --index.php (Where you make modifications) > --.htacces > --test.php > > Then you would go to "www.example.com/TestProj/controller/index" > And you should be good to go > On Jan 29, 2:05 pm, ahmed fakher wrote: > > > > > > > > > At first I prefer to explaine important things > > First, this question very basiclly but I'm Newbie To Cake > > Second,doesnt have a place with experts in the cake Except this place, > > so I hope that you help me > > Third, I've made several attempts but failed > > So please do not let me without any help .. > > > i read this link and i miss understanding the full > > stepshttp://book.cakephp.org/1.3/en/view/912/Installation > > > so please i need clear steps... > > this image from ftp have two folders (public_html / myproject > > )http://www12.0zz0.com/2012/01/29/22/349925194.jpg -- 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: how to confiure myproject with cakephp 1.3 on shaing host
Running on shared hosting, I upload my cake folder to just above public_html. Inside this cake folder you should have your app folder, and lib, plugins, vendors, index.php, and .htaccess My app folder I will name after my project, so for this instance we shall call it TestProj Then in public_html I will upload my webroot folder, I generally name this the same as my app folder, so TestProj. Then you just need to configure your index.php in your webroot to point to cake. Change these lines, you will have to adjust the number of dirnames() depending on how far away the cake folder is from your webroot. If you really don't know what you're doing then try 3 dirnames, then 2, then 4. I say this because if you have multiple domains on your shared hosting then you will have multiple subdirectories, you can count how many subdirectories there are and that is how many dirnames you will need but trial and error also works. if (!defined('ROOT')) { define('ROOT', dirname(dirname(dirname(__FILE__))) . DS . 'cake'); } /** * The actual directory name for the "app". * */ if (!defined('APP_DIR')) { define('APP_DIR', 'TestProj'); } /cake -TestProj -lib -plugins -vendors -index.php -.htacces /public_html -/TestProj --css --js --img --files --index.php (Where you make modifications) --.htacces --test.php Then you would go to "www.example.com/TestProj/controller/index" And you should be good to go On Jan 29, 2:05 pm, ahmed fakher wrote: > At first I prefer to explaine important things > First, this question very basiclly but I'm Newbie To Cake > Second,doesnt have a place with experts in the cake Except this place, > so I hope that you help me > Third, I've made several attempts but failed > So please do not let me without any help .. > > i read this link and i miss understanding the full > stepshttp://book.cakephp.org/1.3/en/view/912/Installation > > so please i need clear steps... > this image from ftp have two folders (public_html / myproject > )http://www12.0zz0.com/2012/01/29/22/349925194.jpg -- 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: how to confiure myproject with cakephp 1.3 on shaing host
Sorry, wading into a discussion I obviously don't know everything about :P Just never had to do that, running 20+ CakePHP sites and countless more demo sites on local WAMP setup and never strayed from the basic install which has always worked (although I do operate my own hosting company so have full control over my server). If yours is not working on your shared host then I doubt moving the folders around will help, probably just makes things more confusing, just ensure URL Rewriting is working correctly. Can you get assistance from your hosting company? -- 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: how to confiure myproject with cakephp 1.3 on shaing host
because i see this video and cookbook links http://book.cakephp.org/1.3/en/view/915/Advanced-Installation read this sentence (You can even move the webroot folder out of the app folder as long as you tell Cake where you've put it. ) http://www.youtube.com/watch?v=4GobWo1rIkE so if i am do the wrong way..please tell me the correct steps..thanks -- 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: how to confiure myproject with cakephp 1.3 on shaing host
> third i move webroot folder from app to public_html Why on earth did you do that? -- 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: how to confiure myproject with cakephp 1.3 on shaing host
this link for you tube tutorial http://www.youtube.com/watch?v=4GobWo1rIkE On Jan 31, 4:28 am, ahmed fakher wrote: > thanls chooch...i follow your steps and also i found this great > tutorial ad my project works in this linkhttp://alashera.3owl.com/ > /// steps /// > first i move all folders from myprojectfolder to public_html > second i remove myprojectfolder > third i move webroot folder from app to public_html and change path > from index.php like youtube tutorial > /// one problem /// > but something wrong need to correct..when i clicked at any link to > enter to classes it give me also this > errorhttp://www2.0zz0.com/2012/01/30/20/161043849.jpg > i guess this error because i remove projectfolder like tutoriali > will give you one example : > > before uploaded my project ..i used this links to enter to this > classes in > localhosthttp://localhost/tet/galleries/http://localhost/tet/articles/ > > s\and after removed tet folder i use this links but get error .. > > http://alashera.3owl.com/gallerieshttp://alashera.3owl.com/articles > > so what i can do now...thanks -- 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: how to confiure myproject with cakephp 1.3 on shaing host
thanls chooch...i follow your steps and also i found this great tutorial ad my project works in this link http://alashera.3owl.com/ /// steps /// first i move all folders from myprojectfolder to public_html second i remove myprojectfolder third i move webroot folder from app to public_html and change path from index.php like youtube tutorial /// one problem /// but something wrong need to correct..when i clicked at any link to enter to classes it give me also this error http://www2.0zz0.com/2012/01/30/20/161043849.jpg i guess this error because i remove projectfolder like tutoriali will give you one example : before uploaded my project ..i used this links to enter to this classes in localhost http://localhost/tet/galleries/ http://localhost/tet/articles/ s\and after removed tet folder i use this links but get error .. http://alashera.3owl.com/galleries http://alashera.3owl.com/articles so what i can do now...thanks -- 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: how to confiure myproject with cakephp 1.3 on shaing host
I'm pretty sure that is an .htaccess file issue. See the Cake Documentation at this link: http://book.cakephp.org/2.0/en/installation/advanced-installation.html#apache-and-mod-rewrite-and-htaccess Specifically, the last paragraph related to shared hosts. {c} On Mon, Jan 30, 2012 at 3:38 PM, ahmed fakher wrote: > i move files into public_html like this image > http://www10.0zz0.com/2012/01/30/20/968254408.jpg > when request site url (http://alashera.3owl.com/) i see this error > http://www2.0zz0.com/2012/01/30/20/161043849.jpg > > -- > 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 > -- 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: how to confiure myproject with cakephp 1.3 on shaing host
i move files into public_html like this image http://www10.0zz0.com/2012/01/30/20/968254408.jpg when request site url (http://alashera.3owl.com/) i see this error http://www2.0zz0.com/2012/01/30/20/161043849.jpg -- 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: how to confiure myproject with cakephp 1.3 on shaing host
Your project files should be in the root of public_html. So move everything out of the "tet" folder down one level, then delete it. public_html should look like this: public_html/ app lib plugins vendors index.php Also, check with your webhost that the .htaccess files will be processed. If not, consult the documentation site as there are some workarounds. You may need to "show hidden files" in your ftp client to see the .htaccess files - so make sure they are visible and got uploaded to the host. The .htaccess files are located in the root folder as well as "app" and "app/webroot". {c} On Mon, Jan 30, 2012 at 2:55 PM, ahmed fakher wrote: > ok i uploaded it into public_html , project name is (tet) > now i see this page > http://www12.0zz0.com/2012/01/30/19/838270121.jpg > when click on my project (tet) i see this page > http://www6.0zz0.com/thumbs/2012/01/30/19/650556076.jpg > so what i can do to see my project please > > -- > 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 > -- 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: how to confiure myproject with cakephp 1.3 on shaing host
ok i uploaded it into public_html , project name is (tet) now i see this page http://www12.0zz0.com/2012/01/30/19/838270121.jpg when click on my project (tet) i see this page http://www6.0zz0.com/thumbs/2012/01/30/19/650556076.jpg so what i can do to see my project please -- 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: how to confiure myproject with cakephp 1.3 on shaing host
You would place it in public_html, since you want people to be able to visit the site. After doing that, you should be able to browse your domain and at least see something (hopefully the site home page with a list of things that may or may not need to be fixed). -- 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
how to confiure myproject with cakephp 1.3 on shaing host
At first I prefer to explaine important things First, this question very basiclly but I'm Newbie To Cake Second,doesnt have a place with experts in the cake Except this place, so I hope that you help me Third, I've made several attempts but failed So please do not let me without any help .. i read this link and i miss understanding the full steps http://book.cakephp.org/1.3/en/view/912/Installation so please i need clear steps... this image from ftp have two folders (public_html / myproject ) http://www12.0zz0.com/2012/01/29/22/349925194.jpg -- 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