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
Related
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.
I have a project in CodeIgniter and hosted in Sub-domain, and it has an error:
The requested URL could not be retrieved
Here is a picture of it:
Error
I had the same error on a new installation of CodeIgniter. I solved this error by turning off my VPN browser plugin.
You might have a proxy or VPN app running turn it off and see.
Please use this mandatory part before moving your code from localhost to live server.
Change base_url in config file.
Do necessary changes in .htaccess file
Change database connection credentials
This will help you.
Below steps worked for me -
Search for Proxy Settings on windows machine
Disable all the proxy settings
On local CI setup is working fine but when I uploaded on server it shows this error:
Your system folder path does not appear to be set correctly. Please open the following file and correct this: index.php
I have tried some of the changes like change the system folder path but nothing seems to work.
Instead of uploading all the files to server, first install ci on server, Check if you are able to view welcome page. Once you can see welcome page, upload other files
I currently have the following problem and was hoping that you could help me. I am busy building a website with a login system in Dreamweaver cs5. My login is created and I set up my testing server as the domain I am creating the website for.
This testing server does connect successfully. After this I am trying to establish a MySql connection. I insert my connection name which is dbConfig as well as the information of the MySql database that I set up on cpanel for this domain. I then get the following error:
HTTP Error code 404 file not found.
I don't know where to go from here as I have never worked with php or MySql before and am unsure of where to go from here.
If it is parent domain then you need to upload your files to "WWW" folder from FTP. There might be a case where you may not see "WWW" folder. Some hosting cpanel have different default folder to upload files. For Example: Godaddy hosting cpanel has "html" folder where you can upload your files. But almost all other hosting has "WWW" folder. If you are uploaded to subfolder For Example: www/test then to access your files you need to check like "http://example.com/test/" . OR if it in root folder then you just need to go to your domain url "http://example.com"
I have downloaded one joomla live site folder.set up configuration file and database .But it's giving me error sever not found.
actually my url is http://local.host/foldername/
But it takes www.localhost.com/foldername/
what is the problem with my folder?what can i do for it?
Add www.localhost.com to your hosts file to point to 127.0.0.1.
On Windows it's in C:\Windows\System32\drivers\etc\.