Best host for running large mem and processor intensive WordPress sites?
If you’ve got a lot of hosts with tons of databases, perhaps it’s time to upgrade to a dedicated server? I host with Liquid Web and have been VERY happy.
If you’ve got a lot of hosts with tons of databases, perhaps it’s time to upgrade to a dedicated server? I host with Liquid Web and have been VERY happy.
Your error message means that $wpdb in your code is currently pointing to a null pointer. Either WP is not loaded, or you’re missing a simple global $wpdb; statement, or both. If you need to load WP, include wp-load.php. Or better, in your JS, use ajaxurl: url = ajaxurl + ‘?action=youraction’ alongside (assuming the above … Read more
Hi @Anjum: I think the function get_nav_menu_id_by_page_template()is what you are looking for? You can place the code for this function in your theme’s functions.php file, or in a .php for a plugin you are writing: function get_nav_menu_id_by_page_template($template) { static $nav_menu_id; if (!isset($nav_menu_id)) { global $wpdb; $sql = <<<SQL SELECT menu.post_id AS menu_id FROM {$wpdb->postmeta} AS … Read more
WordPress uses an XML-RPC interface in which you can define your own custom methods to it. And if server side coding is not your thing , then there are a few plugins that do most of the job for you: WordPress Web Service Extended API WP RESTful
Short answer: yes The GUID field is meant to represent a globally unique identifier for the post. In WordPress we just happen to use the URL. The GUID field should never be thought of as an actual URL, though … just an identifier for the post. In reality, the GUID field could contain anything that’s … Read more
Plugins and themes are no in the database, they are physical files under wp-content directory, and that is why you CAN’T find them in the database nor edit them from phpmyadmin. However WordPress has a built in editor for plugins and themes files. For themes its under appearances -> editor and for plugins its under … Read more
-First, try contacting the hosting provider if the database server is online / if they have any other problem at their end, or they made any changes to your account, or if there are any limitations/restrictions, etc . double check your wp-config.php file settings for the database name, database username and database password. This is … Read more
Make sure to protect your file directories, don’t make them writable by you only! Red up: http://codex.wordpress.org/Hardening_WordPress And download: http://wordpress.org/extend/plugins/wp-security-scan/
Error establishing a database connection means a bad password, DB user, DB name or server location (usually localhost) in wp-config.php. Simple as that. Check and check again. Editing wp-config.php « WordPress Codex
For the record, I will never encourage developers to use custom database tables. Yes, they’re easy to use, but you lose 100% of the data abstraction provided by WordPress. add_option()/update_option()/get_option() are basic key-value functions. They store data in a MySQL LONGTEXT field. LONGTEXT can store over 4 million characters … so a 10000+ character option … Read more