• Resolved nicearma

    (@nicearma)


    I’m working in the DNUI plugin, i trying to test the final version but i’m getting 404 from every file who have more than one folder,
    Example i’m getting 404 from

    plugins/dnui/js/angular/resource/backupResource.js?ver=4.4.1

    But from

    plugins/dnui/js/dnui.js?ver=4.4.1

    I get 200.

    I don’t know if i can have this kind of folders, but in the my computer, in localhost work fine

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator bcworkz

    (@bcworkz)

    So any path deeper than one level into the plugin folder 404s? And only this plugin? Other plugins are fine? Other plugin folders besides dnui/js/?

    Is there a .htaccess file in the plugin folders anywhere? Be sure your FTP client is showing hidden files. Create a hidden test file such as .hidden to be sure you’re seeing everything. (The test file can be empty.) If other plugins have the same issue, also have a look in any folders above the plugin for unusual .htaccess rules, they too can have influence over deeper folders.

    Thread Starter nicearma

    (@nicearma)

    @bcworkz thanks for the help, i sow my problem, it was because i using the localhost in windows, and i put the wp_register_script with backupResource.js and the file is BackupResource.js, so because my production site is linux the lower and uppercase are important.
    In conclusion in windows work fine and in linux not, i fix the problem putting the same file name with the right case in the code

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘404 getting files from plugin’ is closed to new replies.