Closed riturajpandey closed 4 years ago
Hi @riturajpandey, I think the configuration for settings is incorrect. Can you take a snapshot of that? You can sensor information in the picture.
And it would be great if you can open the console log on the browser to check for error messages.
Guide on deploying cloud functions: https://www.youtube.com/watch?v=D-xvzJ9K8jw
It is showing me this error in the console.
I have cross-checked Base Domain,Dashboard and Frontend Token they are correct.I have used this guide
Snapshot of settings.
Hi @riturajpandey, if the process is correct. Your firebase console should include those functions.
If those functions exist, and they still don't work. Send me an email at dale@dalenguyen.me, I will help you to inspect it.
Ok let me check the functions.
I don't have the functions with these names instead I am deploying my existing cloud functions which I have created.
Should I create functions like API-database etc?
Where can i find the definition of these functions?
Hi @riturajpandey,
It's in the plugin file when you first download. Please check the guide that I sent.
https://www.youtube.com/watch?v=D-xvzJ9K8jw
Thanks,
can anyone tell me what the "base domain" is supposed to be? I have finally got to the point where I have my frontend and dashboard tokens, but I do not know what to enter in the plugins settings where is calls for "base domain." I have never heard that term before. I just put my domain wikacy.com in there but it must be incorrect because I am getting the same "could not load user data" error when i search for a firebase document.
@Bikerflyeradmin it's the cloud functions URL. Please watch the video at 7:44s.
https://youtu.be/D-xvzJ9K8jw?t=442
@riturajpandey did you manage to deploy the functions?
No, when I entered the command in the user guide to deploy the functions it gave me an error saying not found, or file not found or something to that effect. Please help.
Can someone tell me what I have to do in firebase to get my "base domain" to show up the way it does in the video guide.
No, when I entered the command in the user guide to deploy the functions it gave me an error saying not found, or file not found or something to that effect. Please help.
Could you please take a snapshot of the error and steps that you did? It’s easier to figure out what happens.
Closed due to inactivity.
Wow, guess I will have to try to figure it out myself. Do you know of any good firebase tutorials where I might be able to find out how to determine what the cloud functions url is?
On Sun, Jun 28, 2020, 9:28 AM Dale Nguyen notifications@github.com wrote:
Closed due to inactivity.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/dalenguyen/firebase-wordpress-plugin/issues/65#issuecomment-650758203, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO6NLXIOAAMJBRY3TGMKAJTRY5AQZANCNFSM4NS3AA3A .
Im trying to tackle this again. I would really like to get this plugin to work. Here is the error message I get when I try to install the functions with the command you provided in the tutorial.
C:\Users\owner>npm i -g firebase-tools npm WARN deprecated request@2.88.2: request has been deprecated, see https://git hub.com/request/request/issues/3142 C:\Users\owner\AppData\Roaming\npm\firebase -> C:\Users\owner\AppData\Roaming\np m\node_modules\firebase-tools\lib\bin\firebase.js npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules\fi rebase-tools\node_modules\chokidar\node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@ 2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"} )
C:\Users\owner>node --version v14.4.0
C:\Users\owner>cd functions/ npm install The system cannot find the path specified.
C:\Users\owner>
On Mon, Jun 8, 2020 at 12:18 PM Dale Nguyen notifications@github.com wrote:
@Bikerflyeradmin https://github.com/Bikerflyeradmin it's the cloud functions URL. Please watch the video at 7:44s.
https://youtu.be/D-xvzJ9K8jw?t=442
@riturajpandey https://github.com/riturajpandey did you manage to deploy the functions?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/dalenguyen/firebase-wordpress-plugin/issues/65#issuecomment-640729864, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO6NLXLEGPBUNLWLQKLFCP3RVUFMZANCNFSM4NS3AA3A .
im getting the same "could not load user data" error
JQMIGRATE: Migrate is installed, version 1.4.1 /wp-admin/wikacy.com/api-database/v1/getDoc:1 Failed to load resource: the server responded with a status of 404 (Not Found) firebase-admin.js?ver=1.0.0:1 Could not load user data! t.showFirebaseErrorMessage @ firebase-admin.js?ver=1.0.0:1 jquery.js?ver=1.12.4-wp:4 POST https://wikacy.com/wp-admin/wikacy.com/api-database/v1/getDoc 404 (Not Found) send @ jquery.js?ver=1.12.4-wp:4 ajax @ jquery.js?ver=1.12.4-wp:4 u @ firebase-admin.js?ver=1.0.0:1 o @ firebase-admin.js?ver=1.0.0:1 dispatch @ jquery.js?ver=1.12.4-wp:3 r.handle @ jquery.js?ver=1.12.4-wp:3 firebase-admin.js?ver=1.0.0:1 Could not load user d
On Mon, Jun 8, 2020, 9:17 PM Dale Nguyen notifications@github.com wrote:
No, when I entered the command in the user guide to deploy the functions it gave me an error saying not found, or file not found or something to that effect. Please help.
Could you please take a snapshot of the error and steps that you did? It’s easier to figure out what happens.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/dalenguyen/firebase-wordpress-plugin/issues/65#issuecomment-640970886, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO6NLXNCXGXB5GU2ML7O2YLRVWETZANCNFSM4NS3AA3A .
Describe the bug Not able to see/remove data
To Reproduce Just set up firebase on WordPress Go to the database tab click on real-time and enter a collection name
Expected behavior Let show or add data
Screenshots screenshot
Desktop Chrome browser