Welcome Guest, Not a member yet? Register   Sign In
Error: "300 Multiple Choices" Any idea what could be wrong?
#1

[eluser]Doncqueurs[/eluser]
Hi,

I had a little CodeIgniter expense-tracking application running without problems on my Mac. But when I had to reinstall my Mac I forgot to backup my MySQL database and thus lost a bit of data. This kind of made me decide to put the app on a private website. Unfortunately, I have a bit of trouble to get it to work there.

I basically run into the following error message when I want to submit a form or go to any other URL than the standard opening controller. In other words, this url doesn't work, where it should have been working:

Quote:http://private.doncqueurs.com/index.php/records/

However, the opening page seems to display just fine.

Quote:http://private.doncqueurs.com

When I had it installed on my localhost there were no problems with navigating through the application.

I am hosting this site with TextDrive, if that will help somebody to understand the problem better. I've made the site accessible for everybody (taken the .htaccess away).

I am looking forward to some helpful feedback!

I am really appreciating your help!

Jochem
#2

[eluser]CI Auke[/eluser]
I wonder about your config files are the correct?
#3

[eluser]Doncqueurs[/eluser]
I assume you mean that config.php and routes.php in particular. I have no reasons to believe that they aren't. I just double checked the variables in those files and to me it appears that things are set correctly.

Quote:Quick summary of the most important variables:
$config['base_url'] = "http://private.doncqueurs.com/";
$config['index_page'] = "index.php";
$config['uri_protocol'] = "AUTO";
$config['url_suffix'] = "";

Is there anything you are thinking about in particular?
#4

[eluser]ELRafael[/eluser]
Ok, and the main index.php file? Specially the application_folder and system_folder. Just to check :-P
#5

[eluser]Doncqueurs[/eluser]
The main index.php file and the system and application folder are located in the exact same location as they were downloaded from codeigniter.com. However, if they were wrongly located the 'welcome' controller would fail to load, isn't it? Fortunately, this controller is working, proven by the fact that you get to see something on http://private.doncqueurs.com.
#6

[eluser]ELRafael[/eluser]
[quote author="Doncqueurs" date="1191528272"]The main index.php file and the system and application folder are located in the exact same location as they were downloaded from codeigniter.com. However, if they were wrongly located the 'welcome' controller would fail to load, isn't it? Fortunately, this controller is working, proven by the fact that you get to see something on http://private.doncqueurs.com.[/quote]

http://private.doncqueurs.com/index.php/ <- note the final slash

get that error, right? you don't have .htaccess, right?

try to change
Code:
$config['uri_protocol'] = REQUEST_URI;

in my host only works with this change!
#7

[eluser]Doncqueurs[/eluser]
Unfortunately this suggested solution doesn't deliver the desired result! Thanks for the suggestion though! I really appreciate your help!
#8

[eluser]Doncqueurs[/eluser]
OK, I guess this thread is not going to provide me with the desired solution. Or is there still somebody we a great new insight? Thanks for the previous answers by the way!




Theme © iAndrew 2016 - Forum software by © MyBB