Hi Dallas, Have you tried running the CakePHP 2 upgrade shell?
http://book.cakephp.org/2.0/en/console-and-shells/upgrade-shell.html#upgrade-shell It does about 90% of the "grunt" work for you, renames directories, moves files, search and replace things like $html to $this->Html, etc. On Thursday, 28 August 2014 02:25:13 UTC+2, Dallas wrote: > > one other thing Stephan, following a migration tutorial I didn't transfer > the old index.php from app/webroot/index.php - i kept the 2.5.3 clean > version. Should I be bringing over code from the earlier version and addi > to 2.5.3 cake or just use the old version. I am getting another error > regarding the dispatcher request response on that file? Thank you for all > of your help. I am determined to get this back up. > D > > On Tuesday, August 26, 2014 2:50:44 PM UTC-4, Stephen S wrote: >> >> Also your index method is outside of your class, is this deliberate? >> >> >> On 26 August 2014 19:48, Stephen S <[email protected]> wrote: >> >>> It doesn't look like you're using the request handler in this controller >>> or the construct method, why not remove both? CakePHP 2.x controllers don't >>> really need to use construct, beforeFilter is usually more than sufficient. >>> >>> Hope this helps >>> >>> >>> On 26 August 2014 17:31, 'Dallas' via CakePHP <[email protected]> >>> wrote: >>> >>>> Andras, >>>> Thank you, but I already changed this per the stackflow post, and I am >>>> still getting the error. I will keep searching. >>>> D >>>> >>>> >>>> On Saturday, August 23, 2014 5:47:08 PM UTC-4, Dallas wrote: >>>> >>>>> does anyone know how this should be >>>>> >>>>> <?php e($html->image('index_01.jpg'));?></td> >>>>> >>>>> and >>>>> <?php e($html->css('shark')); ?> >>>>> >>>>> shark being my stylesheet. when I removed the above css line, my >>>>> background came up. So I do not know if I no longer need these lines or >>>>> if >>>>> the language has changed. They were calling for undefined functions in >>>>> the >>>>> error messages. >>>>> >>>>> Thanks for any help >>>>> >>>> -- >>>> 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 [email protected]. >>>> To post to this group, send email to [email protected]. >>>> Visit this group at http://groups.google.com/group/cake-php. >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> >>> >>> -- >>> Kind Regards >>> Stephen Speakman >>> >> >> >> >> -- >> Kind Regards >> Stephen Speakman >> > -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/d/optout.
