Okay
  Public Ticket #178318
Admin panel broken
Closed

Comments

  • Micha³ started the conversation

    I just uploaded Salient to my server and I noticed that my admin panel is broken - it's missing all the "/" in the url.

    So the URLs to different files in the admin look like this:
    http://dev.szeridan.pl/wp-contentthemessalientnectaroptionsfields/ace_editor/field_ace_editor.css?ver=1

    Please help

  • Micha³ replied

    The attatchment is a better description of my problem.

  •  8,838
    Tahir replied

    Hey Micha!

    From the screenshot it seems that you are using a caching and minification plugin. Please Turn them off and clear or flush cache. 

    Cheers


    ThemeNectar Support Team 

  • Micha³ replied

    Hey Tahir!

    Thank you for your answer. Actually it was a clean install of 3.8.1 only with Contact Form 7 installed - no additional plugins.
    I was trying to hack it as I needed to get the site up & running and for me editing this line in defaults.php:

    $fslashed_abs = trailingslashit(str_replace('\\','/', ABSPATH));

    to this line:

    $fslashed_abs = ABSPATH;

    Fixed the issue.
    I don't really know how dirty is this hack and what it might break in the theme but for now everything works

    If you have any idea how can I solve this without hacking the core files I would be happy to hear it! :)

  •  1,069
    ThemeNectar replied

    Hey Micha - thanks for posting your solution! This issues of slashes getting stripped from the URLs effects a very small percent of users and is caused by a server setting (most likely security related). 

    Cheers :)