Re: Cake 1.2 Apache Install
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: '[EMAIL PROTECTED]' (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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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? Thank you! --Mike --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com 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 -~--~~~~--~~--~--~---
Re: Cake 1.2 Apache Install
Hi Mike 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). + Clément On Thu, May 29, 2008 at 7:59 AM, Mike [EMAIL PROTECTED] 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: '[EMAIL PROTECTED]' (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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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? Thank you! --Mike --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com 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 -~--~~~~--~~--~--~---
Cake 1.2 Apache Install
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? Thank you! --Mike --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com 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 -~--~~~~--~~--~--~---
Re: Cake 1.2 Apache Install
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 [EMAIL PROTECTED] 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? Thank you! --Mike --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com 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 -~--~~~~--~~--~--~---
Re: Cake 1.2 Apache Install
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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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? Thank you! --Mike --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com 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 -~--~~~~--~~--~--~---
Re: Cake 1.2 Apache Install
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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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? Thank you! --Mike --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com 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 -~--~~~~--~~--~--~---