Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Having trouble with 2.8 version

  1. #1
    Thread Starter
    Rookie yahn44's Avatar
    Join Date
    Mar 2009
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Having trouble with 2.8 version

    Hello,

    Having trouble with 2.8 version :

    This appears on the user interface :
    Code:
    Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /homez.68/immobiliD/www/wordpress/annonces-deco/wp-content/themes/classipress/header.php on line 42
    In the Wordpress admin, can't install the breadcrumb admin plugin :
    Code:
    Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /homez.68/immobiliD/www/wordpress/annonces-deco/wp-content/plugins/breadcrumb-navxt/breadcrumb_navxt_admin.php on line 37
    Thanks for your help,

    Yann

  2. #2
    Veteran sonnycool's Avatar
    Join Date
    Mar 2009
    Location
    Malaysia
    Posts
    308
    Thanks
    32
    Thanked 2 Times in 2 Posts

    Re: Having trouble with 2.8 version

    i can install that plugin but having some error code in front page
    Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/wasmy/domains/xxxxxx.com/public_html/wp-content/themes/classipress/header.php on line 42

  3. #3
    Veteran sonnycool's Avatar
    Join Date
    Mar 2009
    Location
    Malaysia
    Posts
    308
    Thanks
    32
    Thanked 2 Times in 2 Posts

    Re: Having trouble with 2.8 version

    after deactivate .... the error msg still there

  4. #4
    Founder dcowgill's Avatar
    Join Date
    Mar 2009
    Location
    San Francisco, CA
    Posts
    1,939
    Thanks
    66
    Thanked 135 Times in 99 Posts

    Re: Having trouble with 2.8 version

    Guys, make sure you go into each ClassiPress options page and save it. This sets up the default values for your site.

    It could also be getting stuck on the table name "wp_posts" which is the default table for your WordPress posts. What pre-fix did you use when setting up your WordPress instance? Make sure this matches the "FROM `wp_posts`" on line 40.

  5. #5
    Founder dcowgill's Avatar
    Join Date
    Mar 2009
    Location
    San Francisco, CA
    Posts
    1,939
    Thanks
    66
    Thanked 135 Times in 99 Posts

    Re: Having trouble with 2.8 version

    Better yet, replace this bit of code on line 40:

    Code:
    FROM `wp_posts`
    with this code

    Code:
    FROM $wpdb->posts
    That should automatically fix it for you. It won't affect ClassiPress customers as long as their WordPress table names start with the default wp_ .

    Regardless, I have patched this in v2.8 so nobody else will have this issue. Thanks for letting me know guys.

  6. #6
    Veteran sonnycool's Avatar
    Join Date
    Mar 2009
    Location
    Malaysia
    Posts
    308
    Thanks
    32
    Thanked 2 Times in 2 Posts

    Re: Having trouble with 2.8 version

    but more issue created after i change the code .....
    All my post become draft after refresh in user page

  7. #7
    Founder dcowgill's Avatar
    Join Date
    Mar 2009
    Location
    San Francisco, CA
    Posts
    1,939
    Thanks
    66
    Thanked 135 Times in 99 Posts

    Re: Having trouble with 2.8 version

    Did you accidentally change any other code around that section or change the prune option within ClassiPress?

  8. #8
    Veteran sonnycool's Avatar
    Join Date
    Mar 2009
    Location
    Malaysia
    Posts
    308
    Thanks
    32
    Thanked 2 Times in 2 Posts

    Re: Having trouble with 2.8 version

    nope ....
    prune day is 0 as standard .....
    0 = unlimited day right ?

  9. #9
    Amateur
    Not a Verified Customer
    winmonaye's Avatar
    Join Date
    Mar 2009
    Location
    San Jose, CA
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Having trouble with 2.8 version

    I forgot my exact error was but I got error when i tried to install Breadcum Admin, My problem solve when I activate "Breadcrumb NavXT - Core" first and then activate Breadcum Admin.

  10. #10
    Founder dcowgill's Avatar
    Join Date
    Mar 2009
    Location
    San Francisco, CA
    Posts
    1,939
    Thanks
    66
    Thanked 135 Times in 99 Posts

    Re: Having trouble with 2.8 version

    Yeah, that plugin is a bit confusing with the install honestly but once it's setup it works quite well! Thanks for sharing your solution.

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)