Comments (11)
There is a PR with potential fix: https://github.com/servocoder/RichFilemanager-PHP/pull/48/files
It's merged, but not versioned yet. Try to apply the fix manually and let me know if this helps for your case. Waiting for your feedback.
from richfilemanager-php.
Awesome. It will be included in the next version.
from richfilemanager-php.
Curious. I have just checked the upload at my AWS account and it works smoothly. Few ideas:
-
If you can create folders at S3 this most likely means the PutObject action is allowed within AWS policies. Anyway, recheck your bucket properties/policies.
-
I can see you don't set root folder for local storage explicitly. This may cause an issue, depending on your local OS/webserver permissions/policies. FYI: by default it's a "userfiles" folder of your server document root.
S3 errors are not logged into the log file yet. I'm gonna to fix this. The best thing you can do now is debug the code yourself. Let me know if you will find that the error is caused by PHP connector.
from richfilemanager-php.
Thanks for your reply.
I tried to update permissions on my bucket in AWS.
In Permissions > Access Control List > Public Access : Write and Access are set to Everyone but upload still not working.
I've also added local configuration :
$config_local = [
'options' => [
'serverRoot' => true,
'fileRoot' => '/uploads/websites/'
]
];
$local = new \RFM\Repository\Local\Storage($config_local);
from richfilemanager-php.
I can't reproduce. Try to debug, or wrap the code in filemanager.php
with try-catch
block and echo error message.
from richfilemanager-php.
I also face same above issue.
from richfilemanager-php.
I also face same above issue.
The same request to you:
Try to debug, or wrap the code in filemanager.php with try-catch block and echo error message.
from richfilemanager-php.
this is the error I am getting.
Warning: filesize(): stat failed for s3://fads6-test01/richFileManager/2007_285517cc25b5879e.jpg
When I return file size static for testing then getting a response below.
{errors: [{id: "server", code: "500", title: "File upload aborted", meta: {arguments: []}}]}
errors
:
[{id: "server", code: "500", title: "File upload aborted", meta: {arguments: []}}]
0
:
{id: "server", code: "500", title: "File upload aborted", meta: {arguments: []}}
code
:
"500"
id
:
"server"
meta
:
{arguments: []}
arguments
:
[]
title
:
"File upload aborted"
Is this something related to bucket policy?
from richfilemanager-php.
Not sure. Can you also expose the Exception trace list?
from richfilemanager-php.
i have same issue, how did u fix it?
from richfilemanager-php.
Great, its working (Y). Thank u
from richfilemanager-php.
Related Issues (20)
- IIS bug: "Directory path '/' is invalid"
- Сustomizable upload parameter name
- PDF preview is broken HOT 1
- error on upload file in Local storage HOT 2
- Documentation update for manual install HOT 1
- Upload big size file error HOT 1
- Seek files/folders with wildcard pattern
- Enable public editing of wiki HOT 3
- CopyURL HOT 1
- Error enabling thumbnails on existing and populated directory
- Failed to flush buffer
- Multiple upload response only one file
- Issue with S3 + Encryption on file rename
- always receiving access denied creating/upload item to AWS s3
- just a statement of fact
- S3 Image shows 403 forbidden error
- Uploading a GIF results in ArgumentCountError
- PHP 8 deprecation warnings
- Is this support WEBP image upload? HOT 1
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 richfilemanager-php.