Forum Replies Created

Viewing 7 replies - 16 through 22 (of 22 total)
  • Thread Starter cybsys

    (@cybsys)

    This has really pissed me off. I’ve lost a lot of customers because your plugin doesn’t work and no one here helps. I spent 12 hours straight updating to the latest WordPress and WooCommerce (had to migrate databases and update to PHP 7.4.7 which was a nightmare) because you broke the original plugin support.

    The FedEx plugin works perfect. Why can’t you fix yours yet alone actually ask proper debugging questions and not something stupid like “What country are you from”.

    You have the full error message. You are the API programmer so you should know exactly what that error is caused by and what it’s from.

    Thread Starter cybsys

    (@cybsys)

    Australia.

    Thread Starter cybsys

    (@cybsys)

    I can’t update it. I have many other plugins which depend on this version and if I update I’ll probably also need to update PHP which will break the entire website.

    Can you add support for the previous WooCommerce version? You should be able to do a version check and add a global flag which will use the correct version function terminology.

    It’s strange because the whole plugin works fine, but it just can’t save the data.

    I had this exact same problem when they first made this horrid plugin and no one helped me. I spent hours looking at their PHP code and finally I found what I needed to change. What I did was I just ditched their method of attempting to save files and used my own hardcoded paths.

    Look in the file “class-pr-dhl-api-rest-label.php” which can be found under “includes/pr-dhl-api” for these lines:

    $label_path = PR_DHL()->get_dhl_label_folder_dir() . $label_name;
    $label_url = PR_DHL()->get_dhl_label_folder_url() . $label_name;

    And replace them with this (edit the paths as required for your server):

    $upload_path = '/websites/mysite.com/wp-content/uploads';
    $upload_path2 = 'https://mysite.com/wp-content/uploads';
    $label_path = $upload_path . '/DHL/'. $label_name;
    $label_url = $upload_path2 . '/DHL/'. $label_name;

    This will put all the generated labels into “C:/websites/mysite.com/wp-content/uploads/DHL”.

    Also, make sure you have your read/write permissions on your server setup correctly.

    Thread Starter cybsys

    (@cybsys)

    I’ve always had this issue, but I resolved it myself prior by changing your code to use hard-coded file paths. I had to update today because it seems the old version isn’t supported anymore and I wasn’t able to generate labels anymore.

    Environment: Windows Server 2012
    Wordpress: 4.3
    WooCommerce: 2.4.13
    PHP: 5.5.19

    Thread Starter cybsys

    (@cybsys)

    Customers are complaining however that they have changed their address, but it is not updating. So I do need to alter the code. Can you point me in the right direction on where or what needs changing?

    Thread Starter cybsys

    (@cybsys)

    I am using WooCommerce V2.4.13 and WordPress V4.3.

    To re-create the issue, all you do is login to your account and attempt to change your Billing or Shipping Address. Afterwards, it doesn’t update unless I manually do it from the order itself.

Viewing 7 replies - 16 through 22 (of 22 total)