Support » Fixing WordPress » Problems after upgrade – Cannot map GET

  • I’ve used in several jQuery scripts now, and it all works fine. But after upgrading to WordPress 3.0, it stoped working.

    I’m working on a plugin where I hve the following jQuery code:

    //Delete event and remove from UI
    jQuery("#eventList .cancelEvent").live('click', function() {"/wp-content/plugins/wp-eventcal/myfile.php", { instance: 'cancelEvent' },
        alert('test');  // Never fires because 404 File Not Found

    Firebug reports a ‘404 File not found’ error. This is the link:

    If I copy the link and paste it into my browser, the page opens just fine. No ‘404 File not found’ error.

    Looking at my Apache error log, I see the following error:

    Cannot map GET
    /wp-content/plugins/I:/Development/wamp/www/norwegianfashion/wp-content/themes/norwegianfashion/images/icon.png HTTP/1.1 to file,

    This is my Apache config:

    NameVirtualHost localhost
    <VirtualHost localhost>
        ServerName localhost
        DocumentRoot "I:/Development/wamp/www/"
    <VirtualHost localhost>
        DocumentRoot I:\Development\wamp\www\mysite

    Could this have something to do with my Rewrite rule in my .htaccess file?

    # 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]
    # END WordPress
Viewing 1 replies (of 1 total)
  • Ok, I have narrowed it down to this.

    I only get the problem when I turn on custom Permalink using /%category%/%postname%.

    If I use default permalink, all works fine.

    I’ve made sure to have the following in my Apache config file:

    LoadModule rewrite_module modules/
    <Directory />
        Options FollowSymLinks
        AllowOverride All

    So again, could it be my .htaccess file?

Viewing 1 replies (of 1 total)
  • The topic ‘Problems after upgrade – Cannot map GET’ is closed to new replies.