Loading...
 
Features / Usability

Features / Usability


Files/images upload failing

posts: 41

Tikiwiki Version 12.6LTS

I have files and image galleries I have been uploading to.

Now when I upload the upload proceeds to 99% and the it fails.
Firefox reports "I/O error"
Chrome Reports something like "Error 302"

This happens on both windows Vista and Linux Mint.

It does not happen on my local installations of Bitnami 14.0 on either Windows Vista, or Linux Mint 17.3 Cinnamon.

posts: 41

Thr upload works on the demo 12.x site.
I am not sure if I located the server logs (cPanel?)

Ome other thing that happens when I try to upload is that after it fails it logs me out.

posts: 3577

Well, if it works on the demo site but not yours, then the problem is most likely in your configuration. Without reviewing the server log errors, it may be difficult to identify the problem.

Some things to ask and try:

  • What is the exact error that is displayed when you upload the file?
  • Does this happen for all files? Or only files of a certain size or type?
  • Did you run the Tiki Server Check and confirm that you configuration is optimal?
  • You said that you're using Image galleries — These were deprecated many versions agao — you should use the File gallery instead.
  • For the File Gallery, are you storing the files in the DB or File System? Try switching.


HTH,

- Rick | My Tiki Blog | My Tiki UserPage

Why be a dummy? Get smarty! TikiForSmarties.com
Tiki for Smarties, your source for the best (and only) Tiki books, guides, and tutorials.

posts: 41

1)The error in Firefox is "Upload error; 302"
It appears briefly and then disappears

2) It happens for all types of files

3) The tiki server check did not show any real problems. There were some warnings, but nothing in the red. I will run the check again.

4) I am use the file gallery. My terminology was wrong.

This is from the raw access log provided by cPanel

115.70.34.41 - - 21/Mar/2016:18:13:30 +1100 "GET /tiki10/tiki-upload_file.php?galleryId=6 HTTP/1.1" 200 10427 "http://www.chaplaincyacademy.com/tiki10/tiki-list_file_gallery.php?galleryId=6" "Mozilla/5.0 (Windows NT 6.0; rv:45.0) Gecko/20100101 Firefox/45.0"

I am storing the files in the DB. Is there anything to watch out for in moving them to the file system?

posts: 3577

A "302" error is some sort of server redirection.

The fact that you can upload just fine on the demo server leads me to believe that there's something misconfigured on your server. Are you using SEFURL? Is your .htaccess file correct?

HTH,

- Rick | My Tiki Blog | My Tiki UserPage

Why be a dummy? Get smarty! TikiForSmarties.com
Tiki for Smarties, your source for the best (and only) Tiki books, guides, and tutorials.

Why Register?

Register at tiki.org and you'll be able to use the account at any *.tiki.org site, thanks to the InterTiki feature. A valid email address is required to receive site notifications and occasional newsletters. You can opt out of these items at any time.