Comments (5)
In the server error log at the time of upload is this message: PHP Warning: POST Content-Length of 60730159 bytes exceeds the limit of 8388608 bytes in Unknown on line 0, referer: http://.../scalar/dummy-book/upload
.
from scalar.
Hi @crism,
Thanks for pointing this out! I'm able to duplicate the issue on my end. What's occurring is that the PHP error at the top is HTML which causes jQuery to not be able to parse the return as JSON. I should be able to trap inside a try/catch and place into an error field in the JSON, as you suggest.
Nb, uploading occurs here: https://github.com/anvc/scalar/blob/master/system/application/libraries/File_Upload.php
I'll add this to my list of things to correct.
from scalar.
Thanks, @craigdietrich.
from scalar.
Hi @crism, this is now corrected in 0f75b1b
PHP was correctly throwing errors when the file was too big for upload_max_filesize, but not when the file was too big for post_max_size.
Thanks for logging this bug!
from scalar.
Great, @craigdietrichโ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.