• Welcome to SAIL Community Supported PBX . Please login or sign up.
 
May 04, 2024, 06:00:14 PM

News:

SMF updated to 2.0


Top Menu items missing

Started by compsos, September 12, 2021, 11:12:10 PM

Previous topic - Next topic

compsos

Hi
Ver 6.0.1-57+deb10u1 on Debian 10.10
Only get the 3 bars, home icon and commit within the black menu bar. I have seen this on 2 independent installs. So far have not found any log errors.

Which bit of code runs the menu? view.php?

Any suggestions?

System
PBX release: 16.2.1
SAIL Release: 6.0.1-57+deb10u1
HPE Release: 6.0.0-2
Endpoints defined: 0
Serial Num: 406986
Network MAC: EA:DF:AD:CB:99:3A
hostname:
Public IP: xxx.xxx.xxx.xxx
Local IP: xxx.xxx.xxx.xxx
Resource
Disk Usage: 1%
RAM Size: 4040732
RAM Free: 3525132
PBX: RUNNING
Master Timer: AUTO
Timer State: OPEN

compsos

I should clarify that I do get the Commit and Update buttons just not the navigation ones.

compsos

I did get an error on this code
public function request_syscmd ($data) {

//establish connection to the daemon

        $fp = fsockopen( "127.0.0.1", 7601, $errno, $errdesc, 1)
                or die("Connection to 127.0.0.1:7601 failed");
        $ret = null;
// read the ack sent by server.
        $ack[] = fgets($fp, 8192);
    $this->logit(" request_syscmd sending -> $data", 5 );
        fputs($fp, "$data\n");
//      while( ! preg_match(' /EOT/ ',$ret)) {
        while (1) {
                $ret .= fgets($fp, 8192);
                if ( ! preg_match(' /EOT/ ',$ret)) {
                        break;
                }
        }
        fclose($fp);
        return ($ret);

}

Log
/var/log/apache2/error.log:[Mon Sep 13 08:14:42.160251 2021] [php7:warn] [pid 746] [client 192.168.175.140:60394] PHP Warning:  fsockopen(): unable to connect to 127.0.0.1:7601 (Connection refused) in /opt/sark/php/srkHelperClass on line 73, referer: https://pbx.domain/php/sarknetwork/main.php

But I can telnet at the port fine.

sysadmin

It can be a few things. 

Is this during an upgrade?

Did you port a previous database backup?