Forums

[resolved] Brand new install - CHMOD disabled warning (8 posts)

  1. Florent
    Member
    Posted 4 years ago #

    Hi,

    I have just installed Wordpress on my website (running PHP 4.3.10-2 and MySQL 3.23.56). On the "Second Step" page of the install process, there was a great deal of warnings, here's how they went:

    Now we’re going to create the database tables and fill them with some default data.

    Warning: chmod() has been disabled for security reasons in upgrade-functions.php on line 627

    (this line was repeated 15 times, then the same message regarding line 660 was repeated 5 times)

    Then it said "Finished!"...

    Are these warnings a problem? Does this mean I have to manually CHMOD all my directories?

    Thanks for any help!

  2. podz
    Support Maven
    Posted 4 years ago #

    Ignore it.
    A change in how WP installs was made a while ago, and it now creates a duplicate theme directory named after your blog.
    Most of the time this is uneventful - in your case it's thrown it's toys out of the pram but it will not affect you site at all :)

  3. Florent
    Member
    Posted 4 years ago #

    Thank you podz!
    I see... WP creates 15 new files in the themes\theme-name\ directory, and 5 files in the themes\theme-name\images\ directory, hence the 15+5 errors. I haven't looked into the "theming" of WP yet, but does this mean I'll have to just delete the new theme folder and modify the default theme ?

  4. moshu
    Member
    Posted 4 years ago #

    Yes, you can delete the new folder. As for modifying the default... hmmm... it depends on your knowledge level.

  5. Florent
    Member
    Posted 4 years ago #

    OK, just found this while looking through the admin menu, in Manage > Files :

    "Note: of course, you can also edit the files/templates in your text editor of choice and upload them. This online editor is only meant to be used when you don’t have access to a text editor or FTP client."

    If my understanding is right, my CHMOD problem will prevent the WP file editor from working, but I can always edit my theme files in my code editor and upload them afterwards. That way I'll leave the default theme untouched.

  6. moshu
    Member
    Posted 4 years ago #

    If you manually change the permissions on any template file - you can edit them through the Theme Editor.
    Creating your own theme folder (on your computer and on the server) and editing it, will leave your default and classic untouched.

  7. Florent
    Member
    Posted 4 years ago #

    OK, got it. Thanks moshu, thanks podz!

  8. amrita_kapur
    Member
    Posted 4 years ago #

    just wondering i had to change the chmod while installing wp can we change it back to the original chmod after installing or do we have to leave it like that?

Topic Closed

This topic has been closed to new replies.

About this Topic