wwu-housing / starterbootstrap

Bootstrap based Dokuwiki template.
http://dokuwiki.camlittle.com
40 stars 19 forks source link

Error Bar for Read Only Users #25

Closed rmartel closed 10 years ago

rmartel commented 10 years ago

Hi, For some users, on each page it displays an error bar across the top of the screen (just below the navbar). There is not actually an error displayed, just the formatted bubble that the error would display in. It displays for users with "None," "Read," "Edit," and "Create," level access. Any user level above that (Upload/Delete/Admin) does not see the error bar.

Any assistance would be appreciated. I'm a relative novice to this world.

apexskier commented 10 years ago

Can you post a screenshot? And the html of the error?

rmartel commented 10 years ago

Here is some screenshots. I only posted a portion of the HTML code because I can't figure out how to send all of it without just flooding this window.

image image image

apexskier commented 10 years ago

Hi Rusty,

Sorry, but I can't see a screenshot. I'm also interested in only the html of the specific element that's showing up. You can include it in a github comment by putting "html" in a line before it and "" in a line after it. Go ahead and open a new issue with the source and screenshot.

Cameron


From: rmartel notifications@github.com Sent: Wednesday, June 25, 2014 8:37 AM To: wwu-housing/starter-bootstrap Cc: Cameron Little Subject: Re: [starter-bootstrap] Error Bar for Read Only Users (#25)

Hi Cameron,I've replied through here so that I can attach the HTML source as a file. GitHub only lets me attach screenshots. Let me know if you require anything else.(See attached file: view-source https eswiki-prep.mtroyal.ca doku.php id=home.htm)Rusty Martel Business Analyst, Student Systems Enrolment Services Mount Royal University 4825 Mount Royal Gate S.W. Calgary, Alberta T3E 6K6Phone: 403.440.8711 Fax: 403.440.6740E-mail: rmartel@mtroyal.caPlease consider the environment before printing this e-mail.Cameron Little ---06/24/2014 06:31:44 PM---Can you post a screenshot? And the html of the error? ---From: Cameron Little notifications@github.comTo: wwu-housing/starter-bootstrap starter-bootstrap@noreply.github.com, Cc: rmartel rmartel@mtroyal.caDate: 06/24/2014 06:31 PMSubject: Re: [starter-bootstrap] Error Bar for Read Only Users (#25)Can you post a screenshot? And the html of the error? — Reply to this email directly or view it on GitHub. <!DOCTYPE html> home [Enrolment Services Wiki]

skip to content
rmartel commented 10 years ago

Hi Cameron,

Sorry for the delay, I was away on holidays. I'm not sure why my original screenshots didn't display for you. I did include a screenshot of everything you asked for... In any case, here is the html source information:

With Error "`HTML"

"`" Without Error "`HTML"
"`" And here is a screenshot of how it displays on page (hopefully it comes through this time): ![image](https://cloud.githubusercontent.com/assets/7978062/3577737/1f8e20d2-0ba0-11e4-8196-dd4b48efbab4.png)
apexskier commented 10 years ago

Sorry for my delay as well. I really don't know what's going on, but it looks like the html_messagearea() php function is outputting something.

It could be a plugin generating that. I'd suggest disabling any you have added and reenabling them one by one, to see if you can figure out if one is triggering the empty error div.

The auth thing is also suspect, but I've personally seen someone with read-only access look at a page on one of the wikis I manage and not get it.

rmartel commented 10 years ago

Thanks Cameron,

Sorry, I was just able to test your hypothesis now. And it worked. It was an issue with an "Upload" plugin we had running. Removed the plugin, removed the error. Thanks for your assistance!

On Sat, Jul 19, 2014 at 9:42 AM, Cameron Little notifications@github.com wrote:

Sorry for my delay as well. I really don't know what's going on, but it looks like the html_messagearea() php function is outputting something.

It could be a plugin generating that. I'd suggest disabling any you have added and reenabling them one by one, to see if you can figure out if one is triggering the empty error div.

The auth thing is also suspect, but I've personally seen someone with read-only access look at a page on one of the wikis I manage and not get it.

— Reply to this email directly or view it on GitHub https://github.com/wwu-housing/starterbootstrap/issues/25#issuecomment-49512727 .

Rusty Martel Business Analyst, Student Systems

Enrolment Services Mount Royal University 4825 Mount Royal Gate SW Calgary, Alberta T3E 3W6

Phone: 403.440.8711 Fax: 403.440.6740 E-mail: rmartel@mtroyal.ca