• Hello. When I am in the admin section, trying to create a new template (or to modify an existing one), I can see the code in the CSS text box but the HTML text box is always empty. It looks like the code is not being loaded. Is there any fix for this problem?

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Amazon Associates Link Builder

    (@amazonlinkbuilder)

    Dear @eleazaro,

    Please share following details to allow us to debug this issue:

    1.Console log errors. Browser console log error at the time of loading the page & also on hitting the search button. Steps to get console logs:

    • Open the Console window in Chrome using Ctrl + Shift + J (or Cmd + Opt + J on Mac) Follow this for reference
    • Hit the Search button and check the console log errors
    • Send the console logs as it is. It’s better a if you can send screenshot of complete console log errors.

    2. Browser version
    3. Is the issue on all browsers or a specific browser?
    4. PHP version (You can use plugins like display PHP version that display PHP version on dashboard)
    5. PHP error logs (if any)
    6. WordPress version
    7. Plugin version
    8. Are you using multiple editors in your setup? If yes, which plugin are you using for that so that we can try to reproduce the issue on our end?

    Thread Starter eleazaro

    (@eleazaro)

    1.Console log errors. Browser console log error at the time of loading the page & also on hitting the search button. Steps to get console logs:

    In chrome, there is a 404 each time that I change the value of the combobox to choose the template to edit. For example, when I choose the ProductGrid:

    GET https://www.websitename.com/wp-content/plugins/amazon-associates-link-builder/template/ProductGrid.mustache?_=1514463111849 404 (Not Found)

    send @ load-scripts.php?c=0…tooltip&ver=4.9.1:4
    ajax @ load-scripts.php?c=0…tooltip&ver=4.9.1:4
    n.(anonymous function) @ load-scripts.php?c=0…tooltip&ver=4.9.1:4
    aalb_template_select_template_onchange @ aalb_template.js?ver=1.5.2:65
    onchange @ admin.php?page=assoc…ilder-templates:280
    ListPicker._handleMouseUp

    In Firefox I have the same problem but the error does not appear in the console.

    2. Browser version

    Chrome: 63.0.3239.108 (Official Build) (64-bit)
    Firefox: 57.0.2 (64-bit)

    3. Is the issue on all browsers or a specific browser?

    All browsers.

    4. PHP version (You can use plugins like display PHP version that display PHP version on dashboard)

    7.0.21

    5. PHP error logs (if any)

    I don’t have access to the PHP logs right now. If I find any, I will add a comment.

    6. WordPress version

    4.9.1

    7. Plugin version

    1.5.2

    8. Are you using multiple editors in your setup? If yes, which plugin are you using for that so that we can try to reproduce the issue on our end?

    No.

    Thank you for your help.

    Thread Starter eleazaro

    (@eleazaro)

    I have checked it again. Now I have a 403:

    load-scripts.php?c=1…tooltip&ver=4.9.1:4 GET https://www.myweb.net/blog/wp-content/plugins/amazon-associates-link-builder/template/ProductGrid.mustache?_=1514990582888 403 (Forbidden)
    send @ load-scripts.php?c=1…tooltip&ver=4.9.1:4
    ajax @ load-scripts.php?c=1…tooltip&ver=4.9.1:4
    n.(anonymous function) @ load-scripts.php?c=1…tooltip&ver=4.9.1:4
    aalb_template_select_template_onchange @ aalb_template.js?ver=1.5.2:65
    onchange @ admin.php?page=assoc…ilder-templates:338
    ListPicker._handleMouseUp

    Do I have to give permissions to a specific user in the folder?

    • This reply was modified 7 years, 2 months ago by eleazaro.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Custom templates not showing HTML’ is closed to new replies.