Link to home
Start Free TrialLog in
Avatar of Eduardo Fuerte
Eduardo FuerteFlag for Brazil

asked on

Could you point whyat's needed to a Codeigniter app to correctly be started?

Hi Experts

Could you point whyat's needed to a Codeigniter app to correctly be started?

When opened the app presents this screen

User generated image
And index.php must be fired to make it start.

Another app under the same htdocs present  the login screen but only correctly runs if index.php is used in the path.

Thanks in advance!
Avatar of Ayoub Rouzi
Ayoub Rouzi
Flag of France image

You need to setup CI to point to the right base URL of the app. To do this, open up system/application/config/config.php and
edit the base_url array item to point to your server and CI folder.

$config['base_url'] = "http://localhost/ci/";

We'll do a quick test to see if CI is up and running properly. Go to http://localhost/ci/ and you
should see the following.
User generated image
Avatar of Eduardo Fuerte



It had been configurated before like:

$config['base_url']	= '';

// = IP

Open in new window

change it to:

$config['base_url']	= 'http://localhost/app/';

Open in new window

Where "app" is the name of your application folder.
Nothing changes.
Did you ever checked with another codeigniter version ?
It must to perform on this CI  version.
Avatar of Marco Gasi
Marco Gasi
Flag of Spain image

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi Marco!

Sorry the delay, I get an intercorrence...

I'm returning to this question asap.
Oh... the server where I get to test abends - the suport crew is checking what's wrong.
Thanks for help!