Tribe Support

In this group #Anahita Tribe members provide support and help each other out. All the posts must be public on this group. #support

Stories

Rajkumar Mundel

Rajkumar Mundel and Rastin Mehr commented on the topic

Local Setup Issue - Signup Process

Hello, I freshly installed Anahita on LocalHost (Windows env) with WAMP. I created SUPER USER also and logged in successfully.But when I try to create 2nd user, I am getting attached error. Please ...

Read More

Hello, I freshly installed Anahita on LocalHost (Windows env) with WAMP. I created SUPER USER also and logged in successfully.But when I try to create 2nd user, I am getting attached error. Please have a look 

Something I am missing Email configuration...I want to use My GMAIL account to send email verification..What mailer I should use. ? When I try Mailer = sendmail, below error is coming Read Less
And When i use SMPT as mailer...Below error

( ! ) Fatal error: Uncaught exception 'InvalidArgumentException' with message 'Response message is missing' in C:\Users\handm\Dropbox\MundelProjects\React\GitProjects\myp... Read More
And When i use SMPT as mailer...Below error

( ! ) Fatal error: Uncaught exception 'InvalidArgumentException' with message 'Response message is missing' in C:\Users\handm\Dropbox\MundelProjects\React\GitProjects\myproject\src\libraries\default\base\controller\response\response.php on line 148
( ! ) InvalidArgumentException: Response message is missing in C:\Users\handm\Dropbox\MundelProjects\React\GitProjects\myproject\src\libraries\default\base\controller\response\response.php on line 148 Read Less
And after updating from Backend in node table... Enabled = 1...and logged in with the new user... Somehow JQUERY is not working on site... it is saying jQuery is not defined...

Something is messed up :)... Once de... Read More
And after updating from Backend in node table... Enabled = 1...and logged in with the new user... Somehow JQUERY is not working on site... it is saying jQuery is not defined...

Something is messed up :)... Once debug mode one... Jquery stop working Read Less
There seems to be something wrong with your server environment. Nothing is loading properly.
Rajkumar Mundel liked this
Please help me with Email configuration on local host with GMAIL on windows.
I am confused with email configuration... Any particular setting for windows and localhost for GMAIL as SMPT for email ?

I did local setup to test one of the react fontend project and anahita as backend
React Proj... Read More
I am confused with email configuration... Any particular setting for windows and localhost for GMAIL as SMPT for email ?

I did local setup to test one of the react fontend project and anahita as backend
React Project - https://github.com/indokely/react-social-network Read Less
I'm using SMTP and root username and password on my local machine. I am also using Mailcatcher to capture the sent out emails.

Thank you for the React Link. I'm interested to see what patterns they are using. Is i... Read More
I'm using SMTP and root username and password on my local machine. I am also using Mailcatcher to capture the sent out emails.

Thank you for the React Link. I'm interested to see what patterns they are using. Is it really working with any kind of back-end? Read Less
Rajkumar Mundel

Rajkumar Mundel started a topic

Local Setup Issue - Signup Process

Hello, I freshly installed Anahita on LocalHost (Windows env) with WAMP. I created SUPER USER also and logged in successfully.But when I try to create 2nd user, I am getting attached error. Please ...

Read More

Hello, I freshly installed Anahita on LocalHost (Windows env) with WAMP. I created SUPER USER also and logged in successfully.But when I try to create 2nd user, I am getting attached error. Please have a look 

Something I am missing Email configuration...I want to use My GMAIL account to send email verification..What mailer I should use. ? When I try Mailer = sendmail, below error is coming Read Less
Ildemaro  Martinez Jr

Ildemaro Martinez Jr and Rastin Mehr commented on the topic

Docker Kubernetes

When will Anahita be production ready/optimized for scalable ‘microservices’ type Docker Kubernetes deployments? 

ok so what do you recommend for a team that wants to configure deploy Anahita+ its apps (Photos, Subscriptions, etc) as Docker-Kubernetes?
Just go ahead and do it. Use what's there and build what's not there yourself. Right now any web application deployment is better be done using propper release engineering tools such as docker.
Rastin Mehr

Rastin Mehr commented on the topic

Docker Kubernetes

When will Anahita be production ready/optimized for scalable ‘microservices’ type Docker Kubernetes deployments? 

I wish I knew the answer to that! I can tell you this: the goal is by end of the year to have a feature parity Anahita React app with mobile first design to the point that we can remove all the code responsible for re... Read More
I wish I knew the answer to that! I can tell you this: the goal is by end of the year to have a feature parity Anahita React app with mobile first design to the point that we can remove all the code responsible for rendering UIs and templates in the back-end. The php code will only provide an API. Whether it will be production ready by December, we can't tell yet.

Docker will happen sometime through the process. I've been wanting to rebuild our release engineering tools for quite some time. We'll get started on that during June or July. Right now we're occupied by client projects. A lot of new design patterns from our ongoing client projects will be implemented in Anahita. Read Less

Docker Kubernetes

When will Anahita be production ready/optimized for scalable ‘microservices’ type Docker Kubernetes deployments? 

Rajkumar Mundel

Rajkumar Mundel and Rastin Mehr commented on the topic

Anahita's frontend React App - Setup on LocalHost and GetAnhita.com

Hello,I did setup of Anahita React App today. Can I connect my local Anahita React App setup to GetAnahita.com ?Please tell me where I need to configure ?I fount at 2 places... ONE - registerServic...

Read More

Hello,I did setup of Anahita React App today. Can I connect my local Anahita React App setup to GetAnahita.com ?Please tell me where I need to configure ?I fount at 2 places... ONE - registerServiceWorker.js and SECOND - src/api/index.js - axios.defaults.baseURLBut I am not able to login #AnahitaReact #ReactJS

Read Less
The React App doesn't work with the live GetAnahita.com yet because of CORS configuration. It also doesn't work with the master branch, because I haven't yet merged the API changes in my fork https://github.com/rmdstu... Read More
The React App doesn't work with the live GetAnahita.com yet because of CORS configuration. It also doesn't work with the master branch, because I haven't yet merged the API changes in my fork https://github.com/rmdstudio/anahita Read Less
I have a local development site that is working at the moment for whatever we've developed so far.
Is there any way we can also test Anahita React Frontend with Live Site ?
Are you planning to make to open in next few days ?
"My local Anahita React Frontend" with Live Site (GetAnahita.com)
For live site to work I need to add CORS configuration to the live site server which would allow anybody on the web to make REST calls. It's not a good idea. As soon as we have enough features developed in the React A... Read More
For live site to work I need to add CORS configuration to the live site server which would allow anybody on the web to make REST calls. It's not a good idea. As soon as we have enough features developed in the React App, we will do a gradual migration of the live website to the single page app version.

We haven't gone that far yet. It's not even an app at this point. It only does basic functions for people and actors. The goal is to find the basic react and redux patterns for Anahita and it is still a work in progress. Read Less
Rajkumar Mundel liked this
:)
Sure. Got your point :)
Rajkumar Mundel

Rajkumar Mundel started a topic

Anahita's frontend React App - Setup on LocalHost and GetAnhita.com

Hello,I did setup of Anahita React App today. Can I connect my local Anahita React App setup to GetAnahita.com ?Please tell me where I need to configure ?I fount at 2 places... ONE - registerServic...

Read More

Hello,I did setup of Anahita React App today. Can I connect my local Anahita React App setup to GetAnahita.com ?Please tell me where I need to configure ?I fount at 2 places... ONE - registerServiceWorker.js and SECOND - src/api/index.js - axios.defaults.baseURLBut I am not able to login #AnahitaReact #ReactJS

Read Less
Rastin Mehr

Rastin Mehr shared a note

Reminder that Friday to Sunday are #Anahita #Hackathon days. This week's focus will be working on the Anahita React app as well as applying some patches to the master branch. Follow the project gro... Read More
Reminder that Friday to Sunday are #Anahita #Hackathon days. This week's focus will be working on the Anahita React app as well as applying some patches to the master branch. Follow the project group to receive updates, help out, or work on your own project alongside. #ReactJS #ReduxJS #MaterialUI Read Less
Christian Francisco

Christian Francisco and Rastin Mehr commented on the topic

Date Attributes

Hello,

I am attempting to store a date attribute in the database for a package. 

The package creates a table in the database on installation to store additional attributes. Similar to the other attr...

Read More

Hello,

I am attempting to store a date attribute in the database for a package. 

The package creates a table in the database on installation to store additional attributes. Similar to the other attributes, I have referenced the attribute in the package initializer and created an input field within the package's composer.php form. However, upon submission, the console reveals a 500 error with the composer.

Is it possible to use a date input to save a date value in the database?

Thanks in advance!

Read Less
I've been working with the date attribute more. The date can be written as NULL or with an actual date value depending on whether a date was entered into the composer or not.

The value could then be changed to anot... Read More
I've been working with the date attribute more. The date can be written as NULL or with an actual date value depending on whether a date was entered into the composer or not.

The value could then be changed to another date from the edit form. However, if you're editing the attribute from a date to NULL, then the date is saved as 01/01/2000.

Do you know of any solution of saving the date as NULL rather than 01/01/2000?

I have tried the following two approaches in the _actionEdit function for my package with no luck:

Loading ...
Read Less
I don't think MySql allows null date values.
I hadn't considered that, however I ran 'UPDATE an_nodes SET start_date=NULL WHERE id=354;' and the value changed to NULL.
You are right, but we are going to fix that in Anahita. The newer version of MySql aren't forgiving. It's good practice if you don't set dates to null.

Peter Qafoku and Rastin Mehr commented on the topic

Custom Behavior Bug

Hello,

I was working on making a custom behavior and I followed an example that you gave me, however, when I run my site and I try to post a note, photo, or document (I'm working on the document pac...

Read More

Hello,

I was working on making a custom behavior and I followed an example that you gave me, however, when I run my site and I try to post a note, photo, or document (I'm working on the document package), input textbar disappears with this error in the terminal: 

[500]: /index.php/documents/@2/document?layout=composer

Any ideas of what this could be? I think the error is when I initialize the behavior which I do like this:

protected function _initialize(KConfig $config) {   

parent::initialize($config);  

//syslog(1,"init complete");    

unset($config['attributes']);   

$config->append(array (     

        'attributes' => array (        

              'filename',  'filesize' => array(            

                            'column' => 'filesize',            

                            'type' => 'integer',             

                            'write' => 'private'          ),        

       'mimeType' => array(              

                           'column' => 'medium_mime_type',             

                           'match' => '/\w+\/\w+/',             

                          'write' => 'private'           ),      

) )); 

}

Any help would be greatly appreciated!

Read Less
@Rastin I tried removing that line and the error persisted.
Nick this is what was written to the log files after adding that line:

[09-Apr-2018 20:00:21 UTC] PHP Warning: Invalid argument supplied for foreach() i... Read More
@Rastin I tried removing that line and the error persisted.
Nick this is what was written to the log files after adding that line:

[09-Apr-2018 20:00:21 UTC] PHP Warning: Invalid argument supplied for foreach() in /home/peterqafoku/Documents/CPTS421/sparq/anahita/src/libraries/anahita/domain/description/abstract.php on line 516
[09-Apr-2018 20:00:22 UTC] PHP Warning: Invalid argument supplied for foreach() in /home/peterqafoku/Documents/CPTS421/sparq/anahita/src/libraries/anahita/domain/description/abstract.php on line 516
[09-Apr-2018 20:00:22 UTC] PHP Warning: Invalid argument supplied for foreach() in /home/peterqafoku/Documents/CPTS421/sparq/anahita/src/libraries/anahita/domain/description/abstract.php on line 516
[09-Apr-2018 20:00:22 UTC] PHP Warning: Invalid argument supplied for foreach() in /home/peterqafoku/Documents/CPTS421/sparq/anahita/src/libraries/anahita/domain/description/abstract.php on line 516
[09-Apr-2018 20:00:22 UTC] PHP Warning: Invalid argument supplied for foreach() in /home/peterqafoku/Documents/CPTS421/sparq/anahita/src/libraries/anahita/domain/description/abstract.php on line 516

However these are just warnings and shouldn't cause the program to crash? Read Less
What happens when you put parent::initialize($config); after the $config->append ?
Same issue with the same errors still.
I can't help unless I play with the code. I suggest going back and trying all over again. Sometimes it takes less time that way. Try building a test behaviour and then gradually convert it to what you are trying to bu... Read More
I can't help unless I play with the code. I suggest going back and trying all over again. Sometimes it takes less time that way. Try building a test behaviour and then gradually convert it to what you are trying to build. Read Less
Nick Swinford

Nick Swinford commented on the topic

Can't Edit System Settings

For some reason, if you attempt to edit System Settings in 4.3.10 or later, you get the following error:

Exception LibBaseControllerExceptionNotImplemented with message "Action Post Not Implemented"...

Read More

For some reason, if you attempt to edit System Settings in 4.3.10 or later, you get the following error:

Exception LibBaseControllerExceptionNotImplemented with message "Action Post Not Implemented"

At the top of the form is a hidden input element with name=action and value=edit. This is suppose to direct the request to the edit action on the settings controller, but it doesn't seem to be working. Instead you're getting the post action which isn't defined, hence the error.

Read Less
Okay, so this seems to have randomly fixed itself. No idea why, but it's working now.
Rastin Mehr liked this
Nick Swinford

Nick Swinford and Rastin Mehr commented on the topic

Template Overrides Conflicting

I'm trying to override both the Actors and People component and I'm running into an issue where the Actors overrides override the People overrides.

This happens because the Actor template paths (htt...

Read More

I'm trying to override both the Actors and People component and I'm running into an issue where the Actors overrides override the People overrides.

This happens because the Actor template paths (https://github.com/anahitasocial/anahita/blob/master/src/components/com_actors/views/actor/html.php#L32) are added after the People template paths (https://github.com/anahitasocial/anahita/blob/master/src/components/com_base/views/html.php#L43-L48) (eg. People extends from Actors which extends from Base).

This is the opposite of what you'd expect which is that the people component should override the actors component. Is there any work around for this or suggestion on how to fix it? I've tried a couple things, but they haven't fixed the issue permanently.

Read Less
After some testing and soul searching, I found a simpler solution. I just moved the actor template override path up so it's included before the inheriting components override path. So for example, on the /groups route... Read More
After some testing and soul searching, I found a simpler solution. I just moved the actor template override path up so it's included before the inheriting components override path. So for example, on the /groups route the template search paths would change like this:

Loading ...


This won't have any effect on core Anahita and will only change how template overrides are loaded. Template overrides will behave just like inheriting templates. Read Less
Rastin Mehr liked this
Forgot the link to the pull request: https://github.com/anahitasocial/anahita/pull/483
Rastin Mehr liked this
Good work Nick, thank you! I will test your PR this week. I've also done some bug fixes in the com_people api which I need to merge.
Rastin Mehr

Rastin Mehr commented on the topic

Creating Tables

I have been trying to create two new tables within our anahita database, one called classes and the other interests. Each of these tables would hold data relating to users.
I attempted to do this by...
Read More
I have been trying to create two new tables within our anahita database, one called classes and the other interests. Each of these tables would hold data relating to users.
I attempted to do this by finding everywhere the people_people table was created and copying it's structure. I added CREATE TABLE statements in two locations: 

1. anahita/src/components/com_anahita/schemas/migrations/19.php

2. anahita/vendor/anahita-platform/installation/sql/schema.sql

as well as added the names of the tables to an array of table names to the file

3.anahita/src/components/com_anahita/schemas/migrations.php

However, when I initialize a new version of anahita locally with these changes and

check the database, the new tables do not appear.

Am I on the right track? If so, what else am I missing? If not, how do I go about creating these tables?

Thanks in advance for any help

Read Less
I can't comment unless I see your code. Also the name Classes isn't a good name. It may be a reserved word. Perhaps classrooms might help?

If you are getting error when trying to install the standard todos app, the... Read More
I can't comment unless I see your code. Also the name Classes isn't a good name. It may be a reserved word. Perhaps classrooms might help?

If you are getting error when trying to install the standard todos app, then there is something wrong with your Anahita installation. That needs to be resolved first.

Adding extra fields to people_people is not ideal. We used to have an opensocial package which added open social fields to people profiles. You can find the code here: https://github.com/anahitasocial/anahita/tree/4.0.0/packages/Opensocial

Although it follows the coding conventions of Anahita when it still used Joomla code. The idea is that all the custom fields are stored in a separate table and then using a plugin they are rendered as a form on each profile.

The reason we removed this package is that custom fields on people profiles didn't serve any purpose. They aren't indexed and searched. They don't form relationships with any other nodes. They are only used when people view someone's profile. We geared toward simplicity similar to how twitter or instagram provide simple profiles and let users populate them anyhow they wish.

Would you be able to share with us what you are developing? Maybe I can give you some ideas afterwards. Read Less
Basically whatever you do, stay away from com_people all together and instead think about an app that can be installed on an actor profile and does what you want.
Nick Swinford

Nick Swinford and Rastin Mehr commented on the topic

Custom Behavior Bug

Hello,

I was working on making a custom behavior and I followed an example that you gave me, however, when I run my site and I try to post a note, photo, or document (I'm working on the document pac...

Read More

Hello,

I was working on making a custom behavior and I followed an example that you gave me, however, when I run my site and I try to post a note, photo, or document (I'm working on the document package), input textbar disappears with this error in the terminal: 

[500]: /index.php/documents/@2/document?layout=composer

Any ideas of what this could be? I think the error is when I initialize the behavior which I do like this:

protected function _initialize(KConfig $config) {   

parent::initialize($config);  

//syslog(1,"init complete");    

unset($config['attributes']);   

$config->append(array (     

        'attributes' => array (        

              'filename',  'filesize' => array(            

                            'column' => 'filesize',            

                            'type' => 'integer',             

                            'write' => 'private'          ),        

       'mimeType' => array(              

                           'column' => 'medium_mime_type',             

                           'match' => '/\w+\/\w+/',             

                          'write' => 'private'           ),      

) )); 

}

Any help would be greatly appreciated!

Read Less
In your configuation.php file, make you sure you have $debug set to 1 and $error_reporting set to E_ALL.

If that doesn't work, try going here (https://github.com/anahitasocial/anahita/blob/master/src/components/com... Read More
In your configuation.php file, make you sure you have $debug set to 1 and $error_reporting set to E_ALL.

If that doesn't work, try going here (https://github.com/anahitasocial/anahita/blob/master/src/components/com_base/dispatchers/default.php#L156) in your source code and inside the _actionException function add

error_log($context->data->xdebug_message);

and see if that logs anything to the error log. Read Less
Rastin Mehr liked this
What happens when you comment out unset($config['attributes']); I don't think we ever do that anywhere in Anahita?
Jerdon Helgeson

Jerdon Helgeson commented on the topic

Creating Tables

I have been trying to create two new tables within our anahita database, one called classes and the other interests. Each of these tables would hold data relating to users.
I attempted to do this by...
Read More
I have been trying to create two new tables within our anahita database, one called classes and the other interests. Each of these tables would hold data relating to users.
I attempted to do this by finding everywhere the people_people table was created and copying it's structure. I added CREATE TABLE statements in two locations: 

1. anahita/src/components/com_anahita/schemas/migrations/19.php

2. anahita/vendor/anahita-platform/installation/sql/schema.sql

as well as added the names of the tables to an array of table names to the file

3.anahita/src/components/com_anahita/schemas/migrations.php

However, when I initialize a new version of anahita locally with these changes and

check the database, the new tables do not appear.

Am I on the right track? If so, what else am I missing? If not, how do I go about creating these tables?

Thanks in advance for any help

Read Less
Okay, I attempted to copy the Todos package and modify it to be a classes package. When I use the command php anahita package:install Classes I get a runtimeException that says "Invalid Packages". I get the same ex... Read More
Okay, I attempted to copy the Todos package and modify it to be a classes package. When I use the command >php anahita package:install Classes I get a runtimeException that says "Invalid Packages". I get the same exception when I use that command on the Todos package. What am I doing wrong? Read Less
Also, I've added new columns to people_people for data we need on people, but I did that without using packages. Since it isn't good practice to edit directly in anahita, is there a way to add new columns to people_pe... Read More
Also, I've added new columns to people_people for data we need on people, but I did that without using packages. Since it isn't good practice to edit directly in anahita, is there a way to add new columns to people_people with the package system? Read Less
Nick Swinford

Nick Swinford and Peter Qafoku commented on the topic

Custom Behavior Bug

Hello,

I was working on making a custom behavior and I followed an example that you gave me, however, when I run my site and I try to post a note, photo, or document (I'm working on the document pac...

Read More

Hello,

I was working on making a custom behavior and I followed an example that you gave me, however, when I run my site and I try to post a note, photo, or document (I'm working on the document package), input textbar disappears with this error in the terminal: 

[500]: /index.php/documents/@2/document?layout=composer

Any ideas of what this could be? I think the error is when I initialize the behavior which I do like this:

protected function _initialize(KConfig $config) {   

parent::initialize($config);  

//syslog(1,"init complete");    

unset($config['attributes']);   

$config->append(array (     

        'attributes' => array (        

              'filename',  'filesize' => array(            

                            'column' => 'filesize',            

                            'type' => 'integer',             

                            'write' => 'private'          ),        

       'mimeType' => array(              

                           'column' => 'medium_mime_type',             

                           'match' => '/\w+\/\w+/',             

                          'write' => 'private'           ),      

) )); 

}

Any help would be greatly appreciated!

Read Less
What errors are reported by Anahita? Look at the response and see if there are any errors. Also, check your php_errors.log file and see what errors are being logged. If no errors are being logged, setup logging and tr... Read More
What errors are reported by Anahita? Look at the response and see if there are any errors. Also, check your php_errors.log file and see what errors are being logged. If no errors are being logged, setup logging and try again. Read Less
Rastin Mehr liked this
I have error reporting setup in the php.ini and in the Anahita site settings but no errors are being logged to my php_errors.log. Is there anything else I need to do to set up error logging?
Make sure php has the permissions to write to the log file.
Rastin Mehr liked this
It doesn't write to the log file for this error. I forced another error and that was written to the log file but this doesn't. All that happens is the 500 error that is in the initial post gets printed to the terminal
Christian Francisco

Christian Francisco commented on the topic

Date Attributes

Hello,

I am attempting to store a date attribute in the database for a package. 

The package creates a table in the database on installation to store additional attributes. Similar to the other attr...

Read More

Hello,

I am attempting to store a date attribute in the database for a package. 

The package creates a table in the database on installation to store additional attributes. Similar to the other attributes, I have referenced the attribute in the package initializer and created an input field within the package's composer.php form. However, upon submission, the console reveals a 500 error with the composer.

Is it possible to use a date input to save a date value in the database?

Thanks in advance!

Read Less
Sorry the the late response.

Your examples were helpful, and I was able to replicate the solution.

Thanks for the help!

Peter Qafoku started a topic

Custom Behavior Bug

Hello,

I was working on making a custom behavior and I followed an example that you gave me, however, when I run my site and I try to post a note, photo, or document (I'm working on the document pac...

Read More

Hello,

I was working on making a custom behavior and I followed an example that you gave me, however, when I run my site and I try to post a note, photo, or document (I'm working on the document package), input textbar disappears with this error in the terminal: 

[500]: /index.php/documents/@2/document?layout=composer

Any ideas of what this could be? I think the error is when I initialize the behavior which I do like this:

protected function _initialize(KConfig $config) {   

parent::initialize($config);  

//syslog(1,"init complete");    

unset($config['attributes']);   

$config->append(array (     

        'attributes' => array (        

              'filename',  'filesize' => array(            

                            'column' => 'filesize',            

                            'type' => 'integer',             

                            'write' => 'private'          ),        

       'mimeType' => array(              

                           'column' => 'medium_mime_type',             

                           'match' => '/\w+\/\w+/',             

                          'write' => 'private'           ),      

) )); 

}

Any help would be greatly appreciated!

Read Less
Rastin Mehr

Rastin Mehr shared a note

Reminder that this Friday to Monday are #Anahita #Hackathon days. Our focus will be development of Anahita React App. Follow the Project group to get updates, help out, or work on your own project ... Read More
Reminder that this Friday to Monday are #Anahita #Hackathon days. Our focus will be development of Anahita React App. Follow the Project group to get updates, help out, or work on your own project alongside. #ReactJS #ReduxJS #MaterialUI Read Less
Rastin Mehr

Rastin Mehr commented on the topic

Creating Tables

I have been trying to create two new tables within our anahita database, one called classes and the other interests. Each of these tables would hold data relating to users.
I attempted to do this by...
Read More
I have been trying to create two new tables within our anahita database, one called classes and the other interests. Each of these tables would hold data relating to users.
I attempted to do this by finding everywhere the people_people table was created and copying it's structure. I added CREATE TABLE statements in two locations: 

1. anahita/src/components/com_anahita/schemas/migrations/19.php

2. anahita/vendor/anahita-platform/installation/sql/schema.sql

as well as added the names of the tables to an array of table names to the file

3.anahita/src/components/com_anahita/schemas/migrations.php

However, when I initialize a new version of anahita locally with these changes and

check the database, the new tables do not appear.

Am I on the right track? If so, what else am I missing? If not, how do I go about creating these tables?

Thanks in advance for any help

Read Less
Rastin Mehr
Rastin Mehr
March 28 2018 Permalink
Are you building a custom app? If you put your queries in the schema.sql they get executed after running the command:

php anahita package:install yourcomponentname

https://github.com/anahitasocial/anahita/blob/... Read More
Are you building a custom app? If you put your queries in the schema.sql they get executed after running the command:

php anahita package:install yourcomponentname

https://github.com/anahitasocial/anahita/blob/master/packages/Todos/src/components/com_todos/schemas/schema.sql Read Less
Jerdon Helgeson liked this
Rastin Mehr
Rastin Mehr
March 28 2018 Permalink
I recommend not changing anything in Anahita itself or else it will mess up your future migrations and upgrades.
Jerdon Helgeson liked this

Photos View All

Articles View All

Topics View All

Powered by Anahita