Jump to content

SonicDepot

Members
  • Content count

    27
  • Joined

  • Last visited

Profile Information

  1. SonicDepot

    [contribution] Simple Template System (sts)

    Ok, I solved my bigger problem - it turns out that the problem was just caused by a little whitespace at the end of a couple of documents. I am not sure why, but it fixed it. How ever, I am still having this problem: Does anyone know why this box would not respond to the templates the way that the others have?
  2. Hey, Here is what appears to be a better fix that I just came up with (ok, I kinda stole the idea from espicom at http: //www. phpbb. com/kb/article. php?article_id=371&sid=a5547fbab7cfe9082dd13b9e0a99dd69, but I had to modify it to match up to the osC coding): In your database setup panel, add 2 more users and use the same password for them as for your first one. Make sure that when you create your new database usernames, that you give them accessibility to the proper database. Now go to your file manager, and edit ..catalog/includes/configure.php. This is where all of your database login info is stored. *** FYI in this example, name1 is your database username. So in the case of adironda, she would replace name1 with "adironda_osc1". name2, name3, etc are the respective new usernames that you have just created. *** In the area of line 40 you should find the following code: define('DB_SERVER_USERNAME', 'name1'); Replace that with: $username = date("i") % 3; // split hour into 3 overlapping sessions switch ($username) { case 0: $username='name1'; break; case 1: $username='name2'; break; case 2: $username='name3'; break; } define('DB_SERVER_USERNAME', $username); essentially what you have just done is made it so that your "current value" of 50000 is now 150000 (50000 per username). If you still need more, just add more usernames to your database, change the "% 3" in the first line to 4, 5, etc... how ever many you now have, and add more case statements with the new names. P.S. I haven't fully tested this for bugs, but it seems to work quite well. Maybe some of you with more coding experience can double check me?
  3. SonicDepot

    [contribution] Simple Template System (sts)

    Hi again. I guess I should have looked more closely. I am having more problems than I thought. Any time that I try to access a page where the customer should be logged in (i.e. account_edit.php), it comes with the following error messages: Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/sonic-de/public_html/osCommerce/catalog/includes/functions/general.php:2525) in /home/sonic-de/public_html/osCommerce/catalog/includes/functions/sessions.php on line 67 Warning: Cannot modify header information - headers already sent by (output started at /home/sonic-de/public_html/osCommerce/catalog/includes/functions/general.php:2525) in /home/sonic-de/public_html/osCommerce/catalog/includes/functions/general.php on line 57 What is the deal with these, and how do I fix them. Thanks in advance for any help on this one.
  4. SonicDepot

    [contribution] Simple Template System (sts)

    hey all, I have just installed the STS 4.3.2 and am quite pleased so far. Still a little work for me to do, but overall I am very satisfied. One problem that I have run into though, is that I have a consistent look for all of my infoboxes except the "categories" one, and I cannot make the categories box look like the others. Here is what I mean: http://www.sonic-depot.com/osCommerce/index.php The rest of them have rounded tops and no borders, which is exactly how I want them, but I cannot get the categories box to give up its border or squared corners. Any suggestions?
  5. SonicDepot

    "Other products that may interest you" box

    Perhaps a better way to explain it is this: When you login to Amazon.com, it comes up with suggestions for you based on what you have viewed/purchased in the past. Does anyone have any idea how to create this type of code? ANY help or suggestions would be greatly appreciated.
  6. Hello, I have been trying to no avail to develop a module, similar to the "similar products" module already on the site. What I would like this one to do, however, is on the account.php, account_history.php, and other similar pages, it would display a box of products in the same category or by the same manufacturer to what the customer has previously purchased. Or, if the customer has not previously purchased, it would just display some random products. Is there already a contribution for this? If not, could someone point me in the right direction as far as the needed code is concerned? Thanks.
  7. SonicDepot

    [CONTRIBUTION] CCGV (trad)

    Ok, I installed the contrib. a while ago, and was getting an error message after entering the code and cliking continue. Vger recommended that I remove it and reload it, and so I took it all off of my site. I then reloaded it onto my site, and now everything on the Admin side is working beautifully, but there is no box to enter the code into in the checkout process. If I remember right, it was on the checkout_payment.php page, just before the customer comments? There is some code there that I added as per the install instructions: "<?php echo $order_total_modules->credit_selection(); // CCGV ?>" but when I look at the source code, nothing shows up there where that should be. I have the code loaded onto that page that the string refers to: " require(DIR_WS_CLASSES . 'order.php'); $order = new order; require(DIR_WS_CLASSES . 'order_total.php');// CCGV $order_total_modules = new order_total;// CCGV if (!tep_session_is_registered('comments')) tep_session_register('comments'); $total_weight = $cart->show_weight(); $total_count = $cart->count_contents(); $total_count = $cart->count_contents_virtual(); // CCGV" Am I missing something obvious?
  8. SonicDepot

    [CONTRIBUTION] CCGV (trad)

    Hello, ALL of the modifications used in this are marked w/ CCGV, correct?
  9. SonicDepot

    designate lower 48 as a zone?

    go into ur admin, click 'Locations/Taxes' => 'Tax Zones'. Click the 'Insert' button, and create a zone (i.e. 'Lower 48'. Edit this zone, and click 'insert' again. Under 'Country' select 'United States', and then select one of the states that you wish to include. Repeat this 48 times, selecting all of the states but AK and HA. It is a little tedious and time consuming, but is the only way that I know of.
  10. SonicDepot

    Airborne Express module

    Hey, search for DHL instead of 'airborne'. They are now the same company, and you will use the DHL Shipping API for Domestic US - Domestic US shipping.
  11. I had the same problem. I compared the rates that it was charging with the 'rate quote' feature on the DHL site, and the rates appear to be the rates w/o fuel surcharge. I just added about $3-$4 to my handling fee for the time being. Maybe someone can come up with a way to make the mod add an estimated fuel surcharge based on the average?
  12. SonicDepot

    Authorize.NET

    I have had the same problem. Here is what you need to do if you are experiencing this problem: 1 - go to http://www.oscommerce.com/community/contri...h,authorize.net and download the A.net AIM contribution which is a replacement for your current A.net transaction processor. 2 - upload the 2 files into their corrosponding directories (catalog/includes/languages/english/modules/PAYMENT and catalog/includes/modules/payment - note the CAPS of PAYMENT. In the download, the file is in the modules folder, but needs to be uploaded to the PAYMENT directory, not the modules directory.) 3 - go into your osC user interface, copy the transaction key from the original A.net processor and turn that processor off(don't remove, just select FALSE on "enable..."). 4 - install the A.net AIM processor and enter in the necessary info. You should be ready to go after this. If you have any questions about this, I would be happy to try my best to help. Brian Quinney Sonic Depot, LLC http://www.sonic-depot.com
  13. SonicDepot

    Authorize.net not seeing credit card..what check next?

    If you still haven't figured it out, you may want to check out your settings at https://secure.authorize.net . Go to settings, and, at the bottom, click on the link for test mode. Make sure that it is shut off there. It does need to be off in a.net and in the mod. Hope this helped. Brian Quinney Sonic Depot, LLC http://www.sonic-depot.com
  14. SonicDepot

    HELP PayPal breaks Authorize.net

    I was having the exact same problem. Here is what you need to do if you are experiencing this problem: 1 - go to http://www.oscommerce.com/community/contri...h,authorize.net and download the A.net AIM contribution which is a replacement for your current A.net transaction processor. 2 - upload the 2 files into their corrosponding directories (catalog/includes/languages/english/modules/PAYMENT and catalog/includes/modules/payment - note the CAPS of PAYMENT. In the download, the file is in the modules folder, but needs to be uploaded to the PAYMENT directory, not the modules directory.) 3 - go into your osC user interface, copy the transaction key from the original A.net processor and turn that processor off(don't remove, just select FALSE on "enable..."). 4 - install the A.net AIM processor and enter in the necessary info. You should be ready to go after this. If you have any questions about this, I would be happy to try my best to help. Brian Quinney Sonic Depot, LLC http://www.sonic-depot.com administrator@sonic-depot.com
×