[resolved] 3.5 upgrade pages != home page give error 403 (6 posts)

  1. nubro01
    Posted 2 years ago #

    I upgraded both my test websites to 3.5. Upgrade went fine, besides the problems I had with the temp file, when I tried to upgrade the themes and plugins. After I fixed this by adding define('WP_TEMP_DIR', '/tmp');
    to my wp-config.php, I started the website, by going to the Home page.
    This went fine, but now any page that I select gives me a Error 403.
    I removed all files except my child thme folder and wp_config and copied the 5.3 files again, but the error stil happens, except for the home page.
    Any idea?

    Runinng Server 2008
    PHP 5.4 (see http://www.nl1106.eu/info.php)


  2. nubro01
    Posted 2 years ago #

    When I change my permalinks to standard then all works just fine.

    Any other permalink format gives the error 403

  3. nubro01
    Posted 2 years ago #

    I have a 3rd website, which is not updated yet to WP3.5 and still on 3.4.2. It now also has the same behaviour as those on 3.5, so this has nothing to do with my upgrade to 3.5!
    In the past few days I have been trying to make my first PHP program. In the beginning I was unsuccesfull, because I used the examples I found and these examples all used mssql as driver, while I use the sqlsrv driver from Microsoft. After I switched on display_error within php.ini, I finally saw what was happening. So I adjusted my functions calls and got my first php program to work.
    However I must have changed someting within php.ini that probably is causing this permalink behaviour.

    Anybody who can give me a hint? In the meanwhile I'll reread everything I can find on how permalinks work.

  4. nubro01
    Posted 2 years ago #

    I must add that with all my WP sites, I first got the following error
    Fatal error: Call-time pass-by-reference has been removed in D:\inetpub\wwwroot\mywebsite\wp-content\plugins\add-from-server\class.add-from-server.php on line 137

    I resolved this by removing the & and I was able to go to wp-admin
    I'll reread what I found on this and hopefully find the reason why this suddenly happened and why. Must also be the cause of my permalink problem.

  5. nubro01
    Posted 2 years ago #

    Found it!

    The above Fatal error showed, after I changed html_errors = Off to On within php.ini.

    After I switched it back to off, all my Permalinks worked again.

  6. nubro01
    Posted 2 years ago #

    The above is not completely true, it was the solution to the fatal error, but it was not the cause of my Permalinks getting corrupted.
    I also installed the latest Joomla 3.02 a couple of weeks ago and that placed two URL rewrite rules within my IIS 7 setup!
    I had not noticed the permalinks to be broken, because I probably did not restart my IIS7 until a few days ago!
    After I disabled both rules, all was fine. Still wonder why precisely things went wrong and how to fix.

Topic Closed

This topic has been closed to new replies.

About this Topic