Title: [Plugin: Content Warning] Version: 2.4.7
Last modified: August 20, 2016

---

# [Plugin: Content Warning] Version: 2.4.7

 *  [I Declare MultiMedia](https://wordpress.org/support/users/m4declare1/)
 * (@m4declare1)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-content-warning-version-247/)
 * Not working!
    Warning: include(lib/ajax.inc.php) [function.include]: failed to
   open stream: No such file or directory in
 * Warning: include() [function.include]: Failed opening ‘lib/ajax.inc.php’ for 
   inclusion (include_path=’.:/usr/local/php5_3/lib/php’) in
 * [http://wordpress.org/extend/plugins/content-warning-v2/](http://wordpress.org/extend/plugins/content-warning-v2/)

Viewing 15 replies - 1 through 15 (of 22 total)

1 [2](https://wordpress.org/support/topic/plugin-content-warning-version-247/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/plugin-content-warning-version-247/page/2/?output_format=md)

 *  [80bit](https://wordpress.org/support/users/80bit/)
 * (@80bit)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-content-warning-version-247/#post-2618141)
 * Also getting the issue. Tried adding the old ajax.php into the lib folder, and
   renamed it to ajax.inc.php. Noob move. Doesnt work of course. 🙂 Just posting
   here so i get followups.
 *  [ThorsDad](https://wordpress.org/support/users/thorsdad/)
 * (@thorsdad)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-content-warning-version-247/#post-2618163)
 * Not working here either. I’ve gone back to the previous version.
 * This appears on the header of my site after upgrading to 2.4.7
 * Warning: include(lib/ajax.inc.php) [function.include]: failed to open stream:
   No such file or directory in /usr/home/photoenv/public_html/wordpress/wp-content/
   plugins/content-warning-v2/main.php on line 23
 * Warning: include() [function.include]: Failed opening ‘lib/ajax.inc.php’ for 
   inclusion (include_path=’.:/usr/local/share/pear’) in /usr/home/photoenv/public_html/
   wordpress/wp-content/plugins/content-warning-v2/main.php on line 23
 * Warning: session_start() [function.session-start]: Cannot send session cookie–
   headers already sent by (output started at /usr/home/photoenv/public_html/wordpress/
   wp-content/plugins/content-warning-v2/main.php:23) in /usr/home/photoenv/public_html/
   wordpress/wp-content/plugins/si-contact-form/si-contact-form.php on line 1931
 * Warning: session_start() [function.session-start]: Cannot send session cache 
   limiter – headers already sent (output started at /usr/home/photoenv/public_html/
   wordpress/wp-content/plugins/content-warning-v2/main.php:23) in /usr/home/photoenv/
   public_html/wordpress/wp-content/plugins/si-contact-form/si-contact-form.php 
   on line 1931
 *  [Jay](https://wordpress.org/support/users/phyrax/)
 * (@phyrax)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-content-warning-version-247/#post-2618223)
 * Grr… this always happens when I add a new file 🙁 You guys will have a patch 
   by midnight…. I don’t know why it’s not working but the include issue is annoying
   lol. Simple inclusion issue, I forgot to check the box on SVN… gahhhhh
 *  [Jay](https://wordpress.org/support/users/phyrax/)
 * (@phyrax)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-content-warning-version-247/#post-2618224)
 * Updated and working, sorry guys I need to get used to checking that in the SVN
   before I commit lol. Anyhow it’s fixed and proven to work. However, I did remove
   some “default” values from the enter/exit texts. So you will have to go to the
   admin panel and add that text back.
 *  Anonymous User 9105421
 * (@anonymized-9105421)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-content-warning-version-247/#post-2618249)
 * Thanks Jerry,
 * conflict is solved. Strange thing that now however happens on my configuration
   is that the plugin version 2.4.8 does not load. I have .htaccess password protected
   wp-admin folder and with new version of plugin only get the prompt for password
   to gain acces to the protected folder. No “warning screen” that does not seem
   to load without access to wp-admin.
 * Any idea?
 * Further only small typo ‘bug’ on the ‘Denial’ tab 😉 ‘If you everY have…’
 * At least you get some feedback when things do not work.
 *  Thread Starter [I Declare MultiMedia](https://wordpress.org/support/users/m4declare1/)
 * (@m4declare1)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-content-warning-version-247/#post-2618252)
 * Thanks Jerry conflict is solved
 *  [ThorsDad](https://wordpress.org/support/users/thorsdad/)
 * (@thorsdad)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-content-warning-version-247/#post-2618253)
 * 2.4.8 isn’t working for me. I don’t get any warning screen. Going back to 2.4.6
   makes everything work fine.
 *  [Jay](https://wordpress.org/support/users/phyrax/)
 * (@phyrax)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-content-warning-version-247/#post-2618277)
 * Damsko:
    This may be due to the new Ajax using admin-ajax. I could be wrong but
   I’ll look into it.
 * Thor:
    I guess what I’ll be doing is downloading the uploaded version to test
   it against the actual development version. I’ll set the stable tag back to 2.4.6
   until I can figure out why its so buggy. I honestly didnd change much except 
   the new Ajax file so I’ll start there first.
 * Guys I sincerely appreciate all the feedback it helps more than you know.
 *  Anonymous User 9105421
 * (@anonymized-9105421)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-content-warning-version-247/#post-2618283)
 * When new version uses admin-ajax.php from wp-admin folder then that explains 
   why i get the password prompt.
 * Would it be possible not to use any files from wp-admin folder?
 * I think i will not want to give up my wp-admin folder protection in order to 
   run the content warning.
 * Also back to version 2.4.6.
 * Thanks for looking into it.
 *  [Jay](https://wordpress.org/support/users/phyrax/)
 * (@phyrax)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-content-warning-version-247/#post-2618297)
 * Damsko:
    What I meant to say was that it uses wp-admin/admin-ajax.php, still 
   the same but just making sure we’re on the same page.
 * I’ll have a look into a work around and see what I can do.
 *  Anonymous User 9105421
 * (@anonymized-9105421)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-content-warning-version-247/#post-2618299)
 * Hi Jerry,
 * we are on same page. File is wp-admin/admin-ajax.php.
 * Visitors to my site are not allowed to access that.
 * When there is work around not to use anything within the wp-admin folder it would
   be useful for me. Then i could keep the plugin updated.
 * I might also not be the only one that restricts access to wp-admin.
 *  [Jay](https://wordpress.org/support/users/phyrax/)
 * (@phyrax)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-content-warning-version-247/#post-2618307)
 * Yea I was thinking of that, I know I was also thinking of blocking my wp-admin
   with .htaccess
 * [EDIT]
    Worst case, I’ll still include the old ajax file and give you the option
   of using it or the new one in the admin panel.
 *  [Jay](https://wordpress.org/support/users/phyrax/)
 * (@phyrax)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-content-warning-version-247/#post-2618309)
 * Hey thor, would you care to clear your cache and see if that’s the cause? I think
   your issue may be related to a cached version of the javascript file.
 *  [ThorsDad](https://wordpress.org/support/users/thorsdad/)
 * (@thorsdad)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-content-warning-version-247/#post-2618315)
 * [@jerry](https://wordpress.org/support/users/jerry/): I upgraded to 2.4.8 and
   cleared the cache on my browser. I now have no content warning screen. To be 
   sure I went to a computer with a fresh install of Windows and installed Firefox
   for the first time. Still no content warning.
 *  Thread Starter [I Declare MultiMedia](https://wordpress.org/support/users/m4declare1/)
 * (@m4declare1)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-content-warning-version-247/#post-2618349)
 * **UPDATE: I take that back….It’s NOT working! There still a BIG conflict with
   this update!**
 * _(Thanks Jerry conflict is solved)

Viewing 15 replies - 1 through 15 (of 22 total)

1 [2](https://wordpress.org/support/topic/plugin-content-warning-version-247/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/plugin-content-warning-version-247/page/2/?output_format=md)

The topic ‘[Plugin: Content Warning] Version: 2.4.7’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/content-warning-v2_9968c9.svg)
 * [Agy - Age verification for WooCommerce](https://wordpress.org/plugins/content-warning-v2/)
 * [Support Threads](https://wordpress.org/support/plugin/content-warning-v2/)
 * [Active Topics](https://wordpress.org/support/plugin/content-warning-v2/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/content-warning-v2/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/content-warning-v2/reviews/)

 * 22 replies
 * 5 participants
 * Last reply from: Anonymous User 9105421
 * Last activity: [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-content-warning-version-247/page/2/#post-2618415)
 * Status: not resolved