• I don’t believe WordPress 1.2 uses wp-config-extra.php and I’ve eliminated it from my files — but somehow when I try to bring up http://www.wump.info/wumpblog or when I try to use the upgrade link I get an error message that shows my program is still looking for that file. The message I am getting is:
    ——————–
    Warning: main(/home/wumpc14/public_html/wumpblog/wp-config-extra.php): failed to open stream: No such file or directory in /home/wumpc14/public_html/wumpblog/wp-settings.php on line 35
    Fatal error: main(): Failed opening required ‘/home/wumpc14/public_html/wumpblog/wp-config-extra.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/wumpc14/public_html/wumpblog/wp-settings.php on line 35
    ———————
    I’m guessing it might have something to do with the formerly used smilies hack, that I need to remove some lines from index.php. But I can’t figure out where those lines are or if that is really the solution.
    Anyone else had this problem?

Viewing 12 replies - 1 through 12 (of 12 total)
  • Thread Starter danithew

    (@danithew)

    I don’t think I’m getting mixed up with wp-config-sample.php … I just looked in wp.settings.php that I uploaded and it has the following line:
    require (ABSPATH . ‘wp-config-extra.php’);
    I’m pretty sure I’m uploading from the correct source but I don’t see a wp-config-extra.php file listed — hrrrm. If that’s correct, I don’t think the wp-settings.php file should have a line like that. But what do I know …

    Here’s some things I know. WP 1.2 doesn’t use wp-config-extra anymore. I think it may have something to do with the move to plugins but don’t quote me. I presume you’ve added extra smilies. If that’s the case you now need to add them to the vars.php file in the wp-includes folder. If you haven’t added extra smilies it might be because you’re using an old hack for smilies. There is now a plugin and it would be better and easier if you used that. You will need to remove any odd bits of the old code you may have added to your comments page or quicktags. If you download the plugin from Alex’s site and check the help file you will probably be able to see where the old bits of code are.

    Just looking at your second post as 1.2 doesn’t use that file there shouldn’t be a call to it. Are you looking at the file on your server or the file on your PC. It’s possible that the new file hasn’t overwritten the old file properly. Check both versions out. If the version on your PC doesn’t contain that call you need to upload it again only this time delete the version on your server first. It is recommended that you delete all the old WP files before uploading the new version to eliminate just this kind of problem. I’ve just looked at my file and it does not contain that call.

    I have been wondering about that file myself.

    Thread Starter danithew

    (@danithew)

    Ok — I’m hitting myself on the head now. I was attempting to overwrite the old wp-settings.php file when instead I should have simply deleted it and re-uploaded the file. I feel stupid now. 🙂
    I also did a little bit of re-uploading in the wp-includes file and I was able to go through the upgrade.php process. However, it is obvious that I left the old wp-layout.css and index.php files the same as the WP 1.01. As a result, my layout is currently almost non-existent. I’m going to have to look at this more later — as I’m going to have to somehow merge the old files with the new codes for Wp 1.2.
    Also, my login isn’t currently working. I’m not extremely alarmed because I’ll just work on it soon.
    Anyone who wants to see my current chaos, go to http://www.wump.info/wumpblog
    Suggestions are welcome. 🙂 Thanks for your help on previous questions.

    Nothing wrong with the current chaos that is not easily fixed. You might to check the url to your wp-layout.css file. It looks a bit odd to me. Otherwise it should be fine.

    Thread Starter danithew

    (@danithew)

    In which file would I check the url or how do I check the url to wp-layout.css? In index.php?

    I answered this one somewhere else already but look at the import of the stylesheet in your index page and point it to the proper location.

    @danithew – I’ve just checked you’re site and it doesn’t appear to be picking up the style sheet at all. As Beel says look at your “index.php” file and near the top you will see “@import” followed by the style sheet in brackets. Put the full address of the style sheet in the brackets ie starting with “http:” etc etc. These shortcuts may save time and space (although this shortcut is wrong anyway) but further down the line you may have problems with plugins or other stuff that won’t work with a shortcut.

    No forward slash is needed before the wp-layout.css surely?

    it is if u are using rewrite rulez.

    It is just better to put the full address in then rewrite rules or whatever doesn’t come into it.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘wp-config-extra.php problem’ is closed to new replies.