Hi,

As I had written in my previous post:"cannot access php.ini as I am
using a shared hosting."
So, I need some .htaccess based solution.

I am running cake 1.1, 1.2-alpha and 1.2-pre-beta on the same server
but only pre-beta is giving problems.

regards,
Prateek


On Oct 25, 9:15 pm, francky06l <[EMAIL PROTECTED]> wrote:
> To disable Zend optimiser you need to comment the lines in php.ini.
>
> On Oct 25, 5:01 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
>
> > Hi all,
>
> > I tried the following:
>
> > 1. lemp>>Replace __("CakePHP: the rapid development php framework",
> > true)  ... did not work
>
> > 2. Kunthar>>adding "php_flag display_errors on" in .htaccess file ...
> > did not work
>
> > 3. Zend Optimizer was running. I tried disabling it by adding the
> > following lines in .htaccess file. I was not able to disable it.
> > php_flag display_errors on
> > php_flag zend_optimizer.optimization_level 0
> > php_flag eaccelerator.enable 0
> > php_flag eaccelerator.optimizer 0
> > php_flag zlib.output_compression off
>
> > Does anybody have a better idea of how to disable Zend Optimizer? I
> > cannot access php.ini as I am using a shared hosting.
> > Zend Optimizer version is 3.2.2.
> > This problem only appears on the above server configuration. I am
> > running WAMP on my laptop and it does not appear there.
>
> > Still no luck. Thanks to all for your suggestions. If there are any
> > other ideas, do let me know.
>
> > regards,
> > Rex
>
> > On Oct 25, 2:53 am, francky06l <[EMAIL PROTECTED]> wrote:
>
> > > The zend optimizer fails on the __("") ..I had to remove from php.ini
> > > in order to avoid the crash ..Maybe this is linked.
>
> > > On Oct 24, 11:40 pm, lemp <[EMAIL PROTECTED]> wrote:
>
> > > > On Oct 24, 6:22 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
>
> > > > > After install, when I go to the cake link, a blank page is returned.
>
> > > > Had the same problem.
>
> > > > In cake/libs/view/templates/layouts/default.ctp at line 59
>
> > > > Replace __("CakePHP: the rapid development php framework", true) by
> > > > any string and it will work.
>
> > > > The same function is used on line 45, so I presume the problem is
> > > > contextual but I don't know why yet.
>
> > > > Someone has a suggestion?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to