CodeIgniter Forums
How to use codeigniter in dreamweaver cs5 . and WAMP server.... Plz help me - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: How to use codeigniter in dreamweaver cs5 . and WAMP server.... Plz help me (/thread-51819.html)

Pages: 1 2


How to use codeigniter in dreamweaver cs5 . and WAMP server.... Plz help me - El Forum - 05-19-2012

[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 ...


How to use codeigniter in dreamweaver cs5 . and WAMP server.... Plz help me - El Forum - 05-19-2012

[eluser]Samus[/eluser]
Pretty vague.

All you need to do is put your CI installation in the c:\wamp\www directory.



How to use codeigniter in dreamweaver cs5 . and WAMP server.... Plz help me - El Forum - 05-19-2012

[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.






How to use codeigniter in dreamweaver cs5 . and WAMP server.... Plz help me - El Forum - 05-19-2012

[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?


How to use codeigniter in dreamweaver cs5 . and WAMP server.... Plz help me - El Forum - 05-19-2012

[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


How to use codeigniter in dreamweaver cs5 . and WAMP server.... Plz help me - El Forum - 06-05-2012

[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 ????


How to use codeigniter in dreamweaver cs5 . and WAMP server.... Plz help me - El Forum - 06-05-2012

[eluser]Shiro[/eluser]
Your error nothing do with dreamweaver. Do post your .htaccess up to let us have more detail on your error.



How to use codeigniter in dreamweaver cs5 . and WAMP server.... Plz help me - El Forum - 06-05-2012

[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


How to use codeigniter in dreamweaver cs5 . and WAMP server.... Plz help me - El Forum - 06-05-2012

[eluser]Mistmoore[/eluser]
Stupid question but ... do you have permission required on that folder? like chmod in linux ...


How to use codeigniter in dreamweaver cs5 . and WAMP server.... Plz help me - El Forum - 06-05-2012

[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/';