taloweb
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: WordPress DB Update request loopPerforming MySql columns analisys I received [Got error 28 from storage engine] error from both phpMyAdmin and WordPress with debug enabled, I think that update to Wp 4.7 version tried to do some column size change and, failing, Wp didn’t update version number in options table.
By now hosting provider is fixing it (pheraps due to some .myi corruption), please notice that database is working and wordpress website is online.
Forum: Fixing WordPress
In reply to: WordPress DB Update request loopI think the DB update problem is due to MySql problems on the server, thanks everyone for the help
Forum: Fixing WordPress
In reply to: WordPress DB Update request loopby now solved manually updating DB version with a query:
UPDATEwp_vela_options
SET option_value = ‘38590’ WHERE option_name = ‘db_version’but I want to understand what happened
Forum: Fixing WordPress
In reply to: WordPress DB Update request loopyes, sadly manual upgrade was the first thing I tried…
of course I have backup of everything, but I would like not to make a clean installForum: Hacks
In reply to: Adding a step to authenticationI thank for your help, I think I’ll try your suggestions!
Thanks againForum: Hacks
In reply to: Adding a step to authenticationYou are right, I don’t want to alter WP core code. Never.
This is what I would like to do:
-the user tries to authenticate
-if user/pass are correct the user is not immediately
logged in but a code is sent to some user device
(configured in user profile)
-the user is then redirect to the second step page
-the user enters the code received in this page and
only if it is correct the user is authenticatedForum: Hacks
In reply to: Adding a step to authenticationThis is an interesting suggestion, thanks.
What do you think about replacing wordpress login page? Do you think it’s possible to override login page output and completely rewrite it?Forum: Requests and Feedback
In reply to: wp_generate_attachment_metadata return value on errorsI found someone using this:
$metadata = wp_generate_attachment_metadata( ID, $fullsizepath );
if ( is_wp_error( $metadata ) )
$metadata->get_error_message();
if ( empty( $metadata ))
die (__( ‘Unknown failure reason.’));but it’s not documented that wp_generate_attachment_metadata can return a WP_error object…
Same problem same result: rolled back to older version and no updates for this plugin, I disabled “plugin needs updating” message too…
Forum: Fixing WordPress
In reply to: White screen – new to WordPressIf you can access to admin area you can try to switch to default theme, if you can’t you have to access the theme folder through FTP and rename the current theme folder (so wordpress switch to default theme)
If now the site is shown well with the default theme, it’s a theme error, instead if you have a blank page again it coul be a plugin error…
Forum: Fixing WordPress
In reply to: Background image must not repeat.background: transparent url('https://www.cheapconnect.net/images/bg_top2.gif') no-repeat center top;
I suggest using FireBug for css debugging, if installed in FireFox you can use right mouse click on an element and analyze it, modify and preview the css on the fly…
Forum: Fixing WordPress
In reply to: Showing category instead home page (under some conditions)If I visit the site through a subdomain I would like to show a subcategory:
https://red.mysite.com –> https://www.mysite.com/category/red is shown
https://www.mysite.com –> home page of the site is shown (static page with template)but without redirect (header Location or JS script is not a good solution)
Forum: Fixing WordPress
In reply to: Site Redirected for Some Usersthis is a strange issue, users with this problem active have dns cache cleared and nslookup is ok?
Forum: Fixing WordPress
In reply to: Check image in post or notI use this php code and it works pretty well:
preg_match_all( '~<img [^>]* />~', $post->post_content, $pics ); if ( count($pics[0]) > 0 ) { ...THERE IS A PHOTO.... } else { if ( stripos($post->post_content, '[gallery') !== false ) { ...THERE IS A GALLERY.... } else { ...NO GALLERY AND NO PHOTO.... } }
Forum: Fixing WordPress
In reply to: website doesnt work on internet explorerhave you tries to temporarily switch to default theme to check if it’s a theme-related problem? is your html w3c well-formed? can you post website url?