Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Fatal Error


EthelHurt

Recommended Posts

Hello.

 

I finally got the shopping cart to successfully submit an order to the gateway. However I am having a different problem now. When I try to view a customer order I get this message:

 

Fatal error: Call to undefined function: tep_hide_session_id() in /mnt/w0002/d15/s18/b0114258/www/estore/catalog/admin/orders.php on line 350

 

This happens no matter which link to the customer orders I use.

 

I am using the Authorize Net Module created by "IcedDante" on Nov. 19, 2008.

Link to comment
Share on other sites

tep_hide_session_id() is defined in /catalog/includes/functions/html_output.php -> line 252

 

that file s included by application_top, is that called b4 your error?

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Link to comment
Share on other sites

Hello and thank you for your response. Sadly, I do not understand what you are telling me. Let me explain my predicament a bit futher. After my initial problems with the Authorize Net Module, I did more searching and found that I needed to use either the AIM or SIM module. Further searching led me to a contribution made by IcedDante for the Authorize Net AIM Module. In the "Intallation" page, it had me make the following changes to my catalog/admin/orders.php file from this:

 

<tr>

<td class="main"><?php echo ENTRY_CREDIT_CARD_EXPIRES; ?></td>

<td class="main"><?php echo $order->info['cc_expires']; ?></td>

</tr>

<?php

}

 

to this:

 

<tr>

<td class="main"><?php echo ENTRY_CREDIT_CARD_EXPIRES; ?></td>

<td class="main"><?php echo $order->info['cc_expires']; ?></td>

</tr>

<?php

}

$detail_query = tep_db_query("SELECT transaction_details FROM " . TABLE_ORDERS . " WHERE orders_id = " . (int)$_GET['oID'] . " LIMIT 1");

$detail = tep_db_fetch_array($detail_query);

 

if ($detail['transaction_details'] != '') {

$details = explode(';', $detail['transaction_details']);

 

foreach ($details as $d) {

$item = explode('|', $d);

?>

<tr>

<td class="main"><?php echo $item[0]; ?>:</td>

<td class="main"><?php echo $item[1]; ?></td>

</tr>

<?php

}

}

?>

 

Also, it instructed to do the following SQL query to my store's database.

 

ALTER TABLE `orders` ADD `transaction_details` TEXT NULL AFTER `cc_expires`;

 

When I did the query it said it was successful.

 

In truth, I have no idea how any of these changes might have contributed to my current problem, but before these changes I was able to view a customers order, now I can not.

Link to comment
Share on other sites

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Spooks, Jim.

 

Thank you both for the help you gave me. I was a little slow on the up-take, but finally figured out what you both were talking about and was able to fix my problem. :D

 

I finally have a catalog/shopping cart that does what it is supposed to both on the front end and the back. I'm a happy camper.

 

Again, Thank you. B)

 

Ethel

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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...