[PHPTAL] Re: PHPTAL Digest, Vol 19, Issue 4

Rony Cohen cohen.rony at gmail.com
Mon Aug 14 14:39:08 CEST 2006


Hi Laurent,

You are definitely right :)

I'm sorry I red my file and it was in kilobytes and not in megabyte, so my
file is big as 156ko
so my probleme don't come from PHPTAL.

Very sorry about this discussion ...

Rony

2006/8/14, phptal-request at lists.motion-twin.com <
phptal-request at lists.motion-twin.com>:
>
> Send PHPTAL mailing list submissions to
>         phptal at lists.motion-twin.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://lists.motion-twin.com/mailman/listinfo/phptal
> or, via email, send a message with subject or body 'help' to
>         phptal-request at lists.motion-twin.com
>
> You can reach the person managing the list at
>         phptal-owner at lists.motion-twin.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of PHPTAL digest..."
>
>
> Today's Topics:
>
>    1. HELP - Page Generation with phptal. (Rony Cohen)
>    2. Re: HELP - Page Generation with phptal. (Laurent Bedubourg)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 14 Aug 2006 09:52:25 +0200
> From: "Rony Cohen" <cohen.rony at gmail.com>
> Subject: [PHPTAL] HELP - Page Generation with phptal.
> To: phptal at lists.motion-twin.com
> Message-ID:
>         <e810fea20608140052u40f8291fy4c0304983c94df9f at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hello, I've got a problem.
>
> I see that phptal generates very big files:
>
> Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to
> allocate 233472 bytes)
>
> I opened the /tmp/****.php file and why is this file so big?
>
> There is some things to do to have this file smaller ???
> Because 16Mb allowed in the server is suffisant and I don't want to
> allowed
> more than that.....
>
> do you have any Idea what I can do, because I can't let my application
> work
> with files so big for each web pages .......
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://lists.motion-twin.com/pipermail/phptal/attachments/20060814/6f5633ad/attachment.html
>
> ------------------------------
>
> Message: 2
> Date: Mon, 14 Aug 2006 10:12:45 +0200
> From: Laurent Bedubourg <lbedubourg at motion-twin.com>
> Subject: Re: [PHPTAL] HELP - Page Generation with phptal.
> To: phptal at lists.motion-twin.com
> Message-ID: <44E0307D.3040003 at motion-twin.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Rony Cohen wrote:
> > Hello, I've got a problem.
> >
> > I see that phptal generates very big files:
> >
>
> The size of generated files depends of the size of your templates.
>
> > Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to
> > allocate 233472 bytes)
>
> There is a problem there, PHPTAL should not generate a 16MB file unless
> your template is as big.
>
> Please send me your template file so i can check that PHPTAL is not
> involved in this bug.
>
> >
> > I opened the /tmp/****.php file and why is this file so big?
> >
>
> Chances are that your PHP configuration has a problem. Which PHP version
> are you using ? which PHPTAL version ?
>
> It looks like PHP itself is broken these times (well, it's not like it
> has ever been really stable :).
>
> Regards
> Laurent
>
>
> NOTE:
>
> There is a big problem related to zend.ze1_compatibility_mode option,
> which force PHP5 to act as PHP4 and break the behaviour of some OO
> libraries like PHPTAL.
>
> See below :
>
> http://www.php.net/~derick/meeting-notes.html
>
> 2.5 zend.ze1_compatibility mode
>
> Issue: zend.ze1_compatibility_mode tries to keep the old PHP 4 behaviour
> where objects will be copied on assignment unless they are assigned by
> reference (and the same for passing to a function as that is assigning
> too). It also affects casting objects to an integer.
>
> Discussion: This functionality does not work 100% and its functionality
> was introduced to migrate PHP 4 users to PHP 5 in an easier way. As this
> is not an issue anyway, we intend to remove this setting.
>
> Conclusions:
>
>     1. We remove the zend.ze1_compatibility_mode feature from PHP.
>     2. We throw an E_CORE_ERROR when starting PHP and when we detect the
> zend.ze1_compatibility_mode setting.
>
>
>
>
>
> ------------------------------
>
> _______________________________________________
> PHPTAL mailing list
> PHPTAL at lists.motion-twin.com
> http://lists.motion-twin.com/mailman/listinfo/phptal
>
>
> End of PHPTAL Digest, Vol 19, Issue 4
> *************************************
>
-------------- section suivante --------------
Une pi?ce jointe HTML a ?t? enlev?e...
URL: http://lists.motion-twin.com/pipermail/phptal/attachments/20060814/4a99d4d6/attachment.htm


More information about the PHPTAL mailing list