![]() |
|
problem with multi file upload - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: problem with multi file upload (/thread-5300.html) Pages:
1
2
|
problem with multi file upload - maxtel - 2009-06-09 I try to use multi file upload, but it's not working for me. problem with multi file upload - acrylian - 2009-06-09 A few more infos please. What browser? Any errors in the error log? Check that you have the right flash plugin (at least v9) and javascript enabled. It may not work with older browsers. Not much we can do about that in general as this is a adaption of a third party plugin. problem with multi file upload - maxtel - 2009-06-09 I use IE7, Opera 9.64, Firefox 3.0.10 All with latest Flash 10 from adobe.com I've look at the demo at http://www.uploadify.com/demo/ problem with multi file upload - acrylian - 2009-06-09 Ok, that is at least a hint. We will take a look. problem with multi file upload - acrylian - 2009-06-09 Our upload does not start automatically, you have to click on "upload" after you selected files. Just tried successfully Safari 3.2 and FF 3.0.10 with the nightly. Anyway, I think I know why you get the error. The function problem with multi file upload - maxtel - 2009-06-09 Sorry, Upload button is appearing, but clicking on it have no action. My server OS is Centos 5.2 with packages installed: problem with multi file upload - acrylian - 2009-06-09 As I said your error results from problem with multi file upload - maxtel - 2009-06-09 Thanks for help, I'll be waiting for workaround or try to upgrade php version on server Upgraded to 5.2.9, everything work perfectly! problem with multi file upload - jsrobinson - 2009-06-26 Is 5.2.1 recent enough? I have the same problem with multi file upload. I chose files, click upload, I see the progress bars go to 100% for all files, and then the page refreshes and there are no images. I checked the appropriate album folders and nothing is there. I set DEBUG_ERROR to true, as well as DEBUG_IMAGE and can't find any new files being created (I remember doing this once before when getting support here, but it was for a different site). Where is the error log supposed to show up? FWIW: I am on IIS5 with PHP 5.2.1, and single HTTP file upload works. problem with multi file upload - sbillard - 2009-06-26 5.2.1 is the release I am using. Perhaps it is IIS that is at issue. The DEBUG stuff won't help here as it seems that the upload is not occurring. problem with multi file upload - jsrobinson - 2009-06-26 OK, so I started trying to debug this, and it is either a problem with PHP settings or IIS, but I also think there might be more than one issue. Uploadify dev says: I updated both the front and backend to use "uploadedFiles" for the array name. $_FILES is not empty So here is the really funny (or strange) part, and it confirms your statement about the upload not occuring: when I upload through the normal single-file-upload, I see a temp file in C:\php5\uploadtemp while the upload is taking place. This is not the case when using the multi file uploader. I did notice that $tempFile has all blackslashes removed so it is no longer a valid path, but the problem seems to even before this. And $_FILES['uploadedFiles']['tmp_name'] has a full valid path name. This could be a red herring... Why would this happen? I will try to get support from Uploadify too. problem with multi file upload - jsrobinson - 2009-06-26 So the base install of uploadify works on the same site. Comparing/contrasting the code now.... problem with multi file upload - jsrobinson - 2009-06-26 So the problem is with lines 6-17 in /zp-core/admin-uploadify/uploader.php, which is the auth code. I removed this temporarily and everything started working. Setting fileDataName to "uploadedFiles" is a non-starter, as not changing this in the default install of uploadify still worked. I checked the value of $_GET['auth'] and from what I know of how the auth system works, it seems valid (it is not blank, for sure). Thoughts? problem with multi file upload - sbillard - 2009-06-26 You could log the comparisons of the loop. Maybe that would shed some light. Also, if memory serves me, IE preserves the logon state (session info) so that loop is not used. Have you tried it? It would be nice to know if the loop gets a match and the failure is in the isMyAlbum() check or if the loop does not find the admin. The latter would indicate some kind of corruption of the auth value passed. problem with multi file upload - jsrobinson - 2009-06-26 I'm actually not using IE, this is happening in Chrome, Opera and FF. How would I go about checking the status of isMyAlbum()? I'm actually using email to debug this, so I am just sending the value of what ever for the body of the email (I don't know how to save to a file in PHP ) problem with multi file upload - sbillard - 2009-06-27 There is a function available: Try the following: debugLog("target:$auth");
debugLog("try:".md5(serialize($admin)));
debugLog('success');
} problem with multi file upload - jsrobinson - 2009-06-27 here is the output: target:e166e2e1c07fcb59a55eac2c5a4c23af so problem with multi file upload - jsrobinson - 2009-06-27
oops, the values are identical. guess that isn't it. very strange, it should work, no? problem with multi file upload - sbillard - 2009-06-27 Something else is the problem, then. Next thing to check is the parameters passed. add: and see what that reports. problem with multi file upload - jsrobinson - 2009-06-28 $_FILES => ( Again, the temp file never appears in the temp folder at the above referenced path. I can definitely see the file showing up when lines 6-17 are removed. |