WordPress.org

Ready to get started?Download WordPress

Forums

Blip Slideshow
Fatal error on require_once (1 post)

  1. Joy
    Member
    Posted 1 year ago #

    Trying to test this plugin on XAMPP localhost test site.
    Nothing shows up so I looked for errors and found this:

    Warning: require_once(C:\Data\xampplite\htdocs\zinnia\wp\wp-content\plugins\blip-slideshow): failed to open stream: Permission denied in C:\Data\xampplite\htdocs\zinnia\wp\wp-content\plugins\blip-slideshow\blip.php on line 762

    Fatal error: require_once(): Failed opening required 'C:\Data\xampplite\htdocs\zinnia\wp\wp-content\plugins\blip-slideshow' (include_path='.;C:\Program Files (x86)\xampplite\php\PEAR') in C:\Data\xampplite\htdocs\zinnia\wp\wp-content\plugins\blip-slideshow\blip.php on line 762

    ---------------
    The code on line 762 is the require_once, but here's a few lines before

    // attempt to talk to WordPress
    	$blog_header_path = preg_replace("/wp-content\/.*/", "wp-blog-header.php", getcwd());
    	if (file_exists($blog_header_path)) {
    		require_once($blog_header_path);
    	}

    How is that supposed to work, to require a directory and not a file?
    Just for completeness, this test site has WordPress in a subfolder, but it controls the main folder.

    http://wordpress.org/extend/plugins/blip-slideshow/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.