radiourionline on "[Plugin: NextGEN Gallery] mysql load because of nggallery...
Hi guys, my wp_option table had over 300 MB filled with _transient_xx in the option_name column with option_value containing something like "<div class="ngg-galleryoverview" I have also experienced...
View Articlephotocrati on "[Plugin: NextGEN Gallery] mysql load because of nggallery...
@radiourionline - Are you using the current version of NextGEN Gallery? Also, does under Gallery > Other Options > Miscellaneous ... clear image cache help reduce these database entries? Thanks!...
View Articleradiourionline on "[Plugin: NextGEN Gallery] mysql load because of nggallery...
@photocrati - I cleared the database using the method described by you and installed the latest version. For the moment everything seems to be ok. Thank you!
View Articlephotocrati on "[Plugin: NextGEN Gallery] mysql load because of nggallery...
@radiourionline - Great to read! Check back in about 60-90 minutes to see if things are still holding well for you ... and please let us know one way or the other. Thanks! - Cais.
View Articlebrynnn on "Implementing a custom search"
Hello! I am working on implementing a search function to access information (an inventory) in a DB independent of WordPress. My plan is to have just plain text data (a few bits of information about any...
View Articlebrynnn on "Implementing a custom search"
Whoops, forgot the closing php tag- but you get the idea.
View Articlegcoulby on "Escaping SQL with the wordpress API"
OK I have a plugin where you can add simple table content and work with a few relational databases. It's an all in one CRUD system for price management. However, with MySQL escaping is fairly simple,...
View ArticleDionDesigns on "Escaping SQL with the wordpress API"
http://codex.wordpress.org/Function_Reference/esc_sql The WordPress DBAL API does not have the ability to fetch individual rows from a query result, IMO a major shortcoming. Instead, the entire result...
View Articleanbion on "[Plugin: YOURLS Link Creator] Error in YOURLS Database Connection"
Hi, I have installed YOURLS to a web hosting service where I have several web servers and domains. The idea is to run YOURLS under one domain name and all my domains could use it. What should I...
View Articlegcoulby on "Escaping SQL with the wordpress API"
I don't know about that. I was using the exact method you describe here... Annoying didn't describe it. However, after days or staring at my lines and lines of code I discovered this. $current_row =...
View Articlenickohrn on "Escaping SQL with the wordpress API"
Just to be safe, use the prepare method. No need to be reckless :) $current_row = $wpdb->get_row($wpdb->prepare("SELECT * FROM {$table} WHERE id = %d", $id)); If you really only need the one...
View Articlegcoulby on "Escaping SQL with the wordpress API"
OK nickohrn, OK I was having problems with this all because of miss-placed comma as I see now, However, do you see an issue with using casting? $id = (double) $_POST["id"]; or would I still need to...
View Articlecherrydee on "Adding a page with ajax in wordpress"
Hi. I'm stuck with my codes for 2 weeks already. I want to have a page with 2 dropdowns. The first DD will show all 'states' from my database and the second DD should be based on the 1st DD's value. I...
View Articlenickohrn on "Escaping SQL with the wordpress API"
I would strongly recommend using prepare whether or not you cast. I know this seems kind of ridiculous, but for maintenance sake, just accept parameters into your function and then prepare them into...
View Articlegcoulby on "Escaping SQL with the wordpress API"
The problem is that I like to reuse my code a lot. So I have 1 function that works with so many forms. Prepare forces a very strict knowledge of what is going to be going into the box, this is a...
View Articlenickohrn on "Escaping SQL with the wordpress API"
Code reuse is good, but I don't know if there is a need for a general query function when one already exists. I'd recommend separating your functionality into dedicated pieces and letting $wpdb be the...
View Articlelaurabfont on "Admin-ajax.php being Called from Admin Pages Causing DB...
i disabled the new order email notification and this SIGNIFICANTLY improved the load time. The load time is still not ideal but this is the only thing that has seemed to work. Please note, I did not...
View ArticlewpReg on "[Plugin: W3 Total Cache] dbcluster-config-sample,php"
How do I utilize ini/dbcluster-config-sample.php? I am wanting to test out the master/slave MySQL functionality that it describes... https://wordpress.org/plugins/w3-total-cache/
View ArticleJavier Vidal on "[Plugin: Facebook Chat] Store my history in a database?"
You can“t store your conversations. We believe that privacy is very important. Also facebook manages these safety data. Sorry Masc
View ArticleFeralReason on "Does WP Migrate DB support export from mysql 5.0 to import to...
Just exported from my localhost WP site to import to a new live site. The localhost site is running MySQL 5.0. The live site is running MySQL 5.5. When I tried to import the file from the WP Migrate DB...
View Article