![]() |
Do not delete photos from source directory not working The bulk upload function of "Do not delete photos from source directory" is not working correctly, my images are still being deleted. What do you need so we can look into this? |
Try in uploadphoto.php adding in bold as noted. Code: Content visible to verified customers only.Code: Content visible to verified customers only. |
didn't fix the problem.. lets see if our code matches.. Quote:
|
the bulkupload forwards there are 4 of them did you get them all |
Replaced the 4 lines as instructed, no luck. Successfully upload the uploadphoto.php file twice to make sure it was there. |
I will have to play with it some but I see no reason why it would not work. As long as you pass donotdelete to the bulkupload script there is this code in there which should work fine. Code: Content visible to verified customers only. |
Quote:
|
what it says is if the file exists and donotdelete is not equal to donotdelete then delete the file What I am saying is if we pass donotdelete to bulkupload then it should not delete the images Like I said I will test it out and see if I see anything |
any luck yet? |
Not yet there are many delete functions within the file. I need to debug each one. Try at line 241 make this line has the code in bold and try Code: Content visible to verified customers only. |
that didn't work.. just tried it.. |
You did that to every line in that file BULKUPLOAD.PHP? |
Quote:
in the corrsponding lines with $donotdelete == "donotdelete" line 241, 425, 433 |
just tried that and I just got a blank bulkupload screen once submitting bulk upload - revert back to original for now. |
is it supposed to be if ( file_exists( $filein ) && $donotdelete == "donotdelete" ) or if ( file_exists( $filein ) && $donotdelete !== "donotdelete" ) notice the ! from a previous post here. |
Yes if ( file_exists( $filein ) && $donotdelete != "donotdelete" ) that would be right |
Please just pm me ftp account info and I will upload the changed files as I applied the changes I noted and things work from what i see. |
| All times are GMT -5. The time now is 02:24 AM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0