Advanced Settings Uneditable

Hi Folks!

This is not the same as
http://www.freepbx.org/forum/freepbx/beta-program-issues/advanced-settings-uneditable

Just installed the latest FreePBX 2.10 tarball on an openSUSE 12.3 machine. Everything works except the Advanced Settings screen, which remains uneditable. I click on the green “save” buttons but nothing happens.

It is not a browser-specific thing, it’s happening in Firefox and Chrome both in Windows and Linux clients.

I have already checked ownership and permissions on /var/lib/php5, /var/lib/asterisk, /etc/asterisk and /etc/amportal.conf. I even ran

amportal chown

and still no success. Everything seems fine but the darn thing is not willing to get out of bed.

Any ideas? Some logfile I should be watching?

Tail the php log file and also run “amportal a dbug”

Also check the javascript debugger in your browser

Ok, the apache2 log file (/var/log/apache2/error_log) yelds this when clicking on the Advanced Settings page:

[Sat Aug 24 23:18:04 2013] [error] [client 189.102.239.12] Symbolic link not allowed or link target not accessible: /var/www/html/admin/images/spinner.gif, referer: http://201.6.94.40:81/admin/config.php?display=advancedsettings [Sat Aug 24 23:18:04 2013] [error] [client 189.102.239.12] Symbolic link not allowed or link target not accessible: /var/www/html/admin/images/default-option.png, referer: http://201.6.94.40:81/admin/config.php?display=advancedsettings

And amportal a dbug shows this and freezes:

# amportal a dbug

Fetching FreePBX settings with gen_amp_conf.php…

trying to run as user asterisk:

[FPBXDBUGDISABLE] changed from previous value: [1] to new value: [0]

2013-Aug-25 02:14:53 /var/www/html/admin/modules/sipsettings/functions.inc.php:175
[NOTICE]: Undefined variable: interim_settings

2013-Aug-25 02:14:53 /var/www/html/admin/modules/sipsettings/functions.inc.php:176
[NOTICE]: Undefined variable: interim_settings

2013-Aug-25 02:14:53 /var/www/html/admin/modules/sipsettings/functions.inc.php:231
[NOTICE]: Undefined variable: sip_settings

Looks promising, but I don’t know where to start.

The JS Console gave me a clue:

Failed to load resource: the server responded with a status of 403 (Forbidden)

I noticed that the error popped only on symlinks. Just added a FollowSymLinks to the default-server.conf and BOOM, all is well.

Now the green tick (accept.png) only appears if there’s something to save. Is this the expected behaviour?