• yzgh00

    (@yzgh00)


    Hi

    I am using the latest version of 1.41.
    I cloned a template and then renamed it as whatever, save it as whatever, I can use it without problem, but then I can’t find it, even I choose this custom template, no result comes out. It means I can’t update my custom template. If I want to update it, I have to delete the old one and clone again then make a new one. For this, I need a copy backup for every custom template.

    Every custom template should loadable and editable.

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • I can confirm this bug. Sometimes when you select the Custom Template from the list, nothing or another template appears below.

    • This reply was modified 7 years, 11 months ago by DrLightman.

    In firefox the http response is:

    “Not authorised to make request template content or Directory Traversal Attempted.”

    I think because you pass the full path name to the .css and .mustache files.

    wp_opt.upload_url is not an url indeed but a filesystem path

    • This reply was modified 7 years, 11 months ago by DrLightman.

    The error presents on Windows becasue realpath does a conversion between forward/backward slashes in the path.

    You can fix this by applying realpath() to $this->helper->get_template_upload_directory() too before doing the secutiry comparisons, here:

    $base_path = realpath($this->helper->get_template_upload_directory());

    in \amazon-associates-link-builder\admin\aalb_admin.php line 205.

    and you’re welcome.

    • This reply was modified 7 years, 11 months ago by DrLightman.
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Custom template not load’ is closed to new replies.