Results 1 to 6 of 6
  1. #1
    Join Date
    Dec 2009
    Posts
    27
    Plugin Contributions
    0

    help question Cannot change template

    When I select a template in Tools->Template Selection->Edit it redirects me to the index but the template does not change whatsoever.

    I tried with 2 templates to make sure it was not a template error. The templates I used were ZJ Black 2 and Template 241 at http://(sorry, site offline)/templates.html

    STEPS

    - Installed Zen Cart version 1.3.8a (uninstalled it and installed it again due to the same problem)

    - Installed Spanish language pack for front end and admin

    - Installed the following html_output patch due to an error in the admin area when trying to select templates: Catchable fatal error: Object of class queryFactoryResult could not be converted to string
    http://www.zen-cart.com/forum/showthread.php?t=74677

    I need your help.



    ZenCart Version 1.3.8a

  2. #2
    Join Date
    Dec 2009
    Posts
    27
    Plugin Contributions
    0

    Default Re: Cannot change template

    I just realized, it doesn't let me change anything at all.

    I tried to use the Layout Boxes Controller and when I click on update it redirects me to the admin index but changes nothing.

  3. #3
    Join Date
    Dec 2009
    Posts
    27
    Plugin Contributions
    0

    Default Re: Cannot change template

    I reuploaded the original html_output.php files and that does not fix the problem

  4. #4
    Join Date
    Dec 2009
    Posts
    27
    Plugin Contributions
    0

    Default Re: Cannot change template

    I reinstalled Zen Cart for the third time and it works fine before I install the Spanish language pack or upload the new html_output.php files.

    I will be installing those again to see where the problem was coming from.

  5. #5
    Join Date
    May 2009
    Location
    Virginia
    Posts
    101
    Plugin Contributions
    0

    Default Re: Cannot change template

    Did you happen to figure out the problem? I've also installed Zen Cart 1.3.8a (in a subdirectory of the root) and it also redirects me to the admin index when I add a new language and change the template. Then when I check back, the language was never added nor template changed.

  6. #6
    Join Date
    Feb 2010
    Posts
    7
    Plugin Contributions
    0

    Default Re: Cannot change template

    I had the same problem and what worked for me was this thread -
    post number 23.
    (Thanks Website Rob! )

    Basically what I did was follow what that thread said which is:

    1) Downloaded the html_output_admin.zip and extracted html_output.php file
    2) Opened the file and added the additional lines (highlighted in green) in the correct place:

    // Output a form
    function zen_draw_form($name, $action, $parameters = '', $method = 'post', $params = '', $usessl = 'false') {
    $form = '<form name="' . zen_output_string($name) . '" action="';
    if (zen_not_null($parameters)) {
    if ($usessl) {
    $form .= zen_href_link($action, $parameters, 'NONSSL');
    } else {
    $form .= zen_href_link($action, $parameters, 'NONSSL');
    }
    } else {
    if ($usessl) {
    $form .= zen_href_link($action, '', 'NONSSL');
    } else {
    $form .= zen_href_link($action, '', 'NONSSL');
    }
    }
    $form .= '" method="' . zen_output_string($method) . '"';
    if (zen_not_null($params)) {
    $form .= ' ' . $params;
    }
    $form .= '>';

    /** BOF Security Patch v138 20090619 **/
    $form .= '<input type="hidden" name="securityToken" value="' . $_SESSION['securityToken'] . '" />';
    /** EOF Security Patch v138 20090619 **/

    return $form;
    }


    3) Saved the file and overwrote the existing html_output.php file in admin/includes/functions

    Worked for me so far so hope it works for you!

 

 

Similar Threads

  1. v154 New Install - Cannot change template 6th & 7th try Help
    By bearlymakinit in forum Templates, Stylesheets, Page Layout
    Replies: 16
    Last Post: 15 Apr 2015, 12:50 PM
  2. v151 Title tag on my template pages missing - cannot switch to default template
    By mrcastle in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 6 Aug 2014, 12:00 AM
  3. v151 Help! I cannot change the width of my (home) template
    By keithduong in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 24 Jan 2014, 04:29 PM
  4. Cannot add to cart and cannot login after htaccess change
    By ironchef in forum General Questions
    Replies: 1
    Last Post: 17 Dec 2012, 11:23 PM
  5. Cannot change Template HELP!!
    By kaimali in forum General Questions
    Replies: 1
    Last Post: 14 Apr 2009, 09:43 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg