Loading...
 
Architecture / Installation

Architecture / Installation


strange upload error

posts: 9

Hi,

I tried to upload some files in the file galleries of my tikiwiki, and was faced with this prompt "the document contains no data." !!!!

I thought the file size was an issue, but after having rectified that in php.ini can't think of anything causing this problem.

posts: 1

I experienced the same error message with the Image Gallary, and it appears that my problem is the file size issue.

Good luck figuring it out,


posts: 2881 United Kingdom

Under Fedora Core 1 based systems we have a /etc/httpd/conf/php.conf which contains a LimitRequestBody which on default is around 500k.

Also are you storing in the database or filesystem. Large files I recommend using the File System for.

Damian

posts: 9

Well I have

; Maximum size of POST data that PHP will accept.
post_max_size = 8M
; Maximum allowed size for uploaded files.
upload_max_filesize = 8M

in /etc/apache2/conf/php.ini
But this doesn't seem to get rid of that error.

Is the error php related ? apache2 related ? or a tikiwiki issue ?

Cheers for reply lads,

Shane


> Damian:
> Under Fedora Core 1 based systems we have a /etc/httpd/conf/php.conf which contains a LimitRequestBody which on default is around 500k.
>
> Also are you storing in the database or filesystem. Large files I recommend using the File System for.
>
> Damian
>


posts: 9

Well I have

; Maximum size of POST data that PHP will accept.
post_max_size = 8M
; Maximum allowed size for uploaded files.
upload_max_filesize = 8M

in /etc/apache2/conf/php.ini
But this doesn't seem to get rid of that error.

Is the error php related ? apache2 related ? or a tikiwiki issue ?

Cheers for reply lads,

Shane


> Damian:
> Under Fedora Core 1 based systems we have a /etc/httpd/conf/php.conf which contains a LimitRequestBody which on default is around 500k.
>
> Also are you storing in the database or filesystem. Large files I recommend using the File System for.
>
> Damian
>


posts: 9

can I also mention, that in some browsers (noticably Internet Explorer)
you will not get that message ("the document contains no data."),
but you will get the fimilar "page can't be displayed" html page !