• Hello,
    For 4 hours I’ve been trying to figure out solution to my problem on my own, but I failed.
    I have a file ‘gallery.php’ which I use to generate a gallery content using AJAX request. Unfortunately when I put whatever kind of php function offered by WordPress (like get_posts() etc. I need it to get photos uploaded using wordpress) I get 500 Internal Server Error. And it’s happening with all files – when I open index.php directly in my template directory I also get this error. I tried changing .htaccess file, it looks like this:

    DirectoryIndex index.php 
    
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    Options All -Indexes
    #AddType x-mapp-php5 .php
    #AddHandler x-mapp-php5 .php
    # END WordPress

    If you have any ideas what may be going wrong PLEASE help me and save my day and night 🙂

The topic ‘Server Internal Error ;(’ is closed to new replies.