Coder Social home page Coder Social logo

Comments (1)

anvc avatar anvc commented on August 24, 2024

(The following is Craig's reply)

---------- Forwarded message ----------
From: Craig Dietrich
Date: Wed, May 22, 2013 at 12:09 PM
To: (redacted)

The error you received indicates a problem with the file that routes our "clean URLs". With the help of CodeIgniter (Scalar's underlying framework), Scalar uses fake (clean) URLs that route to various parts of the application. For example, a call to,

/scalar-master/system/login

... is routing to the "login" method of the "system" controller (which
is kept at system/application/controllers/system.php, but this file
shouldn't need to be touched).

With this in mind, I think the problem is one of two:

  1. The routing file, ".htaccess" is missing from the Scalar root folder. This could be because the FTP client being used ignored hidden (".") files and didn't transfer .htaccess to the server. Note that there's a few .htaccess' in various places in the application, so if this is the case, I would recommend transferring the full contents of the system folder again, in addition to the .htaccess in the Scalar root folder, once hidden files are made visible.

  2. The .htaccess is present, but isn't being processed by your webserver.

If #2, and you're using Apache, some installs will turn off .htaccess support by default. It can be turned back on by un-commeting this line:

;LoadModule rewrite_module modules/mod_rewrite.so

change to =>

LoadModule rewrite_module modules/mod_rewrite.so

... in the Apache conf file, "httpd.conf", which is likely kept in the /etc directory. (Then Apache needs to be re-booted.)

Once enabled, everything should fall into place for Scalar. Though, you may need to clear your browser cache before refreshing a couple times depending on what cache level you're running.

from scalar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.