Title: Error loading scripts(.js/.css) in admin area
Last modified: April 5, 2017

---

# Error loading scripts(.js/.css) in admin area

 *  Resolved [acelio](https://wordpress.org/support/users/acelio/)
 * (@acelio)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/error-loading-scripts-js-css-in-admin-area/)
 * I just installed the plugin and found it great, but I have a big problem of delay
   in loading the panel.
    ⌊printscreen F12 Chrome debug bar⌉
 * Something is wrong with loading scripts into the dashbord area and causing a 
   majour delay in all areas of the dashboard.
    There is a confusion with plugin_path,
   plugin_dir, plugin_url, which created a wrong url (non-existent) to call the 
   files. . I suspect that the error is in using the defined directory variables.
   I set the variables in my wp-config.php
 *     ```
       Define('WP_PLUGIN_DIR', '/home/DOMAIN/public_html/PLUGIN-DIR');
       Define('FTP_PLUGIN_DIR', '/home/DOMAIN/public_html/PLUGIN-DIR/');
       Define('WP_PLUGIN_URL', 'http://SITE-DOMAIN/PLUGIN-DIR');
       ```
   
 * From what i see “The Event Calendar” is using site_url + plugin_path
    And not“
   plugin_url” . tanks – Translated by Google
    -  This topic was modified 9 years, 5 months ago by [acelio](https://wordpress.org/support/users/acelio/).

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [acelio](https://wordpress.org/support/users/acelio/)
 * (@acelio)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/error-loading-scripts-js-css-in-admin-area/#post-8998775)
 * Trying to create events I noticed that the plugin does not work completely.
    
   You can not administer venue or organizers. I will not be able to use this plugin
   or the add-on features until I have a technical opinion. 🙁 I look forward
 *  [Barry](https://wordpress.org/support/users/barryhughes-1/)
 * (@barryhughes-1)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/error-loading-scripts-js-css-in-admin-area/#post-9089388)
 * Hi [@acelio](https://wordpress.org/support/users/acelio/),
 * I’m sorry to hear that.
 * I think in the first instance we’re going to have to review the initial error
   you reported and resolve that. An alternative of course could be to setup a more‘
   conventional’ WordPress installation without custom plugin directories and URLs
   having to be defined, at least until we can figure that one out and deliver a
   fix.
 * Sorry – and thanks for your patience in the meantime.
 *  [Courtney Robertson](https://wordpress.org/support/users/courane01/)
 * (@courane01)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/error-loading-scripts-js-css-in-admin-area/#post-9156984)
 * Hey there! This thread has been inactive for a while so we’re going to go ahead
   and mark it Resolved. Please feel free to open a new thread if any other questions
   come up and we’d be happy to help. 🙂

Viewing 3 replies - 1 through 3 (of 3 total)

 The topic ‘Error loading scripts(.js/.css) in admin area’ is closed to new replies.

 * ![](https://ps.w.org/the-events-calendar/assets/icon-256x256.gif?rev=2516440)
 * [The Events Calendar](https://wordpress.org/plugins/the-events-calendar/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/the-events-calendar/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/the-events-calendar/)
 * [Active Topics](https://wordpress.org/support/plugin/the-events-calendar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/the-events-calendar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/the-events-calendar/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [Courtney Robertson](https://wordpress.org/support/users/courane01/)
 * Last activity: [9 years, 4 months ago](https://wordpress.org/support/topic/error-loading-scripts-js-css-in-admin-area/#post-9156984)
 * Status: resolved