Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google Storage issues #43

Open
paulcanning opened this issue May 13, 2016 · 3 comments
Open

Google Storage issues #43

paulcanning opened this issue May 13, 2016 · 3 comments

Comments

@paulcanning
Copy link

I am having massive problems with GCS.

I can connect to a bucket and upload files to it. I can make directories as well, but If I try to upload to a new sub folder, it fails.

If I go to my GCS console, I can see the sub folder there.

If I refresh the page with elFinder, the sub folder cannot be seen.

I think there are issues with caching maybe?

@barryvdh
Copy link
Owner

(Linking to thephpleague/flysystem#656)

You can try setting the cache option to false in the driver config.

@paulcanning
Copy link
Author

Setting cache to false does not help.

$opts = array(
    'roots' => array(
        array(
            'id' => 'test',
            'driver' => 'Flysystem',
            'alias' => 'CS Root',
            'URL' => 'https://storage.googleapis.com/MY_BUCKET/',
            'filesystem' => $this->googleCloud('MY_BUCKET'),
            'separator' => '/',
            'cache' => FALSE
        )
    )
);

@paulcanning
Copy link
Author

Please see my latest comment on thephpleague/flysystem#656

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants