WordPress.org

Support

Support » Plugins and Hacks » easy-fancybox.css.php not found

easy-fancybox.css.php not found

  • 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! 😀

    http://wordpress.org/extend/plugins/easy-fancybox/

Viewing 4 replies - 1 through 4 (of 4 total)
  • 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.

    Plugin Author RavanH

    @ravanh

    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.

    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 😀

    Thanks for writing back!

    Plugin Author RavanH

    @ravanh

    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?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘easy-fancybox.css.php not found’ is closed to new replies.