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

Clicking upload without selecting a file still gives you a uuid on ur upload page #2

Closed
huntmj01 opened this issue Dec 4, 2017 · 4 comments
Assignees
Labels

Comments

@huntmj01
Copy link
Collaborator

huntmj01 commented Dec 4, 2017

No file selected:
image

Still get a uuid:
image

With an error:

Warning: file_get_contents(): Filename cannot be empty in /home/ubuntu/workspace/project/CS372GroupProject/database.php on line 66 Call Stack: 0.0004 239144 1. {main}() /home/ubuntu/workspace/project/CS372GroupProject/ur-user.php:0 0.2459 248920 2. addFile() /home/ubuntu/workspace/project/CS372GroupProject/ur-user.php:86 0.2459 248968 3. file_get_contents() /home/ubuntu/workspace/project/CS372GroupProject/database.php:66

@staujd02
Copy link
Collaborator

staujd02 commented Dec 4, 2017

This should be resolved, considering this is a side effect of a blank upload. Which has already been resolved if I am not mistaken.

@huntmj01
Copy link
Collaborator Author

huntmj01 commented Dec 4, 2017

@staujd02 Nice! It no longer gives the user a uuid.... but can you use sweet alerts to display an error message? Right now the page just blinks.

@staujd02
Copy link
Collaborator

staujd02 commented Dec 4, 2017

No problem @MasterProgrammer200, just pushed a sweet alert addition to the page.

@huntmj01
Copy link
Collaborator Author

huntmj01 commented Dec 4, 2017

@staujd02 SWEET

@huntmj01 huntmj01 closed this as completed Dec 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants