I’m trying to download a file using chrome.downloads api and slim. I’ve created a slim 4 middleware that will restrict the access to some endpoints and will use JWT firebase token to authenticate requests. Before I was implementing the middleware, I was able to donwload the generated file without problems. Now I get a 500 ..
I have a PHP application that runs without issues on my local machine, as well as on Heroku. It is connected to a Github repo, from Heroku, and I am struggling with deploying a branch. Whenever I click on "Deploy Branch," I get the error message below. —–> App not compatible with buildpack: https://buildpack-registry.s3.amazonaws.com/buildpacks/heroku/php.tgz ! ..
Is possible to install v8js on heroku? I’ve tried to add the ext-v8js: "*" to my composer.json file but I’m unable to build and deploy my app. Any suggestion on how to solve this? This is the error I get when I try to git push my project WARNING: A requested extension is not available ..
I’m following this guide to create a vue SSR app to deploy on heroku. After the deploy if I go to the page I will get a 500 server error. I’ve checked the heroku logs and the problem is that node isn’t found: node: not found This is my index.php code: <?php use SpatieSsrRenderer; use ..
I’m working on a chrome extension that I want to distribute inside the chrome web store. I saw that a lot of extensions have also premium features, as I know the chrome web store has deprecated the payment api, this means that I need to implement my own payment method. Mainly my extension will rely ..
I’ve already added the AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY AWS_DEFAULT_REGION AWS_BUCKET in Heroku and the according value to Heroku Config Vars. Then,I uploaded image to ‘/images’ folder on s3. $path = $request->file(‘image’)->store(‘/images’, ‘s3′); After that, Heroku server showed the following error： Is there anyone can help me explain what’s going on? Thanks a lots. I’m trying figure out… ..
I want to fix the Cors error between Laravel’s jwt and nuxt’s AuthModeule. I deployed Laravel on heroku and Nuxt on netlify, and an error occurred during the login process. Backend (laravel, heroku) logs 2020-11-21T01:23:53.686116+00:00 "OPTIONS /api/login HTTP/1.1" 204 – "https://◯◯.netlify.app/" "Mozilla/5.0 2020-11-21T01:23:53.784655+00:00 "GET /api/posts HTTP/1.1" 200 25 "-" "axios/0.20.0 2020-11-21T01:23:53.790208+00:00 [21/Nov/2020:01:23:53 +0000] "GET /api/users ..
I’m hitting the Heroku PHP memory limits (512MB) when attempting to pull more than 25k records from my MySQL database using Eloquent chunking. In a nutshell, I’m defining my SQL query, chunking it, and then feeding the results into a PHPSpreadsheet. According to the docs, chunking should reduce my memory usage, but in practice, it ..
I’v created an api service using heroku and php for my chrome extensions. I want to limit it’s usage only to chrome extensions but at the moment I have no idea of how to proceed, I’m considering the identity api to limit some functions only to logged in users but on heroku I don’t have ..