• Hi Stephen,

    I am using the latest version of Event Organiser and WP 3.3.2.

    I moved my wp install’s index.php up from a folder /wp to the root directory.

    Everything except Event Organiser is working fine. Event Organiser loads fine on my front page, but its monthly navigation is no longer working.

    I have gone through all other plugins installed and deactivated them.

    It was definitely working before the move. So, I am guessing this is the ‘root’ cause of the problem 🙂

    I am guessing the absolute path needs changing in event-organiser.php, but I’m not sure what way to do this. Also, there is probably no way to do this and still be able to upgrade without a manual intervention 🙁
    Also, there are probably database references to be changed as well?

    I presume I need to change something here:

    /**
    * Defines the plug-in directory url
    *
    *
    url:http://mysite.com/wp-content/plugins/event-organiser
    */
    define(‘EVENT_ORGANISER_URL’,plugin_dir_url(__FILE__ ));

    /**
    * Defines the plug-in directory path
    *
    * /home/mysite/public_html/wp-content/plugins/event-organiser
    */
    define(‘EVENT_ORGANISER_DIR’,plugin_dir_path(__FILE__ ));

    /**
    * Defines the plug-in language directory relative to plugins
    *
    * event-organiser/languages
    */
    define(‘EVENT_ORGANISER_I18N’,basename(dirname(__FILE__)).’/languages’);

    /**

    Many Thanks,
    Anthony

    http://wordpress.org/extend/plugins/event-organiser/

Viewing 1 replies (of 1 total)
  • Hi Anthony- this shouldn’t be the route cause of the issue, since using plugin_dir_url and plugin_dir_path is the correct way of get the plug-in’s path/url.

    EO only uses to load scripts and to locate the template files (if the plug-in defaults are being used).

    You might want to check first if the javascript files are being loaded by checking your browser’s console. This is probably what is causing the error (and that *may* be because WP can no longer find them).

Viewing 1 replies (of 1 total)

The topic ‘Event Organiser Navigation doesn't work after move’ is closed to new replies.