Results 1 to 9 of 9

Thread: Wordpress Integration Errors

  1. #1
    Join Date
    Jun 2008
    Posts
    65

    Default Wordpress Integration Errors

    I have installed Wordpress and activated the plugin. Now there are these errors (see below) in the header and I cannot access my admin... admin as same errors.

    Does anyone know how I can fix this?


    Warning: include(legalwp-config.php) [function.include]: failed to open stream: No such file or directory in /home/lawspace/public_html/lawyers/plugin/idx_to_wordpress/idx2wordpress.php on line 32

    Warning: include(legalwp-config.php) [function.include]: failed to open stream: No such file or directory in /home/lawspace/public_html/lawyers/plugin/idx_to_wordpress/idx2wordpress.php on line 32

    Warning: include() [function.include]: Failed opening 'legalwp-config.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/lawspace/public_html/lawyers/plugin/idx_to_wordpress/idx2wordpress.php on line 32

    Warning: include(legalwp-includes/pluggable.php) [function.include]: failed to open stream: No such file or directory in /home/lawspace/public_html/lawyers/plugin/idx_to_wordpress/idx2wordpress.php on line 33

    Warning: include(legalwp-includes/pluggable.php) [function.include]: failed to open stream: No such file or directory in /home/lawspace/public_html/lawyers/plugin/idx_to_wordpress/idx2wordpress.php on line 33

    Warning: include() [function.include]: Failed opening 'legalwp-includes/pluggable.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/lawspace/public_html/lawyers/plugin/idx_to_wordpress/idx2wordpress.php on line 33

    Warning: mysql_connect() [function.mysql-connect]: Unknown MySQL server host 'DB_HOST' (1) in /home/lawspace/public_html/lawyers/lib/db.class.php on line 20

    Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /home/lawspace/public_html/lawyers/lib/db.class.php on line 22

    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/lawspace/public_html/lawyers/plugin/idx_to_wordpress/idx2wordpress.php:32) in /home/lawspace/public_html/lawyers/filters/filter.start_session.php on line 15Warning: include(legalwp-config.php) [function.include]: failed to open stream: No such file or directory in /home/lawspace/public_html/lawyers/plugin/idx_to_wordpress/idx2wordpress.php on line 32

    Warning: include(legalwp-config.php) [function.include]: failed to open stream: No such file or directory in /home/lawspace/public_html/lawyers/plugin/idx_to_wordpress/idx2wordpress.php on line 32

    Warning: include() [function.include]: Failed opening 'legalwp-config.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/lawspace/public_html/lawyers/plugin/idx_to_wordpress/idx2wordpress.php on line 32

    Warning: include(legalwp-includes/pluggable.php) [function.include]: failed to open stream: No such file or directory in /home/lawspace/public_html/lawyers/plugin/idx_to_wordpress/idx2wordpress.php on line 33

    Warning: include(legalwp-includes/pluggable.php) [function.include]: failed to open stream: No such file or directory in /home/lawspace/public_html/lawyers/plugin/idx_to_wordpress/idx2wordpress.php on line 33

    Warning: include() [function.include]: Failed opening 'legalwp-includes/pluggable.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/lawspace/public_html/lawyers/plugin/idx_to_wordpress/idx2wordpress.php on line 33

    Warning: mysql_connect() [function.mysql-connect]: Unknown MySQL server host 'DB_HOST' (1) in /home/lawspace/public_html/lawyers/lib/db.class.php on line 20

    Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /home/lawspace/public_html/lawyers/lib/db.class.php on line 22

    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/lawspace/public_html/lawyers/plugin/idx_to_wordpress/idx2wordpress.php:32) in /home/lawspace/public_html/lawyers/filters/filter.start_session.php on line 15

  2. #2
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    You have incorrect paths entered somewhere, fix them and the errors should go away.

    For example, Warning: include(legalwp-config.php) is a combination of wp-config.php which is the wordpress database configuration data file and legal which is probably part of your home path.

    That is not correct, as your home path is /home/lawspace/public_html/lawyers/

  3. #3
    Join Date
    Jun 2008
    Posts
    65

    Default

    OK great! got it integrated (or at least the errors are gone). How do I make the blog appear in IndexU? Do I have to add some code into the template somewhere?

  4. #4
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    Add an RSS feed to your index (or browse) just like you would for the yahoo or searchenginewatch rss feed, but use the wordpress rss url instead.

  5. #5
    Join Date
    Jun 2008
    Posts
    65

    Default

    Can you please let me know how to do this.

  6. #6
    Join Date
    May 2007
    Location
    NJ, United States
    Posts
    1,651

    Default

    Quote Originally Posted by Bruceper View Post
    Add an RSS feed to your index (or browse)
    Edit /<your_theme>/index.html. Find the code that has the Yahoo or SearchEngine Watch RSS feed URL and replace it with your blog's RSS feed URL.
    FSGDAG | IndexU Hosting | Owner
    Website | NiceCoder Script Hosting and More! | Web4URL is For Sale!
    Follow Us On Twitter | FaceBook Profile | YouTube Videos

  7. #7
    Join Date
    Sep 2005
    Posts
    14

    Default

    I know the plugins system is new, but getting these types of errors when activating the plugin is very scary for people who don't realize what happened. It shouldn't "break" your directory by putting in an incorrect path during setup. I personally am not very inclined to try any new plugins knowing that one mistype on installation and I have a chance to break the whole script and have to spend time backtracking to figure out what went wrong. If possible, the plug-ins should operate (or fail to operate) separately from the core script. I don't even know if that is possible, but from the perspective of a user, the plug-ins system is not user friendly.

  8. #8
    Join Date
    May 2007
    Location
    NJ, United States
    Posts
    1,651

    Default

    While I agree with the premise that a plugin shouldn't break the entire site when activating it... It goes to the premise of having two things

    1 - BACKUPS before adding anything new to the site

    2 - Having a test bed when introducing new changes to test first before doing it on a production site.

    Having a test bed site isn't all that hard. You can do it locally and even create a subdomain using the same database.
    FSGDAG | IndexU Hosting | Owner
    Website | NiceCoder Script Hosting and More! | Web4URL is For Sale!
    Follow Us On Twitter | FaceBook Profile | YouTube Videos

  9. #9
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    If possible, the plug-ins should operate (or fail to operate) separately from the core script.
    The function of a plugin, it to plug into the core code and integrate itself. It can't operate seperately if it's trying to do this.

    While I agree an incorrect path shouldn't cause those issues, and have been asking for error checking in these regards, users should also take caution to ensure paths are correct and that they have current backups in at least two physically seperate locations.

Similar Threads

  1. Wordpress Integration
    By sitiopt in forum INDEXU DELUXE v1.x
    Replies: 6
    Last Post: 02-06-2009, 12:02 PM
  2. WordPress Integration
    By linksor.com in forum v5.x
    Replies: 3
    Last Post: 08-18-2008, 09:09 AM
  3. Wordpress integration mod - show complete most recent post
    By twomiracles in forum Blocks and Modification
    Replies: 8
    Last Post: 02-09-2008, 09:28 PM
  4. help installing wordpress
    By mainman in forum Website development, hosting and promotion
    Replies: 8
    Last Post: 10-03-2007, 10:03 AM
  5. wordpress integration
    By toppocket in forum Blocks and Modification
    Replies: 3
    Last Post: 08-06-2006, 07:59 PM

Posting Permissions

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