Re: updating cake 1.2.5 to 2.5.3

2014-08-04 Thread euromark
Did you follow the upgrade migration guide? And properly migrated all files 
as outlined there?

mark


Am Montag, 4. August 2014 19:35:55 UTC+2 schrieb Couples Corner:
>
> Hello,
> I have installed a new copy of 2.5.3 which is working but after 
> transferring files from old app I am getting error messages: I have also 
> noticed that old site didn;t have a AppController except in Cake library?  
> There is a base_app_controller which seems to have the  login requirements 
> - could this be causing the problem? Should I put the contents of 
> base_app_Controller into the AppController?see 
> musicthatjumpedtheshark.com/groups
>

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.


updating cake 1.2.5 to 2.5.3

2014-08-04 Thread 'Couples Corner' via CakePHP
Hello,
I have installed a new copy of 2.5.3 which is working but after 
transferring files from old app I am getting error messages: I have also 
noticed that old site didn;t have a AppController except in Cake library?  
There is a base_app_controller which seems to have the  login requirements 
- could this be causing the problem? Should I put the contents of 
base_app_Controller into the AppController?see 
musicthatjumpedtheshark.com/groups

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.


Re: redirect problem in cake 1.2.5

2010-01-15 Thread John Andersen
Try to turn on debug and replace your statement in the index method
with debug('In index');
You echo statement in the index method may be the one that makes an
output, before the index view starts doing that, thus giving you the
error!

Debug is turned on in your app/config/core.php file - look for
Configure::write('debug',n); statement.
Enjoy,
   John

On Jan 15, 1:25 pm, postman  wrote:
> Hello!
>
> I have a problem with ->redirect() in my controller.
>
> I've downloaded the cakephp 1.2.5 empty project and created
> users_controller, here is it:
>
> class UsersController extends AppController
> {
>     var $name = "Users";
>
>     function index()
>     {
>         echo 'index';
>     }
>
>     function test()
>     {
>         $this->redirect('/users/index', null, true);
>     }
>
> }
>
> Very simple :)
> I created corresponding templates for these two actions.
>
> But, when I try to load "test" action I get the empty page with
> "Cannot modify header information - headers already sent by" warning.
> Here is specific html code:
>
> 
> Warning (2): Cannot modify header information -
> headers already sent by (output started at D:\projects\listik\app
> \controllers\users_controller.php:71) [CORE\cake\libs\controller
> \controller.php, line 645]
> 
> Code |
> Context a>$status  =       "Location:http://listik/users/index";header
> - [internal], line ??
> Controller::header() - CORE\cake\libs\controller\controller.php, line
> 645
> Controller::redirect() - CORE\cake\libs\controller\controller.php,
> line 626
> UsersController::test() - APP\controllers\users_controller.php, line
> 24
> Object::dispatchMethod() - CORE\cake\libs\object.php, line 116
> Dispatcher::_invoke() - CORE\cake\dispatcher.php, line 227
> Dispatcher::dispatch() - CORE\cake\dispatcher.php, line 194
> [main] - APP\webroot\index.php, line 88
>
> Cake doesn't actually redirect in my case.
> Spend two hours trying to solve the problem, still no luck :(
> Any hint will 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


redirect problem in cake 1.2.5

2010-01-15 Thread postman
Hello!

I have a problem with ->redirect() in my controller.

I've downloaded the cakephp 1.2.5 empty project and created
users_controller, here is it:

class UsersController extends AppController
{
var $name = "Users";

function index()
{
echo 'index';
}

function test()
{
$this->redirect('/users/index', null, true);
}
}

Very simple :)
I created corresponding templates for these two actions.

But, when I try to load "test" action I get the empty page with
"Cannot modify header information - headers already sent by" warning.
Here is specific html code:



Warning (2): Cannot modify header information -
headers already sent by (output started at D:\projects\listik\app
\controllers\users_controller.php:71) [CORE\cake\libs\controller
\controller.php, line 645]

Code |
Context$status  =   "Location: http://listik/users/index";header
- [internal], line ??
Controller::header() - CORE\cake\libs\controller\controller.php, line
645
Controller::redirect() - CORE\cake\libs\controller\controller.php,
line 626
UsersController::test() - APP\controllers\users_controller.php, line
24
Object::dispatchMethod() - CORE\cake\libs\object.php, line 116
Dispatcher::_invoke() - CORE\cake\dispatcher.php, line 227
Dispatcher::dispatch() - CORE\cake\dispatcher.php, line 194
[main] - APP\webroot\index.php, line 88

Cake doesn't actually redirect in my case.
Spend two hours trying to solve the problem, still no luck :(
Any hint will 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: Cake 1.2.5

2009-09-17 Thread iFeghali

Subversion, buddy.

http://svnbook.red-bean.com/en/1.5/svn.advanced.props.special.keywords.html

On Sep 17, 2:01 pm, brian  wrote:
> Your latest message could use some expansion. What do you mean?
--~--~-~--~~~---~--~~
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: Cake 1.2.5

2009-09-17 Thread brian

Your latest message could use some expansion. What do you mean?

On Thu, Sep 17, 2009 at 12:15 PM, Mal  wrote:
>
> Latest cake doesn't have the $keywords$ expanded.
> >
>

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Cake 1.2.5

2009-09-17 Thread Mal

Latest cake doesn't have the $keywords$ expanded.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---