Re: move to new server

2011-02-15 Thread Shinya Koizumi
I did not have any access to ssh for this site so i didn't use baker at all. -- 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 unsubscrib

Re: move to new server

2011-02-15 Thread cake-learner
error message on firefox "The page isn't redirecting properly" and when i look at in fiddler it's trying to go back to root(mydomain.com/) 20 times -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.or

Re: move to new server

2011-02-15 Thread Estevam
i presume you made your app with the cake console. so you have to copy your app to the server and the cake core. if you bake your application and the cake core is on other folder of you pc you need to change this archives: they are absolute paths, but you just have to change this: app/webroot/ind

Re: move to new server

2011-02-15 Thread Sam Sherlock
try reuploading the htaccess some servers require rewrite base (you would need to add subdirectory to it if in a subdir and using rewritebase) try using fresh htaccess files - S On 15 February 2011 22:38, cake-learner wrote: > yes seems like all files are there. I see router.php is there.

Re: move to new server

2011-02-15 Thread cake-learner
yes seems like all files are there. I see router.php is there. yes i was developing the app on the other server. only difference is htaccess files .htaccess root "empty" app/ RewriteEngine on RewriteBase / RewriteRule^$webroot/[L] RewriteRule(.*) webroot/$1

Re: move to new server

2011-02-15 Thread Sam Sherlock
wow! and you have the libs/ dir in cake/ are you certain that the files transfered correctly? did you make the app that was working on previous server? - S On 15 February 2011 21:59, cake-learner wrote: > After setting debug to 2, > > Fatal error: Class 'Router' not found in /home/gowe

Re: move to new server

2011-02-15 Thread cake-learner
After setting debug to 2, Fatal error: Class 'Router' not found in /home/gowerk/public_html/dev/ cake/dispatcher.php on line 281 -- 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

Re: move to new server

2011-02-15 Thread Sam Sherlock
your getting a blank page with debug set to 2? have you got access to error logs - S On 15 February 2011 21:33, cake-learner wrote: > I debug and removed all errors, but now it doesn't show any thing but > a blank page. > > /* SVN FILE: $Id$ */ > /** > * Short description for file. > *

Re: move to new server

2011-02-15 Thread cake-learner
I debug and removed all errors, but now it doesn't show any thing but a blank page. http://cakephp.org) * Copyright 2005-2010, Cake Software Foundation, Inc. (http:// cakefoundation.org) * * Licensed under The MIT License * Redistributions of files must retain the above copyright notice. * *

Re: move to new server

2011-02-15 Thread Sam Sherlock
echo ROOT; as Miss Yeh is saying another set of wierd issues after fixing the first thing echo ""; echo dirname(dirname(__FILE__)); echo ""; echo CAKE_CORE_INCLUDE_PATH; the first 2 should be same; please decribe you dir structure? I assume the answer to Miss Yeh question is that the directory

Re: move to new server

2011-02-15 Thread MissYeh
Yes, you are heading in the right direction. The CAKE_CORE_INCLUDE_PATH should be the path where your cake folder is located ("cake/bootstrap.php") is located. You might need to debug the value to see if that is the correct value. -- Our newest site for the community: CakePHP Video Tutorials

Re: move to new server

2011-02-15 Thread MissYeh
Where does CakePHP live on the server? Outside or inside the regular CakePHP structure? Like the DS problem, it seems now that the CAKE_CORE_INCLUDE_PATH is not defined. You will have to specify where CAKE_CORE_INCLUDE_PATH should point to, eg what is the (full) path to cake/bootstrap.php? --

Re: move to new server

2011-02-15 Thread cake-learner
No I have been trying to get it working and CAKE_CORE_INCLUDE_PATH is not define. Should be like this? if (!defined('ROOT')) { define('ROOT', dirname(dirname(__FILE__))); } if (!defined('CAKE_CORE_INCLUDE_PATH')) { define('CAKE_CORE_INCLUDE_PATH', ROOT); } -- Our newest site for

Re: move to new server

2011-02-15 Thread Sam Sherlock
Sorry I meant have you seen cake working on the server your moving to? - S On 15 February 2011 21:07, cake-learner wrote: > yes it worked on another server, but having the problem after moving > files to another server. > > -- > Our newest site for the community: CakePHP Video Tutorials >

Re: move to new server

2011-02-15 Thread Sam Sherlock
is the path to cake core correct Check the value of > CAKE_CORE_INCLUDE_PATH in APP/webroot/index.php > > - S On 15 February 2011 21:03, cake-learner wrote: > Check the value of > CAKE_CORE_INCLUDE_PATH in APP/webroot/index.php > -- Our newest site for the community: CakePHP Video Tutoria

Re: move to new server

2011-02-15 Thread cake-learner
yes it worked on another server, but having the problem after moving files to another server. -- 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

Re: move to new server

2011-02-15 Thread cake-learner
I gotta this because CORE_PATH is not define, either. Warning: include(cake/bootstrap.php) [function.include]: failed to open stream: No such file or directory in /home/gowerk/public_html/dev/ app/webroot/index.php on line 57 Warning: include(cake/bootstrap.php) [function.include]: failed to open

Re: move to new server

2011-02-15 Thread Sam Sherlock
> > it skips index.php on the root and came to webroot/ > index.php > that should be fine; I assume that you have seen cake working on the live server before - S On 15 February 2011 20:53, cake-learner wrote: > It seems that it skips index.php on the root and came to webroot/ > index.p

Re: move to new server

2011-02-15 Thread MissYeh
As far as I know that should be ok (but don't pin me down on it). The index in root calls webroot/index.php Most paths in this webroot/index.php file rely on DS. In the warnings you showed in your first message, it is very clear that DS is not returning the correct value. So it doesn't know tha

Re: move to new server

2011-02-15 Thread cake-learner
It seems that it skips index.php on the root and came to webroot/ index.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

Re: move to new server

2011-02-15 Thread cake-learner
and also CORE_PATH is not defined. I think what happen is that it skips index.php on root and came to webroot/index.php because of how I change htaccess is defined. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http:

Re: move to new server

2011-02-15 Thread MissYeh
Perhaps DS is defined somewhere else. Try putting the code in the webroot/index.php file if (!defined('DS')) { define('DS', DIRECTORY_SEPARATOR); } Place it just before: if (!defined('WEBROOT_DIR')) { define('WEBROOT_DIR', basename(dirname(__FILE__))); } See what happens..

Re: move to new server

2011-02-15 Thread cake-learner
On Feb 15, 11:04 am, MissYeh wrote: > It seems that the script is unaware what value DS is, it should be a slash. > > Is the following code present in the webroot/index.php file before line 52? > >         if (!defined('DS')) { >                 define('DS', DIRECTORY_SEPARATOR); >         } I

Re: move to new server

2011-02-15 Thread MissYeh
It seems that the script is unaware what value DS is, it should be a slash. Is the following code present in the webroot/index.php file before line 52? if (!defined('DS')) { define('DS', DIRECTORY_SEPARATOR); } -- Our newest site for the community: CakePHP Video

move to new server

2011-02-15 Thread cake-learner
*I just moved my cakephp app to new server and have some configuration issue. I got the following message and need to specify the `* CAKE_CORE_INCLUDE_PATH` but can`t find any place to specify. Can I just add to core.php? *Warning*: include(cakeDSbootstrap.php) [function.include