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

image and photo upload doesn't work #15

Open
elyes41 opened this issue Apr 4, 2018 · 6 comments
Open

image and photo upload doesn't work #15

elyes41 opened this issue Apr 4, 2018 · 6 comments

Comments

@elyes41
Copy link

elyes41 commented Apr 4, 2018

No description provided.

@brnrajoriya
Copy link

unable to understand issue. File (image) uploading is not working proper.

@ramzibenounis
Copy link

any help?

@elyes41
Copy link
Author

elyes41 commented May 2, 2018

there's a timthum error and i m fixing so when i finish it i will tell you how

@aerodott
Copy link

In your profile controller on, just change the if
storeAs() function to move() function and add base path as shown below, it works for me...

if ($file->storeAs(base_path() . '/public/path/to/file', $file_name)){...}

to

($file->move(base_path() . '/public/path/to/file', $file_name)){...}

and anyone that needs an admin backend can let me know too... or I can just add it to this project.

@enzotaufan
Copy link

not working still

@aerodott
Copy link

aerodott commented Nov 1, 2018

hmmm, I hope you are using the right /path/ and check the permissions on the path. I just did that and it works. Unless I see it and your file structure can I still be able to know how to deal with it...

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

5 participants