Tuesday, January 15, 2013

Helper and different servers

I have one server with php 5.3.2(ubuntu) and one with 5.3.14(mamp)

For some reason I started getting html helper not found on the production server, but no problem locally.

After clearing cache - nothing

Then I added the following line in the appcontroller.php

public $helpers = array('Html','Form');

And it worked.

My question is why would it work on my local test, and fail on production?  I know it is a different version of PHP, but it seems odd.

Thank you.

--
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 post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
 
 

No comments: