Member
Member
dsoldi   2014-06-23, 23:01
#1
Hi, I'm experiencing a strange problem: after upgrading to 1.4.6, some files (e.g. "full-image.php" and "functions-image.php") are immediately delete from "zp-core" directory as they are uploaded. No way to keep these files on the site.
RUN SETUP function report this warning:

... Verify following files:
index.php
zp-core/full-image.php
zp-core/functions-image.php
zp-core/zp-extensions/cloneZenphoto/clone.php
zp-core/zp-extensions/elFinder/php/elFinderVolumeDriver.class.php
zp-core/zp-extensions/elFinder/php/elFinderVolumeLocalFileSystem.class.php

any ideas?
Member
Member
dsoldi   2014-06-24, 00:00
#2
Edit.
By removing the last two "if" statements from "full-image.php" it is no longer deleted (it doesn't work, of course) ... opened a ticket to my provider...
Administrator
Administrator
acrylian   2014-06-24, 07:51
#3
Zenphoto does not delete anything automatically. If it lists files on setup that "might" be a problem it offers to delete them but you have to take action yourself to actually delete them.
http://www.zenphoto.org/news/installation-and-upgrading#re-running-and-re-uploading-setup-files
Member
Member
dsoldi   2014-06-24, 18:56
#4
Ty acrylian, I know ... and I've strictly followed the directions you linked. I suspect that my provider has something watching into php fiels. After removing lines from 202 to the end in full-image.php it is no longer deleted (!!!).
Still waiting a replay from my provider ...
Administrator
Administrator
acrylian   2014-06-24, 19:54
#5
All right. Do you use any install helper? Then that might be its fault. Zenphoto for sure does not delete anything.
Member
Member
dsoldi   2014-06-25, 22:00
#6
Problem solved.
The files was deleted by an antivirus on the web server (now disabled).
The file full-image.php (e.g.) was deleted due to the SYMLINK command in line 208 (!)
Thinking to change web provider .... Big Grin
Member
Member
sbillard   2014-06-25, 22:23
#7
Good information. Thanks for the update.

It is ironic that they would trigger on the function call and delete the script rather than just disabling the `simlink` feature. Zenphoto can work perfectly well without using `symlink`, it is just faster and more space efficient if it can use the function.
Member
Member
dsoldi   2014-06-26, 18:59
#8
More ironic?
Symlink feature IS disabled!
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.