Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3790236
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T12:17:00+00:00 2026-05-19T12:17:00+00:00

Oooops I did it again. My site worked perfectly locally My development machine is

  • 0

Oooops I did it again.

My site worked perfectly locally

My development machine is a windows WAMP2 setup
My server is a CentOS 5.5 APACHE 2.2 PHP5 seup

I’m getting a 404 on the codeigniter site that I’ve deployed, and I really can’t make out what’s wrong, so please help me find the error.

It’s the root url. I haven’t set up dns so it’s just the ip address of the server. It was showing the standard apache page before I uploaded codeigniter. I’ve looked over the config file, and it looks ok. Could it be a file permissions error? i have set chmod o+rw in the whole /var/www/html dir. the error_log in the httpd shows nothing

I’ve tried testing if it was the mod_rewrite module, but I created a test directory with a .htaccess file with RewriteEngine ON that didn’t give me an error, so that can’t be it.

In codeigniter I’ve set the log_threshold to 4 in the config, but I don’t get any log messages, so I can’t really make out if it’s a pre-> codeigniter error, but I really don’t think it is, as it’s loading my Error view, still Why isn’t there any log being written, what’s it about?

Any help would be extremely appreciated as I’m running on fumes to get this working…

Update
Thanks to @jondavidjohn I have discovered that hitting the controller directly IE:

http://addr/index.php/GeoController/markers/

Will provide me with a controller specific error saying:

unable to locate your model “modelname”

SOLVED
Thanks to @jondavidjohn, and @timdream for giving me the clues to solve this one. It was a naming problem, I had filenames that were camelcased, and they can only be small from what I understand now, so the ROUTE was innefective in that it lead to Site, but should’ve lead to site although I had a Site.php I had to change it and the route to site.php

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T12:17:00+00:00Added an answer on May 19, 2026 at 12:17 pm

    make sure you have the correct settings in system/application/config/config.php.. pay special attention to

    $config['base_url'] = "http://www.example.com";
    

    Make sure you are putting in the root domain of your site, also check your routing config and make sure you have the correct default controller set in system/application/config/routes.php

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How should I properly restart the ASP.NET (IIS 5.1) server in order to refresh
I have a method in my windows service as follows: System.IO.File.Copy(path, ConfigurationManager.AppSettings[BulkInsertGiftRegisterCreatorDirectory] + System.IO.Path.GetFileName(path));
Not a very good title, so my apologies. For some reason, (I wasn't the
I have written the small test with sole purpose to better understand transactions in
I recently spent some time chasing an annoying little bug and I'm looking for
I assure you all that this is not homework. I have a combo box:
A there any g++ options which can detect improper initialization of std::string with NULL
I am trying to learn my first programming language. Unfortunately I picked the Iphone
I have an ASP.NET MVC app hosted at webhost4life What's a good way to
Everything inherits from object. It's the basis of inheritance. Everything can be implicitly cast

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.