diff --git a/typo3/sysext/linkvalidator/classes/linktypes/class.tx_linkvalidator_linktypes_external.php b/typo3/sysext/linkvalidator/classes/linktypes/class.tx_linkvalidator_linktypes_external.php
index 4a6e235..cc712be 100644
--- a/typo3/sysext/linkvalidator/classes/linktypes/class.tx_linkvalidator_linktypes_external.php
+++ b/typo3/sysext/linkvalidator/classes/linktypes/class.tx_linkvalidator_linktypes_external.php
@@ -80,6 +80,22 @@ class tx_linkvalidator_linkTypes_External extends tx_linkvalidator_linkTypes_Abs
// analyze the response
if ($report['error']) {
+ if ($report['lib'] === 'cURL' && $report['error'] === 28) {
+ $errorParams['errorType'] = 'cURL28';
+ } elseif ($report['lib'] === 'cURL' && $report['error'] === 22) {
+ if (strstr($report['message'], '404')) {
+ $errorParams['errorType'] = 404;
+ } elseif(strstr($report['message'], '403')) {
+ $errorParams['errorType'] = 403;
+ } elseif(strstr($report['message'], '500')) {
+ $errorParams['errorType'] = 500;
+ }
+ } elseif ($report['lib'] === 'cURL' && $report['error'] === 6) {
+ $errorParams['errorType'] = 'cURL6';
+ } elseif ($report['lib'] === 'cURL' && $report['error'] === 56) {
+ $errorParams['errorType'] = 'cURL56';
+ }
+
$response = FALSE;
}
@@ -140,6 +156,22 @@ class tx_linkvalidator_linkTypes_External extends tx_linkvalidator_linkTypes_Abs
$response = $GLOBALS['LANG']->getLL('list.report.pageforbidden403');
break;
+ case 500:
+ $response = $GLOBALS['LANG']->getLL('list.report.internalerror500');
+ break;
+
+ case 'cURL6':
+ $response = $GLOBALS['LANG']->getLL('list.report.couldnotresolvehost');
+ break;
+
+ case 'cURL56':
+ $response = $GLOBALS['LANG']->getLL('list.report.recverror');
+ break;
+
+ case 'cURL28':
+ $response = $GLOBALS['LANG']->getLL('list.report.timeout');
+ break;
+
default:
$response = $GLOBALS['LANG']->getLL('list.report.noresponse');
}
diff --git a/typo3/sysext/linkvalidator/modfunc1/locallang.xml b/typo3/sysext/linkvalidator/modfunc1/locallang.xml
index e99c2dd..981160e 100644
--- a/typo3/sysext/linkvalidator/modfunc1/locallang.xml
+++ b/typo3/sysext/linkvalidator/modfunc1/locallang.xml
@@ -56,6 +56,11 @@
+
+
+
+
+