Jump to content



Latest News: (loading..)

* * * * * 1 votes

Auctions V2.1 Support Thread


  • Please log in to reply
79 replies to this topic

#41   DawnG

DawnG
  • Members
  • 178 posts
  • Real Name:Dawn Gribble

Posted 01 July 2008 - 05:07 PM

Hello all, I've just installed this contrib and was getting the error described earlier:

Quote

Quick Fix For this Error:
The error display twice, under the Starting Price and Highest Bid
Warning: Missing argument 2 for display_price() in includes/classes/currencies.php on line 72

FIND:
function display_price($products_price, $products_tax, $quantity = 1) {
return $this->format($this->calculate_price($products_price, $products_tax, $quantity));
}
REPLACE WITH:
function display_price($products_price, $quantity = 1) {
return $this->format($this->calculate_price($products_price, $quantity));
}

Basically this will just remove the code that is asking for the Price+Tax. And at least it will be one less error you get.

I've followed these instructions but now I'm getting this error:

Fatal error: Call to undefined method currencies::calculate_price() in /home/xxxxxx/public_html/shop/includes/classes/currencies.php on line 72

What do I need to do? thank you

#42   superguppie

superguppie
  • Members
  • 1 posts
  • Real Name:ed de jong

Posted 08 July 2008 - 06:20 PM

Hi all,   (ITEM FIXED)

ive installed auctions 2.1 on a oscommerce 2.2rc2a , completely from null, the first things look like theyre working, however , when a non-logged in user looks at the auction items it gives following error next to bugs life picture

starting price

Warning: Missing argument 2 for currencies::display_price(), called in /public_html/catalog/auctions.php on line 302 and defined in /public_html/catalog/includes/classes/currencies.php on line 72
10.00EUR

Highest bid

Warning: Missing argument 2 for currencies::display_price(), called in /public_html/catalog/auctions.php on line 303 and defined in /catalog/includes/classes/currencies.php on line 72
0.00EUR

i tried shutting taxes on and off, but no rescue from that...

anybody got a hint for me :-)

Superguppie

o yessssss foudn the answer above this repley...skuuze me ..;-), this part works good now !

Edited by superguppie, 08 July 2008 - 06:24 PM.


#43   cosmicro

cosmicro
  • Members
  • 7 posts
  • Real Name:David García

Posted 09 July 2008 - 09:07 AM

Hello!, I have this error:

Warning: mysql_numrows(): supplied argument is not a valid MySQL result resource in D:\OSCOMMERCE\tienda\includes\classes\shopping_cart.php on line 329

Fatal error: Call to a member function calculate_price() on a non-object in D:\OSCOMMERCE\tienda\includes\classes\shopping_cart.php on line 292

Some solution?

Thanks

#44   jckang3218

jckang3218
  • Members
  • 1 posts
  • Real Name:Jacy Kang

Posted 17 July 2008 - 05:43 AM

hi,..
i m new to oscommerce

can someone guide me how to install this add on..
i refer the readme file which provide, but the page is blank after i follow it to do.

thanks a lot..if some one can assist me

#45   farions

farions
  • Members
  • 1 posts
  • Real Name:Mario

Posted 17 July 2008 - 09:44 AM

Hi.
First say that my english si bad... sorry.
I think that I find a error. It´s in checkout_confirmation where subtotal, shipping, total is. The price of the item in auction is the price in te catalog and not the price in the auction end, Do I have explained?
How is it modified?
Thank you!!

Edited by farions, 17 July 2008 - 09:45 AM.


#46   onsetrese

onsetrese
  • Members
  • 15 posts
  • Real Name:Harold D. Ramirez

Posted 25 July 2008 - 06:42 PM

Hi guys,

Ive installed a fresh installation of oscommerce 2.2rc2a and copied the contents of the Catalog_NEW_AND_MODIFIED FILES.

In the admin, adding a new auction I get the error when i add a new auction product

Warning: Division by zero in C:\xampp\htdocs\auction\admin\auctions.php on line 387


In catalog I get the error below when I view auction product...

Warning: Missing argument 2 for currencies::display_price(), called in C:\xampp\htdocs\auction\auctions.php on line 302 and defined in C:\xampp\htdocs\auction\includes\classes\currencies.php on line 72

Warning: Missing argument 2 for currencies::display_price(), called in C:\xampp\htdocs\auction\auctions.php on line 303 and defined in C:\xampp\htdocs\auction\includes\classes\currencies.php


Please help...

#47   onsetrese

onsetrese
  • Members
  • 15 posts
  • Real Name:Harold D. Ramirez

Posted 25 July 2008 - 06:55 PM

I also get this when I view aution info (product_info.php)

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\auction\product_info.php:142) in C:\xampp\htdocs\auction\product_info.php on line 160

#48   onsetrese

onsetrese
  • Members
  • 15 posts
  • Real Name:Harold D. Ramirez

Posted 25 July 2008 - 08:10 PM

View Postonsetrese, on Jul 26 2008, 02:42 AM, said:

In the admin, adding a new auction I get the error when i add a new auction product

Warning: Division by zero in C:\xampp\htdocs\auction\admin\auctions.php on line 387


Found it,

admin/auctions.phpat around line 390 look for the code below
$contents[] = array('text' => '' . TEXT_INFO_PERCENTAGE . ' ' . number_format(100 - (($aInfo->auctions_starting_price / $aInfo->products_price) * 100)) . '%');

change it to
$contents[] = array('text' => '' . TEXT_INFO_PERCENTAGE . ' ' . number_format(100 - (($aInfo->auctions_starting_price / $aInfo->products_price2) * 100)) . '%');

#49   vibe107fm

vibe107fm
  • Members
  • 60 posts
  • Real Name:Andrew

Posted 03 August 2008 - 09:05 PM

Hiya. Im using Demon for my website hosting, but there is no way of doing a cronjob via demon.... Is there any other way to do this?

thanks,

Andy

#50   stestom

stestom
  • Members
  • 3 posts
  • Real Name:Tom

Posted 10 August 2008 - 01:40 AM

View PostDawnG, on Jul 1 2008, 01:07 PM, said:

Hello all, I've just installed this contrib and was getting the error described earlier:



I've followed these instructions but now I'm getting this error:

Fatal error: Call to undefined method currencies::calculate_price() in /home/xxxxxx/public_html/shop/includes/classes/currencies.php on line 72

What do I need to do? thank you


I am having this same problem. Does any one know a solution?

#51   stestom

stestom
  • Members
  • 3 posts
  • Real Name:Tom

Posted 10 August 2008 - 05:49 AM

I guess what I should ask is, has anyone installed this and got it working with no errors?

#52   Mike_07

Mike_07
  • Members
  • 64 posts
  • Real Name:Mike
  • Gender:Male
  • Location:Europe

Posted 19 September 2008 - 05:50 AM

The one and only best auction contri!! Thankyou contributors.

I would only like to know how i can collect all the email adresses of the bidders.

Like in a standard oscommerce shop, once a order is placed i can see the full details of the buyer and his email adress.

Maybe in the auction contri there is a way or modification on how i can receive bids on each product in my inbox?

Thanks in advance
Mike

#53   jackkk

jackkk
  • Members
  • 1 posts
  • Real Name:Iak

Posted 19 September 2008 - 10:57 AM

Hi ! first let me say this contribution is really really great !
I have installed the latest oscommerce and Auction 2.1 from scratch and everything seems fine , there non errors occuring.

I just have some tiny little problems that maybe Dan or someone could help me solve :

- the currency shown in the auction start price always is and stays in US dollars. Even if I switch the main currency to EUR in the file , the auction start price still is in USD ..? How can I fix that ?

- If I add products in a category and then put them as auction items , the items can also be bought directly ..I don't want this since I want them to be sold with an auction . I mean , the "Buy Now" or "Add to cart" bottons remain (when you look for them in the categories) although the products are auction products ..any idea how I can fix that ? I have to look if I can put the entire site just to work as I catalog without the possibility to buy maybe that would work then...

- The "Time remaining" indication shows "countdown complete" sometimes , although the auction isn't complete...is that a cronjob problem.
I haven't set any cron job for the moment but everything actually seems to work fine even the outbid notices or end invoices...

Any help would be appreciated !
Many thanks in advance !
Jackkk

#54   guytoronto

guytoronto
  • Members
  • 3 posts
  • Real Name:Matt
  • Gender:Male
  • Location:Toronto

Posted 02 October 2008 - 03:38 PM

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?

#55   guytoronto

guytoronto
  • Members
  • 3 posts
  • Real Name:Matt
  • Gender:Male
  • Location:Toronto

Posted 02 October 2008 - 04:41 PM

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.

#56   psylencer

psylencer
  • Members
  • 106 posts
  • Real Name:Dan Herlihy
  • Location:Sydney Australia

Posted 10 October 2008 - 09:26 PM

HI Guys,

Im going to begin to re-develop Auction for OSC V3, .

Please list new feature requests here.

So far on my list is some sort of customer review module Ala Ebay.  One problem I've found with this is that customers just don't trust you.  I think if we can introduce a seller feedback option, thjis may solve the problem.

Dan

#57   psylencer

psylencer
  • Members
  • 106 posts
  • Real Name:Dan Herlihy
  • Location:Sydney Australia

Posted 13 October 2008 - 05:51 AM

View Postguytoronto, on Oct 2 2008, 05:41 PM, said:

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.

Matt, heres the solution : in shopping_cart.php  you need to do a cart reset.  Check the code.  If not message me and Ill help you out.

mine certainly updates without a problem.

#58   mmosttler

mmosttler
  • Members
  • 21 posts
  • Real Name:Marcus Mosttler

Posted 10 November 2008 - 02:40 AM

I have completed the install and went to the admin auctions page.  I then clicked the New Product to add an auction item, but I all i get is the same page back.  I did not see any errors in the log or on the page.  

Can someone describe what is supposed to happen at this time?  I am unsure how it is supposed to function so without stepping through the code I am unable to continue.

thx

#59   mmosttler

mmosttler
  • Members
  • 21 posts
  • Real Name:Marcus Mosttler

Posted 11 November 2008 - 05:41 PM

View Postmmosttler, on Nov 9 2008, 07:40 PM, said:

I have completed the install and went to the admin auctions page.  I then clicked the New Product to add an auction item, but I all i get is the same page back.  I did not see any errors in the log or on the page.  

Can someone describe what is supposed to happen at this time?  I am unsure how it is supposed to function so without stepping through the code I am unable to continue.

thx

Well, I believe I located the first issue.  The code does not work well with PHP5.  
I was able to get more working in the admin tool by replacing HTTP_GET_VAR with $_GET.

Anyone using this contribution with PHP5 or are there any plans to modify it for PHP5?

thx,
mm

#60   mmosttler

mmosttler
  • Members
  • 21 posts
  • Real Name:Marcus Mosttler

Posted 11 November 2008 - 06:33 PM

I have also had to update the post var to get the insert to work.

I am reviewing the admin files and wondering what admin/auctions2.php is used for, it seems to be a copy of admin/auctions.php

is this file actually needed?