Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Checkout on secure server


Guest

Recommended Posts

I am having problems getting the checkout and login to work. I have to link to a secure server. I wasn't sure which files needed to be replicated on the secure server - so I pretty much copied everything to the secure server.

 

When I try to checkout or login i get the following php error mesages:

 

Parse error: parse error in /www1/secure.myserver.com/html/catalog/includes/functions/html_output.php on line 116

 

Fatal error: Call to undefined function: tep_image() in /www1/secure.myserver.com/html/catalog/includes/functions/general.php on line 1030

 

Anybody know what could be wrong?

 

Also, what files are required to login and checkout. If I was sure, I could remove all the extra files I've copied to the secure server.

thanks,

Link to comment
Share on other sites

Parse error: parse error in /www1/secure.myserver.com/html/catalog/includes/functions/html_output.php on line 116
I would recopy this file. It may just be a bad copy. If that's not it, you might want to post lines 110-116, so we can look at them.

 

Good luck,

Matt

Link to comment
Share on other sites

I re-copied the /catalog/includes/functions/html_output.php and still got the same error. Then I noticed that there was a file labelled _old_html_output.html so I renamed it (It seemed to be packaged with the original files -( I am running a Phisis Load - the latest which was installed for me by a friend.) and I ran the login again. This time I got two different error messages, but the site images, colors, etc. did not load, however the breadcrumbs line, left side links and rightside account and checkout links appeared.

 

Warning: The sessions directory does not exist: /tmp. Sessions will not work until this directory is created. -- The warning image was also missing which may be a clue. -- I created a /tmp directory and a sessions directory within it. - still didn't work.

 

Then also got the fatal error again. This time citing a different line number (which makes sense as the file is a different file, but the error seems to be the same)

Fatal error: Call to undefined function: tep_parse_input_field_data() in /www1/secure.ixtnet.com/html/catalog/includes/functions/html_output.php on line 228

 

The code from the file, starting at line 226 thru 231

function tep_draw_textarea_field($name, $wrap, $width, $height, $text = '', $parameters = '', $reinsert_value = true) {

$field = '<textarea name="' . tep_parse_input_field_data($name, array('"' => '"')) . '" wrap="' . tep_parse_input_field_data($wrap, array('"' => '"')) . '" cols="' . tep_parse_input_field_data($width, array('"' => '"')) . '" rows="' . tep_parse_input_field_data($height, array('"' => '"')) . '"';

 

if (tep_not_null($parameters)) $field .= ' ' . $parameters;

 

$field .= '>';

 

I know something is missing, just can't figure out what?

thanks,

M

 

 

 

 

 

then the fatal error

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...