I took reference of node meilisearch template
And? What did you do exactly?
Installed Appwrite locally and prepared a tar.gz of the directory
Then created a function for it in php
What directory?
Sync with meilisearch
Someone told me that there might be issue with virtual path
How are you deploying the function? Did you manually create an archive and upload in the Appwrite console? If so, something might have been wrong with how you created the archive
The best thing to do is start with the starter template whether on git or the CLI. Deploy that and make sure that works. Then, iterate on the code
Ok will try that
anyone?
Did you use the CLI to initialize the code?
Yes
What exactly did you do?
Appwrite init project
Appwrite init functions
Appwrite deploy functions
And what's the function code that was deployed?
And what's the error now?
This code
And same error
Can you perform the same operation with the code above? In your system locally
Coz I deployed the same in appwrite cloud
And getting the same error
There might be some mistakes in my utils.php code
Recommended threads
- Function domain not available
Hello, even tho in docs you clearly describe that every function has its domain, I can not see it anywhere in any of my projects. How do I reveal the url of th...
- Inquiry: How to Reduce Cold Start Durati...
Hey! I was using Python for the function runtime, but after reading that Go has the fastest runtime, I switched my code over to Go. However, I'm still seeing co...
- After a GET request is passed to functio...
Create execution in the console can normally retrieve the get parameters。WHy?