Support » Fixing WordPress » A few Warnings…

  • I just did a WP install (on Windows) where I get the following errors on the right side of my Manage->Files page:


    1. .htaccess (for rewrite rules)
    2. Main Index Template
    3. my-hacks.php (legacy hacks support)

    Warning: file(C:\xampp\htdocs\wordpress/) [function.file]: failed to open stream: Permission denied in C:\xampp\htdocs\wordpress\wp-admin\admin-functions.php on line 1454

    Warning: implode() [function.implode]: Bad arguments. in C:\xampp\htdocs\wordpress\wp-admin\admin-functions.php on line 1454

    I did some reading around here and checked that there was no leading or trailing spaces before and after the php tags – this didn’t fix the problem. I think it may have something to do with loading the .htaccess and my-hacks.php files, because when I click them, I get this error:

    “Oops, no such file exists! Double check the name and try again, merci.”

    I did a search through the wordpress directory and couldn’t find my-hacks.php anywhere (or any file like it). What’s up? Thanks for the help.

Viewing 8 replies - 1 through 8 (of 8 total)
  • maybe you delete the file, or prehaps never put it there. It sounds more like a windows prblem than WP… anytime somthing strange happens, first thing i do is a VIRUS / spyware scan, now thats just me.

    Can anyone give me the default locations for these files? Or where I can get them from? I just downloaded version 2.03 again and I’m searching through it… my-hacks.php and .htaccess do not come up in searches – are they not included in the distribution? If not, where can I get these files.

    You don’t need an .htaccess file (nor is one part of the distribution package). If you visit Options -> Permalinks and change from the default, .htaccess will then be created (or, if no permisisons, WP will tell you what to manually put in it).

    You don’t need a my-hacks.php either.

    In other words, those are not the root cause of your issues.

    Looking at your errors above, it seems like perhaps you have a bad copy of \wp-admin\admin-functions.php. Have you re-uploaded just that one?

    Just now swapped admin-functions.php with a fresh one, and the same error exists. Any ideas?


    What theme are you using? Does anything change if you switch to default?

    Does the web server process have full access to the theme files?

    Any plugins installed? What happens if you temporarily remove them all from wp-content\plugins?

    The theme I am using is a slightly modified version of “fast lane” by beng hafner. I changed it to the default “kubrik”-based theme, but the errors were still there.

    I changed the plugins folder name to “plugins_old” – which i would assume would be equivalent to deleting them. Same errors.

    As far as the access issue, I am running Apache 2.2.2 on Windows XP SP 2, with MySQL 5.0.21 and PHP 5.1.4. I’m not sure how the permissions etc work on a windows box when it comes to that sort of thing.

    Its not a HUGE deal if this doesn’t get resolved – the blog is a rather low-profile affair. But I’m still curious at least.

    Welp, I’m stumped. If I had to guess, I’d say some aspect of PHP isn’t on (or is disabled). That’s just based on a quick search for “implode.”

    Is your apache/php/mysql install based on xampp or wampserver or did you do it the hard way?


Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘A few Warnings…’ is closed to new replies.