ctf0 / Laravel-Media-Manager

A "Vuejs & Laravel" Media Manager With Tons of Features
MIT License
829 stars 179 forks source link

[BUG] Undefined index: timestamp with s3 #143

Closed vanthao03596 closed 4 years ago

vanthao03596 commented 4 years ago

What version of Laravel are you using? (nothing lower than v5.4).

I'm using laravel 7

is it an issue related to installation or usage ?

Usage issue

what is the error you are getting ?

After clone demo repo, I set up file system with league/flysystem-aws-s3-v3. When i hit route /media i get error "Undefined index: timestamp"

Extra Info "attaching a screen shot would be very helpful"

1

Do You Know A Solution For this Issue ?

I tried dd($storageFolders) and get result with no index timestamp in array but dont know how to fix. 2

ctf0 commented 4 years ago

am not sure if something has changed in the new version of the drivers, but plz recheck with the latest commit and reply back

vanthao03596 commented 4 years ago

@ctf0 It work now but take long time to response. I tried same storage config with laravel/elfinder it still fast. 1

ctf0 commented 4 years ago

how much it takes without the manager ?

vanthao03596 commented 4 years ago

It take about 30 second

ctf0 commented 4 years ago

this is probably related to s3 auth handshake & also ur connection speed

vanthao03596 commented 4 years ago

how much it takes without the manager ?

Ah i dont understand your question. When i use elfinder it take 2-3s.

ctf0 commented 4 years ago

does elfinder show image thumbs when it retrieves them or just names ?

vanthao03596 commented 4 years ago

It show only name, when click preview it will load preview leftsite 1

ctf0 commented 4 years ago

can u make a repo for me to test with ?

vanthao03596 commented 4 years ago

Yes.

vanthao03596 commented 4 years ago

for private s3 info i created private repo @ctf0 https://github.com/vanthao03596/issue-media/invitations

ctf0 commented 4 years ago

awesome, i will see what i can do, thnx

ctf0 commented 4 years ago

@vanthao03596 i've made a new ticket for the loading issue, lets continue over there.

ctf0 commented 4 years ago

@vanthao03596 plz disable the fs cache and retest with elfinder & reply back with the request time.

vanthao03596 commented 4 years ago

Enfinder take a second to load. ezgif com-optimize After run composer update Laravel-Media-Manager take 9 second. 1

ctf0 commented 4 years ago

ok