Sunday, February 24, 2013

Re: cakephp not working in my local xampp

Did you bake your application?

April DeRossett
President
Direct Connect Solutions
615.386.3946 (office)
615.305.7036 (mobile)
615.386.9510 (fax)

Sent from my iPhone

On Feb 23, 2013, at 7:30 AM, omsakthi@adodis.com wrote:

Dear all,

I am new for cakephp, I had download all file set in my production server, and put in my local xampp server.

My file path is : E:/xampp/htdocs/projects/dish/ and i have change my database connection also, but not working what can i do. 

I changed rewrite rule in appache config. All are post in google some changes, And i follow that one but not  working,and how to change htaccess file.


root/.htaccess

<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /projects/dishgram/app/webroot/
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^(.*)$ index.php?url=$1 [QSA,L]
</IfModule>

root/app/.htaccess
<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /projects/dishgram/app/webroot/
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^(.*)$ index.php?url=$1 [QSA,L]
</IfModule>

root/app/webroot/.htaccess

DirectoryIndex index.html index.php

<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /projects/dishgram/app/webroot/
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^(.*)$ index.php?url=$1 [QSA,L]
</IfModule>

After i put this url in  my system " http://127.0.0.1/projects/dishgram/ " getting error.

Warning: require(..\config\config.php) [function.require]: failed to open stream: No such file or directory in E:\xampp\htdocs\projects\dishgram\app\webroot\index.php on line 27

Fatal error: require() [function.require]: Failed opening required '..\config\config.php' (include_path='.;E:\xampp\php\PEAR') in E:\xampp\htdocs\projects\dishgram\app\webroot\index.php on line 27

Thanks,
Sakthi




--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments: