Skip to content
Back

utopia/messaging

  • 1
  • Messaging
7777Chaitanya
10 Mar, 2024, 13:15

Hi Friends. I am currently working on addressing an issue related to the Semaphore messaging adapter in the Appwrite project, specifically outlined in this GitHub Issue - https://github.com/appwrite/appwrite/issues/7714

To provide some context, I have successfully created an adapter for Semaphore. However, when attempting to test it by instantiating an object of the newly created Semaphore messaging adapter class within the same file, I encountered an error message:

PHP Fatal error: Uncaught Error: Class "Utopia\Messaging\Adapter\SMS" not found in /home/chaitanya/githubClonedProjects/messaging/src/Utopia/Messaging/Adapter/SMS/Semaphore.php:12

I don't really why the import is failing. Unfortunately, I am currently facing a roadblock in resolving this issue. I would sincerely appreciate any guidance or assistance you could provide to help overcome this blocker. Thank you🙂

cc: @Steven

TL;DR
Developer needs help with an import failing in a Semaphore messaging adapter class in the Appwrite project. They are encountering a fatal error related to a missing class. Developers suggest updates be posted on the GitHub issue for visibility. The developer originally tagged someone for assistance, but removed the tag later. They seek guidance on overcoming the import issue.
D5
10 Mar, 2024, 13:17

Please, don't tag people as it can be a bit disruptive 😅

7777Chaitanya
10 Mar, 2024, 13:21

@D5 , Steven assigned this issue to me. So, to ensure Steven is updated on the progress of this issue, I tagged him. Would it be advisable to remove the tag?

ideclon
10 Mar, 2024, 13:21

It's done now - removing the tag will not remove the ping

ideclon
10 Mar, 2024, 13:22

Steven would have seen the post anyway 😁

ideclon
10 Mar, 2024, 13:23

How are you creating the new object?

7777Chaitanya
10 Mar, 2024, 13:24

My bad. I will make sure not to tag anyone from next time in any support post ideclon and D5

D5
10 Mar, 2024, 13:24

No worries, just for the future. It's better to give some update inside the GitHub issue so when the team takes a look into it can see the progress 😅

7777Chaitanya
10 Mar, 2024, 13:25

Sure, I will do that.

7777Chaitanya
10 Mar, 2024, 13:26

like this ideclon,

$semaphore = new Semaphore($apikey, $number, $message, $senderName);

ideclon
10 Mar, 2024, 13:28

Could you please show the rest of the Adapter? (You could push it up to your cloned repo on Github)

Mosh Ontong
10 Mar, 2024, 13:37

:appwritepeepo:

7777Chaitanya
10 Mar, 2024, 13:45

Dear ideclon, This is the Link to the branch

Link to the commit that consists of my changes

Could you please check?

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more