• Resolved Coschal

    (@coschal)


    Thank you for your widget.

    I typed 4 manuel quotes, with author and Group. I didn’t type any date because I want this quotes to be always displayed.
    I checked the option “Use only Free_Quotation – display random quotes from database”.

    Now following text appears on my website instead of the quotes :

    Warning: mysqli_connect() [function.mysqli-connect]: (HY000/2005): Unknown MySQL server host ‘localhost:3306’ (0) in /home/httpd/vhosts/schaller-creation.ch/httpdocs/wp-content/plugins/free-quotation/incloudes/Free_Quotation_widget.php on line 3

    Warning: mysqli_set_charset() expects parameter 1 to be mysqli, boolean given in /home/httpd/vhosts/schaller-creation.ch/httpdocs/wp-content/plugins/free-quotation/incloudes/Free_Quotation_widget.php on line 4

    Warning: mysqli_query() expects parameter 1 to be mysqli, boolean given in /home/httpd/vhosts/schaller-creation.ch/httpdocs/wp-content/plugins/free-quotation/incloudes/Free_Quotation_widget.php on line 57

    Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, null given in /home/httpd/vhosts/schaller-creation.ch/httpdocs/wp-content/plugins/free-quotation/incloudes/Free_Quotation_widget.php on line 62

    Could you please help me ?
    Thanks in advance.

    https://www.ads-software.com/plugins/free-quotation/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author kris_IV

    (@kris_iv)

    Hi!
    First question -which version of FQ you use?

    Are you use shared hosting environment with an external MySQL server?
    https://stackoverflow.com/questions/4335536/php-mysql-error-mysqli-connect-function-mysqli-connect-hy000-2005-unk

    Problem can be hire:
    $link = mysqli_connect(‘localhost:3306’, ‘user’, ‘pass’, ‘db’);

    It should be look like:
    $link = mysqli_connect(‘localhost’, ‘user’, ‘pass’, ‘db’, 3306);

    I can make this update in next version.

    Plugin Author kris_IV

    (@kris_iv)

    Hi,
    I resolved this problem in version 3.0.0 where database connection is in 100% compatible with WordPress Codex

    Thread Starter Coschal

    (@coschal)

    Hi,
    Thank you very much, the “warning” text does not appear anymore.

    However, the FQ Widget does not save my settings. I chose :
    – Use only FQ – display random quotes from database
    – Group (instead of Tags)
    And then I click on “Done”.

    But the savings always go back to :
    – Use one standard quotation
    – Tags (the best work with: “Use only FQ – display random quotes from database”)

    So my 4 quotes are not displayed.
    Thanks for your help.
    Best regards

    Plugin Author kris_IV

    (@kris_iv)

    Hmm. I can check this problem, but I doesn’t have too much time.

    Thanks for your help – this information was very important.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘"Manual" quotation don't display’ is closed to new replies.