garbled symbols everywhere - what have I broken?

  • Betroffene Version
    WoltLab Suite 3.0

    I've just changed my directory structure by moving my entire installation up a level.

    I'm now getting this garbled mess everywhere except the ACP:

    What have I done, and can I mend it? :huh::huh:

  • Did you done anything special prior to this outcome? Could you share the link to your site?

    I had the site in a directory called /b/ while I migrated the data - everything worked and so I updated the paths in the acp and moved it all up into the root. Nothing else.

    I don't want to share the site for privacy reasons - I don't want anyone to follow me here. But it won't make a difference, there's nothing to see,

  • I don't want to share the site for privacy reasons - I don't want anyone to follow me here. But it won't make a difference, there's nothing to see,

    Well, then I can't check something on my own, but only give general advice(s).

    Could you check both the PHP and the Webserver Log?

  • Why do you think that they're gone? Also, are there any errors reported in the ACP (Hint: Use the ACP search to quickly find menu items).

    This is the error message that prompted me to check the templates:

    Aufgerufene URL
    /forum/
    Referrer
    WoltLab Suite
    3.0.10
    PHP
    5.6.32
    Fehlermeldung
    Unable to find template 'header'
    Art
    wcf\system\exception\SystemException
    Datei (Zeile)
    /var/www/vhosts/*****.com/httpdocs/lib/system/template/TemplateEngine.class.php (350)
    Stacktrace
    1. /var/www/vhosts/ukhippy.com/httpdocs/lib/system/template/TemplateScriptingCompiler.class.php (823): wcf\system\template\TemplateEngine->getSourceFilename(…)
    2. /var/www/vhosts/ukhippy.com/httpdocs/lib/system/template/TemplateScriptingCompiler.class.php (362): wcf\system\template\TemplateScriptingCompiler->compileIncludeTag(…)
    3. /var/www/vhosts/ukhippy.com/httpdocs/lib/system/template/TemplateScriptingCompiler.class.php (249): wcf\system\template\TemplateScriptingCompiler->compileTag(…)
    4. /var/www/vhosts/ukhippy.com/httpdocs/lib/system/template/TemplateCompiler.class.php (28): wcf\system\template\TemplateScriptingCompiler->compileString(…)
    5. /var/www/vhosts/ukhippy.com/httpdocs/lib/system/template/TemplateEngine.class.php (459): wcf\system\template\TemplateCompiler->compile(…)
    6. /var/www/vhosts/ukhippy.com/httpdocs/lib/system/template/TemplateEngine.class.php (314): wcf\system\template\TemplateEngine->compileTemplate(…)
    7. /var/www/vhosts/ukhippy.com/httpdocs/lib/page/AbstractPage.class.php (308): wcf\system\template\TemplateEngine->display(…)
    8. /var/www/vhosts/ukhippy.com/httpdocs/lib/page/AbstractPage.class.php (103): wcf\page\AbstractPage->show(…)
    9. /var/www/vhosts/ukhippy.com/httpdocs/lib/system/request/Request.class.php (83): wcf\page\AbstractPage->__run(…)
    10. /var/www/vhosts/ukhippy.com/httpdocs/lib/system/request/RequestHandler.class.php (94): wcf\system\request\Request->execute(…)
    11. /var/www/vhosts/ukhippy.com/httpdocs/forum/index.php (9): wcf\system\request\RequestHandler->handle(…)
  • Referring to Moving the "notices" section: Did you changed the template header before(or any other templates)? Could you restore anything(most of the time, edit the default style and select the default Template group). (I'm guessing here)

    I duplicated the template as per instructions, but I didn't modify the original. Everything was working fine prior to the directory move.

    I've noticed that not all of them have vanished however.

    I'm going to try reverting to the default

    • Offizieller Beitrag

    Yes, I followed the instructions.

    Is there any chance that you've missed/overlooked something? It should work if everything was done according to the guide and especially the missing template shouldn't be a thing because this is directly related to the actual files and has nothing to do with the database.

    You may want to consider submitting a ticket via "My Account" and provide us with ACP and FTP credentials, then we could look into it ourselves and figure it out. It's quite late already, so it might take until tomorrow before it gets taken care of though.

  • Is there any chance that you've missed/overlooked something? It should work if everything was done according to the guide and especially the missing template shouldn't be a thing because this is directly related to the actual files and has nothing to do with the database.

    You may want to consider submitting a ticket via "My Account" and provide us with ACP and FTP credentials, then we could look into it ourselves and figure it out. It's quite late already, so it might take until tomorrow before it gets taken care of though.

    I realised that I missed the section on changing the "wcf1_package" entry, but checking phpMyadmin now it seems to be correct.

  • I get those characters when there is some error, e.g. not defining a variable in the style editor, unclosed blocks, or errors in the templates, so it should be something related with the error output, since the normal error message is not displayed in the frontend. I must say I can't reproduce it in localhost but in a shared hosting

    My styles and plugins in the Plugin-Store.

    Spoiler anzeigen

    — ¡Carajo! —gritó

    Amaranta, que empezaba a meter la ropa en el baúl, creyó que la había picado un alacrán.

    — ¿Dónde está? —preguntó alarmada.

    —¿Qué?

    — ¡El animal!

    Úrsula se puso un dedo en el corazón.

    — Aquí —dijo.

    ♪Quiero robarle los minutos a las horas pa' que mis padres nunca se me pongan viejos...♫

  • I get those characters when there is some error, e.g. not defining a variable in the style editor, unclosed blocks, or errors in the templates, so it should be something related with the error output, since the normal error message is not displayed in the frontend. I must say I can't reproduce it in localhost but in a shared hosting

    I'm on a VPS - I can see that the standard header template is empty, but it exists in my file structure.

  • Just looking in the ftp folders and noticed that templates was in /templates/templates -- I have no idea why that should have happened (unless tech support is doing something that I'm unaware of or I did it in my panicking) . Anyway, reverted that.

    Also deleted my custom header template just in case that was causing the issue

    The problem is still there :/

    Einmal editiert, zuletzt von Moonclamp (7. November 2017 um 19:45)

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!