Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

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


Recommended Posts

Posted

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

  • 2 weeks later...
Posted

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...