Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

CCGV Undefined index: back_x help


irishguy9

Recommended Posts

Ok this is what I have done:

 

Changed:

 

if (!tep_session_is_registered('customer_id')) {

 

to

 

if (!isset($_SESSION['customer_id'])) {

 

However, now I am getting this error:

 

Undefined index: back_x in /home/giftboun/public_html/gv_send.php on line 24

 

line 24 reads:

 

if (($_POST['back_x']) || ($_POST['back_y'])) {
    $_GET['action'] = '';
  }

 

 

 

Link to comment
Share on other sites

@@AngusD getting error now of this:

 

Undefined index: back_y

 

Undefined index: action

this line:

 

if ($_GET['action'] == 'process') {

 

I am thinking it needs to be changed to

if (isset($GET['process']));

 

Undefined index: action this line reads:

if ($_GET['action'] == 'send' && !$error) {

 

Undefined index: action this line reads:

elseif ($_GET['action']=='' || $error) {

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...