Comments (3)
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.
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.
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)
- PHP 8.1 throws errors in development mode HOT 3
- Lens as Advanced Search HOT 1
- Google Maps are no longer loading HOT 1
- Deprecated package yepnope v1.5.3 HOT 1
- CE dates in in timeline don't plot correctly HOT 2
- Changin url on new book throws error
- Resizing window duplicates inline notes HOT 2
- error display/logging? HOT 3
- Feature request: Creative Commons licence select/display HOT 1
- Instance crashes after 5 relationship links HOT 5
- A PHP Error was encountered HOT 3
- Error message returns "object Object" to user in alert HOT 1
- Error message returns JSON parse error in alert to user HOT 1
- Feature Request: Place uploads in separate directory by default
- Error when importing book to custom install HOT 1
- Bulk update page metadata HOT 2
- Feature Suggestion: Anonymous Interactive Lens HOT 1
- Feature Suggestion: List lens should include the queried metadata column HOT 4
- Lenses description not saved HOT 1
- Content search queries with apostrophe/single quote return no results HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scalar.