cogmios
Forum Replies Created
-
I solved this by recompiling PHP on the image WITH ‘–with-mysqli=mysqlnd’
In /usr/local/etc/php/php.ini extension=mysqli is uncommented | phpinfo shows the lib mysqlnd 8.0.11
Im using the out of the box images from mariadb and php org above
Probably can reduce it to
<?php if ( function_exists( 'mysqli_connect' ) ) { echo "exists"; } Over to... stackexchange... else { echo "does not exist"; } ?>
- This reply was modified 3 years, 1 month ago by cogmios.
- This reply was modified 3 years, 1 month ago by cogmios.
- This reply was modified 3 years, 1 month ago by cogmios.
- This reply was modified 3 years, 1 month ago by cogmios.
- This reply was modified 3 years, 1 month ago by cogmios.
- This reply was modified 3 years, 1 month ago by cogmios.
Forum: Hacks
In reply to: get_term_by for multiple cats with same nameWhat I mean to say is:
I think that get_term_by should return WP_ERROR if multiple are found.
I understand that you can query on unique properties but get_term_by lets you also query on non-unique properties and then the outcome will be random.
In a taxonomy names are not unique. So if you want to get a term out of a taxonomy it makes no sense to limit it to 1 since the outcome will be random.
\legal\public\contract
\finance\leasing\contractIf a developer uses accidently get_term_by without having the taxonomy content yet, it could lead to bugs later on when the users enter the actual taxonomy and only then the realization comes. So the function should protect the developer from making mistakes.
It should return an error if multiple are found Or return multiple OR always require the full hierarchical path, but not just return a random one.
update: submitted propsal in trac: https://core.trac.www.ads-software.com/ticket/36878#ticket
please challenge/enlighten
thanks for the reply, even better!
Forum: Themes and Templates
In reply to: break long words in twenty twelveah… only works for chrome not firefox or IE grmbl.
Forum: Themes and Templates
In reply to: break long words in twenty twelveAdded:
white-space: -moz-pre-wrap !important; white-space: -pre-wrap;white-space: -o-pre-wrap;white-space: pre-wrap; word-wrap: break-word;word-break: break-all;white-space:normal;
to the specific TR SPAN
works.
I had the same, either the content is gone OR i get a 504 OR database has gone away
When I check the log files it seems that the query on the tables “select count * etc..” to retrieve bwps_lockouts and log AND The inserts create a “wordpress database error mysql server has gone away for query…”
I have not diven in the code yet but it seems that it complete kills the database connection.
When I look in the 2 tables they are also empty.
I dont have the behaviour on another site where the tables are not empty but that site has 5 posts and this one has 11000 posts.
Forum: Plugins
In reply to: [Contact Form 7] Contact Form 7 PayPal IntegrationOr do you make a dropdown list with all combinations in the Paypal form itself?
Forum: Plugins
In reply to: [Contact Form 7] Contact Form 7 PayPal IntegrationOk. But how to do this with varying costs? E.g.:
( ) product A : $ 5
( ) additional red label : + $ 2
( ) additional option whatever : + $ 7?
p.p.s. the trick is the “exit” so that follow-up header replacements do not take place.
could you add this somewhere?
Forum: Plugins
In reply to: [WP Offload SES Lite] [Plugin: WP SES] minor issue*grin* 6 months later! you are about as quick as myself with updates on WordPress plugins ??
Forum: Plugins
In reply to: [WP Columns] WP Columns 3.5.1It just works for me? (I just downloaded this plugin).
I added the following css code in my childtheme:
.wpcolumn-clearfix {clear: both;} .wpcolumn-wrapper .wpcolumn {float: left;margin: 10px 4% 15px 0;width: 46%;} .wpcolumn-wrapper .wpcolumn-last {margin-right: 0;}
and it works in my 3.5.1. twentytwelve-childtheme.
Forum: Plugins
In reply to: [WP Columns] WP Columns and twentytwelveIf they are not present in the CSS … then its probably your cache.
I just tested this plugin with some css code:
.wpcolumn-clearfix {clear: both;} .wpcolumn-wrapper .wpcolumn {float: left;margin: 10px 4% 15px 0;width: 46%;} .wpcolumn-wrapper .wpcolumn-last {margin-right: 0;}
and it works in my 3.5.1. twentytwelve-childtheme.
Forum: Plugins
In reply to: [ShareThis: Free Sharing Buttons and Tools] counts are 0echo