Posts filed under 'cakephp'
Atlast CAKE works
I have to edit two files core.php and database.php which are in the folder :”ROOTWWWcakePHPappconfig”
Change in “core.php”:
- remove commented : ‘Configure::write(‘App.baseUrl’, env(‘SCRIPT_NAME’));’
- edit second param for ’salt’ : ‘Configure::write(‘Security.salt’, ‘laizu’);’
now creating to BLOG example:
- CREATE DB named cake_blog_db.
- CREATE TABLE
- insert data
READing http://book.cakephp.org/view/219/blog and trying…….grrrrrrrrr.
today finished till :10.1.6 Create a Post Model
2 comments August 30, 2008
cakePHP set up
Day-1
reading http://book.cakephp.org/view/308/installing-cakephp
and try today to setup cake php.but as in the previous link tell to goto http://www.example.com/ link and check is cake is properly installed or not. when i goto that link it show following error:
You have reached this web page by typing “example.com”, “example.net”, or “example.org” into your web browser.
These domain names are reserved for use in documentation and are not available for registration. See RFC 2606, Section 3.
then i try with http://localhost/project/cake_1.1.19.6305/ . now it shows following error :
CakePHP Rapid Development
Your database configuration file is present.
Warning: mysql_connect() [function.mysql-connect]: Access denied for user ‘user’@'localhost’ (using password: YES) in E:\XAMPP\xampp\htdocs\project\cake_1.1.19.6305\cake\libs\model\dbo\dbo_mysql.php on line 100
Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in E:\XAMPP\xampp\htdocs\project\cake_1.1.19.6305\cake\libs\model\dbo\dbo_mysql.php on line 105
Cake is not able to connect to the database.
>>
>> and also lots of things for self reading.
now its about 1:30am. my brain got stuck…..i dont know how can i solve this problem.
Add comment August 2, 2008