Jump to content


  • Content count

  • Joined

  • Last visited

About guytoronto

  • Birthday 08/05/1974

Profile Information

  1. guytoronto

    Auctions V2.1 Support Thread

    After implementing this in a non-critical online store, I realized it does have some major flaws. Unfortunately, all the little hacks and tweaks I've made to the code to get it to suit my purposes are almost impossible to document. I would advise anybody who isn't comfortable troubleshooting PHP code to stay away from this. I've taught myself PHP over the past 6 months, and it has helped me immensely with OSCommerce and customization. A few mods I made to the auction module: - PROBLEM: For a lot of my auctions, nobody would bid on anything, so I would have to go in every few weeks, and reset the auction. - SOLUTION : I hacked it so that items on auction would stay on auction indefinitely UNTIL the 1st bid was placed. That would essentially ACTIVATE the auction, for a 10-day countdown. (if you are interested in seeing it - http://computershopauction.com/secure/index.php) - PROBLEM: I didn't like the way bidding increments worked. I wanted the first bidder to have an advantage. - SOLUTION: Hacked so that the first bidder only has to bid one penny to activate the auction. Each additional bidder has to follow bidding increments. - PROBLEM: Visitors would see the "Bid" open box, without having to create an account or log in. - SOLUTION: Hacked it so that if they are not logged in, all they see is "This product is on auction. To bid, you must first log into your account or create a new account. (Click Here)" - PROBLEM: Prices people see throughout the site didn't accurately reflect the starting price or current bid on the product - SOLUTION: Hacked a lot of the product listing coding to show starting bid or current high bid. There were a lot of other coding tweaks and edits, and I would love to actually create a fresh module with everything I have learned over the past 6 months, but I just don't have the time. Feel free to email me any questions about my implementation. Please don't ask me to completely solve any problems (I can't teach you PHP).
  2. guytoronto

    Auctions V2.1 Support Thread

    UPDATE: After some tinkering, I just deleted all the standard HTML coding above the initial PHP (and the body and html close tags at the bottom), and it all works fine. Other issues I was having - the body of the automatic email sent is actually in TWO places (aucron2.php and shopping_cart.php). This could be streamlined in the next update to this package. The final_price variable isn't carried properly to the shopping cart. The shopping cart seems to ignore the final_price variable. I'm trying to figure out a proper work-around.
  3. guytoronto

    Auctions V2.1 Support Thread

    Thanks to everyone in this thread. It's helped me solve a lot of the problems. Now I have this issue. When running the aucron2.php, I get this error Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/XXX/secure/aucron2.php:9) in /home/XXX/secure/includes/functions/sessions.php on line 102 select ap.auctions_max as bid_price , ap.auctions_high_cust as customers_id,ap.auctions_id, ap.products_id, pp.products_name, pr.products_model, cc.customers_firstname, cc.customers_lastname, cc.customers_email_address from auctions ap, customers cc, products_description pp, products pr where ap.auctions_high_cust = cc.customers_id and ap.products_id = pp.products_id and ap.products_id = pr.products_id and ap.status = 1 and ap.expires_date <'2008-10-02 10:20:45' GROUP BY auctions_id Any ideas or help?