Need help to work the CodeIgniter Tutorial |
[eluser]Unknown[/eluser]
Hi, I am new in CodeIgniter and I tried the introduction : http://ellislab.com/codeigniter/user-gui...pages.html and I it did not for on my computer. my web server is XAMPP. I don't know how can I run my code using CodeIgniter. First thing that I do is. 1. Download the CodeIgniter 2. Extracted the files. 3. Put the CodeIgniter Folder to D:\Program Files\xampp\htdocs\CodeIgniter\ 4. I read the introduction and to what the instructions said. and I tried to run this: http://localhost/CodeIgniter/application/views/pages and the output is: Access forbidden! You don't have permission to access the requested object. It is either read-protected or not readable by the server. If you think this is a server error, please contact the webmaster. Error 403 localhost 3/8/2013 4:37:25 PM Apache/2.2.14 (Win32) DAV/2 mod_ssl/2.2.14 OpenSSL/0.9.8l mod_autoindex_color PHP/5.3.1 mod_apreq2-20090110/2.7.1 mod_perl/2.0.4 Perl/v5.10.1 I hope somebody can help me. I really want to learn the CodeIgniter. Thank you so much.
[eluser]Harold Villacorte[/eluser]
Quote:http://localhost/CodeIgniter/application/views/pagesThis is correct behaviour. The application folder should not be accessible to the browser.
[eluser]greedyman[/eluser]
You can not run this if router and .htaccess are not configed Quote:http://localhost/CodeIgniter/application/views/pages At the first time, you should write any controller with some methods and you can access to function like this: Quote:http://localhost/index.php/controller_na...on_name/id
[eluser]InsiteFX[/eluser]
When using XAMPP you need to install it into the root of your hard drive, like c:\xampp it will not work if installed to c:\Program Files
[eluser]Unknown[/eluser]
Hi Guys, Newbie. So my issue is somewhat similar. Env - Windows 7/Xampp/CodeIgnitor2.1.3/ Aim - To get the CommunityAuth module to work. Done - Updated Config File with encryption key and configured the database.php Status - I am able to access the static page i.e. index view of Community Auth module. Test Action - Initiate the auto installer for Community Auth (http://localhost/CommunityAuth/init) Expected Result - Expected the data tables to be created in the Database set Actual Result - Getting a Object Not Found general redirect to Xampp start page (that's right even the custom 404 page is not displayed) Code- route.php Code: $route['init'] = 'init/index'; Log Analysis - Code: DEBUG - 2013-03-09 22:15:06 --> Config Class Initialized Where am I wrong? Why is it that I am not able to get anything other than the static page set by default?
[eluser]InsiteFX[/eluser]
The Controller's default method is the index method. You do not need to specify it. |
Welcome Guest, Not a member yet? Register Sign In |