Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

webbqt

Pioneers
  • Posts

    71
  • Joined

  • Last visited

Everything posted by webbqt

  1. Yes, I have the latest version. I had an older one, but found the new one, tried to update but had some trouble, so took out both the old and the new completely. Then installed the new one. I had trouble, but got that all figured out. The only thing not working is the site page not work (that I can tell of coarse). There is one thing this time that i didn't have the first time (or when i tried to update)....in administration-configuration, there are 2 "links" available. One is smaller, but what is listed there is listed on the one with more options. I made sure they were both set to the same things, but maybe that's my problem....i shouldn't have 2. Maybe i need to take it off again.
  2. Yes, I had presumed the seacrch engine safe was what I needed to turn off. I also had already asigned new categories, as well as double checked to make sure they were enabled. I even went in and reclicked enabled just in case, even though it was set. As I said, they are all set to all in language.
  3. I have nothing showing up on my sites link page. I've spent 3 hours now searching what to do. I have english clicked at my language. I made sure that each catagory is turned on. I've made sure that the language in each link is clicked to all. I saw something about turning off search engine friendly, but can't find that...i did find search engine safe. I've tried quit a few things and it's just not showing up. Any other thing i need to try? Thanks, Denise
  4. ooopsss :blush: I finally got it to not list 'INVOICE_TEXT_INVOICE_NR' and 'INVOICE_TEXT_INVOICE_DATE', and I see that I don't even want them there. They are place above "Invoice", and shouldn't be....since they are in a fancy box just below "Invoice"......where do I cancel them out? (without messing every thing else up)
  5. Yup, that did it for me. Thanks! And I learned a little about coding too :blush: I don't suppose you know how to get a space between Invoice Date and the date do you?
  6. This is what I see in Packingslip INVOICE_TEXT_INVOICE_NR 300 INVOICE_TEXT_INVOICE_DATE07/24/2006 -------------------------------------------------------------------------------- TITLE_PACKING Because of what I've read above I figured out how to get the logo right....but can't figure out why it reads INVOICE_TEXT_INVOICE bla bla bla. When I open an Invoice, I get the same, but it list Invoice correctly. Thanks for your help. I'm php illiterate :blush:
  7. I've looked and looked to find this problem, but can't. Help would be very appreciated! When I go to Admin/Payments Modules, I get this above the regular stuff: (in case it makes a difference, I installed Edit Orders first) MENT_CC_TEXT_TITLE; $this->description = MODULE_PAYMENT_CC_TEXT_DESCRIPTION; $this->sort_order = MODULE_PAYMENT_CC_SORT_ORDER; $this->enabled = ((MODULE_PAYMENT_CC_STATUS == 'True') ? true : false); if ((int)MODULE_PAYMENT_CC_ORDER_STATUS_ID > 0) { $this->order_status = MODULE_PAYMENT_CC_ORDER_STATUS_ID; } if (is_object($order)) $this->update_status(); } // class methods function update_status() { global $order; if ( ($this->enabled == true) && ((int)MODULE_PAYMENT_CC_ZONE > 0) ) { $check_flag = false; $check_query = tep_db_query("select zone_id from " . TABLE_ZONES_TO_GEO_ZONES . " where geo_zone_id = '" . MODULE_PAYMENT_CC_ZONE . "' and zone_country_id = '" . $order->billing['country']['id'] . "' order by zone_id"); while ($check = tep_db_fetch_array($check_query)) { if ($check['zone_id'] < 1) { $check_flag = true; break; } elseif ($check['zone_id'] == $order->billing['zone_id']) { $check_flag = true; break; } } if ($check_flag == false) { $this->enabled = false; } } } // begin cvv contribution function javascript_validation() { $js = ' if (payment_value == "' . $this->code . '") {' . "\n" . ' var cc_owner = document.checkout_payment.cc_owner.value;' . "\n" . ' var cc_number = document.checkout_payment.cc_number.value;' . "\n" . ' var cvvnumber = document.checkout_payment.cvvnumber.value;' . "\n" . ' if (cc_owner == "" || cc_owner.length < ' . CC_OWNER_MIN_LENGTH . ') {' . "\n" . ' error_message = error_message + "' . MODULE_PAYMENT_CC_TEXT_JS_CC_OWNER . '";' . "\n" . ' error = 1;' . "\n" . ' }' . "\n" . ' if (cc_number == "" || cc_number.length < ' . CC_NUMBER_MIN_LENGTH . ') {' . "\n" . ' error_message = error_message + "' . MODULE_PAYMENT_CC_TEXT_JS_CC_NUMBER . '";' . "\n" . ' error = 1;' . "\n" . ' }' . "\n" . ' if (cvvnumber.length > ' . CVVNUMBER_MAX_LENGTH . ') {' . "\n" . ' error_message = error_message + "' . MODULE_PAYMENT_CC_TEXT_JS_MAXCVVNUMBER . '";' . "\n" . ' error = 1;' . "\n" . ' }' . "\n" . ' if (cvvnumber == ""|| cvvnumber.length < ' . CVVNUMBER_MIN_LENGTH . ') {' . "\n" . ' error_message = error_message + "' . MODULE_PAYMENT_CC_TEXT_JS_CVVNUMBER . '";' . "\n" . ' error = 1;' . "\n" . ' }' . "\n" . ' }' . "\n"; return $js; } // end cvv contribution function selection() { global $order; for ($i=1; $i<13; $i++) { $expires_month[] = array('id' => sprintf('%02d', $i), 'text' => strftime('%B',mktime(0,0,0,$i,1,2000))); } $today = getdate(); for ($i=$today['year']; $i < $today['year']+10; $i++) { $expires_year[] = array('id' => strftime('%y',mktime(0,0,0,1,1,$i)), 'text' => strftime('%Y',mktime(0,0,0,1,1,$i))); } $selection = array('id' => $this->code, 'module' => $this->title, 'fields' => array(array('title' => MODULE_PAYMENT_CC_TEXT_CREDIT_CARD_OWNER, 'field' => tep_draw_input_field('cc_owner', $order->billing['firstname'] . ' ' . $order->billing['lastname'])), array('title' => MODULE_PAYMENT_CC_TEXT_CREDIT_CARD_NUMBER, 'field' => tep_draw_input_field('cc_number')), array('title' => MODULE_PAYMENT_CC_TEXT_CREDIT_CARD_EXPIRES, 'field' => tep_draw_pull_down_menu('cc_expires_month', $expires_month) . ' ' . tep_draw_pull_down_menu('cc_expires_year', $expires_year)))); // begin cvv contribution array('title' => MODULE_PAYMENT_CC_TEXT_CREDIT_CARD_CVVNUMBER . ' ' .'' . TEXT_CVV_LINK . '', 'field' => tep_draw_input_field('cvvnumber'); // end cvv contribution return $selection; } function pre_confirmation_check() { global $HTTP_POST_VARS; include(DIR_WS_CLASSES . 'cc_validation.php'); // begin cvv contribution $cc_validation = new cc_validation(); $result = $cc_validation->validate($HTTP_POST_VARS['cc_number'], $HTTP_POST_VARS['cc_expires_month'], $HTTP_POST_VARS['cc_expires_year'], $HTTP_POST_VARS['cvvnumber']); // end cvv contribution $error = ''; switch ($result) { case -1: $error = sprintf(TEXT_CCVAL_ERROR_UNKNOWN_CARD, substr($cc_validation->cc_number, 0, 4)); break; case -2: case -3: case -4: $error = TEXT_CCVAL_ERROR_INVALID_DATE; break; case false: $error = TEXT_CCVAL_ERROR_INVALID_NUMBER; break; } if ( ($result == false) || ($result < 1) ) { $payment_error_return = 'payment_error=' . $this->code . '&error=' . urlencode($error) . '&cc_owner=' . urlencode($HTTP_POST_VARS['cc_owner']) . '&cc_expires_month=' . $HTTP_POST_VARS['cc_expires_month'] . '&cc_expires_year=' . $HTTP_POST_VARS['cc_expires_year']; tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, $payment_error_return, 'SSL', true, false)); } $this->cc_card_type = $cc_validation->cc_type; $this->cc_card_number = $cc_validation->cc_number; } function confirmation() { global $HTTP_POST_VARS; $confirmation = array('title' => $this->title . ': ' . $this->cc_card_type, 'fields' => array(array('title' => MODULE_PAYMENT_CC_TEXT_CREDIT_CARD_OWNER, 'field' => $HTTP_POST_VARS['cc_owner']), array('title' => MODULE_PAYMENT_CC_TEXT_CREDIT_CARD_NUMBER, 'field' => substr($this->cc_card_number, 0, 4) . str_repeat('X', (strlen($this->cc_card_number) - 8)) . substr($this->cc_card_number, -4)), array('title' => MODULE_PAYMENT_CC_TEXT_CREDIT_CARD_EXPIRES, 'field' => strftime('%B, %Y', mktime(0,0,0,$HTTP_POST_VARS['cc_expires_month'], 1, '20' . $HTTP_POST_VARS['cc_expires_year']))), // begin cvv contribution array('title' => MODULE_PAYMENT_CC_TEXT_CREDIT_CARD_CVVNUMBER, 'field' => $HTTP_POST_VARS['cvvnumber']))); // end cvv contribution return $confirmation; } function process_button() { global $HTTP_POST_VARS; //begin cvv contribution $process_button_string = tep_draw_hidden_field('cc_owner', $HTTP_POST_VARS['cc_owner']) . tep_draw_hidden_field('cc_expires', $HTTP_POST_VARS['cc_expires_month'] . $HTTP_POST_VARS['cc_expires_year']) . tep_draw_hidden_field('cc_type', $this->cc_card_type) . tep_draw_hidden_field('cc_number', $this->cc_card_number) . tep_draw_hidden_field('cvvnumber', $this->cvvnumber); // end cvv contribution return $process_button_string; } function before_process() { global $HTTP_POST_VARS, $order; if ( (defined('MODULE_PAYMENT_CC_EMAIL')) && (tep_validate_email(MODULE_PAYMENT_CC_EMAIL)) ) { $len = strlen($HTTP_POST_VARS['cc_number']); $this->cc_middle = substr($HTTP_POST_VARS['cc_number'], 4, ($len-8)); $order->info['cc_number'] = substr($HTTP_POST_VARS['cc_number'], 0, 4) . str_repeat('X', (strlen($HTTP_POST_VARS['cc_number']) - 8)) . substr($HTTP_POST_VARS['cc_number'], -4); } } function after_process() { global $insert_id; if ( (defined('MODULE_PAYMENT_CC_EMAIL')) && (tep_validate_email(MODULE_PAYMENT_CC_EMAIL)) ) { $message = 'Order #' . $insert_id . "\n\n" . 'Middle: ' . $this->cc_middle . "\n\n"; tep_mail('', MODULE_PAYMENT_CC_EMAIL, 'Extra Order Info: #' . $insert_id, $message, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); } } function get_error() { global $HTTP_GET_VARS; $error = array('title' => MODULE_PAYMENT_CC_TEXT_ERROR, 'error' => stripslashes(urldecode($HTTP_GET_VARS['error']))); return $error; } function check() { if (!isset($this->_check)) { $check_query = tep_db_query("select configuration_value from " . TABLE_CONFIGURATION . " where configuration_key = 'MODULE_PAYMENT_CC_STATUS'"); $this->_check = tep_db_num_rows($check_query); } return $this->_check; } function install() { tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Enable Credit Card Module', 'MODULE_PAYMENT_CC_STATUS', 'True', 'Do you want to accept credit card payments?', '6', '0', 'tep_cfg_select_option(array(\'True\', \'False\'), ', now())"); tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Split Credit Card E-Mail Address', 'MODULE_PAYMENT_CC_EMAIL', '', 'If an e-mail address is entered, the middle digits of the credit card number will be sent to the e-mail address (the outside digits are stored in the database with the middle digits censored)', '6', '0', now())"); tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Sort order of display.', 'MODULE_PAYMENT_CC_SORT_ORDER', '0', 'Sort order of display. Lowest is displayed first.', '6', '0' , now())"); tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, use_function, set_function, date_added) values ('Payment Zone', 'MODULE_PAYMENT_CC_ZONE', '0', 'If a zone is selected, only enable this payment method for that zone.', '6', '2', 'tep_get_zone_class_title', 'tep_cfg_pull_down_zone_classes(', now())"); tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, use_function, date_added) values ('Set Order Status', 'MODULE_PAYMENT_CC_ORDER_STATUS_ID', '0', 'Set the status of orders made with this payment module to this value', '6', '0', 'tep_cfg_pull_down_order_statuses(', 'tep_get_order_status_name', now())"); } function remove() { tep_db_query("delete from " . TABLE_CONFIGURATION . " where configuration_key in ('" . implode("', '", $this->keys()) . "')"); } function keys() { return array('MODULE_PAYMENT_CC_STATUS', 'MODULE_PAYMENT_CC_EMAIL', 'MODULE_PAYMENT_CC_ZONE', 'MODULE_PAYMENT_CC_ORDER_STATUS_ID', 'MODULE_PAYMENT_CC_SORT_ORDER'); } } ?>
  8. I've been using this for a while, but now it doesn't leave the item number, just all the attributes. I had added a different contribution and had to go back in and re-add this. It's been since then that I don't get the item number. Also, even when it did give me the item number i still didn't get the full order if they ordered more than one decal. It would show the first item number with the attributes, but then run out of room if there was more than one item ordered. Is there any way to make sure and get the item listed before the attributes? and add more room for a bigger order?
  9. The line the error is in wasn't even changed while adding this contribution. I got tired of trying to figuring it out, so I just upload the catagories.php file from Headers Tag, and now I'm going back over my other contributions to see if I need to re-add them into this file. Every thing is working so far. Being code-illiterate makes tracking down errors very tricky......thank goodness for this forum. Thanks for answering back.
  10. I'm getting "Parse error: parse error, unexpected T_CASE in /home/webbsgra/public_html/decals/admin/categories.php on line 335" when I click on admin - catalog. I've spent the day looking and comparing...thought I had it fixed once, but just ended up with another error. I have double checked the install instructions 3 times as well, so any help would be appreciated. Every thing else works great though!
  11. Thanks Tom, I did your fix and now I get this.... <br /> <b>Warning</b>: imagecreate(): Invalid image dimensions in <b>/home/webbsgra/public_html/decals/imagemagic.php</b> on line <b>495</b><br /> <br /> <b>Warning</b>: imagecolorallocate(): supplied argument is not a valid Image resource in <b>/home/webbsgra/public_html/decals/imagemagic.php</b> on line <b>496</b><br /> <br /> <b>Warning</b>: imagecolorallocate(): supplied argument is not a valid Image resource in <b>/home/webbsgra/public_html/decals/imagemagic.php</b> on line <b>497</b><br /> <br /> <b>Warning</b>: imagefilledrectangle(): supplied argument is not a valid Image resource in <b>/home/webbsgra/public_html/decals/imagemagic.php</b> on line <b>499</b><br /> <br /> <b>Warning</b>: imagestring(): supplied argument is not a valid Image resource in <b>/home/webbsgra/public_html/decals/imagemagic.php</b> on line <b>501</b><br /> <br /> <b>Warning</b>: imagejpeg(): supplied argument is not a valid Image resource in <b>/home/webbsgra/public_html/decals/imagemagic.php</b> on line <b>504</b><br /> <br /> <b>Warning</b>: imagedestroy(): supplied argument is not a valid Image resource in <b>/home/webbsgra/public_html/decals/imagemagic.php</b> on line <b>505</b><br /> Is this ok to show up? Am I right that it's not really a page that a customer would end up seeing without typing the imagemagic.php address in directly? Thank you for answering so quickly! Denise
  12. Did I mention I have no clue what I'm doing? I was looking at my files again, and (this may be wrong) but when I click on an image (on my site) and look at the properties I see the address webbsgraphics.com/decals/imagemagic.php...since I have it encrypted...is this correct? Because if it is...then it doesn't matter (all the above errors that is) because the image works on the site or does it matter? This is also why that "page" shows up so much in my statistics - since the idea of my site is to sell the decals that are pictured, and they are going to enlarge to see it before they buy it...but then again, it does say in my statistics that this page is an entry page.....maybe the big question is" What should actually show up if you type in www.webbsgraphics.com/decals/imagemagic.php?"
  13. I've just read all of this support thread and can't figure this out either....is it really a problem? I didn't even know I had this going on because when I go to my site every thing works (webbsgraphics.com/decal)...I only found this error message when I was checking the statistics for my site and saw a lot of people entered at www.webbsgraphics.com/decals/imagemagic.php. For them to get all the errors can't be a good thing...should I just redirect that page? or is there a fix (what should be there?). When I was reading this thread, I read to check configure.php...but the slash was there. As far as I know there are no problems any where else...I just don't want to loose customers that for some reason go to that page first (I don't even know why they would end up on that page first). Your help is appreciated. :)
  14. Did you ever figure this out? I just installed this today, and I do have it show up in Admin....and I can even add new Family names...but that's all it seems to do. I presume something is missing. I don't see how to connect the products. I'm wondering after reading through this forum if it's even the right contrib for me. I want to upsell, but just want to add the option of having a printed decal clear coated....and the choice of buying a spreader to put each decal on....will this offer just the two things?
  15. Wow! Thanks for answering someone elses problem...cause it fixed mine too! :D :D I thought I'd be searching for hours for a fix...but did it in less than a half hour.....this forum can be so helpful :thumbsup:
  16. ummmm, where would I look? I havn't found any doubles yet, but wonder if I'm looking in the right place. I've looked in my cpanel files...and also mysql...but I'm pretty mysql illiterate so..... Thanks for the help.
  17. I'm just wondering if there is a way to place the previous/next buttons under the Item and description (the bottom of the page, but above the review and checkout buttons) The install went smooth with no problems at all...so I don't want to go in blind and figure this out myself....besides, I'm code illiterate. Thanks for your help.
  18. I'm getting a double listing in my Articles Configuration. It reads: Display New Articles Link Display New Articles Link Number of Days Display New Articles Number of Days Display New Articles and so on. I don't know if this is really a problem I need to fix or not. I have put in 1 article and so far it works (well, once I put in a "topic"...havn't figured out how to skip having a topic yet) I have double checked my installation to see if I put in something twice, but can't find anything wrong there. Thanks for your help.
  19. Thanks for the info....now I have a better chance of getting this figured out.
  20. I really love this contrib now that I have it installed correctly. Even the little problems I had were easy to figure out after I checked my install. What I can't figure out is how to get rid of some of the right side pages. I've tried: strpos($file, 'my_order_history') !== FALSE || in the first section of includes/modules/dynamic_sitemap.php... and I've tried: strpos($file, "my_order_history.php") !== FALSE || in the second section....am I missing something? There's really very few on the right side list that I want there...just can't see what I'm missing Thanks
  21. I'm moving from a links manager to oscommerce.....so one by one is how i'll go....maybe two by two. Any way thanks for the quick answer....that saved me a lot of time searching here and more time to transfer :blush:
  22. I think this link contribution is great! Is there an easy way to transfer an already set up links page to this link program? Or do I just need to add them in one by one from my other program?
  23. ERROR: Google Product Sitemap Generation FAILED! ERROR: Google Category Sitemap Generation FAILED! Generated Google Sitemap Index Successfully Array ( [QUERY] => Array ( [PRODUCTS] => Array ( [sTATUS] => success [NUM_ROWS] => 0 ) [CATEOGRY] => Array ( [sTATUS] => success [NUM_ROWS] => 0 ) ) [sAVE_FILE_XML] => Array ( [0] => Array ( [file] => /home/webbsgra/public_html/decals/sitemapindex.xml [status] => success [file_exists] => true ) ) ) Thanks for looking
  24. I installed version 1.4, then read somewhere that if I have SEO installed I should use 1.3.....so changed. But either way I get this: ERROR: Google Product Sitemap Generation FAILED! ERROR: Google Category Sitemap Generation FAILED! Generated Google Sitemap Index Successfully I read in the first pages of someone having about the same problem (they got all 3 errors), but I never really found an answer to fix it. I'm guessing since one was successful....it's just a small thing....but have no clue. Thanks for your help....my contacts are completely dried out by reading all these pages looking for an answer (and I'm just sure it right there....I'm just blind)
  25. Where would I delete it at? It's not in my catalog/products list to delete from there in the admin program..but they show up on the web site itself. If I need to go into file manager....I have no idea which file to find to change. I'm having lots of problems figuring out which file to go to for anything in file manager for that matter. Thanks for your help :D
×
×
  • Create New...