Forums / All Other Contributions/Addons / Auction Product Type

Auction Product Type

Views: 177,417

Results 181 to 200 of 740
16 Sep 2008, 12:38 PM
#181
bramnick avatar

bramnick

New Zenner

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

Auction Product Type

gonewild:

} ?> is missing from line470 in /collect_info.php

:oops:

I am really sorry about that folks... I have no idea how the line got trimmed from my library copy of the code.

Here is the "official" fix

Module: admin/includes/modules/product_auction/collect_info.php

There is a line MISSING after line 474:
} ?>

current BAD code at line 474:
echo zen_draw_textarea_field('products_description[' . $languages[$i]['id'] . ']', 'soft', '100%', '20', (isset($products_description[$languages[$i]['id']])) ? stripslashes($products_description[$languages[$i]['id']]) : zen_get_products_description($pInfo->products_id, $languages[$i]['id'])); //,'id="'.'products_description' . $languages[$i]['id'] . '"');
</td>

Correct code at line 474:
echo zen_draw_textarea_field('products_description[' . $languages[$i]['id'] . ']', 'soft', '100%', '20', (isset($products_description[$languages[$i]['id']])) ? stripslashes($products_description[$languages[$i]['id']]) : zen_get_products_description($pInfo->products_id, $languages[$i]['id'])); //,'id="'.'products_description' . $languages[$i]['id'] . '"');
** } ?>**
</td>

Again my apologies....

I will upload 99.a today

AHB

16 Sep 2008, 12:53 PM
#182
bramnick avatar

bramnick

New Zenner

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

Re: Auction Product Type

ben harry:

I have managed to get this to work now, but i now get the following error when i go the the installed product.

Do you know what it can be.

1146 Table 'corbeau_shop.TABLE_PRODUCT_AUCTION_EXTRA' doesn't exist
...

That means that the SQL patch didnt install or at least some of it didnt install.

If you run the uninstall SQL code in the 99a bundle it should back all the SQL changes for the mod out. You might get errors (like if it tries to delete a table that isnt there) but that is OK.

THEN reinstall the SQL patches via the SQL Patch tool off the admin screen.

If you get errors saying you dont have permission to run the patch.php file, you have issues with the zen-cart installation in general and that is beyond the topic of this forum thread to resolve.

If you cannot write to the DB tables, then you might not have RW permission for the DB user you are using to access the zen-cart tables (also beyond the scope of this forum thread).

The server error was my fault. .99a should fix that.

Happy Zenning!

Bramnick

16 Sep 2008, 3:13 PM
#183
gonewild avatar

gonewild

Zen Follower

Join Date:
Apr 2005
Posts:
145
Plugin Contributions:
0

Re: Auction Product Type

Do you have any suggestions for this error:

The first bid on an item returns a server error page. Clicking the back button returns to the auction page and shows the bid placed correctly. My server error log shows this error:

[error] [client ] malformed header from script. Bad header=No recipient addresses found : /var/chroot/home/content/f/o/r/forgottenwoods/html/index.php

The second and all following bids all function correctly.

16 Sep 2008, 3:44 PM
#184
annet_1 avatar

annet_1

New Zenner

Join Date:
Sep 2006
Posts:
12
Plugin Contributions:
0

Re: Auction Product Type

I have a problem NO MAIL :shocking:

Email Error: can`t mail functie not initialiseren.

A message that you sent contained no recipient addresses, and therefore no
delivery could be attempted.

Annet

17 Sep 2008, 8:53 AM
#185
ben_harry avatar

ben_harry

Zen Follower

Join Date:
Mar 2007
Location:
Cornwall - uk
Posts:
462
Plugin Contributions:
0

Re: Auction Product Type

I think version 99a has worked for me, Inow have the description box available which i didnt before, and I got it installed without an error codes. One question though, actually two questions, I dont have the buy it now option showing on the product, and also when I got an out bid email it got delivered with the subject as mail Failure - no recipient addresses, is it possible to change that to something like outbid notice.

Thanks
Ben

17 Sep 2008, 10:34 AM
#186
andyii avatar

andyii

Zen Follower

Join Date:
Mar 2007
Posts:
153
Plugin Contributions:
0

Re: Auction Product Type

try using sendmail, phpmail isnt a practical choice if you need to send out large amounts of email anyway. this has always resolved my problems.
and for the member that had sql troubles,
I have found that using admin function of applying a sql patch will add the table prefix to the patch when in actuality the mod is looking for its table,
example
the table gets named "zen_my_new_table", the mod is looking for
just "my_new_table"
a quick way to fix this is go to phpmyadmin and run the sql there

Annet-1:

I have a problem NO MAIL :shocking:

Email Error: can`t mail functie not initialiseren.

A message that you sent contained no recipient addresses, and therefore no
delivery could be attempted.

Annet

17 Sep 2008, 4:59 PM
#187
ben_harry avatar

ben_harry

Zen Follower

Join Date:
Mar 2007
Location:
Cornwall - uk
Posts:
462
Plugin Contributions:
0

Re: Auction Product Type

Is it normal that the buy it now option doesnt appear in the auction listings.

Thanks

17 Sep 2008, 5:07 PM
#188
gonewild avatar

gonewild

Zen Follower

Join Date:
Apr 2005
Posts:
145
Plugin Contributions:
0

Re: Auction Product Type

ben harry:

Is it normal that the buy it now option doesnt appear in the auction listings.

Thanks

Did you enter a buy it now price when you created the listing?

18 Sep 2008, 4:25 AM
#189
davewest avatar

davewest

Totally Zenned

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

Re: Auction Product Type

AndyII:

try using sendmail, phpmail isnt a practical choice if you need to send out large amounts of email anyway. this has always resolved my problems.
and for the member that had sql troubles,
I have found that using admin function of applying a sql patch will add the table prefix to the patch when in actuality the mod is looking for its table,
example
the table gets named "zen_my_new_table", the mod is looking for
just "my_new_table"
a quick way to fix this is go to phpmyadmin and run the sql there

I didn't see a problem not finding it's table. If it is, check out the includes/extra_datafiles/product_auctions.php it should have a table prefix.. as below.

define('TABLE_PRODUCTS_AUCTION', [B]DB_PREFIX[/B] . 'products_auctions');
define('TABLE_PRODUCT_AUCTION_EXTRA', [B]DB_PREFIX[/B] . 'product_auction_extra');

Dave
Always forward thinking... Lost my mind!

20 Sep 2008, 7:15 PM
#190
ben_harry avatar

ben_harry

Zen Follower

Join Date:
Mar 2007
Location:
Cornwall - uk
Posts:
462
Plugin Contributions:
0

Re: Auction Product Type

gonewild:

Did you enter a buy it now price when you created the listing?

Yes I did enter the buy now price, im assuming from your reply that the buy it now optio should be working. Any idea why mine is not working?

Cheers
Ben

24 Sep 2008, 12:50 PM
#191
bramnick avatar

bramnick

New Zenner

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

Re: Auction Product Type

ben harry:

Yes I did enter the buy now price, im assuming from your reply that the buy it now optio should be working. Any idea why mine is not working?

Cheers
Ben

I may have solved the secret of the phantom BID NOW button. I seem to have detected yet another source control problem and the missing code in the library just happens to be related to BID NOW.

I found this while applying the latest code patch from ZEN to the SQL Injection security problem.

So the REALLY good news is that if you drop this version of shopping_cart.php on top of the .99 system (or .99a for that matter) located in STOREROOT/includes/classes you should get both the SQL Injection changes for this module AND (hopefully) a working BID NOW button)

Cheers!
AHB

25 Sep 2008, 4:08 AM
#192
davewest avatar

davewest

Totally Zenned

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

Re: Auction Product Type

bramnick:

I may have solved the secret of the phantom BID NOW button. I seem to have detected yet another source control problem and the missing code in the library just happens to be related to BID NOW.

I found this while applying the latest code patch from ZEN to the SQL Injection security problem.

So the REALLY good news is that if you drop this version of shopping_cart.php on top of the .99 system (or .99a for that matter) located in STOREROOT/includes/classes you should get both the SQL Injection changes for this module AND (hopefully) a working BID NOW button)

Cheers!
AHB

Is it BUY NOW or BID NOW... I always had a BUY NOW and it worked from my first install...

Anyway... your shopping_cart.php is missing the final ?> at the bottom.

Dave
Always forward thinking... Lost my mind!

25 Sep 2008, 12:26 PM
#193
bramnick avatar

bramnick

New Zenner

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

Re: Auction Product Type

davewest:

Is it BUY NOW or BID NOW... I always had a BUY NOW and it worked from my first install...

Anyway... your shopping_cart.php is missing the final ?> at the bottom.

Dave

Yeah, I must have been asleep. It is BUY IT NOW, but some zenners noticed that they couldnt get that button to appear. This might be the reason.

You are also correct about the missing ?>

Thanks for the catch...

One more try.....

AHB

2 Oct 2008, 2:43 AM
#194
bramnick avatar

bramnick

New Zenner

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

Re: Auction Product Type

bramnick:

Dave

Yeah, I must have been asleep. It is BUY IT NOW, but some zenners noticed that they couldnt get that button to appear. This might be the reason.

You are also correct about the missing ?>

Thanks for the catch...

One more try.....

AHB

Seems I am not as asleep as I thought

http://www.zen-cart.com/forum/showthread.php?t=108428

This version of the shoppingcart file had the SQL security fix in it which, as it turns out INTENTIONALLY omitted the ?>

AHB

2 Oct 2008, 5:02 AM
#195
davewest avatar

davewest

Totally Zenned

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

Re: Auction Product Type

bramnick:

Seems I am not as asleep as I thought

http://www.zen-cart.com/forum/showthread.php?t=108428

This version of the shoppingcart file had the SQL security fix in it which, as it turns out INTENTIONALLY omitted the ?>

AHB

I guess I was the one sleeping on that one.... sorry about that. I missed on the dot as will...

Dave
Always forward thinking... Lost my mind!

6 Oct 2008, 12:46 AM
#196
nadiausa avatar

nadiausa

New Zenner

Join Date:
Sep 2008
Location:
Los Angeles, CA
Posts:
82
Plugin Contributions:
0

Re: Auction Product Type

Hello,

I have a simmilar issue,

gonewild:

Do you have any suggestions for this error:

The first bid on an item returns a server error page. Clicking the back button returns to the auction page and shows the bid placed correctly. My server error log shows this error:

[error] [client ] malformed header from script. Bad header=No recipient addresses found : /var/chroot/home/content/f/o/r/forgottenwoods/html/index.php

The second and all following bids all function correctly.

I installed 99a and have an email error only on the first bidder.
What happens is I get :

**Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.**

Only after a first bid, then I hit the back button and everything is fine. My bid is shoing as I made it.

Then I get an email to my webmaster acct saying there was an error:

**The original message was received at Sun, 5 Oct 2008 17:40:03 -0700
from clubina@localhost

----- The following addresses had permanent fatal errors -----
<>
(reason: 550 5.1.1 User unknown)

----- Transcript of session follows -----
550 5.1.1 <>... User unknown**

My email is set to sendmail

What is wrong?

Regards,
Nadia

6 Oct 2008, 1:14 AM
#197
andyii avatar

andyii

Zen Follower

Join Date:
Mar 2007
Posts:
153
Plugin Contributions:
0

Re: Auction Product Type

doesnt sound like a mail problem, the error you will get would be it cant initiate the mail process more like it cant find an email address or maybe a bad email address when the bid was placed and the email was to go out to the bidder.
post your site if you dont mind, I will sign up and play :)

6 Oct 2008, 1:16 AM
#198
nadiausa avatar

nadiausa

New Zenner

Join Date:
Sep 2008
Location:
Los Angeles, CA
Posts:
82
Plugin Contributions:
0

Re: Auction Product Type

Actually, I wonder if it is because I set a minimum bid price.

The module sends me "webmaster" an error email with an attachment message saying sorry you have been outbid.

The message comes in an error email too:
**The original message was received at Sun, 5 Oct 2008 18:05:42 -0700
from clubina@localhost

----- The following addresses had permanent fatal errors -----
<>
(reason: 550 5.1.1 User unknown)

----- Transcript of session follows -----
550 5.1.1 <>... User unknown**

However the attachment is fine with no apparent errors. It is a standard email saying I have been outbid.

Ofcourse, I know i wasnt really outbid, I just set the starting price in the product screen ant that starting price was outbid by the first coustomer.

6 Oct 2008, 1:16 AM
#199
nadiausa avatar

nadiausa

New Zenner

Join Date:
Sep 2008
Location:
Los Angeles, CA
Posts:
82
Plugin Contributions:
0

Re: Auction Product Type

AndyII:

doesnt sound like a mail problem, the error you will get would be it cant initiate the mail process more like it cant find an email address or maybe a bad email address when the bid was placed and the email was to go out to the bidder.
post your site if you dont mind, I will sign up and play :)

My site is https://www.clubina.com

6 Oct 2008, 1:33 AM
#200
andyii avatar

andyii

Zen Follower

Join Date:
Mar 2007
Posts:
153
Plugin Contributions:
0

Re: Auction Product Type

setup a test auction with 10 cent bids or something, nice stuff but ........:blink: