garlik-gag / dokuwiki-plugin-odt2dw

Import odt file in dokuwiki page
10 stars 10 forks source link

odt2dw - ODT file upload not possible #11

Closed kredn closed 9 years ago

kredn commented 9 years ago

Hi, I hope I could say this is a great plugin, but I can't because I was not able to test it. I have installed Dokuwiki on existing Apache server. It runs fine as far as I could see until now. Then I have installed odt2dw plugin. I changed nothing particular in odt2dw config. When I try to upload an ODT file to some page I get:

odt2dw : er_odtFile_upload : Something went wrong with the file's upload : 1 odt2dw : er_checkUploadResult : Something is wrong with the uploaded file

Has anyone seen this before? Any hint would be great.

garlik-gag commented 9 years ago

Hi kredn,

the message return the error code. it is the '1' finish the first line.

The error code 1 meant : UPLOAD_ERR_INI_SIZE Value: 1; The uploaded file exceeds the upload_max_filesize directive in php.ini.

So your odt file is to big. You need to update your php.ini file to allow larger file.

You should see http://php.net/manual/en/features.file-upload.errors.php for more info.