New Zenner
- Join Date:
- Jan 2006
- Posts:
- 6
- Plugin Contributions:
- 0
Two (possibly three) problems in upgrading 1.2.4 to 1.3.7,
Hi, I'm upgrading a shop from 1.2.4 to 1.3.7, and I think I've got most of the snags worked out, however there are two problems I've not been able to fix right away.
The login-page doesn't parse the constants/defines in the template. Ie. instead of the text: "Returning Customers: Please Log In" i just get "HEADING_RETURNING_CUSTOMER" and so on for all the defines. I've got both english and swedish language files installed and both have the same error. On a related note (I assume) I'm unable to log-in as a customer in the shop, when I try to log in I'm just returned to the same page again - but as I said I'm assuming it's related.
the next problem is in the reviews section, when I try to read a product review I get the following error: "Warning: sprintf() [function.sprintf]: Too few arguments in [MY_SITE]/includes/templates/template_default/templates/tpl_product_reviews_info_default.php on line 51"
Line 51 contains the following:
"<h3 class="rating"><?php echo zen_image(DIR_WS_TEMPLATE_IMAGES . 'stars_' . $review_info->fields['reviews_rating'] . '.gif', sprintf(TEXT_OF_5_STARS, $review_info->fields['reviews_rating'])), sprintf(TEXT_OF_5_STARS, $review_info->fields['reviews_rating']); ?></h3>"
From this thread:
http://www.zen-cart.com/forum/showthread.php?t=39706
I understand that the problem is probably somewhere in the language files, but I'm unsure which file I need to edit, and what I need to change in order to get this to work properly.
I've only got reviews in Swedish, and as I'm unable to log-in (see above) I can't add an english review for comparison.
Laage
Laage