• Resolved nemo-maritime

    (@nemo-maritime)


    I just upgraded to 2.7 from 2.6.3 and I uploaded the new files to the server. When I go to the site, I get an error. It says – Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/MyRootUser/public_html/wp-config.php on line 56
    What is going on?

Viewing 4 replies - 16 through 19 (of 19 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    nemo-maritime: You don’t want to block access to those, because sometimes your site needs to get in there, into specific files. Some plugins do the same thing.

    If you mean how do I block the indexes, so that you can’t see what plugins I actually have, then all you have to do is to add Options -Indexes to the top of your main .htaccess file.

    Thread Starter nemo-maritime

    (@nemo-maritime)

    Ok, sorry for being so paranoid and all, I might have read too many WP blog security articles, but I was just concerned that if I didnt block them off there could be a big security risk, and most of them said that wp-includes and wp-content should be blocked off. Just being cautious, dont want to be hacked I guess. But thank you for the code provided, that is the main thing I was looking for as when I visited your nice sites wp-includes and such files, it gave me an error. That is what I was looking for so I will try it soon. All I do is put the code you provided on the top of the main .htaccess? I think you pretty much addressed my concerns. Thank you for all of your help.

    Thread Starter nemo-maritime

    (@nemo-maritime)

    One more question. I had a blog I was updating from 2.5 to 2.7, do I just ignore the security key in there and get a new one for 2.7? Or am I supposed to use the one in 2.5

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    You can replace the key’s with new ones at any time. It won’t affect anything, it will just make you “logged out” temporarily, until you log back in.

    Just go here: https://api.www.ads-software.com/secret-key/1.1/

    Then copy and paste that random set of keys into your wp-config file, replacing the old ones.

Viewing 4 replies - 16 through 19 (of 19 total)
  • The topic ‘Upgrading to 2.7 error’ is closed to new replies.