Jump to content
Sign in to follow this  
hoasem

an error happened when the purchase checkout by paypal or credit card

Recommended Posts

Notice: Undefined index: title in D:\Program Files\EasyPHP5.2.10\www\os\catalog\checkout_confirmation.php

 

the code is:

<table border="0" cellspacing="0" cellpadding="2">

<tr>

<td class="main" colspan="4"><?php echo $confirmation['title']; ?></td>

</tr>

<?php

 

for ($i=0, $n=sizeof($confirmation['fields']); $i<$n; $i++)

{

?>

<tr>

<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>

<td class="main"><?php echo $confirmation['fields'][$i]['title']; ?></td>

<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>

<td class="main"><?php echo $confirmation['fields'][$i]['field']; ?></td>

</tr>

<?php

}

?>

 

the error says $confirmation["title"] ---->Undefined index: title

 

any idea for this? thanks

Share this post


Link to post
Share on other sites

in application_top.php

 

error_reporting(E_ALL & ~E_NOTICE);

replace with

error_reporting(0);


Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×