When my customers add products to the cart, log in etc etc and go to step 2 of 3 where they choose the payment method, im getting a blank page.
What has happened here and what can i do to get this sorted out.
Thanks in advance
Printable View
When my customers add products to the cart, log in etc etc and go to step 2 of 3 where they choose the payment method, im getting a blank page.
What has happened here and what can i do to get this sorted out.
Thanks in advance
Try the suggestions on this FAQ, esp the debug logging suggestion in step 2:
https://www.zen-cart.com/tutorials/index.php?article=82
ok i tried that, but cant do this step
Open the latest /cache/myDEBUG-xxxxxxx.log file to see the list of any PHP errors that occurred while the page/test was running.
its not there, am i doing something wrong
ok found them, i have loads of reports, what do i do at this stage
[18-Mar-2008 22:09:32] PHP Parse error: syntax error, unexpected '<' in /home/directpc/public_html/includes/templates/directpc/templates/tpl_checkout_payment_default.php on line 123
These are all the messages im getting, im really stuck now, as this is not my thing, i understand what the messages mean, but do not know what the coding should be in the first error
[18-Mar-2008 22:09:32] PHP Parse error: syntax error, unexpected '<' in /home/directpc/public_html/includes/templates/directpc/templates/tpl_checkout_payment_default.php on line 123
and
[18-Mar-2008 21:58:24] PHP Fatal error: Call to undefined function: zen_get_languages() in /home/directpc/public_html/index.php on line 25
and
[18-Mar-2008 21:59:16] PHP Warning: main(includes/functions/functions_email.php) [<a href='function.main'>function.main</a>]: failed to open stream: No such file or directory in /home/directpc/public_html/includes/init_includes/init_general_funcs.php on line 26
[18-Mar-2008 21:59:16] PHP Fatal error: main() [<a href='function.require'>function.require</a>]: Failed opening required 'includes/functions/functions_email.php' (include_path='.:/usr/lib/php') in /home/directpc/public_html/includes/init_includes/init_general_funcs.php on line 26
and
[18-Mar-2008 22:00:29] PHP Warning: main(includes/languages/english/other_images_names.php) [<a href='function.main'>function.main</a>]: failed to open stream: No such file or directory in /home/directpc/public_html/includes/languages/directpc/english.php on line 673
[18-Mar-2008 22:00:29] PHP Fatal error: main() [<a href='function.require'>function.require</a>]: Failed opening required 'includes/languages/english/other_images_names.php' (include_path='.:/usr/lib/php') in /home/directpc/public_html/includes/languages/directpc/english.php on line 673
thanks in advance
for the first error, here is the contents around line 123
line 121 </td>
line 122 </tr>
123 <?php
124 } // end foreach ($productArray as $product)
125 ?>
126 <!-- Finished loop through all products /-->
Also,
- what version of Zen Cart?
- when did these problems "start"? Have you or your hosting company been changing anything lately?
- what addons are installed on your site?
sorry line 115 to 130
<?php
}
if ($product['checkBoxDelete'] ) {
echo zen_draw_checkbox_field('cart_delete[]', $product['id']);
}
?>
</td>
</tr>
<?php
} // end foreach ($productArray as $product)
?>
<!-- Finished loop through all products /-->
</table>
<div id="cartSubTotal"><?php echo SUB_TITLE_SUB_TOTAL; ?> <?php echo $cartShowTotal; ?></div>
<br class="clearBoth" />