How to use codeigniter in dreamweaver cs5 . and WAMP server.... Plz help me |
[eluser]Bashi[/eluser]
I am using dreamweaver cs5 and wamp server with codeigniter but , i can't understand how to make them work properly .... I have tried many online links but can't find them useful please help me ASAP i am new in php ... will be thankful ...
[eluser]Samus[/eluser]
Pretty vague. All you need to do is put your CI installation in the c:\wamp\www directory.
[eluser]Bashi[/eluser]
i'v done this but when i compile my code from controllers folder .. it says .. 403 Forbidden You don't have permission to access /bashi/application/controllers/blog.php on this server.
[eluser]Samus[/eluser]
[quote author="Bashi" date="1337417841"]i'v done this but when i compile my code from controllers folder .. it says .. 403 Forbidden You don't have permission to access /bashi/application/controllers/blog.php on this server. [/quote] Have you setup .htacess? Andd how are you accessing the url?
[eluser]Bashi[/eluser]
yes i have enabled rewrite_module in .htacess. and i have : Local site folder C:\wamp\www\bashi Server Folder C:\wamp\www\ web url http://localhost/bashi/ in config $config['base_url']= 'http://localhost/'; and i have a test file in C:\wamp\www\bashi\application\controllers
[eluser]Bashi[/eluser]
[/b]403 Forbidden You don’t have permission to access /bashi/application/controllers/blog.php on this server.[/b] plz help me.... still have this error ????
[eluser]Shiro[/eluser]
Your error nothing do with dreamweaver. Do post your .htaccess up to let us have more detail on your error.
[eluser]josepichu[/eluser]
[quote author="Bashi" date="1337440779"]yes i have enabled rewrite_module in .htacess. and i have : Local site folder C:\wamp\www\bashi Server Folder C:\wamp\www\ web url http://localhost/bashi/ in config $config['base_url']= 'http://localhost/'; and i have a test file in C:\wamp\www\bashi\application\controllers[/quote] if you CI install is located in C:\wamp\www\bashi, your config base url must be: Code: $config['base_url']= 'http://localhost/bashi'; anyway, post your .htaccess
[eluser]Mistmoore[/eluser]
Stupid question but ... do you have permission required on that folder? like chmod in linux ...
[eluser]CroNiX[/eluser]
[quote author="josepichu" date="1338900462"] if you CI install is located in C:\wamp\www\bashi, your config base url must be: Code: $config['base_url']= 'http://localhost/bashi'; anyway, post your .htaccess[/quote] base_url always gets a trailing slash (as the comments for it say in the config) Code: $config['base_url']= 'http://localhost/bashi/'; |
Welcome Guest, Not a member yet? Register Sign In |