janus20
Forum Replies Created
-
Hi,
I see indeed might be true but still i do not get it why have not you upgraded your version of wp to latest.
You could reverse to 2.0.9 until mr. joel find some time to debug it.
Here is a backup of mine of 2.0.9 in case you do not have it anymore:http://www.mediafire.com/download/ky182x7lokq8ds4/404-to-301_v2.0.9_patched.zip
hope thats helps
Hi,
Just a thought: have you tried to update your wordpress version tp 4.4 ?
I have wp 4.4, update 404-to-301 plugin to latest ( v. 2.1.0) and it is working fine.
Forum: Plugins
In reply to: [404 to 301 - Redirect, Log and Notify 404 Errors] version 2.1.0 Update errorHi,
Here is my backup of 2.0.9 from 12.12.2015. It is already patched, meaning modify original file from public\class-404-to-301-public.php between lines #144-#155 ( commented lines are the original):
http://www.mediafire.com/download/ky182x7lokq8ds4/404-to-301_v2.0.9_patched.zip
Hope that helps
Forum: Plugins
In reply to: [404 to 301 - Redirect, Log and Notify 404 Errors] version 2.1.0 Update errorHi,
Mine is 5.4.4 if it does matter. However, until mr. Joel find some time to debug your issue you could:
1. reverse to 2.0.9 version
2. to 2.0.9 version apply workarounds from next topic “Getting errors if “ref” column is NULL”. Those two workarounds for ‘ref’ and ‘ua’ column i think are most important for you.kind regards
Forum: Plugins
In reply to: [404 to 301 - Redirect, Log and Notify 404 Errors] version 2.1.0 Update errorHi PPNSteve,
I have wp 4.4 and after update from 2.0.9 to 2.1.0 everything is working fine.
Might be helpful for debuging to know versions of wp and php ( i think ).
Hi,
I can confirm that it is working on my side. Thank you very much. ( ua, ref and clear logs too )
kind regards
Hi gooma2,
Yeah… i have seen it into my side too. You have to do the same for ‘ua’ column as we/you did for ‘ref’ column. Here is the catch:
1. open wp-content/plugins/404-to-301/public/class-404-to-301-public.php file for editing. Either download file via FTP and edit localy with Notepad++ or look for seqvence of code below if you open it with default text editor from your ftp program.
2. move to line #150 where is following code
$data[‘ua’] = $_SERVER[‘HTTP_USER_AGENT’];3. modify/edit line of original code from step 2 with following:
// $data['ua'] = $_SERVER['HTTP_USER_AGENT']; if (!empty($_SERVER['HTTP_USER_AGENT'])) { $data['ua'] = $_SERVER['HTTP_USER_AGENT']; } else { $data['ua'] = 'N/A - empty user agent! wtf!'; }kind regards
Hi everyone,
Until Mr. Joel will fix this here is a ‘patch’ to it. I am not and do not pretend to be a php coder and do not know if it is ok as from a php programmer perspective but it works for me just fine.
Here are the steps:
1. open wp-content/plugins/404-to-301/public/class-404-to-301-public.php file for editing. Either download file via FTP and edit localy with Notepad++ or look for seqvence of code below if you open it with default text editor from your ftp program.2. move to line #143 where is following code
$data[‘ref’] = $_SERVER[‘HTTP_REFERER’];3. modify/edit line of original code from step 2 with following:
// $data['ref'] = $_SERVER['HTTP_REFERER']; if (!empty($_SERVER['HTTP_REFERER'])) { $data['ref'] = $_SERVER['HTTP_REFERER']; } else { // if referer value is empty flag it with some custom text in // order to avoid db insert errors as 'ref' column is declared // as not NULL. $data['ref'] = 'N/A - empty referer'; }*NOte: // means that content of that line will be treat as comment.
I hope that helps.
I can confirm that everything is ok now.
Thanks again for your time.neighter do i
Here is my config:
Redirect type : 301 Redirect (SEO )
Redirect to: Custom URL
Custom URL: blog home page
Log 404 Errors: Enagle Error logs
Email notifications: is not checked
Email address: webmaster domain address
Exclude paths: nothing herekind regards