Forum

Please consider registering
guest

Log In Register

Register | Lost password?
Advanced Search:

— Forum Scope —



— Match —



— Forum Options —




Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 3 characters - maximum search word length is 84 characters

Topic RSS
Warnings...No such file or directory...
13 May, 2011
5:05 pm
jjm335
Member
Forum Posts: 5
Member Since:
13 May, 2011
Offline

I'm getting these two warnings…anyone know what needs to be change to fix them? Maybe this isn't even an issue?

Warning: include_once(…/PleasantView//wp-includes/kses.php) [function.include-once]: failed to open stream: No such file or directory in …\PleasantView\wp-content\plugins\sermon-browser\sb-includes\admin.php on line 1282

Warning: include_once() [function.include]: Failed opening '…/PleasantView//wp-includes/kses.php' for inclusion (include_path='.;c:\php\5\pear') in …\PleasantView\wp-content\plugins\sermon-browser\sb-includes\admin.php on line 1282

13 May, 2011
5:20 pm
Mark Barnes
Admin
Forum Posts: 425
Member Since:
14 December, 2005
Offline

It looks like this problem is a consequence of you using IIS on a Windows Server, which is not a set-up I can easily test. Try editing line 1281, and removing the first forward slash:
from:

include_once (SB_ABSPATH.'/wp-includes/kses.php');

to

include_once (SB_ABSPATH.'wp-includes/kses.php');
16 May, 2011
3:08 pm
jjm335
Member
Forum Posts: 5
Member Since:
13 May, 2011
Offline

Mark,

Still getting the same error after change…not sure what is happening.

Warning: include_once(/path/PleasantView/wp-includes/kses.php) [function.include-once]: failed to open stream: No such file or directory in \\path\PleasantView\wp-content\plugins\sermon-browser\sb-includes\admin.php on line 1282

Warning: include_once() [function.include]: Failed opening '/path/PleasantView/wp-includes/kses.php' for inclusion (include_path='.;c:\php\5\pear') in \\path\PleasantView\wp-content\plugins\sermon-browser\sb-includes\admin.php on line 1282

The kses.php file looks to be at that path so I don't understand what is going on…

-Jonah

16 May, 2011
11:55 pm
Mark Barnes
Admin
Forum Posts: 425
Member Since:
14 December, 2005
Offline

Can you try editing that line to say

include_once (ABSPATH.'wp-includes/kses.php');

instead of

include_once (SB_ABSPATH.'wp-includes/kses.php');
17 May, 2011
3:07 pm
jjm335
Member
Forum Posts: 5
Member Since:
13 May, 2011
Offline

Thanks for getting back to me Mark, that worked. Is it because I'm running IIS? I also did the upgrade this morning and it blew up, site was down and couldn't get into admin. No big deal, I just rolled back but dumb me I didn't copy the error message to get to you. I'll try the upgrade tonight and send you the error message.

This sermon browser is awesome man, this is REALLY a nice thing to have.

-Jonah

18 May, 2011
1:20 am
jjm335
Member
Forum Posts: 5
Member Since:
13 May, 2011
Offline

Mark,

Here is the error I get on my homepage when I do the upgrade to the newest version:
Fatal error: require() [function.require]: Failed opening required '/boswinfs02/home/users/web/b2048/ez.001pv003/PleasantView/wp-content/plugins/sermon-browser/sb-includes/frontend.php' (include_path='.;c:\php\5\pear') in \\boswinfs02\home\users\web\b2048\ez.001pv003\PleasantView\wp-content\plugins\sermon-browser\sermon.php on line 252

Nothing seems to work once upgraded.

18 May, 2011
11:07 pm
Mark Barnes
Admin
Forum Posts: 425
Member Since:
14 December, 2005
Offline

jjm335,
Can you edit sermon.php, and scroll right to the end. The comment out the following two lines, from this:

$path = str_replace('\\','/',$path);
$path = preg_replace('|/+|','/', $path);

to this

//$path = str_replace('\\','/',$path);
//$path = preg_replace('|/+|','/', $path);
19 May, 2011
8:19 pm
jjm335
Member
Forum Posts: 5
Member Since:
13 May, 2011
Offline

I'll try that tonight Mark, thanks! Is this an IIS issue that I'm having?

19 May, 2011
9:30 pm
Mark Barnes
Admin
Forum Posts: 425
Member Since:
14 December, 2005
Offline

SermonBrowser does work with IIS (normally). The problem is more than your server seems to be set up to use a Windows network share. So instead of your path starting with d:\boswinfs02\whatever, it's starting with \\boswinfso2\whatever

That's not something I've seen before and its confusing the script. Commenting out the two lines will remove some code that might interfere with WordPress recognising the path. Ironically, the two lines you'll be commenting out, were added in to try and improve IIS compatibility!

17 February, 2012
11:24 pm
RPW
New Member
Forum Posts: 1
Member Since:
18 February, 2012
Offline
10

Had an identical problem after upgrading wordpress today and trawled through the php for far too long, trying out different fixes.

Come here and find I only need to comment out two lines! Brilliant!

 

Thanks for support and a great plugin

Forum Timezone: Europe/London

Most Users Ever Online: 40

Currently Online:
16 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

malpan: 2453

jogen: 2440

VanWatterson: 652

GeraldSebring: 364

LucasWoltman: 362

RandellFeenstra: 362

Member Stats:

Guest Posters: 7

Members: 2066

Moderators: 1

Admins: 1

Forum Stats:

Groups: 1

Forums: 2

Topics: 1071

Posts: 4045

Newest Members: Nixon Designs, zolaperry, tanec69, lbakyl, richdorm, Aaron Velasquez

Moderators: Ben Miller (387)

Administrators: Mark Barnes (425)

Comments are closed.