• After upgrading to version 1.0 I noticed 404 errors for /wp-content/plugins/wp-crm/third-party/jquery.smookie.js. Looking at the filesystem I saw that the correct location was /wp-content/plugins/wp-crm/lib/third-party/jquery.smookie.js, and that this seemd to be what was being registered in /wp-content/plugins/wp-crm/lib/class_core.php via the call to ud_get_wp_crm()->path() however inspecting that function shows that it has a preg_replace() that explicitly removes /lib and /classes from the path, thus resulting in the 404. Commenting out this line will allow the proper path to be used and the file can be loaded. Because this seemed to be done explicitly, I had a couple of questions…

    1 – Will commenting out this line cause any issues? If so what is the best way to resolve the 404 error?
    2 – Is it necessary to load these scripts on the client side or can they be limited to the wp-admin?

    Thanks!

    https://ww.wp.xz.cn/plugins/wp-crm/

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

The topic ‘404 error for jquery.smookie.js’ is closed to new replies.