Avatar of Eduardo Fuerte
Eduardo Fuerte
Flag 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

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!
PHPCodeIgniterWeb FrameworksWeb Development

Avatar of undefined
Last Comment
Eduardo Fuerte

8/22/2022 - Mon
Ayoub Rouzi

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.
Eduardo Fuerte


It had been configurated before like:

$config['base_url']	= 'http://xx.xxx.x.xxx/app/';

// xx.xxx.x.xxx = IP

Open in new window

Ayoub Rouzi

change it to:

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

Open in new window

Where "app" is the name of your application folder.
Your help has saved me hundreds of hours of internet surfing.
Eduardo Fuerte

Nothing changes.
Ayoub Rouzi

Did you ever checked with another codeigniter version ?
Eduardo Fuerte

It must to perform on this CI  version.
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
Marco Gasi

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Eduardo Fuerte

Hi Marco!

Sorry the delay, I get an intercorrence...

I'm returning to this question asap.
Eduardo Fuerte

Oh... the server where I get to test abends - the suport crew is checking what's wrong.
Eduardo Fuerte

Thanks for help!
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck