Loading...
 
Skip to main content

Features / Usability


upload file problem

Greetings all! This is an incredible application - super kudos all the dedicated that have contributed!

I have seen similar errors by searching the community, but not this one specifically. Refs to existing solutions are very welcome, and apologies if it's been answered already.

1. Had problems uploading large files. "Solved" this by moding (to 10M) php.ini and my.cnf.
2. When I try (as tiki admin or a tiki admin user) to upload a ~5Mb win exe it is busy for awhile (minutes) and then displays a download dialog: Opening tiki-upload_file.php - You have chosen to open tiki-upload_file.php which is a: PHP script from: http://myserverQuestion - What should Firefox do with this?...
3. No problem with 300k text (*.conf) files.

Client: centos 4.3, firefox 1.5.0.5, same local network as the server (no firewalls, etc).
Server: centos 4.3, apache 2.0.52, php 4.3.9, tiki 1.9.4

TIA.

Thank you Sylvie. I have made the mods to the php.ini. This solved my initial problem, but now the browser is acting as if I was trying to *download* the php page, instead of *uploading* the *.exe.

Any ideas?

Thanks again.

> http://www.radinks.com/upload/config.phpQuestion can help to set on php correctly
>


Sorry to ask what seems obvious to all else:
Where is the php.ini file?

(I don't understand the command on the linked page.)

Mine is in /etc. I think it is in the right path as when I made the changes in the php.ini to solve an earlier problem (the server complained about the size of the file) the problem changed to the one I'm trying to solve now.

The new problem I posted this for help with is that when I try to upload a 5Mb windows exe to the file gallery it runs for awhile, and then asks me if I want to download tiki-upload_file.php.

However, when I say yes it opens a blank page in the browsers and prompts me with the same message again. So:
1. I start to upload the 5Mb. Windows exe.
2. It runs for while (a minute or so).
3. I get prompted to download tiki-upload_file.php.
4. If I say yes, it opens a blank page in the browser.

Thanks much.

> Sorry to ask what seems obvious to all else:
> Where is the php.ini file?
>
> (I don't understand the command on the linked page.)


I created a php.ini file in my root directory, based on one publicly available online. I haven't a clue how much of a security risk this is.

I found this while searching the wiki files. Hope it helps you, since I don't understand it:

"Alter the php.ini variables file_uploads, upload_max_filesize, post_max_size and database variables (max_allowed_packet for mysql) to change this value" => "Alter the php.ini variables file_uploads, upload_max_filesize, post_max_size and database variables (max_allowed_packet for mysql) to change this value",

Thanks JackJack, I'll give it a shot.

> I created a php.ini file in my root directory, based on one publicly available online. I haven't a clue how much of a security risk this is.
>
> I found this while searching the wiki files. Hope it helps you, since I don't understand it:
>
> "Alter the php.ini variables file_uploads, upload_max_filesize, post_max_size and database variables (max_allowed_packet for mysql) to change this value" => "Alter the php.ini variables file_uploads, upload_max_filesize, post_max_size and database variables (max_allowed_packet for mysql) to change this value",
>
>