Loading...
 
Skip to main content

Features / Usability


1.8.4 Issues with Zipped Image Upload Size + Forums

posts: 10

Here are some of my phi.ini settings
***************************************
max_execution_time = 90
max_input_time = 60
memory_limit = 32M

; Maximum allowed size for uploaded files.
upload_max_filesize = 30M

***************************************

I am running
- tiki 1.8.4
- EasyPHP 1.7
- Windows XP

I have a zip file with 6 images in it (size=4.71 mb) which is so much less
than my "upload_max_filesize = 30M". When I try to upload it I do NOT get any errors, it seems to think and then quit, leaving me still on the Upload Image page....what can I do? Do I keep increasing the max_execution_time?

Next issue is with FORUMS. I am the administrator....and there is NO WAY that I can see to add a new forum topic ??? I have clicked on everything? Does anyone else share this problem?

Please post if you have tips for me.

Thanks so much,

CK

posts: 10

Tried changing some settings in the php.ini file to:

+


max_execution_time = 900
max_input_time = 900
memory_limit = 32M

+



I thought maybe if I gave it more time I could upload this zip file
of images......

Got the Error:

+


Warning: mysql error: MySQL server has gone away in query:
insert into `tiki_images_data`(`imageId`,`xsize`,`ysize`, `type`,`filesize`,`filetype`,`filename`,`data`) values (?,?,?,?,?,?,?,?)
in c:\program files\easyphp1-7\www\tiki\lib\tikidblib.php on line 133

Fatal error: Call to a member function on a non-object in c:\program files\easyphp1-7\www\tiki\lib\tikidblib.php on line 151

+



What does this mean???


posts: 41 Germany

Hi CK,

this means that your SQL does not accept blobs which are bigger than x size.

I had the same prob, when you switch to store the files in a directory everything works fine. 😁

By the way, in my opinion it is also better to store big files (>1mb) on the filesystem.

cu, Pete


posts: 10

Hey Pete thanks for the reply:

Your comment:
"I had the same prob, when you switch to store the files in a directory everything works fine."

So HOW do I switch to store files in a directory instead of the database?
(is this even what you mean?)

Is there a property I have to set?

Let me know, I am very new to all of this !

cheers,

CK


posts: 10

Ok I have switched to store images in a directory.

I used the absolute path C:/Program Files/EasyPHP1-7/www/tiki/uploads/

So everything seems to be ok...except for the FORUMS....I can't seem to

create a new one no matter what i try....


any suggestions out there?

CK