Comments (2)
Checking that the filesystem has deleted the file that php requested to be deleted before marking the image as deleted in the database would at least warn your users that their server refused to delete the file. Further what could possibly be causing that to fail, sporadically even as some deletions are succeeding on both of my uses of chevereto? I saw this behavior on both a Hetzner VPS running ubuntu / ubuntu repo litespeed(php 7.2.19), and DreamHost's shared instance running apache(php 7.3.10).
from chevereto-free.
This is how the software delete local files (app/lib/classes/class.image.php):
if (file_exists($file_delete) and !@unlink($file_delete)) {
throw new ImageException("Can't delete file", 200);
}
The software already does the check you mention, is your file system which is not working properly.
from chevereto-free.
Related Issues (20)
- Uploading using url through the API seems broken HOT 2
- Migrate /docs to rodber/chevereto-free-docs
- Upgrade link point at chevereto-free.github.io page
- Format of Storage HOT 2
- 00:05:11 RecursiveDirectoryIterator::__construct(/var/www/html/app/install/update/temp/-/): failed to open dir: No such file or directory HOT 1
- Issues upgrading from 1.4.0 to latest (1.6.1) HOT 4
- issues for updating
- v1.6.2 not available ( actual version 1.6.1) HOT 5
- Provide demo video
- When uploading some pictures, it shows that something went wrong. It is no problem to change other pictures. How can I solve it? HOT 1
- Add "this software is offered as-is"
- Update screens
- p HOT 1
- About Nginx + Frp cause a bug to happen
- Duplicated upload
- LANGUAGE automatically changed itself and there is missing settings to set up HOT 1
- Cannot upload files in webp format.
- Suggestion: download album as ZIP
- Update README with features missing due to V4
- 404 Error - Install not found
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chevereto-free.