hooks.php problem

24 views
Skip to first unread message

markmapstone

unread,
Jul 14, 2014, 7:16:46 AM7/14/14
to press...@googlegroups.com
Hi there. 

I've just updated today and killed my site resulting in this error: 

Warning: require(/home/crediblebooks/books.credibleink.com/wp-content/plugins/pressbooks/includes/pb-media.php): failed to open stream: No such file or directory in /home/crediblebooks/books.credibleink.com/wp-content/plugins/pressbooks/hooks.php on line 21

Fatal error: require(): Failed opening required '/home/crediblebooks/books.credibleink.com/wp-content/plugins/pressbooks/includes/pb-media.php' (include_path='.:/usr/local/lib/php:/usr/local/php5/lib/pear') in/home/crediblebooks/books.credibleink.com/wp-content/plugins/pressbooks/hooks.php on line 21

What have I done, and how can I fix it? :/ 

thanks - Mark

bdolor

unread,
Jul 14, 2014, 10:26:28 AM7/14/14
to press...@googlegroups.com
Hi Mark,

hooks.php on line 21 is trying to include a file `pb-media.php` that either isn't there, or has permissions that prevents the web server from reading it. The way to fix it is to put the file `pb-media.php` in the /includes directory or, if it is there, then change the permissions on the file.  

Brad.
Reply all
Reply to author
Forward
0 new messages