ISPCOnfig Weird/Blank page

Discussion in 'General' started by tresloukadu, Jul 12, 2013.

  1. tresloukadu

    tresloukadu New Member

    Attached Files:

  2. Croydon

    Croydon ISPConfig Developer ISPConfig Developer

    It seems that CSS styles are not loaded.
    Have you tried a different browser?
     
  3. tresloukadu

    tresloukadu New Member

    Yes I tried Firefox and Chrome. I think is more than a css issue because even the links are not appearing.

    Looking the ispconfig install log i found 3 warnings, but i think the blank page problem was not generated by these warnings....

    Fri Jul 12 02:48:23 BRT 2013 - [ISPConfig] - /tmp/ispconfig3_install/install/dist/lib/opensuse.lib.php, Line 1039: WARNING: Failed to execute the command groupmod --add-user wwwrun ispconfig
    Fri Jul 12 02:48:23 BRT 2013 - [ISPConfig] - /tmp/ispconfig3_install/install/dist/lib/opensuse.lib.php, Line 1042: WARNING: Failed to execute the command groupmod --add-user wwwrun ispapps


    Fri Jul 12 02:47:12 BRT 2013 - [ISPConfig] - /tmp/ispconfig3_install/install/lib/installer_base.lib.php, Line 1489: WARNING: Failed to execute the command adduser wwwrun ispapps
     
  4. Croydon

    Croydon ISPConfig Developer ISPConfig Developer

    The image you posted is exactly what appears when you have CSS and javascript disabled. I just checked this at my installation (disabled js and css through web developer extension) and it looks exactly the same as yours.
     
  5. tresloukadu

    tresloukadu New Member

    Well, I do not have plugins to block css and js, just to ensure i opened in a different machine and i got the same issue....

    But trying to tracking what you have reported i just looked over the code and found something interesting, i tried to access some of the css and js files bellow and i got 404 error page not found for alll files listeed here...... im just in doubt how to fix it .... if i have to edit code or whatever.....

    <link href="themes/default/css/styles.css" rel="stylesheet" media="screen" type="text/css" />
    <link href="themes/default/css/print.css" rel="stylesheet" media="print" type="text/css" />
    <!--[if IE 9]><link href="themes/default/css/iehacks.css" rel="stylesheet" type="text/css" /><![endif]-->
    <!--[if lte IE 8]><script type="text/javascript" src="themes/default/js/html5shiv.js"></script><![endif]-->
    <!--[if lte IE 7]><link href="themes/default/css/iehacks.css" rel="stylesheet" type="text/css" /><![endif]-->
    <link href="themes/default/css/jquery-ui-1.8.16.custom.css" rel="stylesheet" type="text/css" />
    <link rel="shortcut icon" href="/themes/default/images/favicon.ico" />
    <script type="text/javascript" src="js/jquery-1.6.3.min.js"></script>
    <script type="text/javascript" src="js/jquery-ui-1.8.16.custom.min.js"></script>
    <script type="text/javascript" src="js/scrigo.js.php"></script>
    <script type="text/javascript" src="js/uni-form/uni-form.jquery.js"></script>
    <script type="text/javascript" src="js/jquery.ispconfigsearch.js"></script>
    <script type="text/javascript" src="js/jquery.tipsy.js"></script>
     
  6. Croydon

    Croydon ISPConfig Developer ISPConfig Developer

    Quite strange, indeed.
    Have you tried doing an ispconfig update (with the same version)?
    This should copy all needed files in place.
     
  7. tresloukadu

    tresloukadu New Member

    No success with that:

    BilboBaggins:~ # ispconfig_update.sh

    I chose to install stable, no updated you are running the lastet version.

    O i tried again and now I chose to install the svn version.... after update and apache restart... i got the same issue.

    I think I gonna unnistall everything and install a version bellow the 3.0.5.2. what you think?
     
  8. Croydon

    Croydon ISPConfig Developer ISPConfig Developer

    Thats really strange.

    Did you have a look into /usr/local/ispconfig/interface/web
    if the "missing" files like js/jquery..... themes/default/css/styles.css etc are really missing or just are not displayed?
     
  9. tresloukadu

    tresloukadu New Member

    yes i've tried that and all files are there....css js, jquery.... i was thinking about change the theme manually
     
  10. Croydon

    Croydon ISPConfig Developer ISPConfig Developer

    Hm, I'm out of ideas at the moment. Maybe someone else can help?
     
  11. tresloukadu

    tresloukadu New Member

    Just for curiosity i tried to inform the absolut path in template main.tpl.htm

    <link href="<?php echo SERVER_ROOT; ?>/web/themes/default/css/styles.css" rel="stylesheet" media="screen" type="text/css" />


    The result was

    <link href="/usr/local/ispconfig/interface/web/themes/default/css/styles.css" rel="stylesheet" media="screen" type="text/css" />

    OBJECT NOT FOUND.

    But if you track the path the file is there.......

    I setted the permissions to 777 on styles.css

    BilboBaggins:/usr/local/ispconfig/interface/web/themes/default/css # ls -lask
    total 140
    4 drwxr-x--x 7 ispconfig ispconfig 4096 Jul 12 02:48 .
    4 drwxr-x--x 7 ispconfig ispconfig 4096 Jul 12 02:48 ..
    8 -rwxr-x--x 1 ispconfig ispconfig 6488 Jul 12 10:57 iehacks.css
    4 drwxr-x--x 2 ispconfig ispconfig 4096 Jul 12 02:48 images
    28 -rwxr-x--x 1 ispconfig ispconfig 25719 Jul 12 10:57 jquery-ui-1.8.16.custom.css
    4 drwxr-x--x 2 ispconfig ispconfig 4096 Jul 12 02:48 navigation
    4 drwxr-x--x 2 ispconfig ispconfig 4096 Jul 12 02:48 patches
    4 drwxr-x--x 2 ispconfig ispconfig 4096 Jul 12 02:48 print
    4 -rwxr-x--x 1 ispconfig ispconfig 3745 Jul 12 10:57 print.css
    4 drwxr-x--x 3 ispconfig ispconfig 4096 Jul 12 02:48 screen
    72 -rwxrwxrwx 1 ispconfig ispconfig 71810 Jul 12 10:57 styles.css


    However, after that the same issue.......
     
  12. tresloukadu

    tresloukadu New Member

    I got something...... :)

    I tried to use relative path


    <link href="./web/themes/default/css/styles.css" rel="stylesheet" media="screen" type="text/css" />

    And the css worked! Now i gonna change all paths and see what happens.
     
  13. tresloukadu

    tresloukadu New Member

    Now it worked, i think the problem was related to that log entry that i showed that it was not possible to create user.... so no user no permission whatsoever....

    O what i did.... here is the fixed header


    <link href="./web/themes/default/css/styles.css" rel="stylesheet" media="screen" type="text/css" />
    <link href="./web/themes/default/css/print.css" rel="stylesheet" media="print" type="text/css" />
    <!--[if IE 9]><link href="./web/themes/default/css/iehacks.css" rel="stylesheet" type="text/css" /><![endif]-->
    <!--[if lte IE 8]><script type="text/javascript" src="./web/themes/default/js/html5shiv.js"></script><![endif]-->
    <!--[if lte IE 7]><link href="themes/default/css/iehacks.css" rel="stylesheet" type="text/css" /><![endif]-->
    <link href="./web/themes/default/css/jquery-ui-1.8.16.custom.css" rel="stylesheet" type="text/css" />
    <link rel="shortcut icon" href="/themes/default/images/favicon.ico" />
    <script type="text/javascript" src="./web/js/jquery-1.6.3.min.js"></script>
    <script type="text/javascript" src="./web/js/jquery-ui-1.8.16.custom.min.js"></script>
    <script type="text/javascript" src="./web/js/scrigo.js.php"></script>
    <script type="text/javascript" src="./web/js/uni-form/uni-form.jquery.js"></script>
    <script type="text/javascript" src="./web/js/jquery.ispconfigsearch.js"></script>
    <script type="text/javascript" src="./web/js/jquery.tipsy.js"></script>



    And after that set the proper chmod


    BilboBaggins:/usr/local/ispconfig # chmod -R 755 ./interface
    BilboBaggins:/usr/local/ispconfig # cd interface/
    BilboBaggins:/usr/local/ispconfig/interface # chmod 777 cache/

    Look the upload. I did not perform a full test but it seems is working....

    The whole interface is working now, but there is no option to select, no information about the server nothing... i will try to install ispconfig again fixing the errors in log
     

    Attached Files:

    • isp.jpg
      isp.jpg
      File size:
      19.6 KB
      Views:
      21

Share This Page