This is your problem: Warning (2): mysql_fetch_array(): supplied argument is not a valid MySQL result resource [CORE/app/controllers/pages_controller.php, line 106]
Fix that and the pages should load faster. Also with debug > 0 errors like this will cause pages to load very slow. -- /** * @author Larry E. Masters * @var string $userName * @param string $realName * @returns string aka PhpNut * @access public */ On Wed, Apr 16, 2008 at 1:36 PM, Indian Baker <[EMAIL PROTECTED]> wrote: > > Hi Guys, > We've built a site using cake 1.2x and it works fine overall.. > The only issue is the homepage takes a really long time to load.. > We are using the following helpers, html, javascript, ajax, and form > since all of them are needed there.. but any idea what makes the site > take so much time to load.. the other inner page load fast and if you > come back to the homepage it loads fast.. its only the first time that > you visit the site or visit after clearing your cache and cookies that > it takes so long to load. > I've enabled debug so you can see that the querying part is taking > only a couple of milli secs. no idea what could be wrong.. I even > trying caching the display view, but that too doesnt seen to help > > the site is http://www.tveed.com > > Any help would be appreciated > > Thanks in advance > > PS: there is a mysql_fetch error right now which we'll fix.. but I > dont think that could be one of the issues for the slow loading.. > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
