If my site is at http://www.toreadandtowrite.com/CakePHP/toreadandtowrite and I can not change the document root, do I have to edit the paths in app/webroot/index.php? If so, how do I properly edit the paths?
On Mar 27, 4:29 pm, Stephen Orr <[EMAIL PROTECTED]> wrote: > I know this might seem illogical to you - but ALL the information you > need to get Cake working is in the docs. Hell, in most cases all you > have to do is upload the files as downloaded either from the site or > from SVN. This is all I've ever had to do. > > Rename app/config/database.default.php to database.php, add your > database settings to it, and that should get you a basic, if minimal, > Cake site running. Beyond that, the docs will help further. > > If you're trying to install it in a wildly different folder structure, > then yes, you will have to change some paths in app/webroot/index.php > - but unless you're doing so, you will generally NEVER need to touch > it. > > On Mar 27, 1:46 pm, Raistlin Majere <[EMAIL PROTECTED]> wrote: > > > I searched for root_path and root_app in there, but the text was not > > found. > > > On Mar 27, 9:31 am, bingo <[EMAIL PROTECTED]> wrote: > > > > Probably CakePHP is not able to access the databaes configuration.. > > > Open app/webroot/index.php file and change appropriate settings such > > > as root_path, root_app, etc as suggested in the file. > > > > Regards, > > > > On Mar 27, 4:23 am, Raistlin Majere <[EMAIL PROTECTED]> wrote: > > > > > I uploaded CakePHP to /public_html, but it is giving me an error. > > > > "Your database configuration file is not present." My database > > > > configuration file IS present! Why am I getting this error message? I > > > > need to install CakePHP, but not CakePHP support in my host. How can I > > > > do that? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
