• Resolved redsetter

    (@redsetter)


    Hi I am having trouble running wordpress successfully. I am doing a new install on a new server hosting plan. The Server set is “The Linux Web hosting packages offer a feature full development platform based on CentOS Enterprise Linux, Apache Web server and supporting PHP and Perl”

    All files are put into a folder called public_html. This is a new set up with this server and I wonder could this be the problem as I have used wordpress before but always loaded the files into the root directory or if a subdirectory I would set that in the database. this is not really a subdirectory as this is how the server is set up to find the index of the siteURL

    Things that are happening
    I can do all the 5 step install and activate the site enter basic info go to login page but first after login I get a 500 Internal Server error.

    When I check my files uploaded on the server I do not see my .htaccess file
    nb I do ‘check for hidden files’ on my ftp program (fetch)

    So I create the .htaccess file with this code in it

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

    I can then login but the front end home page of wordpress loads and with any other edit command the address changes at the top in the address bar but the frontend home page reloads

    Is this the problem, I don’t know .htaccess or what it does but the server peeps suggested that might be redirecting stuff?

    I Keep getting redirected to the wordpress home page ‘This is just another wordpress blog’. If i choose edit or any of the options on that page the address in the address bar goes to that request but wordpress front page home page reloads.

    I initially tried version 3.1 and this happened so i tried 3.0.5 but it still happened. I then installed 3.0.0 same process same thing happened. For all these different installs I have completely uninstalled wordpress and deleted database and user. I have installed the 3.1 download on a MAMP set up on my own computer(mac) and it works fine.

    I’m on day 3 of the famous ‘5 minute install’ must be in a bit f a time warp here!

    cheers for any help

Viewing 3 replies - 16 through 18 (of 18 total)
  • Thread Starter redsetter

    (@redsetter)

    Hi thanks to all who helped with this. It was indeed a server security feature. I have posted the resolve emailed to me from my hosting company. Now…a website to build

    thanks again

    The issue was because Sushosin (a security feature) is enabled which was confliciting with a line of code in admin.php. WordPress version 3 has an ini_set in admin.php which tries to change the php memory allocation, suhosin doesn’t allow this and as a result the server error was displayed.

    The solution was to add ini_set to Safe Mode disable_functions in the php configuration which solves the issue while also increasing security. No harm to add the solution to your WordPress forum post as it could help others,

    redsetter,

    Sushosin is a new disaster, seems to be. I’ve never ever encountered problems related to it, but now it’s a second time here at wordpress forum. From now on I’ll remember to check for this software if 500 error occures.

    I am experiencing the same problem. Where do I find the Safe Mode disable_functions in the php configuration? Once I find it, where do I put the ini_set?

Viewing 3 replies - 16 through 18 (of 18 total)
  • The topic ‘After Installation / login can only see front end Home page (.htaccess?)’ is closed to new replies.