Easy FancyBox
easy-fancybox.css.php not found (5 posts)

  1. Eric McNiece
    Posted 4 years ago #

    Can't figure out why I'm getting a 404 on /wp-content/plugins/easy-fancybox/easy-fancybox.css.php. Anyone else have this issue?

    1. If I rename the file to easy-fancybox.css (removing the .php extension) I can enter the URL in the browser and PHP code shows up. As soon as that .php extension is added, it results in a 404.

    2. I tried removing all the contents of the file and using echo "test";, but got the same result. I've also tried 3. renaming the file to easy-fancybox-css.php, 4. adding the sheet through a manual link instead of wp_enqueue_style, and every combination - no luck. I've also verified the actual location of the file and while I could totally be making a simple typo somewhere, it seems to be in the right place as verified by step 1.

    Any ideas?

    Thanks for your thoughts! :D


  2. Eric McNiece
    Posted 4 years ago #

    Figured out a temp fix: bypassed easy-fancybox.css.php and directly included fancybox/jquery.fancybox-1.3.4.css. Style enqueue function is located on line 429 of easy-fancybox.php.

  3. RavanH
    Plugin Author

    Posted 4 years ago #

    Hi, could you give me a link to your site? Is it hosted in a Windows server maybe? I'd like to figure this out as there should NOT be a 404 on the CSS call.

  4. Eric McNiece
    Posted 4 years ago #

    http://avs.raganadvertising.ca, Apache, php5.3. I'm fairly convinced that this is a one-time random bug - I use your plugin on dozens of sites and have never seen this before. In addition, I'm dealing with 3 or 4 plugins that all want their own lightbox, plus a theme that is doing some pretty freaky JS stuff.

    We've moved past this issue and nobody's really concerned - I know how busy devs can get, so if you don't spot anything crazy don't waste any time here :D

    Thanks for writing back!

  5. RavanH
    Plugin Author

    Posted 4 years ago #

    I see a 404 on http://avs.raganadvertising.ca/wp-content/plugins/easy-fancybox/easy-fancybox.css.php?ver=1.3.4 ... but the file is still there?

    Do you have some kind of security plugin or rules in the .htaccess file that prevent direct access to PHP files inside the plugin folder?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic


No tags yet.