Hi Andras, thanks for that. I changed it as you suggested, and it's now looking a bit better, but it's as if CSS is disabled or it's not picking it up for some reason. Nothing new is showing up in the error logs and there are no on-screen messages - it's got all the content now, but still none of the styling.
Any ideas what I should try next? Thanks! Sharon On 16 Apr, 22:22, Andras Kende <[email protected]> wrote: > try to change <? to <?php > > Andras > > On Apr 16, 2010, at 4:10 PM, WhyNotSmile wrote: > > > > > I'm back to this again... have changed web hosts, and got everything > > uploaded. I'm no longer getting the blank page, but I'm getting > > errors. > > > It looks like cake isn't picking up the css or javascript - if you go > > towww.softwaresolutionsni.co.ukyou'll see what I mean. There are > > random bits of code and no styling. At one point there was an error > > which said something like 'call to member function on non object', and > > which pointed to a link to a javascript file which says "echo > > $javascript->link('headers_ie6');" However, that error has now > > disappeared. > > > I've cleared the tmp files, made sure tmp is writeable, and enabled > > debug at level 2. > > > The debug and error logs have a fair bit in them: > > > debug.log: > > 2010-04-16 19:51:34 Debug: Notice (8): Undefined variable: javascript > > in [APP\views\elements\footer.ctp, line 7] > > > error.log (I've just given the first couple of lines below, because > > there are quite a few and I assume they are stemming from these): > > 2010-04-16 19:51:34 Warning: Warning (2): mysql_connect() [<a > > href='http://php.net/function.mysql-connect'>function.mysql-connect</ > > a>]: Access denied for user '******* '@'*********' (using password: > > YES) in [CORE\cake\libs\model\datasources\dbo\dbo_mysql.php, line 374] > > > 2010-04-16 19:51:34 Warning: Warning (2): mysql_select_db(): supplied > > argument is not a valid MySQL-Link resource in [CORE\cake\libs\model > > \datasources\dbo\dbo_mysql.php, line 379] > > > Obviously the first line in error log has the user name and host, > > where I've put the *'s, but the host seems to be wrong, although I've > > checked in database.php and it is correct there. > > > I'm not sure what to do - it looks like it's getting the host wrong - > > any ideas why it would have a different host in error.log than > > database.php? Would that be causing the rest of the errors? I'd be > > very grateful if someone could point me in the direction of the files > > to check. > > > Thanks, > > Sharon > > > Check out the new CakePHP Questions sitehttp://cakeqs.organd help others > > with their CakePHP related questions. > > > You received this message because you are subscribed to the Google Groups > > "CakePHP" 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 > > athttp://groups.google.com/group/cake-php?hl=en > > Check out the new CakePHP Questions sitehttp://cakeqs.organd help others with > their CakePHP related questions. > > You received this message because you are subscribed to the Google Groups > "CakePHP" 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 > athttp://groups.google.com/group/cake-php?hl=en Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" 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
