Coder Social home page Coder Social logo

Get parameters like ?path=index about scalar HOT 3 CLOSED

anvc avatar anvc commented on August 24, 2024
Get parameters like ?path=index

from scalar.

Comments (3)

craigdietrich avatar craigdietrich commented on August 24, 2024

Hi @dwintergruen,

We haven't received other reports of GET VARS causing problems on custom installs. However, the method by which CodeIgniter (Scalar's underlying framework) gets its URLs is in:

system/application/config/config.php

Take a look for:

$config['uri_protocol'] = 'PATH_INFO';

PATH_INFO might not be the appropriate $_SYSTEM variable for your server setup. The default value is "AUTO" though we noticed this caused more problems then it solved when trying to grab GET VARs from the URL, which is why we switched to PATH_INFO. However, reverting to AUTO might work for you.

So, the correct value to put there is most likely trial and error (and probably counter-intuitive, since CodeIgniter's URL routing + htaccess also impact the query strings sent to $_SYSTEM).

Thanks,
Craig

from scalar.

dwintergruen avatar dwintergruen commented on August 24, 2024

Great,
thank you this indeed solved it, I had changes PATH_INFO to AUTO because of different problems at the beginning. Now this works.

I have a few other issues with the current version in GIT. It looks like the date generation for the created field is not correct in some models. date(c) is used instead of date(‚Y-m-d H:i:s‘) at different places which leads to an mysql error at least in my setting with a german locale for php.

I also had some minor issues with the settings of the DB. A number of fields are set to not empty but not initialized at the beginning as well as enum doesn’t contain the „“ . I am not sure why this happened I used the sql script in config to generate this.

But after fixing this everthing works very well now on Max OS X 10.10.3 with german settings.

Cheers and Thank you!

Am 04.06.2015 um 21:57 schrieb Craig Dietrich [email protected]:

Hi @dwintergruen,

We haven't received other reports of GET VARS causing problems on custom installs. However, the method by which CodeIgniter (Scalar's underlying framework) gets its URLs is in:

system/application/config/config.php

Take a look for:

$config['uri_protocol'] = 'PATH_INFO';

PATH_INFO might not be the appropriate $_SYSTEM variable for your server setup. The default value is "AUTO" though we noticed this caused more problems then it solved when trying to grab GET VARs from the URL, which is why we switched to PATH_INFO. However, reverting to AUTO might work for you.

So, the correct value to put there is most likely trial and error (and probably counter-intuitive, since CodeIgniter's URL routing + htaccess also impact the query strings sent to $_SYSTEM).

Thanks,
Craig


Reply to this email directly or view it on GitHub.

from scalar.

craigdietrich avatar craigdietrich commented on August 24, 2024

Hi @dwintergruen -- apologies for the late reply. We're just now getting back around the scalar_store.sql file and making some adjustments (for example: f2145fe ).

Are you still experiencing issues with the DB creation? If so, we could use your assistance weeding out any inconsistencies. Or, if you've run into any issues with the German language in Scalar?

Thanks!

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.