Menu

#4 unitintialized value using version 2.22

open
nobody
5
2002-11-11
2002-11-11
No

I am using version 2.22.

Using the following snipet of tags:

<MTAmazon method="Keyword" search="Italy"
line="books" lastn="10">
<p><a href="<MTAmazonLink>" target=_blank>
<img src="<MTAmazonSmallImage>" align="left"
border="0"><MTAmazonTitle>
</a><br>
<MTAmazonReleaseDate format="%B %Y"><br>
Price: <MTAmazonSalePrice></p>
</MTAmazon>

Last updated: <MTAmazonCacheDateTime>

I get the following error when rebuilding my index page:

MT::App::CMS=HASH(0x82f22d4) Use of uninitialized
value in hash element at /home/httpd/html/zeisler/cgi-
bin/mt/extlib/MTPlugins/MTAmazon.pm line 293.
MT::App::CMS=HASH(0x82f22d4) Use of uninitialized
value in concatenation (.) at /home/httpd/html/zeisler/cgi-
bin/mt/extlib/MTPlugins/MTAmazon.pm line 294.
MT::App::CMS=HASH(0x82f22d4) Use of uninitialized
value in concatenation (.) at /home/httpd/html/zeisler/cgi-
bin/mt/extlib/MTPlugins/MTAmazon.pm line 294.
MT::App::CMS=HASH(0x82f22d4) Argument "" isn't
numeric in numeric gt (>)
at /home/httpd/html/zeisler/cgi-bin/mt/lib/MT/Util.pm line
78.

It is something related to the date. I think it is because
the year for one of the items is 0000 or something
unusable. When I changed to search= from Italy to
Rome, I nolonger go the error, so it is definitely related
the the data that is being returned.

Discussion


Log in to post a comment.