Be-Like-Bill icon indicating copy to clipboard operation
Be-Like-Bill copied to clipboard

Image is not being returned from building and using the Docker image

Open AdminRAT opened this issue 4 years ago • 8 comments

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?

AdminRAT avatar Nov 30 '20 22:11 AdminRAT

@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.

gautamkrishnar avatar Dec 01 '20 10:12 gautamkrishnar

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

unix14 avatar Dec 02 '20 05:12 unix14

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 avatar Dec 03 '20 12:12 gautamkrishnar

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

gautamkrishnar avatar Dec 03 '20 12:12 gautamkrishnar

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

gautamkrishnar avatar Dec 03 '20 14:12 gautamkrishnar

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

AdminRAT avatar Dec 03 '20 14:12 AdminRAT

@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 avatar Dec 03 '20 14:12 gautamkrishnar

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

gautamkrishnar avatar Dec 03 '20 15:12 gautamkrishnar