What do you have at line 37?Originally Posted by harlyman
-------
<?php
foreach($ordersArray as $orders) {
?>
----
??
Also. is it customised template?
What do you have at line 37?Originally Posted by harlyman
-------
<?php
foreach($ordersArray as $orders) {
?>
----
??
Also. is it customised template?
Originally Posted by superprg
i have at line 37
<?php
foreach($ordersArray as $orders) {
?>
and yes i have customised my template but only stylesheets, have not changed anything in the code..
You are using an old version. A bug related to that was fixed in a more recent release.
As of today, the latest is v1.3.0.2
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
i do use v1.3.0.2, a fresh install from a fresh tar ball:)Originally Posted by DrByte
Then you've made an error when customizing the page
/includes/templates/user/templates/tpl_account_default.php
or maybe that file has come from a template you obtained from someone else?
If you switch back to classic, or delete that file, does the problem persist?
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
I am guessing when you said tar ball you were referring to that loosely as Zen Cart is in a Zip format ...Originally Posted by harlyman
Otherwise, where did you get it as a tar ball?![]()
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
I'm gonna take that back.
While I can't reproduce what you're describing on a fresh v1.3.0.2 install here, there is an error related to what you're describing, which has been fixed for the next release.
/includes/modules/pages/account/header_php.php
around line 48, you have:Between those two lines, add this:PHP Code:$orders = $db->Execute($orders_query);
while (!orders->EOF) {
PHP Code:$ordersArray=array();
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
I had the same problem, I applied the fix and it works.
The problem appeared when I made second test order to one of my dummy account (with group pricing on). Not sure the real culprit though.
Thanks Dr Byte.