i'am using first time codeigniter .But i know php .
const CI_VERSION = '3.1.11';
My problem is ; website is working on hosting , im create backup and download my localhost folder.but doesn't work in localhost, i want to work localhost (wamp server). i was get a error HTTP ERROR 500.
localhost url : http://localhost/test/
I was edit : application/config.php
$config['base_url'] = 'http://localhost/test/';
I was update : application/database.php
what should I do ? What is next step ?
Try to install Xampp Software, since wamp server has a issues for proper installation in some systems. This might be the problem.
Check .htaccess is available in your root directory. As well as check the permission for the file for index.php in your root directory.
Before above 2 steps, make sure to check config.php and database.php has done proper changes.
Check the error logs(php_error_log) so that you will find the exact problem.
Related
I have installed WAMP on my PC. Successfully Installed. I can access phpmyadmin, localhost. When I'm trying to access my local project folder using localhost it's showing a blank page. Here's my local project path URL.
C:\wamp64\www\phpproject.
I clicked on phpproject on localhost. Please check the below image. Observe the URL
When I type manually by using "localhost/phpproject/" it's working fine and showing files list. I want to know the reason why this occurs. I googled a lot but didn't find the exact reason. Somewhere I read about changing the value in index.php in the www folder.
*($suppress_localhost ? 'http://' : '')
change http:// to http://localhost/ *
But now the latest version is having a different value in it. Please explain the reason and solution.
I cant see my xampp settings: using this URL http://localhost/xampp/
This is the result im looking for:
I dont know why but if i look at examples, everyone's URL looks like http://localhost/xampp/ if i use this Url i get a page saying:
Object not found! The requested URL was not found on this server.
The directory is located in C:\xampp, and if i just add http://localhost/ as domain i get the tree structure of everything within C:\xampp\htdocs.
Also using Xampp v3.2.2 , if im in control panel and click on the Apache Config tab it open my file structure as mentioned above everything within C:\xampp\htdocs.
I just want to mention im using Windows, not Mac, but i meen both windows and mac has these Apache settings afcourse, i just dont get it how i cant find it using http://localhost/xampp/.
Apache & MySQL is switched on.
What i think could be the problem:
Could it be that im missing the /xampp directory within the /htdocs directory ?
Im not sure if there should be a xampp directory in htdocs but its the
only thing that makes sense?
Possible reason: Something is running with port 80
when you run Xampp, check the apache port no. ex: if it is displaying port 8012
then your url is http://localhost:8012/dashboard/
Check Directories for Xampp
Xampp directories.
more about this topic
For check all dependencies in the : httpd-xampp
The only reason i see is the xampp file should be located in the htdocs folder at least that is how i have it.
However i do not think that this will cause a problem for you in developing anything.
Hope this was helpful :)
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script.
The above error displayed in home page, I just download Sample CI project and configure into localhost (XAMPP server) incuding SQL dump moved.
But the site is not came in localhost, I just change base url like below:
$config['base_url'] = "http://".$_SERVER['SERVER_NAME']."/myproname/";
myproname is my project folder name in localhost.
Try this steps
Download Codeigniter 3 from here
in application/config/config.php add this
$config['base_url'] = 'http://localhost/Taxitogether/';
if your Taxitogether project is inside another folder (Ex: c:/XAMPP/htdocs/kama/Taxitogether) then baseurl should be http://localhost/kama/Taxitogether/
Check your Database connection and .htaccess files as well
This is the basic setup of Codeigniter
Code igniter admin module creation issue in wamp server.
This one is working for me in local file and the server path
localhost/site/
but the admin folder is not working in wamp server, the server uploaded files are working and am getting the admin folder.
localhost/site/admin/
This was downloaded from the server for testing purpose, why it is not working in localhost admin folder. Please guide me, how will get rid of this issue.
wampp issue with mode revrite use apache
for those of you who think wampp is a creaton for got to help you make the word better bad news
if you chek google wampp mod_rewrite not working About 254,000 results
and if the url was working on a normal server and not on a local host it has noting to do with codeigniter it has much to do with winshit and xampp.
youse it widout mode rewrite and .htaccess
url/index.php/someign
I’ve recently started with Codeignigter on local windows machine.
I have install the IIS and extracted only ci folder and place index.php, application, system and user_guide in C:\Inetpub\wwwroot.
I've made change in the application/config/config.php to $config['base_url'] = "http://127.0.0.1/";
now i am trying to excess http://127.0.0.1 and http://127.0.0.1/index.php but it shows page not found.
Can anyone tell me how can i fix this Or what else i have to install
may be you have set host name as localhost or root in xampp or wamp what ever server you using.just check
phpmyadmin
to conform.