Daniel Homer
Forum Replies Created
-
Forum: Plugins
In reply to: [HyperDB] utf8mb4 (WP 4.2) not supported@archon810, I’ve posted an update in that thread.
For anyone who might stumble across this later, I’d recommend moving from HyperDB to LudicrousDB (https://github.com/stuttter/ludicrousdb), as that project is actively maintained.
Forum: Plugins
In reply to: [HyperDB] mysqli and PHP7 support? – mysql_connect() being deprecatedHi all,
So it has been a while since I’ve looked at this, but my patch still missed some edge cases with mysqli functionality. We tried pushing our patches up into HyperDB, but we got no feedback as doesn’t seem to be maintained at all anymore.
In the end, we worked with JJJ and moved this work into LudicrousDB (https://github.com/stuttter/ludicrousdb) – I’d encourage everybody to move over to that drop-in instead as it’s actively maintained by some guys that really know their stuff.
Cheers,
DanForum: Fixing WordPress
In reply to: /. on wp-admin page. can't access login or dashboardHave you tried https://arlfr.com/wp-login.php?
Forum: Fixing WordPress
In reply to: Looking for acting on parent categories onlyTry this code inside your functions.php
add_action( 'template_redirect', 'redirect_parent_category' ); function redirect_parent_category() { if ( ! is_category() ) { return; } $cat = get_query_var( 'cat' ); $term = get_term( $cat, 'category' ); if ( ! $term->parent ) { wp_safe_redirect( '/' . $term->slug, 301 ); exit(); } }
I haven’t tested it, but it should redirect any category archives without a parent to /<slug>.
Forum: Fixing WordPress
In reply to: Where is the links tab? What is alpha-3.6 Version?If you’ve got 3.6 showing in your dashboard, you’re running a nightly build. This isn’t the same as 3.5, it contains experimental code and definitely shouldn’t be used in a production environment.
EDIT: Apologies, I’ve just checked the latest version at https://wp-persian.com/download/ and the version IS set at 3.6-alpha. I’m not sure why though.
Forum: Fixing WordPress
In reply to: Where is the links tab? What is alpha-3.6 Version?The ‘Links’ tab was removed in 3.5, you can download the plugin at https://www.ads-software.com/extend/plugins/link-manager/ to re-enable it though.
Regarding the 3.6-alpha message, you’ve probably downloaded the development build by accident. Download the current, stable 3.5 build from https://www.ads-software.com/download/.
Forum: Fixing WordPress
In reply to: Single posts pages not loadingI’d be looking at the lzzsjn.php file in wp-includes straight away, that’s not a core WP file. Its possible that your blog has been hacked.
Take a backup, have a look to see what it’s up to, delete it from your server and refer to https://codex.www.ads-software.com/FAQ_My_site_was_hacked
Forum: Fixing WordPress
In reply to: Single posts pages not loadingHave you checked your logs for any errors coming from single.php?