[Mahara-contributors] [Bug 790097] Re: php error following sharing group function

2011-06-07 Thread Gus Hagelberg
Hi,
Did you fix this bug in 1.4rc3? The error is no longer occuring after just 
upgrading to rc3.

Edit Page, share page, make sure no checkboxes are chosen under "Pages",
add a group to share with, click "Save".

No error message appears, the message appears "Access rules were updated
for 0 page(s)".

I do notice that I no longer have any collections. I'm not sure, but I
guess I erased the one I had. After adding a new collection I still
can't reproduce the error.

Well, good work.

Gus

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/790097

Title:
  php error following sharing group function

Status in Mahara ePortfolio:
  Incomplete

Bug description:
  Mahara 1.4 rc2
  This is what happened:
  Opened page, clicked "Share Page", under "Share with group" click on group 
and then "Save". Following error appears:

  Fatal error: Ignoring exception from View::__destruct() while an
  exception is already active (Uncaught SQLException in
  /home/relax/htdocs/mahara/lib/dml.php on line 1060) in
  /home/relax/htdocs/mahara/view/access.php on line 513

  Further Info:
  After clicking "Share Page" the dialog is rather confusing. Actually I was in 
Page "XY" but in the Share Page dialog there are check boxes at the top for 
other pages to share, but the actual page I want to share "XY" is not listed. 
The above mentioned error only occurs when no checkbox is activated.

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 790097] Re: php error following sharing group function

2011-06-03 Thread Gus Hagelberg
Hi Hugh,

Look at the bottom of my comment. After some testing I can reproduce the
error when sharing other pages. Yeah!!

here are the rest of the answers.

There are two groups. One has no pages, one has two pages.

The error comes when I open a page ("Project Work, 4th Semester"), click
on "share page" then under "share with my Groups" I click on "Add"
either next to "All my Groups" or next to "Project group finances", and
then click on "Save".

The error does not come when I do the same thing with another page I
have called "View - New Mexico".

More Info:
Did I mention than I upgraded from 1.3.7 to 1.4?

There must be something unique about the view "Project Work..." that leads to 
the error. 
Possibilities:
1. It does have a different theme than the rest of my mahara installation. I 
changed the theme to the site default and the error still occurs.

2. Interesting!!! I just made a copy of the problematic page "Project
Work..." and the error does not occur with this new duplicate page.

3. The duplicated page that can be shared with a group is slightly
different than the original. Maybe this is the problem. The original
page that causes the error already is shared with three individual
users. The copied page was not shared with anyone before I successfully
shared it with a group.

4. After testing a bit I came across another error:
4.1. Open Page "Project Work...", click "Share Page", under "Collections" and 
"Pages" at the top none of the check boxes are activated, click "share with 
other users and groups, choose new user, then click on save. I then get the 
following error.

Fatal error: Ignoring exception from View::__destruct() while an
exception is already active (Uncaught SQLException in
/home/relax/htdocs/mahara/lib/dml.php on line 1060) in
/home/relax/htdocs/mahara/view/access.php on line 513


!!! Now I notice a difference which might be helpful.
As mentioned when I want to share the page "Project Work..." none of the check 
boxes are activated at the top (under Collections and Pages) and the page I'm 
trying to share is not even listed. Then the error comes. When I share page 
"Copy of Project Work" the check box under "Pages" is activated for the page 
"Copy of Project...".

!!! I can now reproduce the error with other pages. Just open a page, click on 
"Share Page", deactivate the check box under "Pages" then try to share with a 
group or an individual.
Cool-with a little digging around you find the answers.
Good luck with the bug fixing.

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/790097

Title:
  php error following sharing group function

Status in Mahara ePortfolio:
  Incomplete

Bug description:
  Mahara 1.4 rc2
  This is what happened:
  Opened page, clicked "Share Page", under "Share with group" click on group 
and then "Save". Following error appears:

  Fatal error: Ignoring exception from View::__destruct() while an
  exception is already active (Uncaught SQLException in
  /home/relax/htdocs/mahara/lib/dml.php on line 1060) in
  /home/relax/htdocs/mahara/view/access.php on line 513

  Further Info:
  After clicking "Share Page" the dialog is rather confusing. Actually I was in 
Page "XY" but in the Share Page dialog there are check boxes at the top for 
other pages to share, but the actual page I want to share "XY" is not listed. 
The above mentioned error only occurs when no checkbox is activated.

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 790097] Re: php error following sharing group function

2011-06-03 Thread Gus Hagelberg
Hi Hugh,

here are the two files you asked for. I don't have access to the apache
log files.

Gus

** Attachment added: "phpfiles.zip"
   
https://bugs.launchpad.net/mahara/+bug/790097/+attachment/2153114/+files/phpfiles.zip

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/790097

Title:
  php error following sharing group function

Status in Mahara ePortfolio:
  Incomplete

Bug description:
  Mahara 1.4 rc2
  This is what happened:
  Opened page, clicked "Share Page", under "Share with group" click on group 
and then "Save". Following error appears:

  Fatal error: Ignoring exception from View::__destruct() while an
  exception is already active (Uncaught SQLException in
  /home/relax/htdocs/mahara/lib/dml.php on line 1060) in
  /home/relax/htdocs/mahara/view/access.php on line 513

  Further Info:
  After clicking "Share Page" the dialog is rather confusing. Actually I was in 
Page "XY" but in the Share Page dialog there are check boxes at the top for 
other pages to share, but the actual page I want to share "XY" is not listed. 
The above mentioned error only occurs when no checkbox is activated.

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 790097] Re: php error following sharing group function

2011-06-01 Thread Gus Hagelberg
Hi,
I'll try to answer your questions as best I can. For your info: I did upgrade 
to 1.4rc2 from 1.3 (the latest version).

Gus

A few clarifications could clear this up. I have made a medium size list just 
incase
Here are the answers:
- What version of mahara are you using. You can find this in 
htdocs/lib/version.php, or the bottom right of the Site Administration page
Gus: My version is (2011052700)

-- RC2 is Mahara version 1.4rc2 (2011052700)

- Was there any more to the error log, you may have to get it from apaches 
error.log file
-- A stack trace would be good :)
Gus: Where do I find that?

- Is the page you are trying to edit in a collection
Gus: Yes
- are there any pages not in collections
Gus: No, only one page and "General Files" has various files in it.
- are there any pages in collections
- how many collections are there?
Gus: Just one
- are there any collections with no pages in it
Gus: No.
- are there any collections with 1 page in it
Gus: Yes, as mentioned above.
- are there any collections with 2 or more pages in it.
Gus: No

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/790097

Title:
  php error following sharing group function

Status in Mahara ePortfolio:
  Incomplete

Bug description:
  Mahara 1.4 rc2
  This is what happened:
  Opened page, clicked "Share Page", under "Share with group" click on group 
and then "Save". Following error appears:

  Fatal error: Ignoring exception from View::__destruct() while an
  exception is already active (Uncaught SQLException in
  /home/relax/htdocs/mahara/lib/dml.php on line 1060) in
  /home/relax/htdocs/mahara/view/access.php on line 513

  Further Info:
  After clicking "Share Page" the dialog is rather confusing. Actually I was in 
Page "XY" but in the Share Page dialog there are check boxes at the top for 
other pages to share, but the actual page I want to share "XY" is not listed. 
The above mentioned error only occurs when no checkbox is activated.

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


Re: [Mahara-contributors] [Bug 790097] Re: php error following sharing group function

2011-05-31 Thread Gus Hagelberg
Hi Francois,

I don't know if it's the same bug.

Cheers,

Gus

Am 31.05.11 07:03, schrieb François Marier:
> Hi Gus,
>
> This sounds a lot like bug 788457 (which we only fixed after we released
> RC2).
>
> Do you think it's the same problem?
>
> Cheers,
> Francois
>
>
> ** Changed in: mahara
> Status: New =>  Triaged
>
> ** Changed in: mahara
>  Milestone: None =>  1.4.0
>
> ** Changed in: mahara
> Importance: Undecided =>  Medium
>


-- 
Gus Hagelberg, M.A.
Hochschule Reutlingen, Rechen- und Medienzentrum (RMZ)
Alteburgstrasse 150, 72762 Reutlingen
Fon: +49 (0)7121 271-1327
Fax: +49 (0)7121 271-90-1302
Mail: gus.hagelb...@reutlingen-university.de
Web: www.reutlingen-university.de/rmz

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/790097

Title:
  php error following sharing group function

Status in Mahara ePortfolio:
  Triaged

Bug description:
  Mahara 1.4 rc2
  This is what happened:
  Opened page, clicked "Share Page", under "Share with group" click on group 
and then "Save". Following error appears:

  Fatal error: Ignoring exception from View::__destruct() while an
  exception is already active (Uncaught SQLException in
  /home/relax/htdocs/mahara/lib/dml.php on line 1060) in
  /home/relax/htdocs/mahara/view/access.php on line 513

  Further Info:
  After clicking "Share Page" the dialog is rather confusing. Actually I was in 
Page "XY" but in the Share Page dialog there are check boxes at the top for 
other pages to share, but the actual page I want to share "XY" is not listed. 
The above mentioned error only occurs when no checkbox is activated.

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 790097] [NEW] php error following sharing group function

2011-05-30 Thread Gus Hagelberg
Public bug reported:

Mahara 1.4 rc2
This is what happened:
Opened page, clicked "Share Page", under "Share with group" click on group and 
then "Save". Following error appears:

Fatal error: Ignoring exception from View::__destruct() while an
exception is already active (Uncaught SQLException in
/home/relax/htdocs/mahara/lib/dml.php on line 1060) in
/home/relax/htdocs/mahara/view/access.php on line 513

Further Info:
After clicking "Share Page" the dialog is rather confusing. Actually I was in 
Page "XY" but in the Share Page dialog there are check boxes at the top for 
other pages to share, but the actual page I want to share "XY" is not listed. 
The above mentioned error only occurs when no checkbox is activated.

** Affects: mahara
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/790097

Title:
  php error following sharing group function

Status in Mahara ePortfolio:
  New

Bug description:
  Mahara 1.4 rc2
  This is what happened:
  Opened page, clicked "Share Page", under "Share with group" click on group 
and then "Save". Following error appears:

  Fatal error: Ignoring exception from View::__destruct() while an
  exception is already active (Uncaught SQLException in
  /home/relax/htdocs/mahara/lib/dml.php on line 1060) in
  /home/relax/htdocs/mahara/view/access.php on line 513

  Further Info:
  After clicking "Share Page" the dialog is rather confusing. Actually I was in 
Page "XY" but in the Share Page dialog there are check boxes at the top for 
other pages to share, but the actual page I want to share "XY" is not listed. 
The above mentioned error only occurs when no checkbox is activated.

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp