• Resolved agruenke

    (@agruenke)


    I have my website https://facialskelowna.com the site is running spasalon theme… the site functions properly except the blog page when i click on any of the blog posts to see more… i get a 500 server error.

    I have checked and all my links are correct. I get this same error even on the backend on the post pages when trying to view post that is saved.

    https://facialskelowna.com/blog/ this is very frustrating. Please help me to solve this problem. I am not sure if it is a theme issue or a database issue. either way i would appreciate a solution.

    Thanks
    Aaron

Viewing 9 replies - 1 through 9 (of 9 total)
  • Check the .htaccess file.

    Thread Starter agruenke

    (@agruenke)

    what should i be looking for in the htaccess file that is wrong?

    here is what i have

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

    # END WordPress

    <IfModule mod_security.c>
    SecFilterEngine Off
    SecFilterScanPOST Off
    </IfModule>

    by the way i tried disabling all plugins and still same problem

    save current .htaccess file somewhere.
    in notepad make a new file and rename it .htaccess
    replace your old .htaccess file with the one you just created.
    this might help you.

    Thread Starter agruenke

    (@agruenke)

    it had no effect. I replaced the htaccess file with a standard file and it made no difference.

    Any other suggestions?

    Did you tried to change your permalinks?

    Thread Starter agruenke

    (@agruenke)

    yes i did and that did nothing

    Thread Starter agruenke

    (@agruenke)

    i only have problem with blog posts… all other pages are fine

    Hi @agruenke

    Let me know
    How did you create blog template .

    Thanks
    Atul

    Thread Starter agruenke

    (@agruenke)

    ok i found the problem at first i was thinking it was a database problem

    I was lost at first on the tables – because that most of this 4.4 upgrades issues reported and also the plesk permission on dirs, Digging deeper -the issue was on the theme spasalon on file single.php w/ 2 errors

    AH01215: PHP Parse error: syntax error, unexpected ‘?’ in /var/www/vhosts/facialskelowna.com/httpdocs/wp-content/themes/spasalon/single.php on line 15

    AH01215: PHP Parse error: syntax error, unexpected ‘endif’ (T_ENDIF) in /var/www/vhosts/facialskelowna.com/httpdocs/wp-content/themes/spasalon/single.php on line 17

    hope that helps some of you….

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Blog Post generating 500 server error’ is closed to new replies.