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.baker@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 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
--
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