Support » Plugin: Loco Translate » Empty page when trying to add new language [loco translate]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Tim W

    (@timwhitlock)

    A dev environment won’t cause any problems as long as it’s configured properly for WordPress. I don’t know anything about ServerPress though.

    Have you tried enabling WP_DEBUG and looked for errors in your logs?

    Thread Starter Asynaptic

    (@synaptic)

    no error logs are created that I can find!

    I added the following to wp-config.php:

    // Turn debugging on
    define(‘WP_DEBUG’, true);

    // Tell WordPress to log everything to /wp-content/debug.log
    define(‘WP_DEBUG_LOG’, true);

    I also installed log viewer plugin just in case.

    I also did a fresh new environment with just the plugin I want to translate and loco translate (and log viewer).

    exactly the same, blank page

    Plugin Author Tim W

    (@timwhitlock)

    Without an error I don’t know where to start here.
    Is it only the new language page that fails? Is it only this plugin? Does the page generate any markup before it fails? What version of PHP and WordPress are you running?

    Thread Starter Asynaptic

    (@synaptic)

    Sorry, but there is no error log that I can find.

    No, as I wrote in my original message it is all 3 that fail:

    1) trying to create new via “+ new language” link (any of them)
    2) clicking on the template pot file link (any of them)
    3) clicking on the file permissions link “check mark OK” (any of them)

    there is no markup before it fails, when I click those links, I’m taken to a new page with the URLs that I shared above. But the new page is completely empty!

    PHP version, let me check… ok that was it! I upgraded to php 5.4 and that seems to have done the trick. I hope this helps someone else who is silly enough to have the same problem like me.

    Sorry to have bothered you with this Tim and THANK YOU for your prompt and helpful suggestion!!

    w00t!

    Plugin Author Tim W

    (@timwhitlock)

    I’m glad it’s fixed, but it should (I mean, I want to ensure it does) work in at least 5.3.x

    Thanks for letting me know. I’ll make sure I test in some older versions of PHP.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Empty page when trying to add new language [loco translate]’ is closed to new replies.