Quote:
Originally Posted by Dr. Bantham
Many thanks for this!
I have installed the latest version (1.2.0) and I cannot seem to upload images. The process resolves without errors, but the images are not there. I have double-checked the folder permissions (777) and usergroup settings, but everything appears correct. Ideas?
|
I put some error logging code into classifieds.php:
-------------------------------------------------------
09.03.2009 14:13:02 start classifieds NEW
09.03.2009 14:13:02 before define CDIR
09.03.2009 14:13:02 after define
09.03.2009 14:13:02 before require once init
09.03.2009 14:13:02 using/var/www/html/vb368/includes/init.php
09.03.2009 14:13:02 AFTER require once init
09.03.2009 14:13:02 before require once global
09.03.2009 14:13:02 AFTER require once global
09.03.2009 14:13:02 checking maxphotos
09.03.2009 14:13:02 maxphotos=10
09.03.2009 14:13:02 cnt=0
09.03.2009 14:13:02 checking photo names
09.03.2009 14:13:02 photo names NOT EMPTY...
09.03.2009 14:13:02 photo names NOT EMPTY2... filename=FAV2B.GIF
09.03.2009 14:13:02 start of foreach
09.03.2009 14:13:02 done with upload
----------------------------
The "foreach" code is:
Code:
foreach($photos['name'] as $key => $photoname)
Had the code ever entered the "foreach" loop, there would have been a LOT more entries logged instead of the last "done with upload". I could be wrong but it looks to me like the "upload" code broke when multiple image upload was added in 1.10
EDIT:
I JUST DOUBLED CHECKED TO BE SURE... I USED THE UPLOAD CODE FROM VERSION 1.0 AND THE UPLOAD WORKED FINE.
I STAND BY MY ORIGINAL STATEMENT - "
LOOKS LIKE THE UPLOAD CODE WAS BROKEN WHEN MULTIPLE IMAGE UPLOADS WAS ADDED IN VERSION 1.10" - THE SAME CODE IS USED IN VERSION 1.2
.