strictly-software
Forum Replies Created
-
Forum: Plugins
In reply to: [Strictly Auto Tags] preg_replace() modifier /e depricatedSeems to work for me will add it into the 2 sets of files when I can the free file and paid.
I love PHP as it’s easy and I can knock up scrapers, crawlers and BOTS in minutes but I hate the way it is always changing and not backwards compatible.
Instead of making millions of coders have to change code everytime something is depreciated or dropped could they just not keep it and set a minimum PHP version for support e.g 5 like .NET does.
That I like since .NET 2 to 4.5 I have not had to change a single line of code due to age or new ways of doing things.
It seems to work e.g
$content = preg_replace_callback("@(\.[”’\"]?\s*[A-Z][a-z]+\s[a-z])@", function ($matches) { return strtolower($matches[0]); }, $content);
So I would replace it going to in my code
Dont worry I’ve found a KB article on your site (forgot you had an KB) about SSL > https://s2member.com/kb-article/implementing-ssl-https-on-an-s2member-site/
Ok so there just isn’t a WP page you call with a param I can pass in with a CURL or WGET request then?
Hi
It’s werid because the bigger of the two sites backsup automatically every 3 days but this smaller site doesn’t back up on any scheduled date.
However when I run a manual backup it does it in seconds no problem.
I have 2 GB Ram server with my own reporting system that tells me when
Server Load
CPU
Memory (PHP and Apache)
Disk Swapping
are all too highAlso
The number of DB connections
Waiting connections
Time outs
Long waiting queries
and other DB dataNot had a report from this site for ages.
I have tried to uninstall and re-install it an number of times but I am guessing there is something in wp_optiond or your own tables that is remaining that stops the jobs from running.
Other CRON jobs (server set) – run fine.
It’s also a very busy site.
Could I set up a server side CRON job to fire a backup command every X days somehow and if so what would the command string be to do this?
Thanks
Rob
Or you can get the latest free version from my site > https://www.strictly-software.com/plugins/strictly-auto-tags
PLEASE DO NOT try and use the WordPress plugin upgrade feature to upgrade if you have purchased the premium plugin. This will just overwrite your paid for plugin with more features with the free version and you will lose lots of functionality.
Thanks
Forum: Plugins
In reply to: [Strictly Auto Tags] Can you use this for produuctsHi
If you have your products in your system as tags then it should find them and tag them.
So add the products, add them to Top Tags (if you have the premium product) and even if not without auto-discovery on (so it doesn’t try to find new tags all the time) – it should find your product tags and tag them
Thanks
Forum: Plugins
In reply to: [Strictly Auto Tags] preg_replace() modifier /e depricatedOk thanks will look at it when I can.
By the way I tried today in CHROME with signing up as a trial member (where the membership is expired ASAP) as well as a monthly member – using different email addresses than on PayPal as well and I had no problems whatsoever.
Therefore I guess there must have been some kind of glitch – maybe browser related – as I have noticed that cross domain FORM POSTS e.g your paybal FORM button when minified with certain tools (not sure which ones – but they convert anything not on your protocol to // so if you are don’t have an SSL the form action you have to https://www.paypal.com/cgi-bin is changed to //www.paypal.com/cgi-bin.
So on a HTTP domain a click of the button will post the form and take you to the HTTP domain on PayPal but then PayPal redirects you to HTTPS and I have noticed that the POST data gets corrupted in IE 10/11 – in other browsers it handles it but for some reason IE 10 cannot with it’s redirects and I have had to use JavaScript to loop through you form actions and ensure any HTTP or // URLS are set to https://www.paypal.com/cgi-bin to get round this.
I cannot think of why this is happening sometimes to some people and not others. Or why it failed on my own test the day the customer complained – maybe there was a bug your side that day?
Anyway I have signed up twice now without problems and other people have so I am not sure what to do apart from edit those pages I wanted to – to say use the lost login link if the link has expired to get a password.
Thanks
Rob
Hi
Also maybe you could tell me the name of the page that the message “Your Link Expired:
Please contact Support if you need assistance.” appears on – or the blank page is.Also why does it appear blank with no message anyway if it is the same issue as the expired page?
This way I could try and format it to
a) look a bit like my site
and
b) show a lost login link so that they can get an email to login to the site and not panic which is what is happening at the moment.I have tried this twice now with different browsers and different URL shorteners and it happens both times.
When I just tried it in Chrome I put on F12 and viewed the network hops the first one was the bit.ly shortened URL doing a 301
Request URL:https://bit.ly/1LgaUql
Request Method:GET
Status Code:301 Moved Permanently (from cache)However the 2nd one was a 503 status error (service unavailable) – I don’t know if you do that on this page or not.
The full list of the headers from looking at this hop in Chrome are below
Remote Address:104.27.154.104:80 (Cloudflare address – had no problems with registrations before with them)
Request URL:https://www.mysite.com/?s2member_register=fnIyOkFFcVFscE15cGRjVzRBcHRlRHV4NkE5VDFSMjYydGlzOjM3ZThmZWYxMGM4NzM1NTI3MjU5NzI4YzQzN2E3NjA4fD5usdvnMgqlo-tdfeYOYt1jA7263Ue2b5Zm-rNm9Z1gSnSpum9wkzIkAdsu2O1Qy-fNJGQbjKVk5VOzHl8AzG-_Q_Kti21no2NBb9x2iIE3CBZ3rwLf9NKmNfjM4LdB_ngBKix78z2b8uG3iboG8NyAyGfoOJAAE3fsJHR6oKFOZS2Xm-gW2DLZr5RK2sShId3jTQPUL0JRJyRLSw4v440
Request Method:GET
Status Code:503 Service Unavailable
Response Headers
view source
Cache-Control:no-cache, must-revalidate, max-age=0
CF-RAY:2342b72e2df906c4-LHR
Connection:keep-alive
Content-Type:text/html; charset=UTF-8
Date:Mon, 12 Oct 2015 12:12:53 GMT
Expires:Wed, 11 Jan 1984 05:00:00 GMT
Pragma:no-cache
Server:cloudflare-nginx
Transfer-Encoding:chunked
Vary:Accept-Encoding,Cookie
X-CF-Powered-By:WP 1.3.18
Request Headers
view source
Accept:text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Accept-Encoding:gzip, deflate, sdch
Accept-Language:en-GB,en-US;q=0.8,en;q=0.6
Connection:keep-alive
Cookie:__cfduid=deff70ba5c4a91c76076fa8a89071c2221441098883; EUCookie=1; NewsLetterCookie2014=1; 1784d01684827cdc4c367db7b274cf0f=1444224446; wp-settings-1=editor%3Dtinymce%26align%3Dleft%26urlbutton%3Dnone%26libraryContent%3Dbrowse%26ed_size%3D623%26dfw_width%3D822%26posts_list_mode%3Dlist; wp-settings-time-1=1444648291; wordpress_test_cookie=WP+Cookie+check; wordpress_logged_in_74c28baabe6996c768e5560ba1a0707a=admin%7C1444822042%7CCkrKt0WFD94MarZoG2OU9PJ8A37ED7zdUecwsP0e9hc%7Cf219325d634689f0a900eca2555a2060df44a1e84aeae6cd4d8e47f719f67726; cf_use_ob=0; __unam=6afb37d-14fdfee76aa-20a612f3-408; __utma=104715140.194111331.1441109931.1444392453.1444648298.60; __utmb=104715140.30.9.1444650298350; __utmc=104715140; __utmz=104715140.1441109931.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)
DNT:1
Host:www.mysite.com
Upgrade-Insecure-Requests:1
User-Agent:Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36
Query String Parameters
view source
view URL encoded
s2member_register:fnIyOkFFcVFscE15cGRjVzRBcHRlRHV4NkE5VDFSMjYydGlzOjM3ZThmZWYxMGM4NzM1NTI3MjU5NzI4YzQzN2E3NjA4fD5usdvnMgqlo-tdfeYOYt1jA7263Ue2b5Zm-rNm9Z1gSnSpum9wkzIkAdsu2O1Qy-fNJGQbjKVk5VOzHl8AzG-_Q_Kti21no2NBb9x2iIE3CBZ3rwLf9NKmNfjM4LdB_ngBKix78z2b8uG3iboG8NyAyGfoOJAAE3fsJHR6oKFOZS2Xm-gW2DLZr5RK2sShId3jTQPUL0JRJyRLSw4v440
Name
1LgaUql
?s2member_register=fnIyOkFFcVFscE15cGRjVzRBcHRlRHV4NkE5VDFSMjYydGlzOjM3ZThmZWYxMGM4NzM1NTI3MjU5NzI4YzQzN2E3NjA4fD5usdvnMgqlo-tdfeYOYt1jA7263Ue2b5Zm-rNm9Z1gSnSpum9wkzIkAdsu2O1Qy-fNJGQbjKVk5VOzHl8AzG-_Q_Kti21no2NBb9x2iIE3CBZ3rwLf9NKmNfjM4LdB_ngBKix78z2b8uG3iboG8NyAyGfoOJAAE3fsJHR6oKFOZS2Xm-gW2DLZr5RK2sShId3jTQPUL0JRJyRLSw4v440At least if I could know the pages to edit I could put a quick fix in for people not being able to get to the site so they know what to do.
But there does seem to be a problem and it doesn’t seem to be related to the URL shortners as I have used tinyurl and bit.ly (with an API Key) now.
Also I don’t know if this is helpful but I cannot find any other log files that show me info related to coming back to the site from clicked on email links. If you could tell me then I could enable them if disabled to see if they show any information.
This is my last request that showed the error on clicking the link.
From the gateway-core-rtn.log
LOG ENTRY: Mon Oct 12th, 2015 @ precisely 12:11 pm UTC
XXX WordPress v4.3.1 :: s2Member v150925
Memory 61.94 MB :: Real Memory 63.25 MB :: Peak Memory 62.45 MB :: Real Peak Memory 63.25 MB
https://www.mysite.com/?s2member_paypal_return=1&s2member_paypal_return_tra=fnIyOlFCUnluWXc5aEpQOHRWY1dWQ0ZiTE5jOHh1dXJDRDZROjA3OWM1OGRiNGJkZWZlMzg5ZmZlYTIyYWFkMTY3MTg5fMJ5ervoRszw4Y%5fCcfXyvnALGADKRIdUwpOdGkOjuzxz5COpFBN8GCKPzaJChWGcQQM9t9St6jnqzoeg%2dGGXs64USWzovYWUD7OaOmXCFkaKGGqj1jGqlkRcsX7IzS9upCi9lo9VzNutcdwx0X3Z8B6keAiNYz9nPBQWN6r0xDttA%5f4zsOosGghvCu7mfT24GVS2cc28LVcRXHsJXlK%5f%2dfYL%2dLcaRUBSqlBFPpQqaTA4wM%5fOrqJIF8Ny%2dqKXBR4wdjHNkdvsxFqXrw11PYzdwTr5eUYxVf%5fI2Buj44%5fJtr30Nr4Kbvs4HwDFtMupjTsKerkXwanRgVuQFwOGs8Rg0BeM6RmfUN3qIXp9Xd5No4KHp4TQtAII4UoEZIKejyubPw&tx=4N588626J3470161B&st=Completed&amt=14%2e99&cc=GBP&cm=www%2emysite%2ecom&item_number=3&sig=aK4yU1Y8aR6qkoRgDea7BcjQ7XOhPHpVfvs59B0oIaLxA5zc7QDPlhPbXmk5BXceLl03uAYugDkp1%2bF0WAekR6UV2sEwyX%2fKahCftIesc9N98VQMO7aNh5CtySXvpPBp%2f5yWAkKjIg%2b8OAlB7kdweuitW1c8wRI7oTPZ24Kj3Hw%3d
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:41.0) Gecko/20100101 Firefox/41.0
array (
‘mc_gross’ => ‘14.99’,
‘invoice’ => ‘561ba3301cfc8~62.253.141.247’,
‘protection_eligibility’ => ‘Ineligible’,
‘payer_id’ => ‘NHRSGUV24YNXQ’,
‘payment_date’ => ’05:11:01 Oct 12, 2015 PDT’,
‘payment_status’ => ‘Completed’,
‘charset’ => ‘windows-1252’,
‘first_name’ => ‘Robert’,
‘option_selection1’ => ‘www.mysite.com’,
‘option_selection2’ => ‘62.253.141.247’,
‘mc_fee’ => ‘0.71’,
‘subscr_id’ => ‘I-EVW0LW9TU0RD’,
‘custom’ => ‘www.mysite.com’,
‘payer_status’ => ‘verified’,
‘business’ => ‘[email protected]’,
‘payer_email’ => ‘[email protected]’,
‘option_name1’ => ‘Originating Domain’,
‘option_name2’ => ‘Customer IP Address’,
‘txn_id’ => ‘4N588626J3470161B’,
‘payment_type’ => ‘instant’,
‘payer_business_name’ => ‘Strictly Software’,
‘last_name’ => ‘Reid’,
‘receiver_email’ => ‘[email protected]’,
‘receiver_id’ => ‘WBQGEG6EZJZ28’,
‘txn_type’ => ‘subscr_payment’,
‘item_name’ => ‘Monthly Tips Member / £14.99 per month’,
‘mc_currency’ => ‘GBP’,
‘item_number’ => ‘3’,
‘residence_country’ => ‘GB’,
‘transaction_subject’ => ‘Monthly Tips Member / £14.99 per month’,
‘s2member_log’ =>
array (
0 => ‘Return-Data received on: Mon Oct 12, 2015 12:11:23 pm UTC’,
1 => ‘s2Member POST vars verified through a POST back to PayPal.’,
2 => ‘s2Member originating domain ($_SERVER["HTTP_HOST"]
) validated.’,
3 => ‘s2Membertxn_type
identified as (web_accept|subscr_signup|subscr_payment
).’,
4 => ‘s2Membertxn_type
identified as (web_accept|subscr_signup|subscr_payment
) w/o update vars.’,
5 => ‘Registration Cookies set on (web_accept|subscr_signup|subscr_payment
) w/o update vars.’,
6 => ‘Transient Tracking Cookie set on (web_accept|subscr_signup|subscr_payment
) w/o update vars.’,
7 => ‘Redirecting Customer to Registration Page (after displaying a quick thank-you message). They need to Register now.’,
),
‘subscr_gateway’ => ‘paypal’,
‘subscr_baid’ => ‘I-EVW0LW9TU0RD’,
‘subscr_cid’ => ‘I-EVW0LW9TU0RD’,
‘eotper’ => NULL,
‘ccaps’ => NULL,
‘level’ => ‘3’,
‘ip’ => ‘62.253.141.247’,
‘period1’ => ‘0 D’,
‘mc_amount1’ => ‘0.00’,
‘period3’ => ‘1 M’,
‘mc_amount3’ => ‘14.99’,
‘recurring’ => ‘14.99’,
‘initial_term’ => ‘0 D’,
‘initial’ => ‘14.99’,
‘regular’ => ‘14.99’,
‘regular_term’ => ‘1 M’,
‘currency’ => ‘GBP’,
‘currency_symbol’ => ‘£’,
‘s2member_paypal_return_tra’ => ‘fnIyOlFCUnluWXc5aEpQOHRWY1dWQ0ZiTE5jOHh1dXJDRDZROjA3OWM1OGRiNGJkZWZlMzg5ZmZlYTIyYWFkMTY3MTg5fMJ5ervoRszw4Y_CcfXyvnALGADKRIdUwpOdGkOjuzxz5COpFBN8GCKPzaJChWGcQQM9t9St6jnqzoeg-GGXs64USWzovYWUD7OaOmXCFkaKGGqj1jGqlkRcsX7IzS9upCi9lo9VzNutcdwx0X3Z8B6keAiNYz9nPBQWN6r0xDttA_4zsOosGghvCu7mfT24GVS2cc28LVcRXHsJXlK_-fYL-LcaRUBSqlBFPpQqaTA4wM_OrqJIF8Ny-qKXBR4wdjHNkdvsxFqXrw11PYzdwTr5eUYxVf_I2Buj44_Jtr30Nr4Kbvs4HwDFtMupjTsKerkXwanRgVuQFwOGs8Rg0BeM6RmfUN3qIXp9Xd5No4KHp4TQtAII4UoEZIKejyubPw’,
)The only errors I could find in my Apache log file related to my subscription were to do with inserts into the wp_autoresponders table – I have a newsletter plugin that is supposed to send out emails etc. However I cannot see how this would affect the click of a link back to the site.
[Mon Oct 12 12:12:07 2015] [error] [client 173.203.107.XXX] WordPress database error Duplicate entry ‘[email protected]’ for key 2 for query INSERT INTO wp_wpr_subscribers (nid, name, email, hash, active, confirmed,date) VALUES (‘2′,’My Name’,’[email protected]’,’brNTWV1444651927′,1,1, ‘1444651927’) made by require(‘wp-blog-header.php’), require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), do_action(‘init’), call_user_func_array, wprs2_init
[Mon Oct 12 12:12:07 2015] [error] [client 173.203.107.206] WordPress database error Duplicate entry ‘0-autoresponder-1’ for key 2 for query INSERT INTO wp_wpr_followup_subscriptions (sid, type, eid, sequence, doc) VALUES (0, ‘autoresponder’, 1, -1, ‘1444651927’); made by require(‘wp-blog-header.php’), require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), do_action(‘init’), call_user_func_array, wprs2_initAny help would be much appreciated.
Thanks
Rob
Hi
I just tested this myself using FireFox as he had and I registered and paid at PayPal, came back to the site, completed my username, email (same one I used on PayPal), and got an email with a confirmation link.
However I clicked this link as soon as I got it and I went to a page that said
Your Link Expired:
Please contact Support if you need assistance.However I had clicked the link straight away – as soon as I got the email.
So it cannot be an expired link as I clicked it straight away. It must be the wrong error message being shown OR the time for clicking a link is set to 1 second or something.
Using the lost login link to get a link to reset my password got me into the site as it let me set my password and then I could login.
However this will confuse customers, especially if they see blank pages and not the message I saw.
Can you help me find out why this is happening.
Thanks
Rob
Any updates on this as I will have to stop using the plugin.
For example on this post > https://www.ukhorseracingtipster.com/2015/08/american-pharoah-swaps-position-with-golden-horn-as-best-horse-in-the-world/#sthash.rhEXIXEA.mSP2p4ik.dpbs
When trying to just enter a comment and login with either Facebook/Twitter or Google+ I just get an error page e.g
There was an error submitting the form.
If you’re having difficulty, try repeating the action on https://disqus.com
With the URL https://disqus.com/_ax/twitter/begin/?forum=ukhorseracingtipster&ctkn=2q3s25b3fufgak
Is the plugin broken or is something wrong?
Thanks
Rob
Hi
Just have to say PayPal have directly responded to me today to say that if you are not using SSL certificates then you don’t need to do anything regarding these changes.
Thanks
Rob
Forum: Plugins
In reply to: [Strictly Auto Tags] Same font size for all tagsHi
That is nothing to do with my plugin.
You have used the tag cloud plugin/widget which is designed to show tags in different sizes depending on how frequent they are.
Either remove the widget from the sidebar or use CSS to style all the tags in the DIV the same but that is the point of that widget.
Replace it with just a list of tags or some other widget if you don’t like it but I think its a WordPress standard widget and my plugin has nothing to do with it.
Thanks
Rob
Forum: Plugins
In reply to: [Strictly Auto Tags] Same font size for all tagsHi
I am not sure what you mean.
If you are talking about bolding then I just put a STRONG tag around the word with a class on it.
You can target that class in your CSS file and edit the style of it if you want to fit in with the rest of your page but if you are like most people your content should be all in the same font size anyway and then there wouldn’t be any problems with font sizes.
I sure have never had any issues with bolding and as you don’t explain what you mean I don’t really know what you are talking about.
Thanks
Rob