Zen Cart Logo
Forums / All Other Contributions/Addons / Auction Product Type

Auction Product Type

Views: 176,898

Results 241 to 260 of 740
28 Oct 2008, 9:59 PM
#241
gxjenkins avatar

gxjenkins

Zen Follower

Join Date:
Apr 2007
Location:
Tampa, Florida
Posts:
180
Plugin Contributions:
0

Auction Product Type

NSABaits:

I've just uploaded this mod to my site but get 404 errors when trying to add an auction item. SQL file was executed using the ZC SQL patch uploader. Auction settings in ZC admin and DB tables are all present. Any ideas and help will be appreciated.

ZC: v1.3.8
Mods: Glacial Age template
URL: www.nsabaits.com/nsabaits_shop/

It sounds like you may not have a "Product Type" for Auctions. Check under Catalog > Product Type and see if it's there.

Also, did you have an earlier version installed?

If you didn't get an error when you ran the SQL it should be there if it is try uploading the files again.

Gary

29 Oct 2008, 5:06 PM
#242
nsabaits avatar

nsabaits

New Zenner

Join Date:
Oct 2008
Posts:
53
Plugin Contributions:
0

Re: Auction Product Type

Product type is there. Is there a setting in the product type which I'm setting up incorrectly?

This is also my first zencart site so the version is also a clean install with just the template mod.

29 Oct 2008, 6:01 PM
#243
gxjenkins avatar

gxjenkins

Zen Follower

Join Date:
Apr 2007
Location:
Tampa, Florida
Posts:
180
Plugin Contributions:
0

Re: Auction Product Type

Check the error logs in your cpanel to see what page is being requested and not found.
The only time I got a 404 is when I had two "Products Type" for Auctions. I ran the uninstall for the new version, then deleted the other in phpmyadmin. Reinstalled and all was well.
As for the settings in the product type I don't think I changed anything in there.
I did create a category for auctions and set it to the Auction Product Type only.
Hope this helps.
Gary

29 Oct 2008, 10:32 PM
#244
fightthefourwalls avatar

fightthefourwalls

New Zenner

Join Date:
Nov 2007
Posts:
57
Plugin Contributions:
0

Re: Auction Product Type

Hey all,

What great progress on this mod!! Glad to see it has got to this level!
I am however stuck at this point - I am wanting to use the cron.php file but am confused at what the instructions are asking me to do with this.

If you change the value to 1, you MUST add a line to your crontab that looks like this: "php -f /YOUR STORE PATH/admin/cron.php >> /dev/null" and set it to run every few minutes... 5 should be fine

Thanks in advance,
Nick.

2 Nov 2008, 9:32 PM
#245
fightthefourwalls avatar

fightthefourwalls

New Zenner

Join Date:
Nov 2007
Posts:
57
Plugin Contributions:
0

Re: Auction Product Type

(BUMP!)... Still stuck with this one... any help?

Also with the YOU STORE PATH bit, is that the entire web address or what?

Cheers,
Nick.

2 Nov 2008, 10:46 PM
#246
gxjenkins avatar

gxjenkins

Zen Follower

Join Date:
Apr 2007
Location:
Tampa, Florida
Posts:
180
Plugin Contributions:
0

Re: Auction Product Type

Your store path is going to be something like

home/YOUR_ID/public_html/STORE

You can find this in your cpanel in the panel on the left.

Good Luck,
Gary

3 Nov 2008, 12:23 AM
#247
fightthefourwalls avatar

fightthefourwalls

New Zenner

Join Date:
Nov 2007
Posts:
57
Plugin Contributions:
0

Re: Auction Product Type

Cheers for that, only thing is where is my "Crontab" and where do I put that line?!?!?

3 Nov 2008, 3:16 AM
#248
davewest avatar

davewest

Totally Zenned

Join Date:
Dec 2007
Location:
Payson, AZ
Posts:
1,075
Plugin Contributions:
7

Re: Auction Product Type

fightthefourwalls:

Cheers for that, only thing is where is my "Crontab" and where do I put that line?!?!?

Hey Nick, I believe this has been answered a few time already... So...

You need a way to check if an auction has closed. You can add the code from the install.txt file to application_top.php which will run the class.productauction.php to check your auction tables for closed auctions and do the email notifications. This happens whenever one of your site page loads. Or you can setup a cron job to run cron.php whcih runs class.productauction.php and does the checks as above if your not getting enugh page loads.

So... now you know why... your best answer would be to ask your hosting service how to run a command ever so often. As to what address to use, depends on where you put corn.php....

3 Nov 2008, 3:40 AM
#249
fightthefourwalls avatar

fightthefourwalls

New Zenner

Join Date:
Nov 2007
Posts:
57
Plugin Contributions:
0

Re: Auction Product Type

davewest:

Hey Nick, I believe this has been answered a few time already... So...

You need a way to check if an auction has closed. You can add the code from the install.txt file to application_top.php which will run the class.productauction.php to check your auction tables for closed auctions and do the email notifications. This happens whenever one of your site page loads. Or you can setup a cron job to run cron.php whcih runs class.productauction.php and does the checks as above if your not getting enugh page loads.

So... now you know why... your best answer would be to ask your hosting service how to run a command ever so often. As to what address to use, depends on where you put corn.php....
Thanks for that mate. Checked through the thread before posting but must have missed it.
Will check it out and give it a shot.

Thanks again,
Nick.

7 Nov 2008, 7:51 PM
#250
wing102 avatar

wing102

New Zenner

Join Date:
Nov 2008
Posts:
1
Plugin Contributions:
0

Re: Auction Product Type

Have downloaded the Auction file and do not know how to get it to work. I am very green to all this and would like some advise as to were to go. I have read over the last few days that this may not be able to work with version 1.3.7.1. I noticed the post ahead of me was going to try it. Was it successful? Any help would be greatly appreciated!!!

14 Nov 2008, 5:10 PM
#251
charmedbytina2 avatar

charmedbytina2

Totally Zenned

Join Date:
Mar 2007
Location:
AZ
Posts:
1,890
Plugin Contributions:
0

Re: Auction Product Type

I've recently installed this mod for a client and it's working PERFECTLY! Thanks so much!

BUT, as client's go, they always want more!

Client would like to add a countdown to the auction listing similar to what's on the bidz dot com site.

Any ideas? (other than write the mod myself ~ :shocking: wouldn't know where to begin!)

Thanks,

Tina

15 Nov 2008, 11:24 PM
#252
bramnick avatar

bramnick

New Zenner

Join Date:
Mar 2008
Posts:
63
Plugin Contributions:
0

Re: Auction Product Type

charmedbytina2:

I've recently installed this mod for a client and it's working PERFECTLY! Thanks so much!

BUT, as client's go, they always want more!

Client would like to add a countdown to the auction listing similar to what's on the bidz dot com site.

Any ideas? (other than write the mod myself ~ :shocking: wouldn't know where to begin!)

Thanks,

Tina

Cute idea. It would require the insertion of some Javascript (JS). It actually wouldnt be all that hard to do for someone who knows how to code Javascript.

The other option is a non-java script option which will calc & display the time left, but It would not change. Each time the page is loaded it would print the new time remaining.

I am not JS skilled so I would need to figure it out (then again I never coded a line in PHP before I picked up V.95 of this mod). The PHP version, I would think, would be more straight forward.

If I were to do this, I wont have time till mid December.

AHB

16 Nov 2008, 3:51 AM
#253
charmedbytina2 avatar

charmedbytina2

Totally Zenned

Join Date:
Mar 2007
Location:
AZ
Posts:
1,890
Plugin Contributions:
0

Re: Auction Product Type

bramnick,

Thanks! I can't code even if I do it by copy/paste! :wacko:

If this is something you want to tackle - keep me posted and I'll help whatever way I can - even if that means staying out of your way. :D

Tina

18 Nov 2008, 6:51 PM
#254
nellie avatar

nellie

New Zenner

Join Date:
Sep 2005
Posts:
49
Plugin Contributions:
0

Re: Auction Product Type

I just installed this, but when I go to the frontend I get a blank page, instead of my home page. If I revert back to my original includes/application_top.php, my site loads normally. I have looked at my original includes/application_top.php and the one in the download package and the only difference is right at the end, the auctions application_top.php has this tagged on the end:

if (AUCTION_CRON_ENABLE == '0') {
require(DIR_WS_CLASSES . 'class.productauction.php');
productAuction::checkAuctionStatuses();
}

Can anyone tell me why this should make my site not load, I am using Zen 1.3.8a and auction 0.99a.

18 Nov 2008, 7:36 PM
#255
nellie avatar

nellie

New Zenner

Join Date:
Sep 2005
Posts:
49
Plugin Contributions:
0

Re: Auction Product Type

I changed:

if (AUCTION_CRON_ENABLE == '0') {
require(DIR_WS_CLASSES . 'class.productauction.php');
productAuction::checkAuctionStatuses();
}

to

if (AUCTION_CRON_ENABLE == '1') {
require(DIR_WS_CLASSES . 'class.productauction.php');
productAuction::checkAuctionStatuses();
}

and it now seems to work. I have a layout problem though, my site uses the center and right columns, on the auction pages, the right column is moved to below the center column. How do I resolve this please?

19 Nov 2008, 1:26 PM
#256
bramnick avatar

bramnick

New Zenner

Join Date:
Mar 2008
Posts:
63
Plugin Contributions:
0

Re: Auction Product Type

Nellie:

I changed:

if (AUCTION_CRON_ENABLE == '0') {
require(DIR_WS_CLASSES . 'class.productauction.php');
productAuction::checkAuctionStatuses();
}

to

if (AUCTION_CRON_ENABLE == '1') {
require(DIR_WS_CLASSES . 'class.productauction.php');
productAuction::checkAuctionStatuses();
}

and it now seems to work. I have a layout problem though, my site uses the center and right columns, on the auction pages, the right column is moved to below the center column. How do I resolve this please?

I suspect the problem is that the PHP engine cant find the include file productauction.php where it is looking for it (in DIR_WS_CLASSES)

19 Nov 2008, 1:52 PM
#257
nellie avatar

nellie

New Zenner

Join Date:
Sep 2005
Posts:
49
Plugin Contributions:
0

Re: Auction Product Type

Thanks, any idea how I fix the layout? I have zen cart 1.3.8a with apple zen template and Aucion 99a.

20 Nov 2008, 3:32 PM
#258
bramnick avatar

bramnick

New Zenner

Join Date:
Mar 2008
Posts:
63
Plugin Contributions:
0

Re: Auction Product Type

Nellie:

Thanks, any idea how I fix the layout? I have zen cart 1.3.8a with apple zen template and Aucion 99a.

Sorry, I dont really play with templates so I dont know what might be causing that

AHB

20 Nov 2008, 4:12 PM
#259
nellie avatar

nellie

New Zenner

Join Date:
Sep 2005
Posts:
49
Plugin Contributions:
0

Re: Auction Product Type

Thanks, I'll try find someone who knows this template

22 Nov 2008, 8:59 PM
#260
davewest avatar

davewest

Totally Zenned

Join Date:
Dec 2007
Location:
Payson, AZ
Posts:
1,075
Plugin Contributions:
7

Re: Auction Product Type

Nellie:

I changed:

if (AUCTION_CRON_ENABLE == '0') {
require(DIR_WS_CLASSES . 'class.productauction.php');
productAuction::checkAuctionStatuses();
}

to

if (AUCTION_CRON_ENABLE == '1') {
require(DIR_WS_CLASSES . 'class.productauction.php');
productAuction::checkAuctionStatuses();
}

and it now seems to work. I have a layout problem though, my site uses the center and right columns, on the auction pages, the right column is moved to below the center column. How do I resolve this please?

The CRON code works without making this change. Try using this error loging tool to see why the page is blank. You may have something else causing the problem.
http://www.zen-cart.com/index.php?main_page=product_contrib_info&cPath=40_54&products_id=860

As for the layout... you can redesign it to not us tables, just takes some time to do. Look at the template how your other products are displaying and do some design changes. I'd tell you which ones to change, but I'm out doing maps for the Sayre fire... once I get back home I plan on going live with my auctions.