Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter ludekvodicka

    (@ludekvodicka)

    Ok, so for anyone who has the same issue, here is the solution.

    There is a bug in the code, in file aws_ops.class.php, line 72

    $key = $this->options["bucket_path"] . "/" . $key;

    In case that we want to upload images directly to the root of the bucket to path /upload/…., this line causes that “/” directory is created in root and after that upload directory is inserted to this “/” directory.

    It doesn’t matter if we enter “/” or “” inside the S3 Bucket path in the tcS3 configuration page. The only solution is currently to comment the line to following form:

    $key = /*$this->options["bucket_path"] . "/" .*/ $key;

    Hope author of this great plugin will fix it as soon as possible. It’s a shame that this new version is so buggy. It completely removes all settings and also doesn’t work properly for previous long-time usage scenarios.

    • This reply was modified 7 years, 1 month ago by ludekvodicka.
    Thread Starter ludekvodicka

    (@ludekvodicka)

    I just tried to completely remove plugin as same as delete all tcs3_* records from wp_options database but with no difference.

    The upload is completely broken ;-(. On the other side existing images are correctly displayed on the web.

    Any help will be appreciated

    Thread Starter ludekvodicka

    (@ludekvodicka)

    I commented line 48,49,50 but upload still doesn’t work but now without any error in debug log ;-(.

    file isn’t uploaded to s3 bucket at all and in wordpress gallery I see gray rectangles

Viewing 3 replies - 1 through 3 (of 3 total)