In tikiwiki 2.2, I created a file gallery and then attempted to upload a file. Set to save in database.
With memory_limit in php.ini set to 32M, the upload page says max file size is limited to 4MB. I can upload files that are smaller than 1 MB, but files larger than 1MB produce the PHP error message:
Fatal error:Allowed memory size of 33554432 bytes exhausted (tried to allocate ... bytes) in ...\lib\tikidblib.php on line 208
If I set the memory_limit to 64 MB, the upload page says max file size is limited to 15MB. If I try to upload a file larger than 1 MB, PHP generates the error:
Fatal error:Call to member function fetchRow() on a non-object in ...]lib\tikiklib.php on line 920
If I set to save to a folder instead, upload works.
In /etc/my.cnf, change the following line to the desired max upload size.
max_allowed_packet = 1M
To help developers solve the bug, we kindly request that you demonstrate your bug on a show2.tiki.org instance. To start, simply select a version and click on "Create show2.tiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show2.tiki.org.
filename | created | hits | comment | version | filetype | ||
---|---|---|---|---|---|---|---|
No attachments for this item |