Share function Does not work

Bug #1826255 reported by Paul Raper
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Undecided
Unassigned

Bug Description

I am using the latest release candidate of Mahara and when I create a page and select the share option I reach the page that asks me who I want to share with.

If I select any of the options from the dropdown list, users, friends, etc. no addition box appears to ask me to enter the name of the person I want to share with. Thus I can not share the page.

If I friend someone, and then select Friends from the options available, the friends still cannot see the page.

Something seems to be wrong here.

I am using:
mahara-19.04rc1.zip
I have mysql
My OS is Linux Debien
PHP 7.1.x

Revision history for this message
Cecilia Vela Gurovic (ceciliavg) wrote :

Hi Paul,

I can't replicate the error. Can you please check if you have any errors in the console of the browser?

I tested using firefox, MySQL 8.0.12, PHP 7.0.32

Cecilia

Changed in mahara:
status: New → Incomplete
Revision history for this message
Paul Raper (paulraper) wrote :

Hi Cecilia,

Have you tried using php 7.1?

I have two working versions of Mahara, one running under php7.0.32 the other running under 7.1.

To be honest, most of my problems occur when under php 7.1. If I switch the PHP version to 7.0.32, nearly all problems vanish. This includes an issue I am having with the linking of Moodle and Mahara.

Best,

Paul

Revision history for this message
Cecilia Vela Gurovic (ceciliavg) wrote :

Hi Paul,

We tried to replicate the issue with php 7.1 but couldn't. You can help us try to figure out what the problem is by

1. providing the error logs you get when you have this problem
2. trying to replicate in a fresh install, to make sure the problem is not on the DB

Thanks,
Cecilia

Revision history for this message
hermannkm (h-klocker) wrote :

I have the same problem as stated in #2: my Mahoodle setup does not allow login into Mahara from Moodle when switching to 7.1. Switching back to 7.0 everything works as expected. But next moodle release will require 7.1 soon.
I am on Ubuntu 16.04

Revision history for this message
Paul Raper (paulraper) wrote :

Thank you hermannkm (h-klocker), I was beginning to think I was mad, but now someone else has the same problem makes me feel a whole lot better.

It strikes me that the issue is a PHP issue rather than anything else, although quite why this should be I am a little confused.

Perhaps someone better qualified can clarify this.

Revision history for this message
Rebecca Blundell (rjb-dev) wrote :

Hi Paul,

I tried to replicate the issue you were having with sharing and wasn't successful. Here are the steps I took:

- Using php7.1.29 on ubuntu 16.04 installed a clean mysql 8.0.16 database.
- installed Mahara 19.04_STABLE branch
- created a number of users using a csv file.
- logged in as UserD (David), created a page and clicked on Share.
- chose User from the first dropdown and UserE (Evonne) from the second.
- clicked Save.
- logged in as UserE (Evonne) and could see the page David shared.
- as Evonne, sent a friend request to UserF (Fergus).
- logged in as UserF (Fergus) and accepted the request.
- as Fergus, created a page and clicked on Share
- chose Friend from the first dropdown and UserE (Evonne), from the second.
- logged in as Evonne and could see the page shared by Fergus.

I haven't looked into the issue with Mahoodle yet, but I am planning to do that later today.

Thanks,
Rebecca

Revision history for this message
Paul Raper (paulraper) wrote : RE: [Bug 1826255] Re: Share function Does not work
Download full text (3.4 KiB)

Hi Rebecca,

I have created you an account on a test site:

https://e4p.ch/pep-mahara/

Username: rebecca.blundell
Password: Catalyst-2019

In the page share options I cannot select a person to share with: see attached image.

I even logged in with your name and password, created a page for you etc. but I cannot share it with anyone else. :-(

As yet I have not tried any networking on this platform, but shall try setting up LTI later today.

The server is running:
Linux Debian 8.x
PHP is 7.1.29

The installation was freshly made just to try and see if I could follow your lead.

Best,

Paul
------------------------------------------------------------
Fachhochschule Nordwestschweiz
School of Engineering
Institute of Humanities and Social Sciences.

Mr Paul Raper MIET. AMCABE
MSc TESP/TESOL
MAS E-Learning and Knowledge Management
Room 5.1C08
Bahnhofstrasse 5
5210 Windisch
HST First level Moodle, SwitchTube Support and Turnitin.
FHNW First level Mahara Support.
------------------------------------------------------------
T +41 56 202 77 00 (Zentrale)
T +41 56 202 81 71 (Direkt)
M +41 79 263 93 62

[Skype: raperple]

<email address hidden>
www.fhnw.ch/engineering
www.fhnw.ch/personen/paul-raper
------------------------------------------------------------

-----Original Message-----
From: <email address hidden> <email address hidden> On Behalf Of Rebecca Blundell
Sent: Mittwoch, 29. Mai 2019 02:55
To: Raper Paul <email address hidden>
Subject: [Bug 1826255] Re: Share function Does not work

Hi Paul,

I tried to replicate the issue you were having with sharing and wasn't successful. Here are the steps I took:

- Using php7.1.29 on ubuntu 16.04 installed a clean mysql 8.0.16 database.
- installed Mahara 19.04_STABLE branch
- created a number of users using a csv file.
- logged in as UserD (David), created a page and clicked on Share.
- chose User from the first dropdown and UserE (Evonne) from the second.
- clicked Save.
- logged in as UserE (Evonne) and could see the page David shared.
- as Evonne, sent a friend request to UserF (Fergus).
- logged in as UserF (Fergus) and accepted the request.
- as Fergus, created a page and clicked on Share
- chose Friend from the first dropdown and UserE (Evonne), from the second.
- logged in as Evonne and could see the page shared by Fergus.

I haven't looked into the issue with Mahoodle yet, but I am planning to do that later today.

Thanks,
Rebecca

--
You received this bug notification because you are subscribed to the bug report.
https://bugs.launchpad.net/bugs/1826255

Title:
  Share function Does not work

Status in Mahara:
  Incomplete

Bug description:
  I am using the latest release candidate of Mahara and when I create a
  page and select the share option I reach the page that asks me who I
  want to share with.

  If I select any of the options from the dropdown list, users, friends,
  etc. no addition box appears to ask me to enter the name of the person
  I want to share with. Thus I can not share the page.

  If I friend someone, and then select Friends from the options
  available, the friends...

Read more...

Revision history for this message
Rebecca Blundell (rjb-dev) wrote :

Hi Paul,

I emailed an update to you, but wanted to add the information here too in case it is useful to others.

What I found on the site you set up for me was that two javascript files needed on the sharing page were giving 404 errors in the console:

js/momentjs/moment-with-locales.min.js
js/bootstrap-datetimepicker/tempusdominus-bootstrap-4.js

I could however access these through the browser directly, indicating they are present on the site.

I also copied the cURL request and tried to access that directly from my
terminal, but got a 404 error. I noticed that the cURL request was looking at a different domain (http.ch), rather than the actual domain where the site was set up.

This doesn't resolve the issue, as I don't know why it is occurring. I
checked with our tech lead and he suggested that the problem could be
with server set-up at your end. So what I can suggest for now is that
you pass the information onto your system admin team and see if they can
see anything that would cause this.

Regarding the other issue, accessing Mahara 19.04 from Moodle using
PHP7.1 and mysql 8, I was able to do this. If you could get the error
log from your webserver (it looks like you're using nginx) from when you
try to make the connection, I might be able to see what is going on for you.

Hope this helps.

Thanks,
Rebecca

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Mahara because there has been no activity for 60 days.]

Changed in mahara:
status: Incomplete → Expired
Revision history for this message
Kristina Hoeppner (kris-hoeppner) wrote :

The issue was bug #1835988

Changed in mahara:
status: Expired → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.