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

Rastin Mehr

Rastin Mehr commented on the topic

Uncaught Error: Call to a member function getRouter() on null

Hi everyone,

I'm new to Anahita and I'm attempting to try it out locally.  I'm using the latest version of PHP 7 with Apache2 and Debian Buster.  I have APCU, Mysqli and OPCache modules installed an...

Read More

Hi everyone,

I'm new to Anahita and I'm attempting to try it out locally.  I'm using the latest version of PHP 7 with Apache2 and Debian Buster.  I have APCU, Mysqli and OPCache modules installed and enabled.  I've also enabled mod_rewrite on Apache.  Everything else is set to system defaults.

I've followed the README instructions, pointed Anahita to a Mysql instance that I already had running, and it successfully connected, created the schema, and initiated the site.

However, I get the following message when attempting to load the site... does anyone have a suggestion on how I might troubleshoot this?:

Fatal error: Uncaught Error: Call to a member function getRouter() on null in/components/com_application/dispatcher.php:164

Read Less
Rastin Mehr liked this
So I just created the Anahita 4.4.3 birth release, and it should work on PHP 7.3.9 and lower, but not on PHP 7.4 yet. The list of required changes for PHP 7.4 is extensive, and it will take a while for us to finish it... Read More
So I just created the Anahita 4.4.3 birth release, and it should work on PHP 7.3.9 and lower, but not on PHP 7.4 yet. The list of required changes for PHP 7.4 is extensive, and it will take a while for us to finish it. If you could give us a hand, let me know. We'll appreciate it. Read Less
Rastin Mehr

Rastin Mehr started a topic

Anahita on PHP 7.4

Just a reminder that #Anahita isn't yet compatible with PHP 7.4. The latest you can go to is PHP 7.3.9. The list of upgrades for PHP 7.4 is long, because of significant changes introduced in this r...

Read More

Just a reminder that #Anahita isn't yet compatible with PHP 7.4. The latest you can go to is PHP 7.3.9. The list of upgrades for PHP 7.4 is long, because of significant changes introduced in this release: https://github.com/php/php-src/blob/PHP-7.4/UPGRADING

We are working on it. If you can lend us a hand, we appreciate it, too. 

#php74 #Anahita

Read Less
Rastin Mehr

Rastin Mehr commented on the topic

Uncaught Error: Call to a member function getRouter() on null

Hi everyone,

I'm new to Anahita and I'm attempting to try it out locally.  I'm using the latest version of PHP 7 with Apache2 and Debian Buster.  I have APCU, Mysqli and OPCache modules installed an...

Read More

Hi everyone,

I'm new to Anahita and I'm attempting to try it out locally.  I'm using the latest version of PHP 7 with Apache2 and Debian Buster.  I have APCU, Mysqli and OPCache modules installed and enabled.  I've also enabled mod_rewrite on Apache.  Everything else is set to system defaults.

I've followed the README instructions, pointed Anahita to a Mysql instance that I already had running, and it successfully connected, created the schema, and initiated the site.

However, I get the following message when attempting to load the site... does anyone have a suggestion on how I might troubleshoot this?:

Fatal error: Uncaught Error: Call to a member function getRouter() on null in/components/com_application/dispatcher.php:164

Read Less
So other than a warning, Anahita works with PHP 7.3.9, but we need to do some extensive work for upgrading to PHP 7.4 following this guideline: https://github.com/php/php-src/blob/PHP-7.4/UPGRADING
I'm going to do a release tomorrow with a note that PHP 7.3.9 is the upper limit for now.
Rastin Mehr

Rastin Mehr and Justin Schmitt commented on the topic

Uncaught Error: Call to a member function getRouter() on null

Hi everyone,

I'm new to Anahita and I'm attempting to try it out locally.  I'm using the latest version of PHP 7 with Apache2 and Debian Buster.  I have APCU, Mysqli and OPCache modules installed an...

Read More

Hi everyone,

I'm new to Anahita and I'm attempting to try it out locally.  I'm using the latest version of PHP 7 with Apache2 and Debian Buster.  I have APCU, Mysqli and OPCache modules installed and enabled.  I've also enabled mod_rewrite on Apache.  Everything else is set to system defaults.

I've followed the README instructions, pointed Anahita to a Mysql instance that I already had running, and it successfully connected, created the schema, and initiated the site.

However, I get the following message when attempting to load the site... does anyone have a suggestion on how I might troubleshoot this?:

Fatal error: Uncaught Error: Call to a member function getRouter() on null in/components/com_application/dispatcher.php:164

Read Less
Hi Justin, thank you for reporting the issue. I am going to see if I can reproduce the issue and get back to you. It looks like for some reason $this->_application isn't being assigned.
Thanks Rastin, let me know if there's anything else you need from me.
Rastin Mehr liked this
Rastin, I was able to get it up and running by rolling back the version of PHP. I first rolled back to version 7.3.14 and I was able to mostly load the site, but the home page showed the error:

Warning: preg_repla... Read More
Rastin, I was able to get it up and running by rolling back the version of PHP. I first rolled back to version 7.3.14 and I was able to mostly load the site, but the home page showed the error:

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 10 in /var/www/html/myproject/vendor/anahita/anahita/src/libraries/anahita/filter/term.php on line 40

Next, I rolled back one more minor version to PHP 7.2.27, and it now appears that everything is working without issue!

Hopefully this info is helpful for you! Read Less
Rastin Mehr liked this
Thank you, Justin! You saved me a lot of time. If you could please do a PR on Github, I'll appreciate it. Otherwise, I'll do a fix and make a new release this weekend.
I'm not sure what to update in the Anahita code to make it work with the latest version of PHP, but I can submit a PR for the README, if that's what you meant.
No problem then, We'll do it!

Justin Schmitt started a topic

Uncaught Error: Call to a member function getRouter() on null

Hi everyone,

I'm new to Anahita and I'm attempting to try it out locally.  I'm using the latest version of PHP 7 with Apache2 and Debian Buster.  I have APCU, Mysqli and OPCache modules installed an...

Read More

Hi everyone,

I'm new to Anahita and I'm attempting to try it out locally.  I'm using the latest version of PHP 7 with Apache2 and Debian Buster.  I have APCU, Mysqli and OPCache modules installed and enabled.  I've also enabled mod_rewrite on Apache.  Everything else is set to system defaults.

I've followed the README instructions, pointed Anahita to a Mysql instance that I already had running, and it successfully connected, created the schema, and initiated the site.

However, I get the following message when attempting to load the site... does anyone have a suggestion on how I might troubleshoot this?:

Fatal error: Uncaught Error: Call to a member function getRouter() on null in/components/com_application/dispatcher.php:164

Read Less
Rastin Mehr liked this
Rastin Mehr

Rastin Mehr commented on the note

Reminder, this Friday to Sunday are the weekly #Anahita #Hackathon days. Our focus will be working on Media and Actor node Read views in the Anahita #ReactJS app. Follow the Anahita project group t... Read More
Reminder, this Friday to Sunday are the weekly #Anahita #Hackathon days. Our focus will be working on Media and Actor node Read views in the Anahita #ReactJS app. Follow the Anahita project group to receive updates, help out, or work on your Anahita project alongside. Read Less
Rastin Mehr

Rastin Mehr shared a note

Reminder, this Friday to Sunday are the weekly #Anahita #Hackathon days. Our focus will be working on Media and Actor node Read views in the Anahita #ReactJS app. Follow the Anahita project group t... Read More
Reminder, this Friday to Sunday are the weekly #Anahita #Hackathon days. Our focus will be working on Media and Actor node Read views in the Anahita #ReactJS app. Follow the Anahita project group to receive updates, help out, or work on your Anahita project alongside. Read Less
Rastin Mehr

Rastin Mehr shared a note

A reminder that this Friday to Sunday is the weekly #Anahita #Hackathon days. This week's focus is on the Anahita people RESTful API and improving it for Anahita-React or other types of client-side... Read More
A reminder that this Friday to Sunday is the weekly #Anahita #Hackathon days. This week's focus is on the Anahita people RESTful API and improving it for Anahita-React or other types of client-side applications. There will be a new maintenance release available soon after. Follow the Anahita project group to receive updates, help out, or work on your own Anahita project alongside. Read Less
Rastin Mehr

Rastin Mehr commented on the topic

PHP Mail Function

Starting a new topic; a previous one was dated 2011 or so.

Are there special PHP module(s) required to get the PHP Mail Function working?  At present I'm testing using the password reset.  I success...

Read More

Starting a new topic; a previous one was dated 2011 or so.

Are there special PHP module(s) required to get the PHP Mail Function working?  At present I'm testing using the password reset.  I successfully receive the reset email at my accounts email address, but it is fully absent of content.

So, for some reason the messages themselves do not seem to be populating.  Otherwise it appears to be working fine.

Read Less
That is strange, I wonder if there are file permissions issues preventing email template to be read properly.
Rastin Mehr

Rastin Mehr shared a note

A reminder that Friday to Sunday is going to be the weekly #Anahita #Hackathon days focusing on Anahita React app. New updates about our progress will be published too. Follow the Anahita Project g... Read More
A reminder that Friday to Sunday is going to be the weekly #Anahita #Hackathon days focusing on Anahita React app. New updates about our progress will be published too. Follow the Anahita Project group to receive updates, help out, or work on your Anahita project alongside. Read Less
Rastin Mehr

Rastin Mehr commented on the topic

Connecting from Amazon EC2 to S3 not working

I've made several attempts starting from scratch to get S3 working without functional results.  Within AWS's Security Credentials center I've set up a IAM user and assigned AWS's default 'AmazonS3F...

Read More

I've made several attempts starting from scratch to get S3 working without functional results.  Within AWS's Security Credentials center I've set up a IAM user and assigned AWS's default 'AmazonS3FullAccess' permissions policy.  For the user I then generate the Access Keys and copy them to Anahita's plugin, along with the S3 bucket name and folder - both of which are setup in the S3 storage to allow public access (I've put a few image files in these folders and confirmed I can access them publicly).  But, when I go to change the Site Admin's avatar nothing is uploaded / no folder for the node is created on S3, although the "broken" image on Anahita's front end is pointing to an S3 location so the plugin should be active.

Comparing my EC2 install to getanahita.com, I see the bucket naming convention in the URL's are different:

  • My getanahita.com avatar (working) = s3.amazonaws.com/[bucketname]/assets/public
  • My EC2 Anahita avatar (not working) = [bucketname].s3.amazonaws.com/assets/public

So I've put a test file in a different folder in my bucket and opened it publicly.  It's URL includes the AWS region:
  • Test file location (working) = [bucketname].s3.us-east-2.amazonaws.com/media/logo.png

I can remove the AWS region and the file is still viewable:

  • Test file location (working) = [bucketname].s3.amazonaws.com/media/logo.png
But, when I attempt to load the test file using the getanahita.com URL convention the file will not load:
  • Test file location (NOT working) = s3.amazonaws.com/[bucketname]./media/logo.png
Could this be something in the plugin that's broken?Since I've overlooked a few php modules and configurations in setting up on EC2, my other question would be whether something in my php setup may be preventing Anahita from connecting to S3?

#EC2 #AWS Read Less
Yes, try changing it manually.
I can't wait to get proper release engineering tools in place for Anahita using Docker and Kubernetes. That's the right way to go about it.
Unknown Person liked this
Rastin Mehr

Rastin Mehr commented on the topic

Connecting from Amazon EC2 to S3 not working

I've made several attempts starting from scratch to get S3 working without functional results.  Within AWS's Security Credentials center I've set up a IAM user and assigned AWS's default 'AmazonS3F...

Read More

I've made several attempts starting from scratch to get S3 working without functional results.  Within AWS's Security Credentials center I've set up a IAM user and assigned AWS's default 'AmazonS3FullAccess' permissions policy.  For the user I then generate the Access Keys and copy them to Anahita's plugin, along with the S3 bucket name and folder - both of which are setup in the S3 storage to allow public access (I've put a few image files in these folders and confirmed I can access them publicly).  But, when I go to change the Site Admin's avatar nothing is uploaded / no folder for the node is created on S3, although the "broken" image on Anahita's front end is pointing to an S3 location so the plugin should be active.

Comparing my EC2 install to getanahita.com, I see the bucket naming convention in the URL's are different:

  • My getanahita.com avatar (working) = s3.amazonaws.com/[bucketname]/assets/public
  • My EC2 Anahita avatar (not working) = [bucketname].s3.amazonaws.com/assets/public

So I've put a test file in a different folder in my bucket and opened it publicly.  It's URL includes the AWS region:
  • Test file location (working) = [bucketname].s3.us-east-2.amazonaws.com/media/logo.png

I can remove the AWS region and the file is still viewable:

  • Test file location (working) = [bucketname].s3.amazonaws.com/media/logo.png
But, when I attempt to load the test file using the getanahita.com URL convention the file will not load:
  • Test file location (NOT working) = s3.amazonaws.com/[bucketname]./media/logo.png
Could this be something in the plugin that's broken?Since I've overlooked a few php modules and configurations in setting up on EC2, my other question would be whether something in my php setup may be preventing Anahita from connecting to S3?

#EC2 #AWS Read Less
Rastin Mehr liked this
Look into IAM and whether EC2 can upload any files to the S3 bucket using any PHP scripts.
Rastin Mehr

Rastin Mehr commented on the topic

Connecting from Amazon EC2 to S3 not working

I've made several attempts starting from scratch to get S3 working without functional results.  Within AWS's Security Credentials center I've set up a IAM user and assigned AWS's default 'AmazonS3F...

Read More

I've made several attempts starting from scratch to get S3 working without functional results.  Within AWS's Security Credentials center I've set up a IAM user and assigned AWS's default 'AmazonS3FullAccess' permissions policy.  For the user I then generate the Access Keys and copy them to Anahita's plugin, along with the S3 bucket name and folder - both of which are setup in the S3 storage to allow public access (I've put a few image files in these folders and confirmed I can access them publicly).  But, when I go to change the Site Admin's avatar nothing is uploaded / no folder for the node is created on S3, although the "broken" image on Anahita's front end is pointing to an S3 location so the plugin should be active.

Comparing my EC2 install to getanahita.com, I see the bucket naming convention in the URL's are different:

  • My getanahita.com avatar (working) = s3.amazonaws.com/[bucketname]/assets/public
  • My EC2 Anahita avatar (not working) = [bucketname].s3.amazonaws.com/assets/public

So I've put a test file in a different folder in my bucket and opened it publicly.  It's URL includes the AWS region:
  • Test file location (working) = [bucketname].s3.us-east-2.amazonaws.com/media/logo.png

I can remove the AWS region and the file is still viewable:

  • Test file location (working) = [bucketname].s3.amazonaws.com/media/logo.png
But, when I attempt to load the test file using the getanahita.com URL convention the file will not load:
  • Test file location (NOT working) = s3.amazonaws.com/[bucketname]./media/logo.png
Could this be something in the plugin that's broken?Since I've overlooked a few php modules and configurations in setting up on EC2, my other question would be whether something in my php setup may be preventing Anahita from connecting to S3?

#EC2 #AWS Read Less
So which part isn't working? Is it the file upload from EC2 to an S3 bucket? Or files upload fine, but the s3 Anahita plugin isn't constructing the paths correctly?
Avatar and cover use the same underlying mechanism for file upload as the photos app. I was going to mention the IAM next. Make sure the AWS permissions are set correctly for an app within EC2 to be able to upload to ... Read More
Avatar and cover use the same underlying mechanism for file upload as the photos app. I was going to mention the IAM next. Make sure the AWS permissions are set correctly for an app within EC2 to be able to upload to a bucket. If that didn't work, go ahead with updating the s3 plugin. Install the most recent s3lib and make any changes to the plugin if necessary. I'd appreciate it if you do a PR please when you get it working. Read Less
Unknown Person liked this
Rastin Mehr

Rastin Mehr commented on the topic

Template override inconsistency between servers

Sorry for all the questions lately but this one is striking me as both odd and mysterious.

The Background:

For this project we're enforcing full privacy for content except a few public static pages. ...

Read More

Sorry for all the questions lately but this one is striking me as both odd and mysterious.

The Background:

For this project we're enforcing full privacy for content except a few public static pages.  Accordingly, I've over-ridden the template "default" html file using if/else to display a login message if the viewer is a guest and otherwise display content if logged-in.  I'm also including overrides for the "component" and "error" html files but only for minor cosmetic adjustments, but both allow publicly-viewable content.  For good measure, I've also added a new "public" html file that I'm pointing the front-page to use which does not check viewer status.

This is all functioning as expected on my development server.

The Mystery:

I noticed that the "token" page requires public view-ability but is generated using the "default" html file - which in my setup displayed a "login to view" message.  So, I have added an override for the "token" file under com_people in the template/html directories which adds

@service('application.dispatcher')->getRequest()->tmpl = 'component'

This works perfect on my development server.  It also works if I use tmpl='public'.

Odd thing though, is that when do the same on my Amazon EC2 server the "token" override does not seem to work - it's displaying the "login to view" message.

I've even gone so far as to copy the entire full template package from the development server (working) to the EC2 server - and it still doesn't work like it is on the development server.

The Question:

Would something in the server environment cause the same exact template override to function differently than on another environment?  All other overrides on the EC2 are working exactly as on the development server, just this one exception.

Read Less
I don't know what's causing this behaviour, but one hypothesis that I can offer is that the template overrides checks for the presence of a layout in the Template before loading the default layout in a Component. It's... Read More
I don't know what's causing this behaviour, but one hypothesis that I can offer is that the template overrides checks for the presence of a layout in the Template before loading the default layout in a Component. It's possible that files paths are constructed differently on your development vs. staging/production server. Read Less
Unknown Person liked this
Rastin Mehr

Rastin Mehr commented on the topic

Connecting from Amazon EC2 to S3 not working

I've made several attempts starting from scratch to get S3 working without functional results.  Within AWS's Security Credentials center I've set up a IAM user and assigned AWS's default 'AmazonS3F...

Read More

I've made several attempts starting from scratch to get S3 working without functional results.  Within AWS's Security Credentials center I've set up a IAM user and assigned AWS's default 'AmazonS3FullAccess' permissions policy.  For the user I then generate the Access Keys and copy them to Anahita's plugin, along with the S3 bucket name and folder - both of which are setup in the S3 storage to allow public access (I've put a few image files in these folders and confirmed I can access them publicly).  But, when I go to change the Site Admin's avatar nothing is uploaded / no folder for the node is created on S3, although the "broken" image on Anahita's front end is pointing to an S3 location so the plugin should be active.

Comparing my EC2 install to getanahita.com, I see the bucket naming convention in the URL's are different:

  • My getanahita.com avatar (working) = s3.amazonaws.com/[bucketname]/assets/public
  • My EC2 Anahita avatar (not working) = [bucketname].s3.amazonaws.com/assets/public

So I've put a test file in a different folder in my bucket and opened it publicly.  It's URL includes the AWS region:
  • Test file location (working) = [bucketname].s3.us-east-2.amazonaws.com/media/logo.png

I can remove the AWS region and the file is still viewable:

  • Test file location (working) = [bucketname].s3.amazonaws.com/media/logo.png
But, when I attempt to load the test file using the getanahita.com URL convention the file will not load:
  • Test file location (NOT working) = s3.amazonaws.com/[bucketname]./media/logo.png
Could this be something in the plugin that's broken?Since I've overlooked a few php modules and configurations in setting up on EC2, my other question would be whether something in my php setup may be preventing Anahita from connecting to S3?

#EC2 #AWS Read Less
Rastin Mehr liked this
I would set up the SSL first before attempting to update the plugin.

The AWS PHP library is this file https://github.com/anahitasocial/anahita/blob/297d08977a9269ff9a29a879aadc95f2f4865e5c/src/plugins/storage/s3l... Read More
I would set up the SSL first before attempting to update the plugin.

The AWS PHP library is this file https://github.com/anahitasocial/anahita/blob/297d08977a9269ff9a29a879aadc95f2f4865e5c/src/plugins/storage/s3lib.php

, but quite likely they have a new version out. Read Less
Unknown Person liked this
Rastin Mehr

Rastin Mehr commented on the topic

Connecting from Amazon EC2 to S3 not working

I've made several attempts starting from scratch to get S3 working without functional results.  Within AWS's Security Credentials center I've set up a IAM user and assigned AWS's default 'AmazonS3F...

Read More

I've made several attempts starting from scratch to get S3 working without functional results.  Within AWS's Security Credentials center I've set up a IAM user and assigned AWS's default 'AmazonS3FullAccess' permissions policy.  For the user I then generate the Access Keys and copy them to Anahita's plugin, along with the S3 bucket name and folder - both of which are setup in the S3 storage to allow public access (I've put a few image files in these folders and confirmed I can access them publicly).  But, when I go to change the Site Admin's avatar nothing is uploaded / no folder for the node is created on S3, although the "broken" image on Anahita's front end is pointing to an S3 location so the plugin should be active.

Comparing my EC2 install to getanahita.com, I see the bucket naming convention in the URL's are different:

  • My getanahita.com avatar (working) = s3.amazonaws.com/[bucketname]/assets/public
  • My EC2 Anahita avatar (not working) = [bucketname].s3.amazonaws.com/assets/public

So I've put a test file in a different folder in my bucket and opened it publicly.  It's URL includes the AWS region:
  • Test file location (working) = [bucketname].s3.us-east-2.amazonaws.com/media/logo.png

I can remove the AWS region and the file is still viewable:

  • Test file location (working) = [bucketname].s3.amazonaws.com/media/logo.png
But, when I attempt to load the test file using the getanahita.com URL convention the file will not load:
  • Test file location (NOT working) = s3.amazonaws.com/[bucketname]./media/logo.png
Could this be something in the plugin that's broken?Since I've overlooked a few php modules and configurations in setting up on EC2, my other question would be whether something in my php setup may be preventing Anahita from connecting to S3?

#EC2 #AWS Read Less
I think AWS S3 has changed its path conventions and getanahita.com is using the legacy paths, and our bucket is from years ago. Perhaps we need to update the S3 plugin and make it work in both legacy and current mode.
Although the PHP AWS S3 library perhaps needs to be upgraded too.
Rastin Mehr

Rastin Mehr commented on the topic

Database connect error when moving to new file server but same database

Encounter a new error for me personally, looking for advice where to start looking further.After successfully getting Anahita running on a shared server I am trying to set up a production server on... Read More
Encounter a new error for me personally, looking for advice where to start looking further.After successfully getting Anahita running on a shared server I am trying to set up a production server on Amazon EC2.  On the EC2 instance I have successfully installed Apache, PHP 7.0, Composer, and used Composer to pull down Anahita.  When I attempt the site:init I am presented with the process to enter the database credentials.  All good so far.But, when I point the database credentials to the existing, known good database that already had Anahita working, I receive an error stating "(HY000/1045): Access denied for user '[user]' (using password: YES) in /var/www/html/anahita/vendor/anahita/anahita/tasks/site.task.php on line 165"Would this be indicative of something in php not being configured correctly?  The database itself is known to be good from having already used if for Anahita from another server.Any advice much appreciated! Read Less
Usually, when you are saving using Anahita, it writes into the configuration.php file and then sets the permissions to 664. Are you trying to edit the file manually in a text editor? If Anahita is not able to save, th... Read More
Usually, when you are saving using Anahita, it writes into the configuration.php file and then sets the permissions to 664. Are you trying to edit the file manually in a text editor? If Anahita is not able to save, then there is a user/group access privilege issue that you need to fix. Read Less
Rastin Mehr

Rastin Mehr commented on the topic

Database connect error when moving to new file server but same database

Encounter a new error for me personally, looking for advice where to start looking further.After successfully getting Anahita running on a shared server I am trying to set up a production server on... Read More
Encounter a new error for me personally, looking for advice where to start looking further.After successfully getting Anahita running on a shared server I am trying to set up a production server on Amazon EC2.  On the EC2 instance I have successfully installed Apache, PHP 7.0, Composer, and used Composer to pull down Anahita.  When I attempt the site:init I am presented with the process to enter the database credentials.  All good so far.But, when I point the database credentials to the existing, known good database that already had Anahita working, I receive an error stating "(HY000/1045): Access denied for user '[user]' (using password: YES) in /var/www/html/anahita/vendor/anahita/anahita/tasks/site.task.php on line 165"Would this be indicative of something in php not being configured correctly?  The database itself is known to be good from having already used if for Anahita from another server.Any advice much appreciated! Read Less
What happens when you try to create the first account via the user interface? Do you get any connection error between php and mysql?
is there a way you can get an error message from the system or in the php logs?
Good job! Yes, I'd appreciate it if you could document it, please. Ideally, we would want to deploy to AWS using propper release engineering tools, but that's a whole project on its own after the Anahita React app is ... Read More
Good job! Yes, I'd appreciate it if you could document it, please. Ideally, we would want to deploy to AWS using propper release engineering tools, but that's a whole project on its own after the Anahita React app is ready. Read Less
Rastin Mehr

Rastin Mehr commented on the topic

Database connect error when moving to new file server but same database

Encounter a new error for me personally, looking for advice where to start looking further.After successfully getting Anahita running on a shared server I am trying to set up a production server on... Read More
Encounter a new error for me personally, looking for advice where to start looking further.After successfully getting Anahita running on a shared server I am trying to set up a production server on Amazon EC2.  On the EC2 instance I have successfully installed Apache, PHP 7.0, Composer, and used Composer to pull down Anahita.  When I attempt the site:init I am presented with the process to enter the database credentials.  All good so far.But, when I point the database credentials to the existing, known good database that already had Anahita working, I receive an error stating "(HY000/1045): Access denied for user '[user]' (using password: YES) in /var/www/html/anahita/vendor/anahita/anahita/tasks/site.task.php on line 165"Would this be indicative of something in php not being configured correctly?  The database itself is known to be good from having already used if for Anahita from another server.Any advice much appreciated! Read Less
That seems like a php to MySQL database connection error. Does the php user have the right privileges to connect to MySQL database?
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

Photos View All

Articles View All

Topics View All

Powered by Anahita