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 is not being returned from building and using the Docker image #30

Open
AdminRAT opened this issue Nov 30, 2020 · 8 comments
Open

Comments

@AdminRAT
Copy link

When I tried building and using the Docker image, it wouldn't return an image at all. I tried using curl to see what's wrong and it says...
Uncaught Error: Call to undefined function imagecreatefromjpeg() in /var/www/html/billgen-API.php:18

I did a little research and found out gd was part of the function, and using the RUN code here would return a picture and work properly. Probably because gd wasn't installed in the image it wasn't working in the first place?

@gautamkrishnar
Copy link
Owner

@AdminRAT thanks for the fix, I never actually tested the dockerfile implementation. it was still in the development stage. That's why I never added the docs for that on the readme. Really happy to know that it's working once the gd is added. i will make those changes in the source code.

@unix14
Copy link

unix14 commented Dec 2, 2020

i have the same problem
image is not being returned
also the whole site appears to be down, waiting for an update :)

@gautamkrishnar
Copy link
Owner

gautamkrishnar commented Dec 3, 2020

I just added this to up for grabs, lets see someone is able to pick this docker stuff up and work on this. Right now I don't have the time to spend on this one.

@gautamkrishnar
Copy link
Owner

@unix14 just parked the domain https://www.belikebill.gq/. it will be coming back online soon.

@gautamkrishnar
Copy link
Owner

@unix14 the service is back up, we have to still fix the docker though.

@AdminRAT
Copy link
Author

AdminRAT commented Dec 3, 2020

image
Probably have to renew/update the SSL certificate too.

@gautamkrishnar
Copy link
Owner

gautamkrishnar commented Dec 3, 2020

@AdminRAT yea I moved away from Cloudflare that had free SSL since 000webhostb was not able to map the domain correctly. Checking if there's any fix for this.

@gautamkrishnar
Copy link
Owner

unfortunately, we cant use SSL in 000webhost free hosting plan. I just migrated the app to heliohost. It will take up to 24 hours for the process to complete https://belikebill.gq/ will also work.

Thanks, @AdminRAT for pointing it out

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

No branches or pull requests

3 participants