debug and error logs just for the hell of it, Cleared the logs and went thru
every link on the site and check the logs after doing so and everything is
at zero so nothing it tripping up any where I can see.
Stripped everything out of app_controller , site still runs but still that
memory issue.
I will double check again for hardcoded files but I can't think of anything
off hand as I said the site is so small and basically 95% all static "pages"
I write into the ctp files.
Keep you all posted,
Thanks again for the tips.
K
-----Original Message-----
From: cake-php@googlegroups.com [mailto:cake-php@googlegroups.com] On Behalf
Of Dr. Loboto
Sent: Sunday, September 04, 2011 3:45 AM
To: CakePHP
Subject: Re: Clone Site Error
Clear caches at /app/tmp - it's first that should be done on clone.
Look at site code - is there any hardcoded file path or URL of site?
Any of this can create hidden infinite loop as Jeremy suspected.
On 4 сен, 13:09, "Krissy Masters" <naked.cake.ba...@gmail.com> wrote:
> On site 1 (no problem / original site) I turn debug on and I don't see any
> errors no memory crash on any of the pages.
>
> Site 2 ( the clone) every page has the memory error. If I turn debug off
the
> site runs fine, but with debug on I see the error. I dumped the cache,
> session db. It still makes no sense why an exact copy of a site throws
this
> error. If they were feeding of the same memory why would it only show on 1
> site. Would it not be like a tug of war between the sites and whoever gets
> the memory first would win and the other would show the error so you would
> think it would appear on both back and forth type thing no?
>
> I will give your suggestion a try and see what happens.
>
> Server
>
> Site1/app (no problems)
>
> Site2/app(memory exhausted)
>
> Might just delete everything and go to bed......
>
> K
>
> From: cake-php@googlegroups.com [mailto:cake-php@googlegroups.com] On
Behalf
> Of Jeremy Burns | Class Outfit
> Sent: Sunday, September 04, 2011 3:10 AM
> To: cake-php@googlegroups.com
> Subject: Re: Clone Site Error
>
> Most times I have seen that error it is some sort of infinite loop, either
a
> redirect or foreach around bad data. Is there something that is supposed
to
> be in session that isn't? I'd start by doing some die(debug()) stuff until
I
> find the line that causes it to explode.
>
> Jeremy Burns
>
> Class Outfit
>
> http://www.classoutfit.com
>
> On 4 Sep 2011, at 02:13, Almacenamiento Almacenamiento wrote:
>
> Configure php.ini in part memory for more size
>
> 2011/9/3 Krissy Masters <naked.cake.ba...@gmail.com>
>
> I have 1 site up and running no problems.
>
> I copied the site app folder, created a folder on my machine so perfect
copy
> of the site. Create new folder on the server uploaded the copy so I have 2
> exact sites. Coped the original db onto a new db so the cloned site has it
> own db. All is good except the cloned version is throwing
>
> Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to
> allocate 40961 bytes) in /home4 /libs/1.3.11/cake/libs/view/view.php on
line
> 728 (numbers changes on every refresh even down to 4 bytes)
>
> And no idea why 1 would and 1 would not when they are exactly the same.
Same
> server.
>
> Does anyone have any kind of idea why?
>
> Thanks
>
> K
>
> --
> Our newest site for the community: CakePHP Video
Tutorialshttp://tv.cakephp.org<http://tv.cakephp.org/>
> Check out the new CakePHP Questions sitehttp://ask.cakephp.org
> <http://ask.cakephp.org/> and help others with their CakePHP related
> questions.
>
> To unsubscribe from this group, send email to
> cake-php+unsubscribe@googlegroups.com
> <mailto:cake-php%2Bunsubscribe@googlegroups.com> For more options, visit
> this group athttp://groups.google.com/group/cake-php
>
> --
> Our newest site for the community: CakePHP Video
Tutorialshttp://tv.cakephp.org<http://tv.cakephp.org/>
> Check out the new CakePHP Questions sitehttp://ask.cakephp.org
> <http://ask.cakephp.org/> and help others with their CakePHP related
> questions.
>
> To unsubscribe from this group, send email to
> cake-php+unsubscribe@googlegroups.com For more options, visit this group
athttp://groups.google.com/group/cake-php
>
> --
> Our newest site for the community: CakePHP Video
Tutorialshttp://tv.cakephp.org
> Check out the new CakePHP Questions sitehttp://ask.cakephp.organd help
> others with their CakePHP related questions.
>
> To unsubscribe from this group, send email to
> cake-php+unsubscribe@googlegroups.com For more options, visit this group
athttp://groups.google.com/group/cake-php
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help
others with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at
http://groups.google.com/group/cake-php
--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
No comments:
Post a Comment