bkabelka
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Post title filter not applied to “Uploaded to” on Edit Media page?Yes, my filter for ‘the_title’ is registered in a custom plugin.
Forum: Plugins
In reply to: [qTranslate X] Update that makes one see the site only a blank pageMine is a standard WordPress installation as well.
As I said before, for me the problem occurred because
$q_config['front_config']was not set. Inqtranxf_loadConfig()in qtranslate_core.php, this caused admin/qtx_activation_hook.php to be included, and as the very first line there isif ( !defined( 'WP_ADMIN' ) ) exit;the PHP process terminated early without any output (for the actual blog only; the admin pages displayed fine – sorry, I did not explicitly mention that before).
BTW: I also had the problem for my productive site (I was playing around with my test server before). The workaround of going to the language settings page and pressing “Save Changes” worked for me in this case.
Forum: Plugins
In reply to: [qTranslate X] Update that makes one see the site only a blank pageToday, I played around a bit with the plugin to try to figure out what’s going wrong. I manually updated the plugin from version 3.3.5 to version 3.3.7 file-by-file to narrow down the cause of the error. It turned out that the culprit seems to be in qtranslate.core_php, as an update from 3.3.5 to 3.3.7 worked for me when excluding this file, but failed when including it.
My assumption is that the configuration update in line 682-687 (line numbers according to version 3.4) causes the problem. For some reason, though, when trying to update the qtranslate.core_php line-by-line (or at least in blocks that seemed to go together), I finally managed to get the update to work. Still, when changing the if-condition to
trueso that the if-block is always evaluated, I get the blank page again.To sum up, the problem seems to occur for sites for which
$q_config['front_config']is not yet defined. Maybe this helps a plugin developer to fix this issue?Forum: Plugins
In reply to: [qTranslate X] Update that makes one see the site only a blank pageI have the same problem, but even multiple cycles of reverting/updating (both through the update feature of WordPress, and manually) did not change anything for me.
I played around a bit with the version available on GitHub, and it still worked for me with version 3.3.5, but the problem appears with version 3.3.7 and above.
Unfortunately, there is nothing to be found in the error logs (neither of Apache, nor of PHP). Enabling WP_DEBUG and installing the DebugBar did not provide any insight either.
I remember having a similar problem once while I was still using mqtranslate (another fork of qtranslate). Back then, the problem was caused by some PHP syntax that was not compatible with PHP 5.3.0 (which is the version I am using). Could this also be the case here?