Tribe Support

In this group #Anahita Tribe members provide support and help each other out. All posts should be public in this group. #support

Stories

Rajkumar Mundel

Rajkumar Mundel and Rastin Mehr commented on the topic

Mail Settings

Hello,

I always face issue while setting up Mail setting under the Setting link. I am not getting account activation email for new user. Do I need to configure something at server level (Ubuntu 18.0...

Read More

Hello,

I always face issue while setting up Mail setting under the Setting link. I am not getting account activation email for new user. Do I need to configure something at server level (Ubuntu 18.04) ?

I tried all combinations.. PHP Mail function, sendmail or SMTP with combination as TLS or SSL

Thank you, Rajkumar

Read Less
Yes in my case anyone can register.
Any specific reasoning behind not Verifying email ID for OPEN Registration ?
"The informative message says that Activation link has been sent to you email id " after signup
Why ?
Rastin Mehr
Rastin Mehr
April 15 2019 Permalink
What do you mean by verifying?

In the open registration mode no activation email is sent out. Do you still get a message that says it did so? Could it be a message cached from previous attempts that registration w... Read More
What do you mean by verifying?

In the open registration mode no activation email is sent out. Do you still get a message that says it did so? Could it be a message cached from previous attempts that registration was still closed? Read Less
Rastin Mehr

Rastin Mehr and Rajkumar Mundel commented on the topic

Mail Settings

Hello,

I always face issue while setting up Mail setting under the Setting link. I am not getting account activation email for new user. Do I need to configure something at server level (Ubuntu 18.0...

Read More

Hello,

I always face issue while setting up Mail setting under the Setting link. I am not getting account activation email for new user. Do I need to configure something at server level (Ubuntu 18.04) ?

I tried all combinations.. PHP Mail function, sendmail or SMTP with combination as TLS or SSL

Thank you, Rajkumar

Read Less
Rastin Mehr
Rastin Mehr
April 13 2019 Permalink
Most common setting that we've used on Centos is:

Mailer: SMTP
Sendmail Path: /usr/sbin/sendmail
SMTP Auth: Yes
SMTP Security: SSL
SMTP Port: 25
SMTP Password: ************
SMTP Host: localhost
Do i need configure something on server ? like SENDMAIL or HOSTS name ?
Rastin Mehr
Rastin Mehr
April 13 2019 Permalink
I don't recall if we ever had to specifically configure SMTP on any of our linux servers, but write a simple php code that sends out a test SMTP email on your server to test it.
I test SMTP email on my server with php code... and it worked.
Took help from below link... https://stackoverflow.com/questions/42558903/expected-response-code-250-but-got-code-535-with-message-535-5-7-8-username

... Read More
I test SMTP email on my server with php code... and it worked.
Took help from below link... https://stackoverflow.com/questions/42558903/expected-response-code-250-but-got-code-535-with-message-535-5-7-8-username

But When I did same thing (to generate password for apps and pasted same password in SITE Setting, it is not working)

Read Less
I feel mailActivationLink method is not working... My normal SMTP php code is working but Signup on Anahita is not sending any email for activation.

I want to post the code (php code to send email which works on my... Read More
I feel mailActivationLink method is not working... My normal SMTP php code is working but Signup on Anahita is not sending any email for activation.

I want to post the code (php code to send email which works on my server) here... Can you tell me how can paste the CODE snippet ?

Thank you Read Less
Just now i have tried sendgrid.com also and it is working perfectly with Simple SMTP php code...
Do I need to check here---- SITE SETTINGS -> App Settings -> com_people - >
Allow Registration and Default Access ??
We are not calling mailActivationLink function after signup and that is the reason email is not sent.
File Name - src/components/com_people/controllers/person.php
Rastin Mehr
Rastin Mehr
April 13 2019 Permalink
Activation link is only sent out when an admin manually adds a person. If registration is open and a person signs up, they should get logged in immediately after. https://github.com/anahitasocial/anahita/blob/master/s... Read More
Activation link is only sent out when an admin manually adds a person. If registration is open and a person signs up, they should get logged in immediately after. https://github.com/anahitasocial/anahita/blob/master/src/components/com_people/controllers/person.php#L25 Read Less
Rajkumar Mundel

Rajkumar Mundel commented on the topic

Mail Settings

Hello,

I always face issue while setting up Mail setting under the Setting link. I am not getting account activation email for new user. Do I need to configure something at server level (Ubuntu 18.0...

Read More

Hello,

I always face issue while setting up Mail setting under the Setting link. I am not getting account activation email for new user. Do I need to configure something at server level (Ubuntu 18.04) ?

I tried all combinations.. PHP Mail function, sendmail or SMTP with combination as TLS or SSL

Thank you, Rajkumar

Read Less
Trying to configure GMAIL as Mail Setting but no luck.
In the Mail.log... I am having this error.
"unable to qualify my own domain name -- using short name"
Rajkumar Mundel

Rajkumar Mundel started a topic

Mail Settings

Hello,

I always face issue while setting up Mail setting under the Setting link. I am not getting account activation email for new user. Do I need to configure something at server level (Ubuntu 18.0...

Read More

Hello,

I always face issue while setting up Mail setting under the Setting link. I am not getting account activation email for new user. Do I need to configure something at server level (Ubuntu 18.04) ?

I tried all combinations.. PHP Mail function, sendmail or SMTP with combination as TLS or SSL

Thank you, Rajkumar

Read Less
Rastin Mehr

Rastin Mehr and Ildemaro Martinez Jr commented on the topic

Official Docker-Kubernetes

Hello: is an official Docker-Kubernetes image release still on your 2019 Roadmap?  

Rastin Mehr
Rastin Mehr
March 20 2019 Permalink
Of course, it's a must have!
looking forward to it-

Is there a Timeline? aprox. release date ?
Rastin Mehr
Rastin Mehr
March 20 2019 Permalink
After the Anahita React is ready and the Anahita back-end is reduced to APIs only. No timelines.
Ildemaro  Martinez Jr

Ildemaro Martinez Jr started a topic

Official Docker-Kubernetes

Hello: is an official Docker-Kubernetes image release still on your 2019 Roadmap?  

2 people liked this
Rastin Mehr

Rastin Mehr commented on the topic

Mobile App

Hello, I am looking for a resource/documentation that provides directions on how to use Anahita to create a mobile app with a social networking feature. #MobileApps

Rastin Mehr
Rastin Mehr
November 30 2018 Permalink
Hi Beenish, the main resource is right here. You can build mobile apps using technologies of your choice and use Anahita as the back-end API.

We're developing the Anahita-React app which has examples of basic end ... Read More
Hi Beenish, the main resource is right here. You can build mobile apps using technologies of your choice and use Anahita as the back-end API.

We're developing the Anahita-React app which has examples of basic end points for authentication and managing actor profiles. https://github.com/anahitasocial/anahita-react

https://github.com/anahitasocial/anahita-react/tree/master/src/api

A lot of concepts are similar to mobile apps developed in React Native or Swift.

Otherwise you can post your questions here and there is always someone to answer them for you. Read Less

Beenish Chaudhry started a topic

Mobile App

Hello, I am looking for a resource/documentation that provides directions on how to use Anahita to create a mobile app with a social networking feature. #MobileApps

Rastin Mehr

Rastin Mehr shared a note

Has anybody upgraded their #Anahita installations to the latest 4.4.0 Birth release? If you've had any issues, please start a topic so we can help you. #support
Rastin Mehr

Rastin Mehr shared a note

Looks like there is an issue in the video player's styling in the most recent package. It is a known issue and we're going to fix it.
Rastin Mehr

Rastin Mehr shared a note

A new maintenance release is on the way to fix issues in Anahita working with php 7.2.8. There will be another maintenance release after that to make Anahita compliant with MySql 5.7

George Nicolae and 2 others commented on the topic

Nginx rewrite issue

Got Anahita succesfully installed on a second attempt. Forgot to point my domain to the installation directory. Did that too and when i thought that was it, bumped in the Nginx rewrite issue. I get...

Read More

Got Anahita succesfully installed on a second attempt. Forgot to point my domain to the installation directory. Did that too and when i thought that was it, bumped in the Nginx rewrite issue. I get the homepage but no styling attached to it and 404 not found on any other page.

I really like to get it working and I have no clue to solve this.

Read Less
George Nicolae
September 07 2018 Permalink
An Nginx config file from someone who installed Anahita would also help. I feel bad that I managed to install it and I'm out of luck to use it.
Nick Swinford
Nick Swinford
September 07 2018 Permalink
@Rastin, getAnahita.com is running on Nginx right? I don't have any experience with it.
Rastin Mehr
Rastin Mehr
September 07 2018 Permalink
Yes, we're using Nginx. My first suspicion here is directory permissions. Anahita is trying to recreate a new js and css files but doesn't have the right directory permission. Could you try setting all directory permi... Read More
Yes, we're using Nginx. My first suspicion here is directory permissions. Anahita is trying to recreate a new js and css files but doesn't have the right directory permission. Could you try setting all directory permissions to 755? Read Less
George Nicolae
September 07 2018 Permalink
@Rastin added
try_files $uri $uri/;
rewrite ^(.*)$ /index.php?p=$1 last;
to that config file under location, and from the plain HTML and no CSS or JS I got to the point where at last en-GB.lib_anahita.js an... Read More
@Rastin added
try_files $uri $uri/;
rewrite ^(.*)$ /index.php?p=$1 last;
to that config file under location, and from the plain HTML and no CSS or JS I got to the point where at last en-GB.lib_anahita.js and site.js were loaded in the footer( only on front page) and the register form worked to register my admin account. Nothing more. Read Less
Rastin Mehr
Rastin Mehr
September 07 2018 Permalink
Does this example help?
Loading ...
George Nicolae
September 07 2018 Permalink
I guess around that I should work. Unfortunatelly same thing.

But now triyng to open in browser the adress of the shiraz/css/style1/style.css gets me "{"code":500,"message":"Component com_templates not found"}" in... Read More
I guess around that I should work. Unfortunatelly same thing.

But now triyng to open in browser the adress of the shiraz/css/style1/style.css gets me "{"code":500,"message":"Component com_templates not found"}" instead of: 404, not found.

And the page source when logged in starts with div class=row
With no header at all. Read Less
Rastin Mehr
Rastin Mehr
September 07 2018 Permalink
Alright, can you set the error reporting to maximum in your php config file and $error_reporting = '30719' in anahita configuration.php file. The idea is to get a meaningful error. It's possible that a php extensions ... Read More
Alright, can you set the error reporting to maximum in your php config file and $error_reporting = '30719' in anahita configuration.php file. The idea is to get a meaningful error. It's possible that a php extensions isn't installed on your server. Read Less
George Nicolae
September 07 2018 Permalink
Actually every file I open from the page source gets me the 500 error. For site.js is: component com_media not found.


Enabling error reporting I get:
Warning: file_put_contents(/home/admin/web/my-website/public_... Read More
Actually every file I open from the page source gets me the 500 error. For site.js is: component com_media not found.


Enabling error reporting I get:
Warning: file_put_contents(/home/admin/web/my-website/public_html/myproject/www/cache/site.js.0c5af962301f4bbd48db55face48c4b9): failed to open stream: Permission denied in /home/admin/web/my-website/public_html/myproject/src/libraries/default/base/template/helper/javascript/file.php on line 119 Read Less
Rastin Mehr
Rastin Mehr
September 07 2018 Permalink
chmod 755 www/cache perhaps?
Rastin Mehr
Rastin Mehr
September 07 2018 Permalink
or

find www -type d -exec chmod 755 {} \;

in the root directory where Anahita is installed. Also your website root is the www directory not the one above. You probably know that already, but I wanted to point i... Read More
or

find www -type d -exec chmod 755 {} \;

in the root directory where Anahita is installed. Also your website root is the www directory not the one above. You probably know that already, but I wanted to point it out. Read Less
Nick Swinford

Nick Swinford and George Nicolae commented on the topic

Nginx rewrite issue

Got Anahita succesfully installed on a second attempt. Forgot to point my domain to the installation directory. Did that too and when i thought that was it, bumped in the Nginx rewrite issue. I get...

Read More

Got Anahita succesfully installed on a second attempt. Forgot to point my domain to the installation directory. Did that too and when i thought that was it, bumped in the Nginx rewrite issue. I get the homepage but no styling attached to it and 404 not found on any other page.

I really like to get it working and I have no clue to solve this.

Read Less
Nick Swinford
Nick Swinford
September 06 2018 Permalink
Those two errors wouldn't cause this issue. You can generally still run Anahita without any issues with them.

Can you check your php error log and see if there's anything in there?

Yeah, your nginx file might help.
George Nicolae
September 06 2018 Permalink
The most errors I see in the log look like this

2018/09/05 15:09:05 [error] 13309#13309: *1 open() "/home/admin/web/mysite/public_html/myproject/www/templates/shiraz/css/style1/style.css" failed (13: Permission de... Read More
The most errors I see in the log look like this

2018/09/05 15:09:05 [error] 13309#13309: *1 open() "/home/admin/web/mysite/public_html/myproject/www/templates/shiraz/css/style1/style.css" failed (13: Permission denied), client: **.**.**.***, server: mysite, request: "GET /templates/shiraz/css/style1/style.css HTTP/1.1", host: "mysite", referrer: "http ://mysite/" Read Less
George Nicolae
September 06 2018 Permalink
This is my nginx config part minus the header with server directives:

location / {

location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
expires max;
}

location ~... Read More
This is my nginx config part minus the header with server directives:

location / {

location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
expires max;
}

location ~ [^/]\.php(/|$) {
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
if (!-f $document_root$fastcgi_script_name) {
return 404;
}

fastcgi_pass 127.0.0.1:9002;
fastcgi_index index.php;
include /etc/nginx/fastcgi_params;
}
}

error_page 403 /error/404.html;
error_page 404 /error/404.html;
error_page 500 502 503 504 /error/50x.html;

location /error/ {
alias /home/admin/web/mywebsite/document_errors/;
}

location ~* "/\.(htaccess|htpasswd)$" {
deny all;
return 404;
} Read Less
Nick Swinford

Nick Swinford and George Nicolae commented on the topic

Nginx rewrite issue

Got Anahita succesfully installed on a second attempt. Forgot to point my domain to the installation directory. Did that too and when i thought that was it, bumped in the Nginx rewrite issue. I get...

Read More

Got Anahita succesfully installed on a second attempt. Forgot to point my domain to the installation directory. Did that too and when i thought that was it, bumped in the Nginx rewrite issue. I get the homepage but no styling attached to it and 404 not found on any other page.

I really like to get it working and I have no clue to solve this.

Read Less
Nick Swinford
Nick Swinford
September 05 2018 Permalink
In your configuration.php file set $debug to 1 and $error_reporting to E_ALL and see what errors you get.
Rastin Mehr liked this
George Nicolae
September 05 2018 Permalink
This is what I get:

Warning: file_put_contents(/home/admin/web/mywebsite/public_html/myproject/www/cache/site.js.0c5af962301f4bbd48db55face48c4b9): failed to open stream: Permission denied in /home/admin/web/myweb... Read More
This is what I get:

Warning: file_put_contents(/home/admin/web/mywebsite/public_html/myproject/www/cache/site.js.0c5af962301f4bbd48db55face48c4b9): failed to open stream: Permission denied in /home/admin/web/mywebsite/public_html/myproject/src/libraries/default/base/template/helper/javascript/file.php on line 119 Read Less
George Nicolae
September 05 2018 Permalink
Maybe I should post the content of my Nginx file? I got this kind of problem with wordpress too but using vestacp on top I just selected the Nginx template for wordpress rewrite

George Nicolae started a topic

Nginx rewrite issue

Got Anahita succesfully installed on a second attempt. Forgot to point my domain to the installation directory. Did that too and when i thought that was it, bumped in the Nginx rewrite issue. I get...

Read More

Got Anahita succesfully installed on a second attempt. Forgot to point my domain to the installation directory. Did that too and when i thought that was it, bumped in the Nginx rewrite issue. I get the homepage but no styling attached to it and 404 not found on any other page.

I really like to get it working and I have no clue to solve this.

Read Less
Rastin Mehr

Rastin Mehr commented on the topic

Anahita API documentation support

Hi @rastin

Our team will most likely make the first version of our Anahita mobile app using Xamarin because we're using visual studio and for the sake of early-stage efficiency. Do you happen to ...

Read More

Hi @rastin

Our team will most likely make the first version of our Anahita mobile app using Xamarin because we're using visual studio and for the sake of early-stage efficiency. Do you happen to have any primers or guidance on what APIs we can use with Anahita out of the box? I remember several years ago there was https://www.getanahita.com/api - the link has been removed.Any help or guidance would be greatly appreciated!! :-)

Read Less
Rastin Mehr
Rastin Mehr
August 27 2018 Permalink
That link is outdated and the best way is reading the code and looking at the apps as examples anyway. You can post your questions here or contact me for private consulting.

You can see some of the examples of api... Read More
That link is outdated and the best way is reading the code and looking at the apps as examples anyway. You can post your questions here or contact me for private consulting.

You can see some of the examples of api endpoints here: https://github.com/anahitasocial/anahita-react/tree/master/src/api

Make sure you've got your CORS setup done correctly. I'll post some updates about the direction we are heading to this week which you may find useful. Basically the React App will be the client app and the Anahita php code will be reduced to APIs only. This way one back-end can be used with mobile, web, or desktop apps. Read Less
Rastin Mehr

Rastin Mehr commented on the topic

Twitter connect issue

Hi everyone, 

I've been trying to set up twitter connect for my anahita app - and for some reason I can't seem to get it to work. My steps:

(1) Set up a new app under twitter dev: https://apps.twi...

Read More

Hi everyone, 

I've been trying to set up twitter connect for my anahita app - and for some reason I can't seem to get it to work. My steps:

(1) Set up a new app under twitter dev: https://apps.twitter.com/app/

(2) In the 'Connect' app in Anahita add the twitter consumer key (api key) and consumer secret key and enable the connect plugins

(3) I added Callback URLs in twitter under the app (based on the read-only examples) in the 'Connect app'

When i try to enable it i get an null error - ( ! ) Notice: Trying to get property of non-object in C:\wamp64\www\hwarp-app-prod\packages\Connect\src\components\com_connect\oauths\services\abstract.php on line 299Any help or ideas would be greatly appreciated. I may be using the wrong call-back URLs? Read Less
Have you added callback urls with localhost or whatever your local WAMP is using? I've noticed that OAuth doesn't play nice if you are hosting Anahita on a subdirectory so make sure Anahita is accessed via localhost d... Read More
Have you added callback urls with localhost or whatever your local WAMP is using? I've noticed that OAuth doesn't play nice if you are hosting Anahita on a subdirectory so make sure Anahita is accessed via localhost directly.

Good idea about subscription app. You can host it on Github and distribute it using composer. Read Less
Rastin Mehr

Rastin Mehr commented on the topic

Twitter connect issue

Hi everyone, 

I've been trying to set up twitter connect for my anahita app - and for some reason I can't seem to get it to work. My steps:

(1) Set up a new app under twitter dev: https://apps.twi...

Read More

Hi everyone, 

I've been trying to set up twitter connect for my anahita app - and for some reason I can't seem to get it to work. My steps:

(1) Set up a new app under twitter dev: https://apps.twitter.com/app/

(2) In the 'Connect' app in Anahita add the twitter consumer key (api key) and consumer secret key and enable the connect plugins

(3) I added Callback URLs in twitter under the app (based on the read-only examples) in the 'Connect app'

When i try to enable it i get an null error - ( ! ) Notice: Trying to get property of non-object in C:\wamp64\www\hwarp-app-prod\packages\Connect\src\components\com_connect\oauths\services\abstract.php on line 299Any help or ideas would be greatly appreciated. I may be using the wrong call-back URLs? Read Less
Can you inspect the request in your browser to see what happens when you click on the enable button?
Inspect > Network tab in Chrome
Could you turn use mod_write to Yes in the Site Settings so it'd remove the index.php from the url? I know OAuth services are quite picky about the urls passed on to them.
When you enable Twitter, it obtains an access token from twitter and stores it in Anahita for the viewer. The access token is later used as a way for twitter to recognize the requests as valid. Looks like Twitter is r... Read More
When you enable Twitter, it obtains an access token from twitter and stores it in Anahita for the viewer. The access token is later used as a way for twitter to recognize the requests as valid. Looks like Twitter is refusing to give you an access token. Read Less
Rastin Mehr

Rastin Mehr commented on the topic

Twitter connect issue

Hi everyone, 

I've been trying to set up twitter connect for my anahita app - and for some reason I can't seem to get it to work. My steps:

(1) Set up a new app under twitter dev: https://apps.twi...

Read More

Hi everyone, 

I've been trying to set up twitter connect for my anahita app - and for some reason I can't seem to get it to work. My steps:

(1) Set up a new app under twitter dev: https://apps.twitter.com/app/

(2) In the 'Connect' app in Anahita add the twitter consumer key (api key) and consumer secret key and enable the connect plugins

(3) I added Callback URLs in twitter under the app (based on the read-only examples) in the 'Connect app'

When i try to enable it i get an null error - ( ! ) Notice: Trying to get property of non-object in C:\wamp64\www\hwarp-app-prod\packages\Connect\src\components\com_connect\oauths\services\abstract.php on line 299Any help or ideas would be greatly appreciated. I may be using the wrong call-back URLs? Read Less
Is there a way to get an error message either from Anahita or Twitter?
Rastin Mehr

Rastin Mehr commented on the topic

Extending com_groups question

Hi @rastin et all, 

I have a question about extending groups without changes the core of anahita. 

In \components\com_groups\domains\entities\component.php there is:

class ComGroupsDomainEntityCompo...

Read More

Hi @rastin et all, 

I have a question about extending groups without changes the core of anahita. 

In \components\com_groups\domains\entities\component.php there is:

class ComGroupsDomainEntityComponent extends ComActorsDomainEntityComponent

How would I create a custom component that extends ComGroupsDomainEntityComponent and associates an actor ID (of type person) to an actor ID (of type organization)?

Read Less
Extend com_actors instead. com_groups is an app. It is meant to be a dispatchable component and final. com_actors however, is a base component and is meant to be extended. Use com_groups as a blueprint for your new ac... Read More
Extend com_actors instead. com_groups is an app. It is meant to be a dispatchable component and final. com_actors however, is a base component and is meant to be extended. Use com_groups as a blueprint for your new actors component.

What is the nature of person to actor association in your case? Read Less

Photos View All

Articles View All

Topics View All

Powered by Anahita