Jump to content

bobburns

Members
  • Content count

    27
  • Joined

  • Last visited

Profile Information

  • Real Name
    Robert Burns

Recent Profile Visitors

3,871 profile views
  1. bobburns

    GOOGLE CHECKOUT IPN

    The Google Checkout IPN goes to Google - and Google returns "Ooopss [company name] sent us a bad shopping cart . . . we'll contact them to let them know" error. It's not setup as a https site - though there is a an open SSL certificate now set up on the domain, but not in the Google Checkout software. Is this an easy fix now? So do I have this set up wrong? The old non IPN version of Google Checkout still works - without HTTPS. Bob
  2. I have the Download Controller installed but not using it and I seem to have stumbled onto an old problem I cannot find the answer to in any support thread. I get an osC.class.php error when processing the order using PayPal IPN 2.3.3. First it called to an non-existent path and file => includes/modules/payment/paypal/classes/osC/osC.class.php - so I added it and the file, now I have double pathing problems instead as thus where it looks like it's now calling to database_tables.inc.php and checkout_process.inc.php files I do not know. Is this an old issue that some one knows? There seems to be a lot of reference to the includes/modules/payment/paypal/classes/osC/osC.class.php error on the Internet via Google but I can find the solution Here's what I get after the confirm order button in the browser Warning: check_order_status(includes/modules/payment/paypal/database_tables.inc.php) [function.check-order-status]: failed to open stream: No such file or directory in /home/centcom/public_html/onlinestore/includes/modules/payment/paypal/classes/osC/osC.class.php on line 27 Warning: check_order_status() [function.include]: Failed opening 'includes/modules/payment/paypal/database_tables.inc.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/centcom/public_html/onlinestore/includes/modules/payment/paypal/classes/osC/osC.class.php on line 27 Warning: before_process(includes/modules/payment/paypal/catalog/checkout_process.inc.php) [function.before-process]: failed to open stream: No such file or directory in /home/centcom/public_html/onlinestore/includes/modules/payment/paypal.php on line 145 Warning: before_process(includes/modules/payment/paypal/catalog/checkout_process.inc.php) [function.before-process]: failed to open stream: No such file or directory in /home/centcom/public_html/onlinestore/includes/modules/payment/paypal.php on line 145 Warning: before_process(includes/modules/payment/paypal/catalog/checkout_process.inc.php) [function.before-process]: failed to open stream: No such file or directory in /home/centcom/public_html/onlinestore/includes/modules/payment/paypal.php on line 145 Warning: before_process() [function.include]: Failed opening 'includes/modules/payment/paypal/catalog/checkout_process.inc.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/centcom/public_html/onlinestore/includes/modules/payment/paypal.php on line 145
  3. bobburns

    Official PayPal IPN Support Thread

    I seem to have stumbled onto an old problem I cannot find the answer to in any support thread. I get an osC.class.php error when processing the order using PayPal IPN 2.3.3. First it called to an non-existent path and file => includes/modules/payment/paypal/classes/osC/osC.class.php - so I added it and the file, now I have double pathing problems instead as thus where it looks like it's now calling to database_tables.inc.php and checkout_process.inc.php files I do not know. Is this an old issue that some one knows? There seems to be a lot of reference to the includes/modules/payment/paypal/classes/osC/osC.class.php error on the Internet via Google but I can find the solution Warning: check_order_status(includes/modules/payment/paypal/database_tables.inc.php) [function.check-order-status]: failed to open stream: No such file or directory in /home/centcom/public_html/onlinestore/includes/modules/payment/paypal/classes/osC/osC.class.php on line 27 Warning: check_order_status() [function.include]: Failed opening 'includes/modules/payment/paypal/database_tables.inc.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/centcom/public_html/onlinestore/includes/modules/payment/paypal/classes/osC/osC.class.php on line 27 Warning: before_process(includes/modules/payment/paypal/catalog/checkout_process.inc.php) [function.before-process]: failed to open stream: No such file or directory in /home/centcom/public_html/onlinestore/includes/modules/payment/paypal.php on line 145 Warning: before_process(includes/modules/payment/paypal/catalog/checkout_process.inc.php) [function.before-process]: failed to open stream: No such file or directory in /home/centcom/public_html/onlinestore/includes/modules/payment/paypal.php on line 145 Warning: before_process(includes/modules/payment/paypal/catalog/checkout_process.inc.php) [function.before-process]: failed to open stream: No such file or directory in /home/centcom/public_html/onlinestore/includes/modules/payment/paypal.php on line 145 Warning: before_process() [function.include]: Failed opening 'includes/modules/payment/paypal/catalog/checkout_process.inc.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/centcom/public_html/onlinestore/includes/modules/payment/paypal.php on line 145
  4. My logged in show prices on the "Buy Now" button will add the item to the cart, BUT logs the person OFF and returns them the the same product page they are on. If the person logs back on again the item is there. It does NOT happen on the "Add to Cart" button. Does anyone have or had the same problem or any ideas on how to fix it? Any help would be greatly appreciated Bob
  5. Hi All I'm running anti-robot 2.6. It works with true type turned off and email validate contrib installed When going to the contact us link on the store index page I get now Parse error: syntax error, unexpected $end in /home/centcom/public_html/onlinestore/contact_us.php on line 279 279 is the last line of the contact_us.php file I don't get this one - any ideas? Here's my contact_us.php file Thanking you in advance Bob <?php /* $Id: contact_us.php,v 1.42 2003/06/12 12:17:07 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ require('includes/application_top.php'); // BOF Anti Robot Validation v2.5 if (ACCOUNT_VALIDATION == 'true' && CONTACT_US_VALIDATION == 'true') { require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_ACCOUNT_VALIDATION); include_once('includes/functions/' . FILENAME_ACCOUNT_VALIDATION); } // EOF Anti Robot Registration v2.5 require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_CONTACT_US); $error = false; if (isset($HTTP_GET_VARS['action']) && ($HTTP_GET_VARS['action'] == 'send')) { // BOF Anti Robotic Registration v2.5 if (ACCOUNT_VALIDATION == 'true' && CONTACT_US_VALIDATION == 'true') { $sql = "SELECT * FROM " . TABLE_ANTI_ROBOT_REGISTRATION . " WHERE session_id = '" . tep_session_id() . "' LIMIT 1"; if( !$result = tep_db_query($sql) ) { $error = true; $entry_antirobotreg_error = true; $text_antirobotreg_error = ERROR_VALIDATION_1; } else { $entry_antirobotreg_error = false; $anti_robot_row = tep_db_fetch_array($result); if (( strtoupper($HTTP_POST_VARS['antirobotreg']) != $anti_robot_row['reg_key'] ) || ($anti_robot_row['reg_key'] == '') || (strlen($antirobotreg) != ENTRY_VALIDATION_LENGTH)) { $error = true; $entry_antirobotreg_error = true; $text_antirobotreg_error = ERROR_VALIDATION_2; } else { $sql = "DELETE FROM " . TABLE_ANTI_ROBOT_REGISTRATION . " WHERE session_id = '" . tep_session_id() . "'"; if( !$result = tep_db_query($sql) ) { $error = true; $entry_antirobotreg_error = true; $text_antirobotreg_error = ERROR_VALIDATION_3; } else { $sql = "OPTIMIZE TABLE " . TABLE_ANTI_ROBOT_REGISTRATION . ""; if( !$result = tep_db_query($sql) ) { $error = true; $entry_antirobotreg_error = true; $text_antirobotreg_error = ERROR_VALIDATION_4; } else { $entry_antirobotreg_error = false; } } } } if ($entry_antirobotreg_error == true) $messageStack->add('contact', $text_antirobotreg_error); } // EOF Anti Robotic Registration v2.5 $name = tep_db_prepare_input($HTTP_POST_VARS['name']); $email_address = tep_db_prepare_input($HTTP_POST_VARS['email']); $enquiry = tep_db_prepare_input($HTTP_POST_VARS['enquiry']); // BOF Anti Robot Registration v2.5 if (!tep_validate_email($email_address)) { $error = true; $messageStack->add('contact', ENTRY_EMAIL_ADDRESS_CHECK_ERROR); } elseif (!$entry_antirobotreg_error == true) { tep_mail(STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, EMAIL_SUBJECT, $enquiry, $name, $email_address); tep_redirect(tep_href_link(FILENAME_CONTACT_US, 'action=success')); } // EOF Anti Robotic Registration v2.5 $breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_CONTACT_US)); ?> <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"> <html <?php echo HTML_PARAMS; ?>> <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>"> <title><?php echo TITLE; ?></title> <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>"> <link rel="stylesheet" type="text/css" href="stylesheet.css"> </head> <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0"> <!-- header //--> <?php require(DIR_WS_INCLUDES . 'header.php'); ?> <!-- header_eof //--> <!-- body //--> <table border="0" width="100%" cellspacing="3" cellpadding="3"> <tr> <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2"> <!-- left_navigation //--> <?php require(DIR_WS_INCLUDES . 'column_left.php'); ?> <!-- left_navigation_eof //--> </table></td> <!-- body_text //--> <td width="100%" valign="top"><?php echo tep_draw_form('contact_us', tep_href_link(FILENAME_CONTACT_US, 'action=send')); ?><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="pageHeading"><?php echo HEADING_TITLE; ?></td> <td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_contact_us.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <?php if ($messageStack->size('contact') > 0) { ?> <tr> <td><?php echo $messageStack->output('contact'); ?></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <?php } if (isset($HTTP_GET_VARS['action']) && ($HTTP_GET_VARS['action'] == 'success')) { ?> <tr> <td class="main" align="center"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_man_on_board.gif', HEADING_TITLE, '0', '0', 'align="left"') . TEXT_SUCCESS; ?></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox"> <tr class="infoBoxContents"> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td align="right"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image_button('button_continue.gif', IMAGE_BUTTON_CONTINUE) . '</a>'; ?></td> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> </table></td> </tr> </table></td> </tr> <?php } else { ?> <tr> <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox"> <tr class="infoBoxContents"> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td class="main"><?php echo ENTRY_NAME; ?></td> </tr> <tr> <td class="main"><?php echo tep_draw_input_field('name'); ?></td> </tr> <tr> <td class="main"><?php echo ENTRY_EMAIL; ?></td> </tr> <tr> <td class="main"><?php echo tep_draw_input_field('email'); ?></td> </tr> <tr> <td class="main"><?php echo ENTRY_ENQUIRY; ?></td> </tr> <tr> <td><?php echo tep_draw_textarea_field('enquiry', 'soft', 50, 15); ?></td> </tr> </table></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <?php // BOF Anti Robot Registration v2.5 if (ACCOUNT_VALIDATION == 'true' && strstr($PHP_SELF,'contact_us') && CONTACT_US_VALIDATION == 'true') { ?> <tr> <td class="main"><b><?php echo CATEGORY_ANTIROBOTREG; ?></b></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox"> <tr class="infoBoxContents"> <td><table border="0" cellspacing="2" cellpadding="2"> <tr> <?php if (ACCOUNT_VALIDATION == 'true' && strstr($PHP_SELF,'contact_us') && CONTACT_US_VALIDATION == 'true') { if ($is_read_only == false || (strstr($PHP_SELF,'contact_us')) ) { $sql = "DELETE FROM " . TABLE_ANTI_ROBOT_REGISTRATION . " WHERE timestamp < '" . (time() - 3600) . "' OR session_id = '" . tep_session_id() . "'"; if( !$result = tep_db_query($sql) ) { die('Could not delete validation key'); } $reg_key = gen_reg_key(); $sql = "INSERT INTO ". TABLE_ANTI_ROBOT_REGISTRATION . " VALUES ('" . tep_session_id() . "', '" . $reg_key . "', '" . time() . "')"; if( !$result = tep_db_query($sql) ) { die('Could not check registration information'); } ?> <tr> <td class="main"><table border="0" width="100%" cellspacing="0" cellpadding="2" class="formArea"> <tr> <td class="main"><table border="0" cellspacing="0" cellpadding="2"> <tr> <td class="main" width="100%" NOWRAP><span class="main"> <?php echo ENTRY_ANTIROBOTREG; ?></span></td> </tr> <tr> <td class="main" width="100%"> <?php $check_anti_robotreg_query = tep_db_query("select session_id, reg_key, timestamp from anti_robotreg where session_id = '" . tep_session_id() . "'"); $new_guery_anti_robotreg = tep_db_fetch_array($check_anti_robotreg_query); $validation_images = tep_image('validation_png.php?rsid=' . $new_guery_anti_robotreg['session_id']); if ($entry_antirobotreg_error == true) { ?> <span> <?php echo $validation_images . ' <br> '; echo tep_draw_input_field('antirobotreg') . ' <br><b><font color="red">' . ERROR_VALIDATION . '<br>' . $text_antirobotreg_error . '</b></font>'; } else { ?> <span> <?php echo $validation_images . ' <br> '; echo tep_draw_input_field('antirobotreg', $account['entry_antirobotreg']) . ' ' . ENTRY_ANTIROBOTREG_TEXT; } } } ?> </span> </td> </tr> </table></td> </tr> </table></td> </tr> </tr> </table></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <?php } // EOF Anti Robot Registration v2.5 ?> <tr> <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox"> <tr class="infoBoxContents"> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td align="right"><?php echo tep_image_submit('button_continue.gif', IMAGE_BUTTON_CONTINUE); ?></td> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> </table></td> </tr> </table></td> </tr> <?php } ?> </table></form></td> <!-- body_text_eof //--> <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2"> <!-- right_navigation //--> <?php require(DIR_WS_INCLUDES . 'column_right.php'); ?> <!-- right_navigation_eof //--> </table></td> </tr> </table> <!-- body_eof //--> <!-- footer //--> <?php require(DIR_WS_INCLUDES . 'footer.php'); ?> <!-- footer_eof //--> <br> </body> </html> <?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>
  6. bobburns

    Mail_Validation

    Thanks AlexStudio It works now Bob
  7. bobburns

    Mail_Validation

    Hi All: I got the contrib working and validating accounts - and with SEO URL's installed BUT . . . I get a Parse error: syntax error, unexpected ')' in /home/centcom/public_html/onlinestore/admin/includes/boxes/reports.php on line 31 but all I did was put in the simple replace code I do not see an extra ")", and I already tried pulling out all the white space. Here's my reports file Any ideas? Bob <?php /* $Id: reports.php,v 1.5 2003/07/09 01:18:53 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2002 osCommerce Released under the GNU General Public License */ ?> <!-- reports //--> <tr> <td> <?php $heading = array(); $contents = array(); $heading[] = array('text' => BOX_HEADING_REPORTS, 'link' => tep_href_link(FILENAME_STATS_PRODUCTS_VIEWED, 'selected_box=reports')); if ($selected_box == 'reports') { $contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_STATS_PRODUCTS_VIEWED, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_REPORTS_PRODUCTS_VIEWED . '</a><br>' . '<a href="' . tep_href_link(FILENAME_STATS_PRODUCTS_PURCHASED, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_REPORTS_PRODUCTS_PURCHASED . '</a><br>' . '<a href="' . tep_href_link(FILENAME_STATS_CUSTOMERS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_REPORTS_ORDERS_TOTAL . '</a><br>' . '<a href="' . tep_href_link(FILENAME_STATS_NOT_VALID_USER, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_REPORTS_NOT_VALID_USER . '</a>'); '<a href="' . tep_href_link(FILENAME_STATS_CREDITS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_REPORTS_CREDITS . '</a>' ); } $box = new box; echo $box->menuBox($heading, $contents); ?> </td> </tr> <!-- reports_eof //-->
  8. Never mind about my post 1702 about SEO URL's 2.1d_1_2 missing the products name I fixed it. It was my error. I had to manually edit the categories.php because of other contribs and mixed up the line that echoes the products name with the seo_url. As a result only the seo_url showed. I whipped out winmerge and found the problem by comparing the files. Bob
  9. Hi all: I downloaded and installed Ultimate_SEO_URLsv21da_1_2 uploaded by yesudo Nov 29, 2006 I got it working - but when I went to change some languages in existing products files and then updated, the title (product name - $item_name) disappeared and the SEO URL field is all that is now left in admin - so I can't put an item name back in. Is this something you have seen? I looked through 40 pages of the support thread and found nothing. Also (so - as in I believe therefore) when putting an order in the cart I get this error Warning: Missing argument 1 for show_total() in /home/centcom/public_html/onlinestore/includes/classes/shopping_cart.php on line 483 Even though the items go into the cart - no prices show - BUT a total does show. Clicking "cart contents" gives then this error Fatal error: Error calling function "CreateItem()": Missing Parameter: "$item_name" must be provided. in /home/centcom/public_html/onlinestore/includes/functions/GlobalAPIFunctions.php on line 419 Which appears to be because a item name is missing from Google Checkout's GlobalAPIFunctions.php Of the two items I put int the cart - ignoring the error, the one without a name produces a google checkout API error call above while the one with the name does not. taking the standard checkout path the order can be completed with the "line 483 shopping_cart" errors showing. Has anyone got any ideas of what is causing this - i believe the entire problems surrounds the dropped names - and that is all for right now. Any help anyone can offer is appreciated. Bob
  10. bobburns

    [Contribution] Auction Module

    These issues above are all fixed now. I did miss a fix - it is not documented in the installation.txt, but is in the downloaded package as a part of the file general.php The tep_db_error was caused by a script installed version of OSC which had a require statement for application_top. php which called the database twice in the /catalog/includes/language/english/product_info.php file. I replaced it with a virgin file. The tep_end_auction_invalid function (and the one for "valid") is a define that are both in the catalog/includes/functions/general.php file, but is not mentioned in the install documentation. The countdown fix of the post of sopinon Posted Feb 15 2007, 06:15 AM appears to work fine and allows you to clean up general.php by removing that countdown function declared there. A bug I have found appears to be a limit of 5 auction listings - when I declared 6 in admin. One won't show. Bob
  11. Turning true type fonts off in admin would have fixed the Black box and the png issue
  12. bobburns

    [Contribution] Auction Module

    My last posts on the teb_db_error are MOOT for now. I changed ALL require and include statements in /includes/application_top.php to require_once and include_once - so now the new error is: Fatal error: Call to undefined function: tep_end_auction_invalid() in /home/centcom/public_html/onlinestore/includes/languages/english/product_info.php on line 19 This is my line 19 of that product_info.php file if (strtotime($mfo_auction_query->expires_date)<time()) { OF if (strtotime($mfo_auction_query->expires_date)<time()) { $products_auction_id = $_GET['products_id']; tep_end_auction_invalid($products_auction_id); I applied the fix of post #81 - http://forums.oscommerce.com/index.php?s=&...t&p=1008296 Nothing – but I didn’t expect it to fix anything as an auction has not ended yet There is still an issue of the code double calling the database or some file – but it’s muted by the “once” statements - for now At least it appears I am approaching the language directories now but on a different error that APPEARS TO BE the auction contrib.related.and appears to say it does not know what “tep_end_auction_invalid “ is. This one has stopped me - did I miss a fix along the way? Bob
  13. bobburns

    [Contribution] Auction Module

    Hi All: This is going to be the "killer app" to eBay - lots of little bees all swarming to sting at once who own there own stores and destinys !! I have a Language problem that is created somewhere causing tep_db_connect error I have Auction 1.4_1 installed. It's a language problem which produces a tep_db_connect error that points to database.php. I have PHP version 4.4.4 and MySQL version 4.1.21-standard I have already fixed the 1064 errors. See http://forums.oscommerce.com/index.php?showtopic=250909 I downloaded Auctions 1.4 and was able to get it working - but only by commenting out the language statements in product_info.php as thus: The contrib when installed caused a fatal error tep_db_connect error. I get this from the browser . . . it is pointing to database.php and it is . . . Fatal error: Cannot redeclare tep_db_connect() (previously declared in /home/centcom/public_html/onlinestore/includes/functions/database.php:13) in /home/centcom/public_html/onlinestore/includes/functions/database.php on line 13 If I go anywhere else but product_info.php the OSC site works SO . . . this is how I get OSC to come up and work from these changes to product_info.php below: Released under the GNU General Public License */ require('includes/application_top.php'); // BAD CODE BELOW - CAUSES tep_db_connect() error //require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_PRODUCT_INFO); // bof added for auction product contribution // BAD CODE BELOW - CAUSES tep_db_connect() error // require(DIR_WS_LANGUAGES . $language . '/' . 'auction.php'); if (isset($_POST['placebid']) ) { The contrib's mods to product_info.php caused this it appears, (or maybe I pasted something wrong - but I believe I have checked four times now) as when the DIR_WS_LANGUAGES was loaded, and so it had to be commented out as below. (Normally line 15 of product_info.php) // BAD CODE BELOW - CAUSES tep_db_connect() error // require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_PRODUCT_INFO); AND the one inside the auction BOF area also The error went away and the site then loaded - but of course with no TEXT variable defines loading so now everything on the site loads - AND WORKS FINE - in ENGLISH ONLY and like this for any variables of javascript links => TEXT_MORE_INFORMATION, and TEXT_DATE_ADDED in the product info pages and all other pages that use variable TEXT information. Other support pages suggested the tep_db_connect error was caused by usually language code. For instance another forum - OSCMax - a commercial version of OSC user had the same problem and here is what the developer said when he solved the problem michael_s michael_s is offline osCMax Developer Default RE: Re: RE: Re: RE: Please help... going nuts Jose, the original file was renamed to index.nested2.tpl.php and there was the other incorrect file index.nested.tpl.php in its place. So somewhere along the line you switched them (probably testing something) and you most likely forgot about the change. I do it all the time An error like that, where it says a function cannot be redelcared is usually not caused by the file where the error shows up. What happened is that your index.nested.tpl.php was calling database.php a second time when it was not supposed to. It was easy to track down when I compared your template files against the standard osCMax templates. Your index.nested.tpl.php was about 5 times larger in size than the correct template, so it stood out clearly. [bold and italics emphasis added by me] You can find the entire thread at http://www.oscmax.com/forums/oscmax-v1-7-d...going-nuts.html To me this looks like a case of the code doubling back on itself somehow as Micheal_s suggests above. Everywhere else I have gone in support forums - where parties have solved this kind of error - either they don't know what they did to fix it; or it was fixed like above by replacing standard files. EXCEPT for one OSC forum below which had to stop double loading by using the require_once or include_once statement NOW I do have a few contribs on this site like CCVG gift voucher, and OSC Affiliate and Google Checkout (wouldn't cause this though) and Anti_Robot Registration (but installed after this) Auction Process and some others I can't recall right now. There was another problem just like this which was solved with require_once statements, but I don't know what might be re-loading database.php to go into as files and look to start using require_once or include_once statements in http://forums.oscommerce.com/index.php?showtopic=191078 - but that support thread was not specific where the user found the offending files to put the require_once statements on. I don't know this code for Auctions well enough to know where to look either because it basically uses all of OSC - and somehow it looks like a Language problem is created somewhere causing the tep_db_connect error. I do not know how the languages work that could cause this AT ALL. Has anyone got any clues OR can you tell me how to get this maybe working in ENGLISH only without the dynamic path - that is to hard code product info.php to ENGLISH only for right now?
  14. bobburns

    [Contribution] Auction Module

    It cannot be told from your post which version of the Auction code you have installed, BUT MySql and PHP is sensitive between versions of it - so see See http://forums.oscommerce.com/index.php?showtopic=250909 See also post 32 of this support thread from marcusdesign In reality you should read the entire support thread Bob
  15. bobburns

    [Contribution] Auction Module

    See http://forums.oscommerce.com/index.php?showtopic=250909 See also post 22 of this support thread from marcusdesign
×