Trixbox Menu CSS Issues (version 2.8.0.4)

After clicking on 

 Settings –> Repositories –> And the Submit Button to update the repositories,  all  of a sudden my main menu looked like this:

I figured that this must be a css issue and sure enough looking at the source code i saw the following:

 

yet when I shell into the server the file were not there. They were under a subfolder called  ” default”

Clicking on repositories’s submit button messes up the  “$smarty.session.trixbox_template” variable.

SOLUTION:

1.  The Clever way: Find out where the “trixbox_template” is set so reset it or prevent the repository module to reset it

2.  The lazy way : Move the files from /var/www/html/maint/skin/default/ to  /var/www/html/maint/skin/

Let's share thisShare on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn

6 comments Write a comment

  1. Andreas, you are a lifesaver. “The Lazy Way” solution still corrupted the header, while your suggestion worked like a charm!

  2. Here is the proper way from dcmwai:

    http://fonality.com/trixbox/forums/trixbox-forums/open-discussion/skin-http-path-problem
    —————————————–

    It seem to be a session definition issue.

    You can solved by simply pasting the following code (from users web)

    to the file /var/www/html/maint/includes/application_top.php
    @ line 137 and insert the line.

    if(!isset($_SESSION[‘trixbox_template’])){
    $_SESSION[‘trixbox_template’] = ‘default’;
    }

    So it will be as below.

    // Template Chooser
    //include(‘includes/templateChooser.php’);
    if(!isset($_SESSION[‘trixbox_template’])){
    $_SESSION[‘trixbox_template’] = ‘default’;
    }
    //setSession(‘templateChoice’, ‘trixbox_template’, $sessionFile);

    And DONE

  3. Hello,

    In fact, the root cause of the bug lies in the “maint/includes/application_top.php” file, line 139:
    “$_SESSION[‘trixbox_template’] = ‘default’;”

    where there is a mismatch in the “‘” character around the word “default”. Just change “`” by “‘” around “default”, save and your are done.