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 :

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.

(more…)

Add comment August 2, 2008


My Profile


# Software Eng. # Worked with C,C++, JAVA and PHP. #Love to play with codes. # Mostly like to do programming with 'C'. # I am not a CODER, but a DEVELOPER.

Admin Panel..

Life Cycle

November 2009
S S M T W T F
« Sep    
 123456
78910111213
14151617181920
21222324252627
282930  

Clouds

cakephp codeIgniter desktop htaccess jscript linux mixed my words php regular expression

Just Posted

TOP R@TED

TaGs

cakephp codeIgniter desktop GP htaccess image upload installation jscript linux news password Personal Life php regular_Xpression script session validation

Archives

Top Posts

CoMmEnTs

Blog Stats

My Web Links

Web Links

RSS Xperts.PHP