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
Related
I have hosted my application within an internal server, and it gives the error
Object Not Found. Error 404
The problem exists only for the hosted application. Not when runs in the local machine.
Anyone know what's the issue here?
are you sure ?You have done the correct configuration settings .htaccess
I am trying to connect to wampserver. I have all setting done and wampserver is online. but when I try to connect to the folder then the url of site is loading as http://website instead of http://localhost:8899/website. because of this i am getting website not found error. How can I solve this?
Maybe you have an .htaccess in that folder or maybe your site is configured to redirect you to http://website, you should check the .htaccess or the site configuration file.
Every project you add to your main folder will open this way if you try to open via WAMP's panel in http://localhost/ , unfortunately.
I think this can be configured, but I don't know how to do so.
You can type the address manually as http://localhost/website. This should work.
Another solution is to make aliases, that'd work.
I am trying to deploy my Laravel app on EC2.
It works fine on local host but when copied the files to var/www/html I always get: The requested URL / was not found on this server.
URL of the instance: http://ec2-52-88-99-75.us-west-2.compute.amazonaws.com/
I am assuming that I am missing something with the httpd.conf, but I am not sure what.
Here is the httpd.conf file:
http://collabedit.com/g249v
Thank you very much!!
Here is the checklist-
1) Check your security group port 80 should be allowed for incoming traffic.
2) Check if your public ip is still same as before on amazon ec2, its much better if you use elastic ip.
3) Check error logs of apache, incase if ther is any error related to missing php module or any other error you can quickly find and correct.
I had hosted many Laravel application on amazon Ec2 and haven't got a single issue.
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\.
I have just moved my CodeIgniter project to a new server and now I'm getting a 500 error and no output from the project. It works fine on my old server and in my test environment. I'm completely stumped how to troubleshoot this, especially as there's nothing of use in the log files. Any help would be great!
Well, this is embarrassing. I was missing php-mysql. CodeIgniter wasn't logging the fact that it couldn't find it, nothing was appearing in /var/log/messages. Installed it and suddenly, it works. Thanks all for your answers.
I get this problem on my live server with SuPHP. To avoid it, all PHP files must have permissions 0644, and directories 0755.
To do this without a headache, do one of the following:
Get an FTP client that will upload using permissions you specify
Find a PHP script that will change permissions, based on filtering criteria, after upload
Get shell access to your host!
Some ideas for you:
Are you sure there is nothing in the log files? Have you checked both the web server's log files as well as the system logs (EG: /var/log/messages)? Have you checked all of the logs enabled in php.ini?
Double-check your CI configuration settings. Perhaps you are pointing to the wrong database?
Have you confirmed that a basic PHP script <?phpinfo(); ?> works? This would isolate the problem to CI
Most likely you have not specified the base url for the new location, you can set it from file:
/system/config/config.php
at line:
$config['base_url'] = 'your new url here';
have you try load a new CodeIgniter project, and try to load in ur test environment? is it work?
From my experiment 500 error normally due with web server problem. But from what your said you didn't have any .htaccess. You better try just load a clean CI project and see your webserver OK or not.