Changeset 2365792
- Timestamp:
- 08/20/2020 12:58:08 PM (6 years ago)
- Location:
- ezcount/trunk
- Files:
-
- 3 edited
-
EZcount.php (modified) (1 diff)
-
EZcount_helpers.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ezcount/trunk/EZcount.php
r2358705 r2365792 219 219 ); 220 220 $this->form_fields = array_merge($arr, $this->form_fields); 221 }221 } 222 222 223 223 } -
ezcount/trunk/EZcount_helpers.php
r2349835 r2365792 61 61 //connection problem 62 62 if ( is_wp_error( $responseObj ) || wp_remote_retrieve_response_code( $responseObj ) != 200 ) { 63 self::$lastResponseDebugStr = "Error in opening request, please check your Firewall, and check that CURL have permission to call the url " . $url . "\n response code" . wp_remote_retrieve_response_code( $responseObj ); 63 self::$lastResponseDebugStr = "The function wp_remote_post returned an error,\n <br> 64 this may be caused by various reasons and can be fixed by your Server IT guy or your developer.\n <br> 65 The most common reasons are:\n <br> 66 1. A misconfiguration of the Wordpress.\n <br> 67 2. A problem in the PHP or underlying server configuration that block this method.\n <br> 68 3. A firewall that block the request\n <br> 69 Please see the technical details and ask your IT guy to check the connectivity to our servers.\n <br> 70 If the response code is empty, it shows that something is blocking the request from even leaving your server.\n <br> 71 \n <br> 72 <b>technical data:</b> \n <br> 73 <u>url</u>: $url \n <br> 74 <u>response code</u>: " . wp_remote_retrieve_response_code($responseObj) . " \n <br> 75 <u>headers</u>: " . json_encode(is_array(wp_remote_retrieve_headers($responseObj)) ? wp_remote_retrieve_headers($responseObj) : wp_remote_retrieve_headers($responseObj)->getAll()) . " \n <br> 76 <u>response_message</u>: " . wp_remote_retrieve_response_message($responseObj) . " \n <br> 77 <u>body</u>: " . substr(strip_tags(wp_remote_retrieve_body($responseObj)), 0 ,200). " \n <br>"; 64 78 } else { 65 79 self::$lastResponseDebugStr = $jsonStr; -
ezcount/trunk/readme.txt
r2358705 r2365792 4 4 Tags : Invoicing and clearing for Woocommerce, by EasyCount. 5 5 Tested up to: 4.9.8 6 Version : 1.10. 26 Version : 1.10.3 7 7 Stable tag: trunk 8 8 Requires PHP: 5.4 … … 52 52 1.10.1 - move session to cookies 53 53 1.10.2 - remove_lax 54 1.10.3 - add data to test integration 54 55 == Upgrade notice == 55 56 nothing speacial about upgrading
Note: See TracChangeset
for help on using the changeset viewer.