• Resolved Lingvafix

    (@lingvafix)


    Ciao Alessandro,

    I am trying to take your plugin into use but now there seems to be a problem. I have followed the installation instructions and made all the settings. I am also able to make the translations in the backend. But when trying to view the site all I get is a blank page!

    I use a child of the theme Enfold which should be multilingual. I am developing on localhost.

    Any idea of what is causing this?

    br, Rainer

    https://wordpress.org/plugins/ceceppa-multilingua/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Alessandro Senese

    (@ceceppa)

    Hi,
    probably the blank page is due to some fatal error, please enable the debug by adding this line in your wp-config.php:

    //Change false to true
    define(‘WP_DEBUG’, true);

    // Enable Debug logging to the /wp-content/debug.log file
    define(‘WP_DEBUG_LOG’, true);

    // Disable display of errors and warnings
    define(‘WP_DEBUG_DISPLAY’, false);
    @ini_set(‘display_errors’,0);

    // Use dev versions of core JS and CSS files (only needed if you are modifying these core files)
    define(‘SCRIPT_DEBUG’, true);

    After updated wp-config.php:

    1. View your website
    2. Look up the error string in /wp-content/debug.log file ( should be the last line
    3. Past the error line in this thread
    Thread Starter Lingvafix

    (@lingvafix)

    Hello,

    Thanks! I noticed myself from the debug.log what was the problem. It was a call to an undefined php function related to testing of another multilanguage plugin 😉
    I removed it and now the site displays as it should again 🙂

    You could however help me with another thing. If I want to place the langauage switcher in the header (flags + name), instead of in the nav or in a widget. What’s the code to use?

    br, Rainer

    Plugin Author Alessandro Senese

    (@ceceppa)

    Hi,
    you can use the function cml_show_flags the full documentation is available Ceceppa Multilingua -> Documentation -> Api page

    Thread Starter Lingvafix

    (@lingvafix)

    Hi,
    Thanks a lot for great support!

    br, Rainer

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Blank site after installation’ is closed to new replies.