We help IT Professionals succeed at work.

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

424 Views
Last Modified: 2017-05-09
Hi Experts

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

When opened the app presents this screen

img006
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!
Comment
Watch Question

Ayoub RouziEntrepreneur & Web developer
CERTIFIED EXPERT

Commented:
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.
test.jpg
Eduardo FuerteDeveloper and Analyst

Author

Commented:
Hi

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 RouziEntrepreneur & Web developer
CERTIFIED EXPERT

Commented:
change it to:

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

Open in new window


Where "app" is the name of your application folder.
Eduardo FuerteDeveloper and Analyst

Author

Commented:
Nothing changes.
Ayoub RouziEntrepreneur & Web developer
CERTIFIED EXPERT

Commented:
Did you ever checked with another codeigniter version ?
Eduardo FuerteDeveloper and Analyst

Author

Commented:
It must to perform on this CI  version.
Freelancer
CERTIFIED EXPERT
Top Expert 2010
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
Eduardo FuerteDeveloper and Analyst

Author

Commented:
Hi Marco!

Sorry the delay, I get an intercorrence...

I'm returning to this question asap.
Eduardo FuerteDeveloper and Analyst

Author

Commented:
Oh... the server where I get to test abends - the suport crew is checking what's wrong.
Eduardo FuerteDeveloper and Analyst

Author

Commented:
Thanks for help!
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.