Topics

Anahita Project

Anahita Project's Topics

Rastin Mehr

Rastin Mehr

December 25 2016

Need your help to test the 4.3 master branch

We need your help to test the Anahita 4.3 code. Could you please try installing Anahita from the master branch and report any issues that you come across as a comment here? Your effort is much appreciated.

https://github.com/anahitasocial/anahita

Patrick Thach
Patrick Thach
January 04 2017 Permalink
Unable to access sign up page due to warnings. I don't get these errors when I install 4.2 using composer.

Warning: require_once(/home/vagrant/Code/forrager/vendor/anahita/anahita/src/plugins/system/anahita.php): failed to open stream: No such file or directory in /home/vagrant/Code/forrager/src/libraries/default/plugins/helper.php on line 133

( ! ) Fatal error: require_once(): Failed opening required '/home/vagrant/Code/forrager/vendor/anahita/anahita/src/plugins/system/anahita.php' (include_path='.:/usr/share/php:/usr/share/pear') in /home/vagrant/Code/forrager/src/libraries/default/plugins/helper.php on line 133

Error:



Repro(s):
1. git clone master branch
2. composer update
3. php anahita site:init
4. Access http://yoursite/people/signup

MAC Sierra / Homestead / Vagrant
PHP 5.6.13-1+deb.sury.org~trusty+3 (cli)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2015, by Zend Technologies
with Xdebug v2.3.2, Copyright (c) 2002-2015, by Derick Rethans
with blackfire v1.4.1, https://blackfire.io/, by SensioLabs
Rastin Mehr liked this
Patrick Thach
Patrick Thach
January 04 2017 Permalink
Okay weird.. somehow it works now. It could be that my development box was running old cached php codes from my previous 4.2 installation.

I ran this command, the refresh the page a few times.
php anahita site:symlink
Rastin Mehr liked this
Rastin Mehr
Rastin Mehr
January 04 2017 Permalink
Looks like the symlinks weren't created the first time and the second time, it worked. Have you been able to login, update your profile, make some posts, and install some apps? Could you please try a fresh installation with OPCache off?
Rastin Mehr
Rastin Mehr
January 04 2017 Permalink
and thank you for the test. This is great help.
Patrick Thach
Patrick Thach
January 06 2017 Permalink
Yes installation went through. I'm able to log in, update, profile, make posts with no errors.
I installed photos, articles apps. There were working too.

There could be an issue with the "Add Location" button. It is always disabled for me.
I get the error "Google Maps API error: MissingKeyMapError" in the console log.
Where can I input my Google Maps API key?

.
Rastin Mehr liked this
Rastin Mehr
Rastin Mehr
January 06 2017 Permalink
That's good. Does your browser privacy setting allow your location to be shared with Anahita?
Patrick Thach
Patrick Thach
January 07 2017 Permalink
Yes. I can click on "add location" on getanahita.com domain, but my local installation is under a hostname forrager.app. This issue only occur on my local installation.
Rastin Mehr liked this
Peter
Peter
January 07 2017 Permalink
Tested my first 4.3 install on Ubuntu 16.04
This is a brand new install of everything including nginx, php7, mysql

The main page on http://www.example.com is working, hooray!

Clicked on sign in = 404 not found
URL shows: http://www.example.com/index.php/people/session?return=aHR0cDovL3d3dy5leGFtcGxlLmNvbS9pbmRleC5waHA

Did I miss something?
Rastin Mehr liked this
Rastin Mehr
Rastin Mehr
January 07 2017 Permalink
@ypierre I had the same problem on my local nginx and it was a nginx.conf issue.
Rastin Mehr
Rastin Mehr
January 07 2017 Permalink
@thachp open your browser console and see if there are any errors. Quite likely you need to get a browser key for google API to work: https://developers.google.com/maps/documentation/javascript/get-api-key#key
Peter
Peter
January 08 2017 Permalink
@rastin Hmm I'm willing to dig into it further but is there a guide that shows what the requirement for nginx is? I have the default nginx install and it works with other open source projects without any changes so I'm curious. Thanks!
Rastin Mehr
Rastin Mehr
January 08 2017 Permalink
@ypierre the only Anahita specific #configuration is the following within the server brackets:

Loading ...

for everything else the generic #nginx #php settings should do.
Peter
Peter
January 09 2017 Permalink
@rastin after making the change and restarting nginx, tried accessing /people/signup didn't do anything. Clicked on the login button and nothing. Will rebuild entire box and try again.

PHP 7.0.8, ubuntu 16.04.3, nginx 1.10.0, mysql 5.7.16
Rastin Mehr
Rastin Mehr
January 09 2017 Permalink
Don't forget to clear your OPCache or switch it all off for the test. We had a similar issue after we upgraded to php7.

Powered by Anahita