Comments (6)
Hi,
I've been testing this, and I don't know whats happening, but it seems that there is a problem here. What I see is that "larger" files are uploaded (I've tested with a 13MB file), but the process that converts it to dokuwiki syntax never ends. The browser gives me a timeout. I'll try to investigate this, but my PHP skills are not so good...
from dokuwiki-plugin-odtplus2dw.
Hi,
Thanks for your reply.
What happen if you try with smaller files ? Like 5 to 10 mo.
It's not showing me timeout, but
"odtplus2dw : er_file_upload : Something went wrong with the file's upload : 1
odtplus2dw : er_checkUploadResult : Something is wrong with the uploaded file
odtplus2dw : er_pg_dir : Unable to remove the temporary directory : /
"
And this almost instantly since the file is more than exactly 2Mo.
Since those errors appears every time something bad is done, i dont't really think this is helpful.
I tried with verbose log enabled but there is no more logs than what is displayed in th UI.
Have a good day :).
from dokuwiki-plugin-odtplus2dw.
Hi,
Mmmm... This is not happening to me. I tested it again (with different files) and it worked even with a 10Mb file (maybe the file I was using yesterday has something that breaks conversion, with some others it works ok).
I get the errors you get only when I push "upload" without previously selecting a file... Not sure what is happening to you.
By the way... Have you updated the plugin to the latest version? There was a problem with file names containing spaces. Don't know if that is the problem, but maybe you can try.
from dokuwiki-plugin-odtplus2dw.
I made the update annndd... :
odtplus2dw : er_file_upload : Une erreur s'est produite avec le fichier envoyé : 1
odtplus2dw : er_checkUploadResult : Le fichier envoyé semble incorrect
odtplus2dw : er_pg_dir : Suppression du répertoire temporaire impossible : /
In french this time :).
I tried with a very long Lorem Ipsum text, same error. (4mo)
I don't understand why this is happening. I suspect the maxFileUpload parameters fulfilled in the conf UI isn't taken since it happens only with odtplus2dw.
from dokuwiki-plugin-odtplus2dw.
I really don't know how to help you... The only place in code where MaxFileSize is used is in hidden tag name="MAX_FILE_SIZE" (I think), so if it is working OK there should be no problem
from dokuwiki-plugin-odtplus2dw.
The MAX_FILE_SIZE field seems to have no effect indeed.
What you have to do is to allow you php.ini to upload bigger files.
https://www.dokuwiki.org/faq:uploadsize
It is not enough to adjust the nginx config. You have to make sure
php_value upload_max_filesize 2M
php_value post_max_size 8M
are big enough. Otherwise dokuwiki will reject the upload.
You can check the value easily via the dokuwiki upload page.
It says something like "Max. 2 MB per File-Upload." on the bottom, which is a value it gets directly from the php.ini
https://forum.dokuwiki.org/thread/9462
P.S.: This is of course still true for https://github.com/qky666/dokuwiki-plugin-file2dw
from dokuwiki-plugin-odtplus2dw.
Related Issues (3)
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 dokuwiki-plugin-odtplus2dw.