First of all, this module is fantastic. Bravo to the creators.

I would like to know if some work is going on upgrading the module for Drupal 7. It will be very interesting to get this module for Drupal7.

Thanks,
Shena

Comments

jepster_’s picture

Status: Active » Fixed

Hi,

thanks for your lovely words. Currently I have no plans to port this module to d7. Because I'm using this module in D6 websites. If you've experienced in modle development, you can do this. :-)

shenagarg’s picture

Status: Fixed » Needs work

Anyone else making any efforts for the same?

Thanks

jepster_’s picture

Have you started? Maybe I can help you. Currently I have no time, to do this by my own. Feel free to write me an message with your ideas.

jepster_’s picture

Status: Needs work » Postponed (maintainer needs more info)

status update

Starminder’s picture

subscribe

KirstenLangholz’s picture

Another person who would love to use it, but has no programming skills. Throwing in some bucks can help?!? ;)

IKE0088’s picture

StatusFileSize
new168.46 KB

I just got done porting this module to D7, using the coder module and have a few errors to work out, but don't know how to do it. Anyone have any ideas on how to fix the following?

Line 143: Potential problem: FAPI elements '#title' and '#description' only accept filtered text, be sure to use check_plain(), filter_xss() or similar to ensure your $variable is fully sanitized.
'#description' => $is_curr_auction ? t('Warning: Unchecking this box will stop this product from being auctioned and its bid history will be erased.', array('!blink' => url("node/{$form['#node']->nid}/bids"))) : '',

This is the same error I am getting on a couple of the modules, but if I know how to fix this one, I can clear the rest. Please review and let me know.

IKE0088’s picture

StatusFileSize
new168.52 KB

Fixed it. Looks like a clean version now. See attached.

IKE0088’s picture

StatusFileSize
new168.52 KB

ok, sorry 3rd time is a charm.

IKE0088’s picture

Spoke too soon. Now i am throwing up the following:
Error message
Notice: Undefined index: access in _menu_translate() (line 778 of /home/public_html/includes/menu.inc).
Notice: Undefined index: access in menu_local_tasks() (line 1892 of /home/public_html/includes/menu.inc).
Any thoughts?
Running Drupal Core 7.7

salientknight’s picture

I get the following error when trying to install this:

PDOException: SQLSTATE[42000]: Syntax error or access violation: 1072 Key column 'nid, time' doesn't exist in table: CREATE TABLE {uc_auction_bids} ( `bid` INT unsigned NOT NULL auto_increment COMMENT 'The ID number of the bid.', `nid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'The node.nid of the product.', `uid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'The user.uid of the bidder.', `time` INT unsigned NOT NULL DEFAULT 0 COMMENT 'The time the bid was placed.', `amount` DECIMAL(15, 3) unsigned NOT NULL DEFAULT 0 COMMENT 'The amount that was bid.', PRIMARY KEY (`bid`), INDEX `nid_time` (`nid, time`), INDEX `nid` (`nid`), INDEX `uid` (`uid`) ) ENGINE = InnoDB DEFAULT CHARACTER SET utf8 COMMENT 'Keeps tracks of bids on products.'; Array ( ) in db_create_table() (line 2686 of

KirstenLangholz’s picture

An AJAX HTTP error occurred. HTTP Result Code: 200 Debugging information follows. Path: /batch?id=62&op=do StatusText: OK ResponseText: {"status":true,"percentage":"2","message":"Trying to check available update data ...\u003cbr \/\u003eChecked available update data for \u003cem class=\"placeholder\"\u003eCKEditor\u003c\/em\u003e."} Warning: Cannot modify header information - headers already sent by (output started at /is/htdocs/wp10608178_FVPFCFFV00/www/7-commerce/includes/common.inc:2567) in /is/htdocs/wp10608178_FVPFCFFV00/www/7-commerce/includes/bootstrap.inc on line 1207 Recoverable fatal error: Argument 2 passed to db_query() must be an array, integer given, called in /is/htdocs/wp10608178_FVPFCFFV00/www/7-commerce/sites/all/modules/uc_auction/uc_auction.module on line 699 and defined in db_query() (line 2311 of /is/htdocs/wp10608178_FVPFCFFV00/www/7-commerce/includes/database/database.inc).

This is the error message I recieved. Which integer do I have to replace by which array?

IKE0088’s picture

Kirsten, are you using commerce or Ubercart?

KirstenLangholz’s picture

Hi Ike,

I tried out commerce first, but now shifted back to Ubercart simply because of the auction module. The 7-commerce that is in the paths has nothing to do with the installation. It is the name of the folder, Drupal 7.8 is installed in.

Thanks for asking!

IKE0088’s picture

Tried porting 6x-1.0 and am getting the same thing. Need help.

PDOException: SQLSTATE[42000]: Syntax error or access violation: 1072 Key column 'nid, time' doesn't exist in table: CREATE TABLE {uc_auction_bids} ( `bid` INT unsigned NOT NULL auto_increment COMMENT 'The ID number of the bid.', `nid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'The node.nid of the product.', `uid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'The user.uid of the bidder.', `time` INT unsigned NOT NULL DEFAULT 0 COMMENT 'The time the bid was placed.', `amount` DECIMAL(15, 3) unsigned NOT NULL DEFAULT 0 COMMENT 'The amount that was bid.', PRIMARY KEY (`bid`), INDEX `nid_time` (`nid, time`), INDEX `nid` (`nid`), INDEX `uid` (`uid`) ) ENGINE = InnoDB DEFAULT CHARACTER SET utf8 COMMENT 'Keeps tracks of bids on products.'; Array ( ) in db_create_table() (line 2657 of /home/public_html/includes/database/database.inc).

IKE0088’s picture

I figured out a way around the PDOException in my last post. It involved doing an export from a D6 version of the four auction tables in PHP MyAdmin and importing the SQL tables into D7. Now I am left with four error messages (that I can tell at this point).

Error message
Notice: Undefined index: access in _menu_translate() (line 778 of /home/public_html/includes/menu.inc).

Error message
Notice: Undefined index: access in menu_local_tasks() (line 1892 of /home/public_html/includes/menu.inc).

Fatal error: Unsupported operand types in /home/public_html/modules/user/user.admin.inc on line 696

Error message
Recoverable fatal error: Argument 2 passed to db_query() must be an array, integer given, called in /home/public_html/modules/uc_auction/auto_restart_auctions/auto_restart_auctions.module on line 25 and defined in db_query() (line 2282 of /home/public_html/includes/database/database.inc).

Any assistance in clearly these out would be appreciated.

KirstenLangholz’s picture

With version provided in #9 here in this thread, I receive the following error message in the footer:

Warning: Cannot modify header information - headers already sent by (output started at /is/htdocs/wp10608178_FVPFCFFV00/www/7-commerce/includes/common.inc:2567) in /is/htdocs/wp10608178_FVPFCFFV00/www/7-commerce/includes/bootstrap.inc on line 1207

Warning: Cannot modify header information - headers already sent by (output started at /is/htdocs/wp10608178_FVPFCFFV00/www/7-commerce/includes/common.inc:2567) in /is/htdocs/wp10608178_FVPFCFFV00/www/7-commerce/includes/bootstrap.inc on line 1211
Error
The website encountered an unexpected error. Please try again later.

In addition running the cron job is impossible. When I deactivate uc_auction the error messages disappear.

salientknight’s picture

Recoverable fatal error: Argument 2 passed to db_query() must be an array, integer given, called in /var/www/site/html/sites/all/modules/uc_auction/auto_restart_auctions/auto_restart_auctions.module on line 25 and defined in db_query() (line 2311 of /var/www/site/html/includes/database/database.inc).

Notice: Undefined index: access in _menu_translate() (line 778 of /var/www/site/html/includes/menu.inc).
Notice: Undefined index: access in menu_local_tasks() (line 1892 of /var/www/site/html/includes/menu.inc).

Since installing this, I get errors on every page, and my site theme is pink instead of black. (no joke)

salientknight’s picture

And more ...

An AJAX HTTP error occurred. HTTP Result Code: 200 Debugging information follows. Path: /batch?render=overlay&id=46&op=do StatusText: OK ResponseText: {"status":true,"percentage":"2","message":"Trying to check available update data ...\u003cbr \/\u003eChecked available update data for \u003cem class=\"placeholder\"\u003ePixture Reloaded\u003c\/em\u003e."}Recoverable fatal error: Argument 2 passed to db_query() must be an array, integer given, called in /var/www/site/html/sites/all/modules/uc_auction/uc_auction.module on line 699 and defined in db_query() (line 2311 of /var/www/site/html/includes/database/database.inc).

IKE0088’s picture

Doesn't appear as though this is working out the way I thought it would. Tried re-running coder module, porting again to clean site and getting the same. Need to bring in the big dogs. Sorry, but my specialty is not module development.

KirstenLangholz’s picture

Dear Ike,

thank you for starting out with it at all!!! I found that on the module page it says version 6.x .. maybe this has to change, too.

I already adjusted this issue and also enabled the auction API module. Now I found out by this error message:

PDOException: SQLSTATE[42000]: Syntax error or access violation: 1072 Key column 'nid, time' doesn't exist in table: CREATE TABLE {uc_auction_bids} ( `bid` INT unsigned NOT NULL auto_increment COMMENT 'The ID number of the bid.', `nid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'The node.nid of the product.', `uid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'The user.uid of the bidder.', `time` INT unsigned NOT NULL DEFAULT 0 COMMENT 'The time the bid was placed.', `amount` DECIMAL(15, 3) unsigned NOT NULL DEFAULT 0 COMMENT 'The amount that was bid.', PRIMARY KEY (`bid`), INDEX `nid_time` (`nid, time`), INDEX `nid` (`nid`), INDEX `uid` (`uid`) ) ENGINE = InnoDB DEFAULT CHARACTER SET utf8 COMMENT 'Keeps tracks of bids on products.'; Array ( ) in db_create_table() (line 2686 of /is/htdocs/wp10608178_FVPFCFFV00/www/woltab/includes/database/database.inc).

that obviously the corresponding tables are not created. So far, the noob I am, couldn't figure out where the table creation is triggered during installation process. Anybody who can help me out with that information?

KirstenLangholz’s picture

StatusFileSize
new59.81 KB

Here are my adjusted version attached.

KirstenLangholz’s picture

Database tables are not created!

So, I figured out that the databases are not created at all for this module. Just importing the D6 tables will not work as structure has been changed for D7.

Guess we have to fix that first! Any suggestions?

KirstenLangholz’s picture

@IKE0088

can you please post the SQL statement to create the four tables here, so I can go on working with them? Have no D6 running to get them myself. Thanks a lot!

IKE0088’s picture

StatusFileSize
new781 bytes

Thanks Kirsten! Nothing like two noobs moving into unchartered territory. Here is the sql statement.

KirstenLangholz’s picture

Thank you back! Sorry was in meetings all day long. Will look into it tomorrow when I have my day off.

You are right. Feels a little bit like the blind talking to the deaf here... ;)

mangiok’s picture

I am following you two because my knowledge here is limited, I am trying drupal after some good time with another CMS. I doubt I can do much but I will check your work

IKE0088’s picture

I think I have pinned it down to six db_query in the uc_auction dev version but coder is not generating any patch files for me. Can someone try running coder on the dev version to see if patches get produced?

mangiok’s picture

Any progress?

KirstenLangholz’s picture

Status: Postponed (maintainer needs more info) » Active

Hello everybody,

coder is not working properly as it tells me about 7 db_query errors it cannot fix. Unfortunately not tell which queries are causing troubles. I found out, that only the uc_auction table is not created upon activation. I will check the query changes manually.

Any support is highly appreciated.

IKE0088’s picture

Hello Kirsten. When you ran coder did it produce blank patch files also?

KirstenLangholz’s picture

Hello Ike,

before it ran, it told me that there are 7 db_query errors in there that cannot be fixed during conversion. This was the point where I decided not to invest the USD 150 for conversion. ;)

KirstenLangholz’s picture

StatusFileSize
new39.34 KB

Only local images are allowed.10102011_162617.jpg
This is how the result looked like!

IKE0088’s picture

Good news! Finished all of the db_query issues. Finishing clean up. Will post shortly.

KirstenLangholz’s picture

StatusFileSize
new53.62 KB
new42.63 KB
new151.3 KB

Hello my dears,

please find attached the error messages I was given by the coder module regarding the uc_auction module including uc_auction_now. Hopefully this will help.

Error Message 01
Error Message 02
Error Message 03

KirstenLangholz’s picture

StatusFileSize
new150.78 KB

Okay, I used the coder module to let it run through all modules in the auction package. Here are the results as an pdf file.

I will start from top and fix it one by one, hoping this would do the trick. If somebody of you has already fixed some of the errors, please post them here.

IKE0088’s picture

StatusFileSize
new170.88 KB

Closer, but not quite there. Databases get updated with this version. Need to look at the hook_alter_form code in uc_auction.module. Doesn't appear to generate options when creating content to show product is auctioned.

There is one PHP error message I have come across with new install:

Notice: Undefined index: uc_auction_notify_outbid_subj in uc_get_message() (line 1645 of /home/a5754896/public_html/sites/all/modules/ubercart/uc_store/uc_store.module).

I have removed auto_restart module and will come back to it later. Sorry, it was killing me...

KirstenLangholz’s picture

Hi Ike,

we are hitting the right road, I guess. Personally I think we can live without the auto_restart module at all.

IKE0088’s picture

Agreed ;)

IKE0088’s picture

Fixed he outbid error message. It was commented out. Will post new version soon.

IKE0088’s picture

StatusFileSize
new170.83 KB

If at first, you don't succeed, try, try again...

Almost done. They actually changed the product_types in Ubercart D7 to uc_product_types. It is always the little things, that will drive you crazy. That is why it wasn't rendering in the Add Product Form. Please test, looking for feedback.

IKE0088’s picture

Trouble with 2 lines out of the uc_auction.module file starting line 402:
$bids_already = db_query("SELECT bid FROM {uc_auction_bids} WHERE nid = %d", $form_state['values']['nid']);
$bids_already = db_fetch_object($bids_already);
Any thoughts on a rewrite? Please let me know.

IKE0088’s picture

Fixed it. Will post shortly.

IKE0088’s picture

StatusFileSize
new170.84 KB

Need to fix some of the views functionality, and am receiving a strange parameter error message:
Notice: Undefined index: #parameters in uc_auction_now_form_alter() (line 102 of ...uc_auction_now.module)
Notice: Trying to get property of non-object in uc_auction_now_form_alter() (line 102 of ...uc_auction_now.module)

Any thoughts?

KirstenLangholz’s picture

Hello Ike,

just a short message to inform you that I am too busy to test today. I will test it tomorrow afternoon (MET) and get back to you then. Right now - you are too fast for me ;))
Appreciate your enthusiasm.

IKE0088’s picture

Doesn't appear to be saving the new product as an auctioned item.

basicmagic.net’s picture

subscribe

IKE0088’s picture

StatusFileSize
new170.85 KB

Still running same error messages, but caught another uc_product_types. Updated version attached. Need another set of eyes.

IKE0088’s picture

Component: Miscellaneous » Code
Status: Active » Needs review

I think it is the nodeapi changes affecting the uc_auction_now.module file. Need some help, please.

KirstenLangholz’s picture

Ike,
you are not alone. I have downloaded your latest zip file and installed it on a fresh installation. Will only have time to go into it on the weekend (sat, sun). Please be patient with me ;)

nohup’s picture

StatusFileSize
new385.63 KB

Guys,

I did a d7 port of uc_auction few months ago. Had a need for a project at that time. The uc_auction module works but views and other modules still have bugs.

I hope it is not too late to post it here, may be you all can integrate it or use it in some way. I haven't had a chance to keep up with the issue queue, sorry about that.

Thanks.

KirstenLangholz’s picture

Thank you nohup,

Ike's version still has a bug - will look into your code and see how we can use it to fix it. Thanks for your contribution.

IKE0088’s picture

Works fine but is throwing up the following whenever a basic page is created and it treats the page like an auction as well.
Error message
Notice: Undefined index: bid_count in uc_auction_bid_table_form() (line 804 of /home/public_html/sites/all/modules/uc_auction/uc_auction.module).
Notice: Undefined index: bid_count in uc_auction_bid_table_form() (line 810 of /home/public_html/sites/all/modules/uc_auction/uc_auction.module).
Notice: Undefined index: start_price in uc_auction_bid_table_form() (line 810 of /home/public_html/sites/all/modules/uc_auction/uc_auction.module).
Notice: Undefined index: expiry in uc_auction_bid_table_form() (line 815 of /home/public_html/sites/all/modules/uc_auction/uc_auction.module).
Notice: Undefined index: expiry in uc_auction_bid_table_form() (line 842 of /home/public_html/sites/all/modules/uc_auction/uc_auction.module).
Notice: Undefined index: expiry in uc_auction_now_node_view() (line 205 of /home/public_html/sites/all/modules/uc_auction/uc_auction_now/uc_auction_now.module).

KirstenLangholz’s picture

I can reproduce this error.

nohup’s picture

StatusFileSize
new4.7 KB

Replace the uc_auction_now.module with the attached file.

KirstenLangholz’s picture

Okay,

after implementing #55 I have reinstalled the module on a fresh installation and so far the module runs without any errors.

I am still testing, but I think the time has come to make this version a 7.x-1.x-dev version so more people can test.

Most of my test auctions will be done by the end of the week. I will then publish a final report about it here.

IKE, I know I wasn't the support I hoped I could be, so my heartfelt thanks for all you have done to port this module for me and the community. THANK YOU!

nohup’s picture

StatusFileSize
new85.48 KB

jepSter,

Attached is a patch against 6.x-1.x-dev to generate a 7.x-1.x branch.

Please create a new branch for 7.x and tag it or you can give me access and I will create and maintain it.

jepster_’s picture

hey,

nice that you've pushed effort into porting this module. I'll make a branch for you soon.

jepster_’s picture

I wanted to use this patch, but I get the following in my command line (inside the uc_auction dev folder).

noname:uc_auction jepster$ patch -p0 < uc_auction-7.x-1207108-56.patch 
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/uc_auction.admin.inc b/uc_auction.admin.inc
|index cf038b6..609ef08 100644
|--- a/uc_auction.admin.inc
|+++ b/uc_auction.admin.inc
--------------------------
File to patch: 
nohup’s picture

You have to use git apply

git apply uc_auction-7.x-1207108-56.patch

You can read more about it here

http://drupal.org/node/1054616#applying-patches

KirstenLangholz’s picture

StatusFileSize
new373.41 KB

Hello jepSter,

please find attached the version with all patches etc. I tested it on the weekend it it seems to work perfectly.

On DrupalCenter.de though another user asked, if it is still possible to change the amount of the item auctioned in the cart. I haven't checked this so far. Can only test it tonight maybe tomorrow.

Can somebody confirm this behavior?

IKE0088’s picture

I've been testing the functionality on nohup's version fairly extensively. Whenever loading a new basic page I am getting the following:

MESSAGE Notice: Undefined property: stdClass::$is_auction in uc_auction_node_insert() (line 480 of /home/public_html/modules/uc_auction/uc_auction.module).
MESSAGE Notice: Undefined property: stdClass::$is_auction in uc_auction_node_validate() (line 469 of /home/public_html/modules/uc_auction/uc_auction.module).

I have found that this can be easily corrected by clearing all caches.

To Kirstens point, you cannot edit the quantity on checkout. You could on the development version I was trying to port, but not on nohup's version.

I have also found that you cannot uncheck a current auction to make edits to the sale price, even if no bids have been placed. You have to delete the entire product and re enter it.

Would love it if jepster or nohup could take a peek at #48 at some point to move the development version of 6 to a stable release for 7.

jepster_’s picture

@ KirstenLangholz
I'm the user who asked you on drupalcenter.de/forum. :]

how you limited the possible amount of auction-products in the cart?

jepster_’s picture

tried to patch with git apply, but it isn't possible:

jepster$ git apply uc_auction-7.x-1207108-56.patch
uc_auction-7.x-1207108-56.patch:1574: space before tab in indent.
  	'#type' => 'submit',
uc_auction-7.x-1207108-56.patch:1684: space before tab in indent.
   		$bn = db_query('SELECT bought_now FROM {uc_auction_now} WHERE nid = :nid', array(':nid' => $node->nid))->fetchAssoc();
uc_auction-7.x-1207108-56.patch:1713: space before tab in indent.
 		if( isset($node->uc_auction['buy_now'])){
uc_auction-7.x-1207108-56.patch:1715: space before tab in indent.
	 	  	$node->content['uc_auction_now'] = drupal_get_form('uc_auction_now_buy_it_now_form', $node,$view_mode);
uc_auction-7.x-1207108-56.patch:1765: trailing whitespace.
				'data' => array($form['submit'],$form['form_build_id'],$form['form_token'],$form['form_id']), 
error: patch failed: uc_auction.info:2
error: uc_auction.info: patch does not apply
error: patch failed: uc_auction.module:98
error: uc_auction.module: patch does not apply
warning: uc_auction_as/uc_auction_as.info has type 100644, expected 100755
error: patch failed: uc_auction_as/uc_auction_as.info:1
error: uc_auction_as/uc_auction_as.info: patch does not apply
error: patch failed: uc_auction_now/uc_auction_now.info:1
error: uc_auction_now/uc_auction_now.info: patch does not apply
error: patch failed: uc_auction_now/uc_auction_now.module:6
error: uc_auction_now/uc_auction_now.module: patch does not apply
error: patch failed: views/uc_auction_handler_field_bid_count.inc:27
error: views/uc_auction_handler_field_bid_count.inc: patch does not apply
lasdjfk’s picture

subscribe

lasdjfk’s picture

StatusFileSize
new373.65 KB

I used the KirstenLangholz-version above and updated tokens handling to use Drupal 7 hook_tokens(). Also made a tiny adjustment in the e-mail generation (got an error there).

So this one seem to be working very well for me.

KirstenLangholz’s picture

@JepSter

I didn't have to limit it via the system. If the items offered are solely unique specimen this is not necessary. Seems you are German, too. How about talking on Skype with each other? Will send you a mail via drupalcenter.de

jepster_’s picture

@ KirstenLangholz:
So you mean, that when you have 1 car at home (for example), the system will automatically know, that the user cannot change the quantity in cart? sorry, but telepathy isn't implemented in the system, yet. *lol*

I've wanted to create a new 7.x-1.x branch with git instructions here on drupal.org, but that sucks:

jepster$ git push -u origin 7.x-1.x
error: Cannot access URL http://git.drupal.org/project/uc_auction.git/, return code 22
fatal: git-http-push failed

I can work on the 6-branch but not create the 7. Has anybody an idea? In the #drupal-gitsupport irc channel I cannot get an answer.

jepster_’s picture

OK, I've uploaded it to d.o. I had to change the remote url via git.

IKE0088’s picture

I am still throwing up some errors on a fresh installation. I will post those shortly. As far as the process goes, seeing some major flaws using #66:
Admin loads new product for auction:
Sell Price: $20.00
Start Price: $5.00
User 1 logs in and places Buy it Now Order. Receives confirmation email for $20.00. 
User 1 places bid on same product and it is accepted for $6.00. 
User 2 signs in and places Buy it Now Order. 
Receives confirmation email for $20.00. 
User 2 places bid on same product and it is accepted for $7.00.  
User 1 receives Outbid Notification Email showing high bid of $7.00. 
Admin tries to remove checkbox for "This is an Auctioned Product". File saves however still shows as an auctioned product, check included in checkbox. 
User 2 receives email at auction expiry showing they won the auction with high bid of $7.00. 
When adding to cart, it shows checkout amount of $20.00, not the high bid. 

IKE0088’s picture

Installing and activating uc_auction:
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 71 bytes) in /home/public_html/includes/bootstrap.inc on line 955

Installing and activating Antisnipe and Buy Now:
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 100 bytes) in /home/public_html/includes/database/query.inc on line 1850

After adding second auction and a new user signs in:
Notice: Undefined index: form_token in theme_uc_auction_now_table() (line 249 of /home/public_html/sites/all/modules/uc_auction/uc_auction_now/uc_auction_now.module).

Click on Buy it Now from Front Page:
Fatal error: Call to undefined function uc_auction_now_submit() in /home/public_html/includes/form.inc on line 1430

jepster_’s picture

@ IKE0088:
change the memory limit in your php.ini file. for drupal you need 128 MB.

NEW BRANCH FOR DRUPAL 7 VERSION:
I've setted up a new branch of my module via git, but it isn't visible on the project page. there was no error message in git. see the output of my terminal:

noname:uc_auction jepster$ git remote set-url origin jepSter@git.drupal.org:project/uc_auction.git 
noname:uc_auction jepster$ git push -u origin 7.x-1.xjepSter@git.drupal.org's password: 
Counting objects: 52, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (27/27), done.
Writing objects: 100% (27/27), 8.97 KiB, done.
Total 27 (delta 17), reused 0 (delta 0)
To jepSter@git.drupal.org:project/uc_auction.git
 * [new branch]      7.x-1.x -> 7.x-1.x
Branch 7.x-1.x set up to track remote branch 7.x-1.x from origin.

Has anybody an idea?

jepster_’s picture

OK, I've hat to click on "Add new release" at the bottom of the project page.. thanks to chx in #drupal-gitsupport in IRC.

IKE0088’s picture

Jepster, what about the errors in #70. Doesn't appear to be working as intended. It is not taking the high bid upon checkout and it is not disabling it as a current auction if the item was bought via Buy it Now.

shenagarg’s picture

@Jespter: Sorry, I didnt get time in between. But now I have time to work on it. I see this thread already going on for D7 and am glad to know that. :)

Please let me know if I can be of any help. Thanks.

IKE0088’s picture

Version: 6.x-1.x-dev » 7.x-1.x-dev

Create new basic page:
•Notice: Undefined property: stdClass::$is_auction in uc_auction_node_validate() (line 469 of /home/a3709328/public_html/sites/all/modules/uc_auction/uc_auction.module).
•Notice: Undefined property: stdClass::$is_auction in uc_auction_node_insert() (line 480 of /home/a3709328/public_html/sites/all/modules/uc_auction/uc_auction.module).

Creating View for Current Auctions:
PDOException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'auctions' for key 'name': INSERT INTO {views_view} (name, description, tag, base_table, human_name, core) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5); Array ( [:db_insert_placeholder_0] => auctions [:db_insert_placeholder_1] => [:db_insert_placeholder_2] => default [:db_insert_placeholder_3] => node [:db_insert_placeholder_4] => Auctions [:db_insert_placeholder_5] => 7 ) in views_db_object->save_row() (line 2009 of /home/a3709328/public_html/sites/all/modules/views/includes/view.inc).

Creating New Account:
Notice: Undefined index: form_token in theme_uc_auction_now_table() (line 249 of /home/a3709328/public_html/sites/all/modules/uc_auction/uc_auction_now/uc_auction_now.module)..

When Logging Out:
PDOException: SQLSTATE[HY000] [2013] Lost connection to MySQL server at 'reading initial communication packet', system error: 111 in lock_may_be_available() (line 167 of /home/a3709328/public_html/includes/lock.inc)...

Also, scenario:
Admin loads new product for auction:
Sell Price: $20.00
Start Price: $5.00
User 1 logs in and places Buy it Now Order. Receives confirmation email for $20.00.
User 1 places bid on same product and it is accepted for $6.00.
User 2 signs in and places Buy it Now Order.
Receives confirmation email for $20.00.
User 2 places bid on same product and it is accepted for $7.00.
User 1 receives Outbid Notification Email showing high bid of $7.00.
Admin tries to remove checkbox for "This is an Auctioned Product". File saves however still shows as an auctioned product, check included in checkbox.
User 2 receives email at auction expiry showing they won the auction with high bid of $7.00.
When adding to cart, it shows checkout amount of $20.00, not the high bid.

IKE0088’s picture

Is anyone experiencing the same issues?

jepster_’s picture

it's a pitty that the porters of the 7 version aren't answering. But the error message seems to point on the views module. You should ask in the views issue queue.

nohup’s picture

IKE0088,

Please take the latest code from git. Today morning (PST), some of the issues you had reported where fixed and updated in git. You can read the git instructions at http://drupal.org/project/uc_auction/git-instructions

Following issues could not be reproduced
- Creating View for Current Auctions
- Creating New Account
- When Logging Out

In the 6.x branch uc_auction_now had an unimplemented function uc_auction_now_submit, which got carried over to the 7.x branch. This function has been implemented in the 7.x branch. uc_auction and uc_auction_now should work.

nohup’s picture

All,

Please don't use this issue for any further bug reports on the 7.x branch.

For each new bug you find, open a new issue. Let us keep one bug per issue.

Thanks for your support.

jsulmar’s picture

Does anyone know of a website that employs the JavaScript-powered countdown timer ?

jsulmar’s picture

I'm planning to fire up drupal+ubercart+ubercartAuction to try it out but I'm confused about which versions to use.
Am I correct in understanding that UC2 only works with drupal6 and UC3 works with drupal7?
If I want to use ubercartAuction 7.x-1.x-dev, do I need UC2 or UC3?
thanks--

b2rana’s picture

StatusFileSize
new65.41 KB

Hi All,
I have updated ubercart_auction module which have following functionality:
1. Auto bidding on behalf of user
2. Also add new functionality to update user credit limit amount ( create a credit_limit field for user )
3. And also add a new module that will check if current user is outbid in any product and give him an alert message.

I think you guys love this.

B2rana

harings_rob’s picture

Hi there,

I'm looking into your module B2rana but i'm getting some errors on "field_credit_limit_value"
These fields do not get created.

b2rana’s picture

Hi tortelduif,
Actually you have to create this field i.e. "field_credit_limit" field for user.
Let me explain..
1. Go to "Home » Administration » Configuration » People » Account settings"
2. Click on "Manage fields"
3. Add new field i.e. label name is "Credit Limit" and machine name is "field_credit_limit".

That's it.

harings_rob’s picture

Yes i figured that out. Is this module still actively maintained or not?

useraa’s picture

b2rana’s picture

I don't think so. Because there is no new released after 2011-Dec-11 of this version. Still there are some peoples who are updating this module according to their requirment and share this with others. I am one of them...:D

nohup’s picture

Short answer - no.

jepster_’s picture

is anybody wanting to maintain this module? I can add someone as maintainer. but we've wrote auction module for d7 from scratch, without dependency to any shop module: http://drupal.org/project/auction

jepster_’s picture

Status: Needs review » Postponed (maintainer needs more info)

*changed status*

apetrail’s picture

Issue summary: View changes

how to add rule event for place bid in auction d7

SeanA’s picture

Status: Postponed (maintainer needs more info) » Fixed

Please don't use this issue for any further bug reports on the 7.x branch.

For each new bug you find, open a new issue. Let us keep one bug per issue.

Thanks for your support.

#80

b2rana, you should open a new issue and post your code as a patch... maybe a separate issue for each feature. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.