Hi Everyone:
Ok, I've really done my research in groups and on the Cake site, but I
need a little help. I'm installing my Cake application on another
server (not my local machine) and I'm having a bit of a problem
getting it to run correctly. I think I need to use an Apache alias,
but I'm not sure.
Here's the directory structure on the server that I'll be using:
var
www
html
MyFolder
AppName
app
cake
...other folders from default installation
I've got all my application code in the app folder. When I go to
http://serveraddress/MyFolder/AppName, I do get the home page
displaying correctly, but when I click on any of the links, I get a
blank page with absolutely nothing displaying.
Can anyone point me to a very precise description of how to install my
application correctly given that I have to obey the directory
structure given above?
You should first try to get some more info about what is going wrong, for exemple by setting debug level to at least 1 in your app/config/core.php... You'll get at least the error messages, and it will probably help you to figure this out.
On Wed, May 28, 2008 at 7:34 PM, Mike <mluff...@gmail.com> wrote:
> Hi Everyone: > Ok, I've really done my research in groups and on the Cake site, but I > need a little help. I'm installing my Cake application on another > server (not my local machine) and I'm having a bit of a problem > getting it to run correctly. I think I need to use an Apache alias, > but I'm not sure.
> Here's the directory structure on the server that I'll be using:
> var > www > html > MyFolder > AppName > app > cake > ...other folders from default installation
> I've got all my application code in the app folder. When I go to > http://serveraddress/MyFolder/AppName, I do get the home page > displaying correctly, but when I click on any of the links, I get a > blank page with absolutely nothing displaying.
> Can anyone point me to a very precise description of how to install my > application correctly given that I have to obey the directory > structure given above?
Hi Clément:
Thanks for the response. Doing that does lead me to some additional
clues. I've gotten beyond the original problem. Now, I just have to
deal access denied errors when the app attempts to connect to the
mysql database.
I have the correct login name and password as well as database name in
the app/config/database.php file. I am setting the server to
'localhost'. Is this correct? It keeps coming back with
loginname@localhost access denied messages.
I'll keep beating on this, but if anyone has a suggestion, it would be
much appreciated.
Thank you!
--Mike
On May 28, 1:24 pm, clemos <cl3...@gmail.com> wrote:
> You should first try to get some more info about what is going wrong,
> for exemple by setting debug level to at least 1 in your
> app/config/core.php... You'll get at least the error messages, and it
> will probably help you to figure this out.
> ++++++
> Clément
> On Wed, May 28, 2008 at 7:34 PM, Mike <mluff...@gmail.com> wrote:
> > Hi Everyone:
> > Ok, I've really done my research in groups and on the Cake site, but I
> > need a little help. I'm installing my Cake application on another
> > server (not my local machine) and I'm having a bit of a problem
> > getting it to run correctly. I think I need to use an Apache alias,
> > but I'm not sure.
> > Here's the directory structure on the server that I'll be using:
> > var
> > www
> > html
> > MyFolder
> > AppName
> > app
> > cake
> > ...other folders from default installation
> > I've got all my application code in the app folder. When I go to
> >http://serveraddress/MyFolder/AppName, I do get the home page
> > displaying correctly, but when I click on any of the links, I get a
> > blank page with absolutely nothing displaying.
> > Can anyone point me to a very precise description of how to install my
> > application correctly given that I have to obey the directory
> > structure given above?
Your database config is probably wrong. The hostname is often "localhost", but depending on your web hosting it may be different. If so, nobody here can help you about that, except your web hosting admin...
On Wed, May 28, 2008 at 10:42 PM, Mike <mluff...@gmail.com> wrote:
> Hi Clément: > Thanks for the response. Doing that does lead me to some additional > clues. I've gotten beyond the original problem. Now, I just have to > deal access denied errors when the app attempts to connect to the > mysql database.
> I have the correct login name and password as well as database name in > the app/config/database.php file. I am setting the server to > 'localhost'. Is this correct? It keeps coming back with > loginname@localhost access denied messages.
> I'll keep beating on this, but if anyone has a suggestion, it would be > much appreciated.
> Thank you!
> --Mike
> On May 28, 1:24 pm, clemos <cl3...@gmail.com> wrote: >> Hi Mike
>> You should first try to get some more info about what is going wrong, >> for exemple by setting debug level to at least 1 in your >> app/config/core.php... You'll get at least the error messages, and it >> will probably help you to figure this out.
>> ++++++ >> Clément
>> On Wed, May 28, 2008 at 7:34 PM, Mike <mluff...@gmail.com> wrote:
>> > Hi Everyone: >> > Ok, I've really done my research in groups and on the Cake site, but I >> > need a little help. I'm installing my Cake application on another >> > server (not my local machine) and I'm having a bit of a problem >> > getting it to run correctly. I think I need to use an Apache alias, >> > but I'm not sure.
>> > Here's the directory structure on the server that I'll be using:
>> > var >> > www >> > html >> > MyFolder >> > AppName >> > app >> > cake >> > ...other folders from default installation
>> > I've got all my application code in the app folder. When I go to >> >http://serveraddress/MyFolder/AppName, I do get the home page >> > displaying correctly, but when I click on any of the links, I get a >> > blank page with absolutely nothing displaying.
>> > Can anyone point me to a very precise description of how to install my >> > application correctly given that I have to obey the directory >> > structure given above?
Hi Clement:
I know I must be trying your patience, but bear withme a little. I
really am scouring the docs and the newsgroup for solutions, but
here's what I have so far. When I go to my app's url, the default Cake
page comes up:
Your tmp directory is writeable
Your cache is NOT working. Please check the settings in APP/config/
core.php
Your database configuration file is present.
Warning: mysql_connect() [function.mysql-connect]: Access denied for
user: 'mike@localhost' (Using password: YES) in /var/www/html/mikes/
cake/libs/model/datasources/dbo/dbo_mysql.php on line 100
Cake is NOT able to connect to the database.
In addition, every other time I refresh the page, I get the following:
Fatal error: Call to undefined function: session_regenerate_id() in /
var/www/html/mikes/cake/libs/session.php on line 613
The database issue I'll just have to refer to my web admin. Any ideas
on the cache issue?
Thanks,
Mike
On May 28, 3:36 pm, clemos <cl3...@gmail.com> wrote:
> Your database config is probably wrong.
> The hostname is often "localhost", but depending on your web hosting
> it may be different.
> If so, nobody here can help you about that, except your web hosting admin...
> ++++++
> Clément
> On Wed, May 28, 2008 at 10:42 PM, Mike <mluff...@gmail.com> wrote:
> > Hi Clément:
> > Thanks for the response. Doing that does lead me to some additional
> > clues. I've gotten beyond the original problem. Now, I just have to
> > deal access denied errors when the app attempts to connect to the
> > mysql database.
> > I have the correct login name and password as well as database name in
> > the app/config/database.php file. I am setting the server to
> > 'localhost'. Is this correct? It keeps coming back with
> > loginname@localhost access denied messages.
> > I'll keep beating on this, but if anyone has a suggestion, it would be
> > much appreciated.
> > Thank you!
> > --Mike
> > On May 28, 1:24 pm, clemos <cl3...@gmail.com> wrote:
> >> Hi Mike
> >> You should first try to get some more info about what is going wrong,
> >> for exemple by setting debug level to at least 1 in your
> >> app/config/core.php... You'll get at least the error messages, and it
> >> will probably help you to figure this out.
> >> ++++++
> >> Clément
> >> On Wed, May 28, 2008 at 7:34 PM, Mike <mluff...@gmail.com> wrote:
> >> > Hi Everyone:
> >> > Ok, I've really done my research in groups and on the Cake site, but I
> >> > need a little help. I'm installing my Cake application on another
> >> > server (not my local machine) and I'm having a bit of a problem
> >> > getting it to run correctly. I think I need to use an Apache alias,
> >> > but I'm not sure.
> >> > Here's the directory structure on the server that I'll be using:
> >> > I've got all my application code in the app folder. When I go to
> >> >http://serveraddress/MyFolder/AppName, I do get the home page
> >> > displaying correctly, but when I click on any of the links, I get a
> >> > blank page with absolutely nothing displaying.
> >> > Can anyone point me to a very precise description of how to install my
> >> > application correctly given that I have to obey the directory
> >> > structure given above?
Maybe you could give us bits of your core.php config file. Make sure also that your tmp directory has the right directory structure (cache/views cache/persistent and so on, there has been another thread about it just yesterday).
On Thu, May 29, 2008 at 7:59 AM, Mike <mluff...@gmail.com> wrote:
> Hi Clement: > I know I must be trying your patience, but bear withme a little. I > really am scouring the docs and the newsgroup for solutions, but > here's what I have so far. When I go to my app's url, the default Cake > page comes up:
> Your tmp directory is writeable > Your cache is NOT working. Please check the settings in APP/config/ > core.php > Your database configuration file is present. > Warning: mysql_connect() [function.mysql-connect]: Access denied for > user: 'mike@localhost' (Using password: YES) in /var/www/html/mikes/ > cake/libs/model/datasources/dbo/dbo_mysql.php on line 100 > Cake is NOT able to connect to the database.
> In addition, every other time I refresh the page, I get the following:
> Fatal error: Call to undefined function: session_regenerate_id() in / > var/www/html/mikes/cake/libs/session.php on line 613
> The database issue I'll just have to refer to my web admin. Any ideas > on the cache issue?
> Thanks, > Mike
> On May 28, 3:36 pm, clemos <cl3...@gmail.com> wrote: >> Hi Mike
>> Your database config is probably wrong. >> The hostname is often "localhost", but depending on your web hosting >> it may be different. >> If so, nobody here can help you about that, except your web hosting admin...
>> ++++++ >> Clément
>> On Wed, May 28, 2008 at 10:42 PM, Mike <mluff...@gmail.com> wrote:
>> > Hi Clément: >> > Thanks for the response. Doing that does lead me to some additional >> > clues. I've gotten beyond the original problem. Now, I just have to >> > deal access denied errors when the app attempts to connect to the >> > mysql database.
>> > I have the correct login name and password as well as database name in >> > the app/config/database.php file. I am setting the server to >> > 'localhost'. Is this correct? It keeps coming back with >> > loginname@localhost access denied messages.
>> > I'll keep beating on this, but if anyone has a suggestion, it would be >> > much appreciated.
>> > Thank you!
>> > --Mike
>> > On May 28, 1:24 pm, clemos <cl3...@gmail.com> wrote: >> >> Hi Mike
>> >> You should first try to get some more info about what is going wrong, >> >> for exemple by setting debug level to at least 1 in your >> >> app/config/core.php... You'll get at least the error messages, and it >> >> will probably help you to figure this out.
>> >> ++++++ >> >> Clément
>> >> On Wed, May 28, 2008 at 7:34 PM, Mike <mluff...@gmail.com> wrote:
>> >> > Hi Everyone: >> >> > Ok, I've really done my research in groups and on the Cake site, but I >> >> > need a little help. I'm installing my Cake application on another >> >> > server (not my local machine) and I'm having a bit of a problem >> >> > getting it to run correctly. I think I need to use an Apache alias, >> >> > but I'm not sure.
>> >> > Here's the directory structure on the server that I'll be using:
>> >> > I've got all my application code in the app folder. When I go to >> >> >http://serveraddress/MyFolder/AppName, I do get the home page >> >> > displaying correctly, but when I click on any of the links, I get a >> >> > blank page with absolutely nothing displaying.
>> >> > Can anyone point me to a very precise description of how to install my >> >> > application correctly given that I have to obey the directory >> >> > structure given above?