• I seem to have upgraded to 1.5 with minimal hiccups.

    Unfortunately, the 2 biggest problems I have right now are as follows:

    1) I keep getting these scrambled codes in my blog (http://www.shaicoggins.com/):

    Warning: main(/home/shaicogg/www/www/wp-comments.php): failed to open stream: No such file or directory in /home/shaicogg/www/www/index.php on line 72

    2) I can’t get any of my non-standard plugins to work (MTBlacklist, Pictpress, etc.). I already deactivated them. But, every time I tried to re-activate, I get these types of errors:

    Warning: main(/home/shaicogg/www/www/wp-content/pluginsthreestrikes.php): failed to open stream: No such file or directory in /home/shaicogg/www/www/wp-settings.php on line 115

    Warning: main(): Failed opening '/home/shaicogg/www/www/wp-content/pluginsthreestrikes.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/shaicogg/www/www/wp-settings.php on line 115

    Warning: Cannot modify header information - headers already sent by (output started at /home/shaicogg/www/www/wp-settings.php:115) in /home/shaicogg/www/www/wp-admin/admin.php on line 6

    Please HELP! Thanks!

Viewing 15 replies - 1 through 15 (of 15 total)
  • I’d be willing to bet it has something to do with that extra www/ directory. Check your WP configuration and make sure your absolute path is correct for the system you’re on.

    Thread Starter weblogrrl

    (@weblogrrl)

    Thanks for your quick reply. Actually, yes, I believe the absolute path is correct.

    Thread Starter weblogrrl

    (@weblogrrl)

    OK. I managed to fix Problem #1. I had to re-upload the old wp-comments.php to get rid of the error. However, now I can’t get the comments to work! 🙁

    I’m still having problems with getting my plugins to work as well.

    Argh. I hate it when this happens. :p

    Please don’t make me give up WordPress. If I don’t get to sort this out, I might just have to.

    Moderator James Huff

    (@macmanx)

    Did you properly upgrade your v1.2.x template to a v1.5 theme by either following the upgrade instructions here:
    http://www.tamba2.org.uk/wordpress/

    or here:
    http://codex.wordpress.org/Using_Themes#Moving_from_1.2.x_to_1.5

    Moderator James Huff

    (@macmanx)

    Comments no longer use wp-comments.php, they use comments.php. Again, see the above two links.

    “Headers already sent” is a very common error — usually the culprit is a space or return before the opening php tag <?php or after the closing ?> tag. Check the pluginthreestrikes.php file for this.

    Thread Starter weblogrrl

    (@weblogrrl)

    Thanks, NuclearMoose. I checked but there doesn’t seem to be any spaces.

    Thread Starter weblogrrl

    (@weblogrrl)

    Again, thanks NuclearMoose. I checked the plugins for spaces and they did have spaces after the code. I fixed it but the errors are still coming up.

    Shai,
    Clear your cache and have another look at your site. I don’t see any error messages at all. 🙂

    Thread Starter weblogrrl

    (@weblogrrl)

    [b]macmanx:[/b] Thanks! I sorted the comments problem now.

    Now, if only I can get my plugins to work again…

    [b]NuclearMoose: [/b] I only get the plugin errors in my admin pages. I kept getting these error messages right on top of my admin pages whenever I try to activate my plugins. :< Any other ideas? Thanks!

    [code]Warning: main(/home/shaicogg/www/www/wp-content/pluginsthreestrikes.php): failed to open stream: No such file or directory in /home/shaicogg/www/www/wp-settings.php on line 115

    Warning: main(): Failed opening '/home/shaicogg/www/www/wp-content/pluginsthreestrikes.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/shaicogg/www/www/wp-settings.php on line 115

    Warning: Cannot modify header information - headers already sent by (output started at /home/shaicogg/www/www/wp-settings.php:115) in /home/shaicogg/www/www/wp-admin/admin.php on line 6[/code]

    My wp-settings.php has at line 115:

    include_once(ABSPATH . 'wp-content/plugins/' . $plugin);

    In your error message the ‘/’ after ‘plugins’ is missing…
    Is your wp-settings.php file correct?

    If you want to keep using PictPress with WP 1.5, you will have to upgrade to the version at http://svn.wp-plugins.org/pictpress/trunk/pictpress.zip, which has been updated to work with the new version.

    Thread Starter weblogrrl

    (@weblogrrl)

    Thanks, Curioso. You’re always a terrific help. I love PictPress and I wish to keep it. I’ll give the updated version a go.

    Thread Starter weblogrrl

    (@weblogrrl)

    Hi Curioso. I upgraded to the latest PictPress version and I’m afraid it still isn’t working. 🙁

    You have PictPress installed at /home/shaicogg/www/www/pictpress, while PictPress expects to be installed in the WordPress wp-content/plugins directory. Therefore it cannot find the wp-config.php file that it needs.

    Thread Starter weblogrrl

    (@weblogrrl)

    I moved the folder to the plugins directory now but I’m still getting errors. I’m just about ready to give up on this, I’m afraid. 🙁

Viewing 15 replies - 1 through 15 (of 15 total)

The topic ‘Errors after 1.5 Upgrade’ is closed to new replies.