Skip to content

Path issues and upload #118

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

Closed
rehoehle opened this issue Mar 13, 2015 · 8 comments
Closed

Path issues and upload #118

rehoehle opened this issue Mar 13, 2015 · 8 comments

Comments

@rehoehle
Copy link
Contributor

Hello,

perhaps anybody can help me with some small problems.

1.) When i upload a file to S3 with the aws_s3_v2 connector he upload the file but after uploading i get an error and the site isn't reloading. Has anybody an idea how to solve that problem?

2.) When i see the image and i double click on that image the image is inserted to my ckeditor but the URL is missing he enter only "//name.jpg" how can i set the S3 domain?

Best regards,

René

@rehoehle
Copy link
Contributor Author

Ok i have found the solution how to set the URL. I would be very well if there is a part in the documentation how to set the URL.

@helios-ag
Copy link
Owner

You can send PR with updated version of Readme :)

@rehoehle
Copy link
Contributor Author

Yes i can try it but first if i have fixed the following problem :)

Its the same problem i have descripted on top. If the upload is finished i get an error that the backend is not connected. In the profiler i can see the following problems.

Warning: fclose(): 589 is not a valid stream resource

in vendor/helios-ag/fm-elfinder-php-connector/src/ElFinder.php at line 1599   -
            fclose($fp);
            if (! is_uploaded_file($tmpname) && @ unlink($tmpname)) unset($GLOBALS['elFinderTempFiles'][$tmpname]);
            $result['added'][] = $file;
        }

any ideas what could be wrong? The file is uploaded. If i reload the page i can see the file.

@helios-ag
Copy link
Owner

Need to check nao-pon fork and barryvdh fork too, maybe it was a bug that already fixed

@rehoehle
Copy link
Contributor Author

:) that would be great ... i have changed the README with some informations how to setup S3. But if that is working its a really cool solution.

@rehoehle
Copy link
Contributor Author

I have fixed that problem and have made an PR.

helios-ag/ElFinderPHP#17

i hope here are no other problem when you don't use S3.

@rehoehle
Copy link
Contributor Author

I think we can close this Ticket :) but the S3 driver isn't working well.

@helios-ag
Copy link
Owner

Sad to know :-( , hope it will be fixed soon.

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