Ticket #3030 (closed Bugs: fixed)

Opened 5 years ago

Last modified 5 years ago

Accessing ARI brings up Pop-Up Password request

Reported by: w5waf Assigned to: pkaplan
Priority: minor Milestone: 2.5
Component: ARI Version: 2.5-branch
Keywords: Cc:
Confirmation: Need testing Distro:
Backend Engine: All Distro Ver:
Backend Ver: SVN Revision (if applicable):

Description

Whenever a user tries to access ARI, they get a pop-up box requesting a password. Pressing Cancel allows the ARI login screen to display, but the frog logo in the upper left hand corner is missing. When it come time for the frog to appear again, the pop-up box appears.

Putting the administrator's login and password into the popup box allows the frog to appear.

We obviously don't want to have the individual users to have the admin password.

Other than this, it appears that ARI operates normally.

BF

Change History

(follow-up: ↓ 2 ) 08/07/08 13:54:59 changed by p_lindheimer

  • confirmation changed from Unreviewed to Need testing.

This sounds difficult to reproduce and possibly related with permissions in the php session directory. Can other people test this and confirm if they are having similar issues or not? And is this issue specifically related to 2.5?

(in reply to: ↑ 1 ) 08/07/08 15:19:08 changed by w5waf

Replying to p_lindheimer:

This sounds difficult to reproduce and possibly related with permissions in the php session directory. Can other people test this and confirm if they are having similar issues or not? And is this issue specifically related to 2.5?

Didn't begin doing it until I upgraded to 2.5 beta over the weekend.

BF

08/07/08 16:21:17 changed by w5waf

OK:

Session files are set to save in /tmp. /tmp is set for rwx for owner, groupp, and world.

Contents of /tmp are as follows:



-rw-r--r--  1 root     root     304524 Aug  5 08:42 2995-ivrrecording.wav
drwxr-xr-x  2 asterisk asterisk   4096 Jul 25 23:00 ampbackups.20080725.23.00.02
drwxr-xr-x  2 asterisk asterisk   4096 Aug  4 02:04 ampbackups.20080804.02.00.08
-rw-rw-rw-  1 asterisk asterisk      0 Aug  7 05:40 etcresolvconf
-rw-rw-rw-  1 asterisk asterisk    117 Aug  7 05:40 etcrsliconf
-rw-rw-rw-  1 asterisk asterisk     53 Aug  7 05:40 etcsysconfignetworkscriptsifcfgeth0
-rw-r--r--  1 root     root        401 Aug  6 11:50 pbdirectory.log
-rw-------  1 asterisk asterisk    566 Aug  7 15:16 sess_7dc70ff8cfd92e743b1ee9bb1d16706c
-rwxr-xr-x  1 asterisk asterisk    111 Aug  7 01:06 tb-backup.ftp

08/07/08 18:07:38 changed by p_lindheimer

The frog is just pulling form the same place that FreePBX pulls it's logo. Sounds like it may be related to using apache authentication. can you try this:

First, copy /var/www/html/admin/images/logo.png to /var/www/html/recordings/theme/logo.png

Next, in /var/www/html/recordings/theme/page.tpl.php on line 16 change the logo from: "../admin/images/logo.png" to "theme/logo.png" and see if that fixes the issue. Here is a patch for the second step:

===================================================================
--- page.tpl.php        (revision 6257)
+++ page.tpl.php        (working copy)
@@ -13,7 +13,7 @@
     <div id="ariHeader">
       <div class="spacer"></div>
       <span id="left">
-        <a href="<?php $_SERVER['PHP_SELF'] ?>" alt="FreePBX User Portal" title="FreePBX User Portal"><img src="../admin/images/logo.png" height="75" alt="" class/></a>
+        <a href="<?php $_SERVER['PHP_SELF'] ?>" alt="FreePBX User Portal" title="FreePBX User Portal"><img src="theme/logo.png" height="75" alt="" class/></a>
       </span>
       <span id="right"></span>
       <div class="spacer"></div>

I just tested that on my system and it continues to work, hopefully it will fix the authentication issue. Please let me know.

08/07/08 19:13:21 changed by w5waf

Just made the changes. Seems to work on my computer. I'll check with the users who complained when I get to work tomorow and report.

Thanks

BF

08/08/08 09:25:31 changed by w5waf

I think we can declare this one closed...I've checked with everyone who was having problems yesterday plus a few more who had not accessed ARI, and everything...including the frog...seems to be OK... Thanks BF

08/08/08 10:35:35 changed by p_lindheimer

  • status changed from new to closed.
  • resolution set to fixed.

(In [6289]) fixes #3030 put local copy of logo.png in recordings directory to avoid potential http access issues going to admin for images