Jump to content

web-engel@gmx.de

Members
  • Content count

    6
  • Joined

  • Last visited

Everything posted by web-engel@gmx.de

  1. web-engel@gmx.de

    [Contribution] Availability

    thanks for request. mmmhh, I've translated all language files in german language. But I've forgotten to add the files in german directory later. I will add the german files to the contribution. thanks
  2. web-engel@gmx.de

    [Contribution] Availability

    Hello Guys, thanks for this nice contribute. The contribute works fine. But if I would like to press the button „configurer” it shows me the line below. Warning: require_once(languages/german/availability_configurer.php) [function.require-once]: failed to open stream: No such file or directory in /is/htdocs/xxxxxxxxx/xxxx/xxxxx/includes/availability_configurer.php on line 27 Fatal error: require_once() [function.require]: Failed opening required 'languages/german/availability_configurer.php' (include_path='.:/usr/share/pear/php5') in /is/htdocs//xxxxxxxxx/xxxx/xxxxx/includes/availability_configurer.php on line 27 Well in the file availability_configurer.php line 27 shows: 27 require('includes/application_top.php'); The file application_top.php is at the right place. Someone have an idea to solve this error? Thanks!
  3. web-engel@gmx.de

    [contribution] Tracking Module

    now my curl code, which doesn't work: ----------------------------------------------------------------------------------------------------- $ch = curl_init(); // Login curl_setopt($ch, CURLOPT_URL, "https://nolb.dhl.de/nextt-online-business/jsp/loginCheckAction.do"); curl_setopt($ch, CURLOPT_FAILONERROR, 1); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE); curl_setopt($ch, CURLOPT_TIMEOUT, 6); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_COOKIEJAR, DIR_FS_CATALOG . 'tmp/' . $cookie_name); curl_setopt($ch, CURLOPT_COOKIEFILE, DIR_FS_CATALOG . 'tmp/' . $cookie_name); curl_setopt($ch, CURLOPT_USERAGENT, $agent); curl_setopt($ch, CURLOPT_URL, "https://nolb.dhl.de/nolb-easylog/directsst.do?"); curl_setopt($ch, CURLOPT_REFERER, "https://nolb.dhl.de/nextt-online-business/jsp/login.do"); curl_setopt($ch, CURLOPT_POSTFIELDS, "v_benutzer=XXXXXXXX&v_passwort=XXXXXXX&v_spr=deu"); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); $data = curl_exec($ch); if ($error = curl_errno($ch)) { if ($error == 7) { die(TRACKING_CURL_SERVER_ERROR); } if ($error == 6) { die(TRACKING_CURL_NO_ACTIVE_INTERNET); } } curl_close($ch); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, 'https://nolb.dhl.de/nextt-online-business/jsp/nol/piece/pieceSearchCheckAction.do'); curl_setopt($ch, CURLOPT_FAILONERROR, 1); curl_setopt($ch, CURLOPT_TIMEOUT, 6); curl_setopt($ch, CURLOPT_COOKIEJAR, DIR_FS_CATALOG . 'tmp/' . $cookie_name); curl_setopt($ch, CURLOPT_COOKIEFILE, DIR_FS_CATALOG . 'tmp/' . $cookie_name); curl_setopt($ch, CURLOPT_USERAGENT, $agent); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_HEADER, true); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_REFERER, 'https://nolb.dhl.de/nextt-online-business/jsp/nol/piece/pieceDetails.do'); curl_setopt($ch, CURLOPT_POSTFIELDS, 'shipmentCode=XXXXXXXXXXXXXXXX&search_ta= Start '); curl_setopt($ch, CURLOPT_RETURNTRANSFER,1); $grab_data = curl_exec($ch); if ($error = curl_errno($ch)) { if ($error == 7) { die(TRACKING_CURL_SERVER_ERROR); } if ($error == 6) { die(TRACKING_CURL_NO_ACTIVE_INTERNET); } } curl_close($ch); ----------------------------------------------------------------------------------------------------- Important: To use the DHL enquiry, you must have a DHL account. XXXXXX = user account. Are you an idea, how it could work ? thanks
  4. web-engel@gmx.de

    [contribution] Tracking Module

    Hi Chris, at first, I would like to thank your for your great tracking module. I use this contribute with swiss post and it works fine. :rolleyes: Now I would like to write a courier-module with my logistic partner DHL. I followed your instructions to make an own courier module, but there was lots of ambiguity: I've cannot seen any tracking informations. I'm not shure, which parameters are necessary. Should DHL give me the parameter information? Would you care to work on a dhl shipping version? I'm fully at your disposal and give any DHL parameters if you need. thanks mattis
×