• You MUST read the Babiato Rules before making your first post otherwise you may get permanent warning points or a permanent Ban.

    Our resources on Babiato Forum are CLEAN and SAFE. So you can use them for development and testing purposes. If your are on Windows and have an antivirus that alerts you about a possible infection: Know it's a false positive because all scripts are double checked by our experts. We advise you to add Babiato to trusted sites/sources or disable your antivirus momentarily while downloading a resource. "Enjoy your presence on Babiato"

Upload to S3, PhP Fatal error S3::inputFile(): Unable to open input file

shemmy

New member
Nov 24, 2020
16
1
3
I'm using a WordPress plugin to crawl manga and upload it to Amazon S3. If the Manga Chapter has fewer images, the plugin works normally. But If the Manga Chapter has too many images, I got this error: S3::inputFile(): Unable to open input file.
The input file was successfully uploaded to S3, so I'm confused. Maybe it's because the script takes too long to finish the request.
I already changed the max_execution_time max_input_time memory_limit post_max_size upload_max_filesize but still got the problem.
Can someone help me?
 
seems like the file line issues. Try to make a group upload, one time 10 assets.
debug the plugin and copy here log files.
 
  • Like
Reactions: shemmy
seems like the file line issues. Try to make a group upload, one time 10 assets.
debug the plugin and copy here log files.
Thanks for helping.
the debug log:(I'm using madara theme)
PHP Fatal error: Uncaught S3Exception: S3::inputFile(): Unable to open input file: /wp-content/uploads/WP-manga/data/manga_6018caaa45ba1/ch-040/l043.jpg in /wp-content/plugins/madara-core/lib/amazons3/S3.php:651
Stack trace:
#0 /wp-content/plugins/madara-core/lib/amazons3/S3.php(651): S3::__triggerError()
#1 /wp-content/plugins/madara-core/lib/amazons3/S3.php(800): S3::inputFile()
#2 /wp-content/plugins/madara-core/inc/upload/amazon-upload.php(275): S3::putObjectFile()
#3 /wp-content/plugins/madara-core/inc/upload/amazon-upload.php(249): WP_MANGA_AMAZON_UPLOAD->image_upload()
#4 /wp-content/plugins/madara-core/inc/storage.php(464): WP_MANGA_AMAZON_UPLOAD->amazon_upload()
#5 /wp-content/plugins/madara-core/inc/storage.php(443): WP_MANGA_STORAGE->upload_cloud()
#6 /wp-content/plugins/madara-core/inc/storage in /wp-content/plugins/madara-core/lib/amazons3/S3.php on line 651
 
No worries,
backup yoursite.

if is staging site do directly
Please change to a default theme ( twentytwenty ) or some other default theme.
disable all the plugins.
activate only manga.
Try again to upload and try to break it.
past here log file.

if the production site creates a subdomain or in your local do the same steps.
past here
 
AdBlock Detected

We get it, advertisements are annoying!

However in order to keep our huge array of resources free of charge we need to generate income from ads so to use the site you will need to turn off your adblocker.

If you'd like to have an ad free experience you can become a Babiato Lover by donating as little as $5 per month. Click on the Donate menu tab for more info.

I've Disabled AdBlock