in your webroots index.php make sure the root is correct. Usually having to add dirname to the root a few times so that is will lower an extra directory or 2 so that it is pointing to the root properly for cake.
On Aug 2, 1:28 pm, Alastair <[email protected]> wrote: > Hi all, > > As the subject says, I'm having some troubles setting up my site on a > shared server. The folder structure is as follows: > > /home/sites/associationofprofessionallandscapers.org.uk/ is the home > directory > /home/sites/associationofprofessionallandscapers.org.uk/public_html is > the web root directory > > I've uploaded the cakephp site as follows: > > /home/sites/associationofprofessionallandscapers.org.uk/app/ > /home/sites/associationofprofessionallandscapers.org.uk/cake/ > /home/sites/associationofprofessionallandscapers.org.uk/vendors/ > > and have moved everything from > /home/sites/associationofprofessionallandscapers.org.uk/app/webroot > to > /home/sites/associationofprofessionallandscapers.org.uk/public_html > > When I browse the site with a default index.php in my public_html > directory, I'm getting the following: > > Warning: __loadbootstrap(/home/sites/ > associationofprofessionallandscapers.org.uk/config/core.php) > [function.--loadbootstrap]: failed to open stream: No such file or > directory in /home/sites/associationofprofessionallandscapers.org.uk/ > cake/libs/configure.php on line 651 > > Warning: __loadbootstrap(/home/sites/ > associationofprofessionallandscapers.org.uk/config/core.php) > [function.--loadbootstrap]: failed to open stream: No such file or > directory in /home/sites/associationofprofessionallandscapers.org.uk/ > cake/libs/configure.php on line 651 > > Warning: __loadbootstrap() [function.include]: Failed opening '/home/ > sites/associationofprofessionallandscapers.org.uk/config/core.php' for > inclusion (include_path='/home/sites:/home/sites/ > associationofprofessionallandscapers.org.uk/:.:/usr/share/pear') in / > home/sites/associationofprofessionallandscapers.org.uk/cake/libs/ > configure.php on line 651 > > Fatal error: Can't find application core file. Please create /home/ > sites/associationofprofessionallandscapers.org.uk/config/core.php, and > make sure it is readable by PHP. in /home/sites/ > associationofprofessionallandscapers.org.uk/cake/libs/configure.php on > line 652 > > I did have a look at thehttp://book.cakephp.org/view/35/Advanced-Installation > page, and followed it as I think it read but have had no success. I'm > continuing to get the above warnings and "Fatal error: Can't find > application core file." error. > > Could anyone give me some advice on how this should be set up? > > Many thanks, > > Alastair --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
