Submit Your Article Forum Rules

Results 1 to 3 of 3

Thread: Help About plugin

  1. #1
    Junior Member
    Join Date
    Feb 2011
    Posts
    3

    Help About plugin

    i am new on this forum so that no body know me but hope that i will get the answer of my problem

    i am installing wordpress plugin "all in one seo" but when i install following error occured.plz help me how to solve this problem


    Plugin could not be activated because it triggered a fatal error

    Warning: main(C:\inetpub\vhosts\enjoypaki.com\httpdocs\movi es/wp-content/plugins/all-in-one-seo-pack/aioseop.class.php) [function.main]: failed to open stream: No such file or directory in C:\inetpub\vhosts\enjoypaki.com\httpdocs\movies\wp-content\plugins\allinoneseo\all_in_one_seo_pack.ph p on line 488

    Fatal error: main() [function.require]: Failed opening required 'C:\inetpub\vhosts\enjoypaki.com\httpdocs\movies/wp-content/plugins/all-in-one-seo-pack/aioseop.class.php' (include_path='.;./includes;./pear') in C:\inetpub\vhosts\enjoypaki.com\httpdocs\movies\wp-content\plugins\allinoneseo\all_in_one_seo_pack.ph p on line 488

  2. #2
    Administrator weegillis's Avatar
    Join Date
    Oct 2003
    Posts
    5,785
    Question: Are you attempting to run the plug-in locally (on your own hard drive) as a pre-flight check? We can see lots of DOS syntax in there. (C:\, etc.).

    Web protocol URL's use only forward slashes ('/') as path separators.

    The first possible error that comes to mind is the path to your includes files. Any erroneous characters (such as ';') are going to throw errors, as will pointing to the wrong path.

  3. #3
    WebProWorld MVP ronniethedodger's Avatar
    Join Date
    Aug 2003
    Posts
    1,402
    The path is not needed in this case. The path is in a constant Url within the plugin, and should be correct since it is used and the definition did not fail. The line of offending code is:

    Code:
    if ( ! defined( 'WP_CONTENT_URL' ) )
        define( 'WP_CONTENT_URL', get_option( 'siteurl' ) . '/wp-content' );
    if ( ! defined( 'WP_CONTENT_DIR' ) )
        define( 'WP_CONTENT_DIR', ABSPATH . 'wp-content' );
    if ( ! defined( 'WP_PLUGIN_URL' ) )
        define( 'WP_PLUGIN_URL', WP_CONTENT_URL. '/plugins' );
    if ( ! defined( 'WP_PLUGIN_DIR' ) )
        define( 'WP_PLUGIN_DIR', WP_CONTENT_DIR . '/plugins' );
    
    require_once( WP_PLUGIN_DIR . '/all-in-one-seo-pack/aioseop.class.php');
    We can rule out other path errors since wordpress is up and running.

    The path and filename in the error looks valid. So the file must be missing.

    I would delete the plugin and reinstall it.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •