WordPress.org

Support

Support » Plugins and Hacks » WordPress HTTPS (SSL) » [Resolved] [Plugin: WordPress HTTPS (SSL)] HTTPS update broke my site

[Resolved] [Plugin: WordPress HTTPS (SSL)] HTTPS update broke my site

Viewing 15 replies - 16 through 30 (of 36 total)
  • I’m on php 5.2.17 and after the upgrade, which resultet in blank pages due to php fatal errors, had these messages in the error log:

    PHP Warning: require_once(WordPressHTTPS.php): failed to open stream: No such file or directory in /var/www/domains/XXXXXXX/blog/wp-content/plugins/wordpress-https/wordpress-https.php on line 22, referer: http://XXXXXXX/blog/wp-admin/update-core.php?action=do-plugin-upgrade

    PHP Fatal error: require_once(): Failed opening required ‘WordPressHTTPS.php’ (include_path=’.:/usr/share/php5:/usr/share/php5/PEAR:/usr/share/php5/Zend’) in /var/www/domains/XXXXXXX/blog/wp-content/plugins/wordpress-https/wordpress-https.php on line 22, referer: http://XXXXXXX/blog/wp-admin/update-core.php?action=do-plugin-upgrade

    so it seems to have to do with the correct include paths not being set.

    I´m happy with how it works right now. (2.0.4) Not going to update any further. To everyone having trouble:

    It´s perhaps better to delete the old plugin completely and then make
    a new installation with ver 3.0 This CAN help however it´s untested.

    Hi,
    I was experiencing a similar problem on our page http://www.unfairtobacco.org. After updating the plugin, the login page and all other HTTPS pages were not available anymore. I did not get any error messages, only the pages didn’t load.
    Deactivating the plugin via FTP and downgrading to 2.0.4 fixed the problem.
    It’s a pity because I thought the update may fix another problem that I got with the page: HTTPS protected pages are not available in English (our page is in German and English). The HTTPS plugin seems to have a conflict with qtranslate or the other way around.
    Laura

    First, great plugin – thanks for making this. Unfortunately, this update took down our entire network (WPMU) too, admin and frontend. Here’s part of the error log – it generated so many errors that it broke our php error reporting script so our server team is working on pulling them out manually (this is what they have sent me so far):

    Occurred 38 times
    Warning: in_array() [function.in-array]: Wrong datatype for second argument in /www/htdocs/web/..removed../wp-content/plugins/wordpress-https/lib/WordPressHTTPS/Module/Parser.php on line 138

    Occurred 8 times
    Warning: require_once(Zend/Exception.php) [function.require-once]: failed to open stream: No such file or directory in /www/htdocs/web/..removed../wp-content/plugins/wordpress-https/lib/Zend/Loader.php on line 98

    Occurred 8 times
    Fatal error: require_once() [function.require]: Failed opening required ‘Zend/Exception.php’ (include_path=’.:/usr/local/lib/php:/www/htdocs/web/..removed../wp-content/plugins/wordpress-https:/www/htdocs/web/..removed../wp-content/plugins/wordpress-https/lib’) in /www/htdocs/web/..removed../wp-content/plugins/wordpress-https/lib/Zend/Loader.php on line 98

    Occurred 7 times
    Warning: include_once() [function.include]: Failed opening ‘/www/htdocs/web/..removed../wp-content/plugins/wordpress-https/wordpress-https.php’ for inclusion (include_path=’.:/usr/local/lib/php’) in /www/htdocs/web/..removed../wp-settings.php on line 167

    Occurred 7 times
    Warning: include_once(/www/htdocs/web/..removed../wp-content/plugins/wordpress-https/wordpress-https.php) [function.include-once]: failed to open stream: No such file or directory in /www/htdocs/web/..removed../wp-settings.php on line 167

    Occurred 6 times
    Warning: include_once() [function.include-once]: Unable to access /www/htdocs/web/..removed../wp-content/plugins/wordpress-https/wordpress-https.php in /www/htdocs/web/..removed../wp-settings.php on line 167

    Occurred 3 times
    Warning: include_once(WordPressHTTPS/Module/Hooks.php) [function.include-once]: failed to open stream: No such file or directory in /www/htdocs/web/..removed../wp-content/plugins/wordpress-https/lib/Zend/Loader.php on line 146

    Occurred 3 times
    Warning: include_once() [function.include]: Failed opening ‘WordPressHTTPS/Module/Hooks.php’ for inclusion (include_path=’.:/usr/local/lib/php:/www/htdocs/web/..removed../wp-content/plugins/wordpress-https:/www/htdocs/web/..removed../wp-content/plugins/wordpress-https/lib’) in /www/htdocs/web/..removed../wp-content/plugins/wordpress-https/lib/Zend/Loader.php on line 146

    Occurred 2 times
    Warning: require_once(Zend/Loader/Autoloader.php) [function.require-once]: failed to open stream: No such file or directory in /www/htdocs/web/..removed../wp-content/plugins/wordpress-https/wordpress-https.php on line 18

    Occurred 2 times
    Warning: opendir(/www/htdocs/web/..removed../wp-content/plugins/wordpress-https/lib/WordPressHTTPS/Module/Admin) [function.opendir]: failed to open dir: No such file or directory in /www/htdocs/web/..removed../wp-content/plugins/wordpress-https/lib/WordPressHTTPS/Plugin.php on line 127

    Occurred 2 times
    Warning: opendir() [function.opendir]: Unable to access /www/htdocs/web/..removed../wp-content/plugins/wordpress-https/lib/WordPressHTTPS/Module/Admin in /www/htdocs/web/..removed../wp-content/plugins/wordpress-https/lib/WordPressHTTPS/Plugin.php on line 127

    Occurred 2 times
    Fatal error: require_once() [function.require]: Failed opening required ‘Zend/Loader/Autoloader.php’ (include_path=’.:/usr/local/lib/php:/www/htdocs/web/..removed../wp-content/plugins/wordpress-https:/www/htdocs/web/..removed../wp-content/plugins/wordpress-https/lib’) in /www/htdocs/web/..removed../wp-content/plugins/wordpress-https/wordpress-https.php on line 18

    Occurred 1 times
    Warning: require_once(WordPressHTTPS.php) [function.require-once]: failed to open stream: No such file or directory in /www/htdocs/web/..removed../wp-content/plugins/wordpress-https/wordpress-https.php on line 22

    Occurred 1 times
    Warning: include_once(WordPressHTTPS/Url.php) [function.include-once]: failed to open stream: No such file or directory in /www/htdocs/web/..removed../wp-content/plugins/wordpress-https/lib/Zend/Loader.php on line 146

    Occurred 1 times
    Warning: include_once(WordPressHTTPS/Module/Parser.php) [function.include-once]: failed to open stream: No such file or directory in /www/htdocs/web/..removed../wp-content/plugins/wordpress-https/lib/Zend/Loader.php on line 146

    Occurred 1 times
    Warning: include_once(WordPressHTTPS/Module/Admin.php) [function.include-once]: failed to open stream: No such file or directory in /www/htdocs/web/..removed../wp-content/plugins/wordpress-https/lib/Zend/Loader.php on line 146

    Occurred 1 times
    Warning: include_once(WordPressHTTPS/Logger.php) [function.include-once]: failed to open stream: No such file or directory in /www/htdocs/web/..removed../wp-content/plugins/wordpress-https/lib/Zend/Loader.php on line 146

    Occurred 1 times
    Warning: include_once(WordPressHTTPS/Logger/Interface.php) [function.include-once]: failed to open stream: No such file or directory in /www/htdocs/web/..removed../wp-content/plugins/wordpress-https/lib/Zend/Loader.php on line 146

    Occurred 1 times
    Warning: include_once() [function.include]: Failed opening ‘WordPressHTTPS/Url.php’ for inclusion (include_path=’.:/usr/local/lib/php:/www/htdocs/web/..removed../wp-content/plugins/wordpress-https:/www/htdocs/web/..removed../wp-content/plugins/wordpress-https/lib’) in /www/htdocs/web/..removed../wp-content/plugins/wordpress-https/lib/Zend/Loader.php on line 146

    Occurred 1 times
    Warning: include_once() [function.include]: Failed opening ‘WordPressHTTPS/Module/Parser.php’ for inclusion (include_path=’.:/usr/local/lib/php:/www/htdocs/web/..removed../wp-content/plugins/wordpress-https:/www/htdocs/web/..removed../wp-content/plugins/wordpress-https/lib’) in /www/htdocs/web/..removed../wp-content/plugins/wordpress-https/lib/Zend/Loader.php on line 146

    Occurred 1 times
    Warning: include_once() [function.include]: Failed opening ‘WordPressHTTPS/Module/Admin.php’ for inclusion (include_path=’.:/usr/local/lib/php:/www/htdocs/web/..removed../wp-content/plugins/wordpress-https:/www/htdocs/web/..removed../wp-content/plugins/wordpress-https/lib’) in /www/htdocs/web/..removed../wp-content/plugins/wordpress-https/lib/Zend/Loader.php on line 146

    Occurred 1 times
    Warning: include_once() [function.include]: Failed opening ‘WordPressHTTPS/Logger.php’ for inclusion (include_path=’.:/usr/local/lib/php:/www/htdocs/web/..removed../wp-content/plugins/wordpress-https:/www/htdocs/web/..removed../wp-content/plugins/wordpress-https/lib’) in /www/htdocs/web/..removed../wp-content/plugins/wordpress-https/lib/Zend/Loader.php on line 146

    Occurred 1 times
    Warning: include_once() [function.include]: Failed opening ‘WordPressHTTPS/Logger/Interface.php’ for inclusion (include_path=’.:/usr/local/lib/php:/www/htdocs/web/..removed../wp-content/plugins/wordpress-https:/www/htdocs/web/..removed..wp-content/plugins/wordpress-https/lib’) in /www/htdocs/web/..removed../wp-content/plugins/wordpress-https/lib/Zend/Loader.php on line 146

    Occurred 1 times
    Fatal error: require_once() [function.require]: Failed opening required ‘WordPressHTTPS.php’ (include_path=’.:/usr/local/lib/php:/www/htdocs/web/..removed../wp-content/plugins/wordpress-https:/www/htdocs/web/..removed../wp-content/plugins/wordpress-https/lib’) in /www/htdocs/web/..removed../wp-content/plugins/wordpress-https/wordpress-https.php on line 22

    Also, just wanted to add that the errors above were generated yesterday (4/17/2012) and the entire site was down. I just reinstalled the plugin a few mintues ago (assuming there were updates as mentioned above). The new est version allows the admin to continue working, but sends non https pages into an endless reloading loop (not sure what it going on) and it never loads. I unfortunately won’t have an error report for this until tomorrow.

    In the meantime, how do you download the 2.0.4 version?

    Plugin Author Mike Ems

    @mvied

    Hey Robert,

    Thanks for the feedback. I think there’s something wrong with the plugin loading its resources in older PHP versions. Do you know what version you’re running? You can find out at a command line with php -v.

    You can find all other version of the plugin for download here.

    Thanks,
    Mike

    Hi Mike,

    Thanks for looking into this. I don’t have access to the command line, but I was able to find out that it is 5.0.45

    I’m getting our staging server set back up so that we can test (been needing to do this) 3.0.1

    Thanks again!

    Plugin Author Mike Ems

    @mvied

    Hey Rob,

    The minimum for WordPress 3.0 is 5.2.4. The plugin also has this minimum requirement. I don’t think you’re going to be able to get it to work properly.

    Edit: I did want to note that in the next version, I’m removing the autoloader, so it may work for you, but no promises.

    Thanks,
    Mike

    Hi Mike!

    My apologies, I gave you the MySQL version!

    I’m trying to find out what our current version of PHP is from our IT server dept and will get back to you.

    Okay, PHP is 5.2.17 so we should be good.

    Plugin Author Mike Ems

    @mvied

    Hey Robert,

    I just pushed out version 3.0.2. Please update and let me know if there are any improvements.

    Thanks,
    Mike

    still no luck for me. wordpress tells me it cannot activate the updated (3.0.3) plugin because of this fatal error:

    /plugins/wordpress-https/wordpress-https.php on line 42 Fatal error: require_once(): Failed opening required ‘WordPressHTTPS/Url.php’ (include_path=’.:/usr/share/php5:/usr/share/php5/PEAR:/usr/share/php5/Zend’) in /var/www/domains/XXXXXXXXX/blog/wp-content/plugins/wordpress-https/wordpress-https.php on line 42

    Plugin Author Mike Ems

    @mvied

    Hey whaus,

    Does that file exist in /wp-content/plugins/wordpress-https/lib/?

    The problem is my include paths aren’t being used, but I’m defining them in wordpress-https.php.

    $include_paths = array(
    	get_include_path(),
    	dirname(__FILE__),
    	dirname(__FILE__) . '/lib'
    );
    set_include_path(implode(PATH_SEPARATOR, $include_paths));

    The only problem I can think of is you have an old version of PHP that’s causing it not to work for some reason.

    Thanks,
    Mike

    my php-version is 5.2.17 and this file does exist:
    /var/www/domains//var/www/domains/XXXXXXXX/blog/wp-content/plugins/wordpress-https/lib/WordPressHTTPS/blog/wp-content/plugins/wordpress-https/lib/WordPressHTTPS/Url.php

Viewing 15 replies - 16 through 30 (of 36 total)
  • The topic ‘[Resolved] [Plugin: WordPress HTTPS (SSL)] HTTPS update broke my site’ is closed to new replies.
Skip to toolbar