shop mod need help please conflict with amazon block

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   shop mod need help please conflict with amazon block
jesseee
CZ Newbie
jesseee has been a member for over 19 year's 19 Year Member
Gender: Male
Status: Offline
Joined: Jan 12, 2005
0.00 posts per day
Posts: 12
Points: 1,690
   
site : [ Register or login to view links on this board. ]
demo un:dog
demo pw: dog

just installed the shop last night, looks great, everything works except when i click on shop it seems a conflict happens with my amazon block. This happened with the bookie mod also, but i unistalled it. When you click on shop, i get this error i dont understand why

Warning: main(modules/Amazon/language/lang-Array.php): failed to open stream: No such file or directory in /home/henkelj/public_html/da/blocks/block-Amazon.php on line 51

Warning: main(modules/Amazon/language/lang-Array.php): failed to open stream: No such file or directory in /home/henkelj/public_html/da/blocks/block-Amazon.php on line 51

Warning: main(modules/Amazon/language/lang-Array.php): failed to open stream: No such file or directory in /home/henkelj/public_html/da/blocks/block-Amazon.php on line 51

Warning: main(): Failed opening 'modules/Amazon/language/lang-Array.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/henkelj/public_html/da/blocks/block-Amazon.php on line 51



this is the lines from the amazon block, line 51 is in bold
# Amazon Module Configuration
   global $prefix, $db;
   $result = $db->sql_query("SELECT AMZVer, AMZModule_Name, AMZ_id, cache_maxtime, AMZMore, AMZSingle, AMZQuickAdd, AMZShowReview, AMZShowSimilar, AMZLocale, AMZReviewMod, ImageType, default_asin, AMZ_Popular, AMZBuyBox, AMZShowXML FROM ".$prefix."_amazon_cfg");

   list($AMZVer, $AMZModule_Name, $amazon_id, $amazon_xml_cache_maxtime, $AMZMore, $AMZSingle, $AMZQuickAdd, $AMZShowReview, $AMZShowSimilar, $AMZLocale, $AMZReviewMod, $AMZImgType, $AMZDefault_Asin, $AMZ_Popular, $AMZBuyBox, $AMZShowXML) = $db->sql_fetchrow($result);

require_once("includes/NukeAmazon/functions.php");

if (isset($newlang))
{
   include("modules/$AMZModule_Name/language/lang-$newlang.php");
   $language = $newlang;
}
elseif (isset($lang))
{
   [B] include("modules/$AMZModule_Name/language/lang-$lang.php");[/B]
    $language = $lang;
}
else
{
   include("modules/$AMZModule_Name/language/lang-$language.php");
}

   $Asin = GetAsin('');

   $amazon = amazon_search('AsinSearch', $Asin, '', 'lite', '');

   if(isset($amazon->errorMsg))
   {


please help me get rid of it, thanks


Back to top Reply with quote
#2   
Telli
Site Admin
Telli has been a member for over 20 year's 20 Year Member
Occupation: Self Employed
Age: 45
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.06 posts per day
Posts: 8089
Points: 494,430
   
Do you use the languages?




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#3   
jesseee
CZ Newbie
jesseee has been a member for over 19 year's 19 Year Member
Gender: Male
Status: Offline
Joined: Jan 12, 2005
0.00 posts per day
Posts: 12
Points: 1,690
   
the only language i use is english, its prob not what you meant, but i follow all instructions to the tee, and i can prob move the amazon block to the middle or something.



Back to top Reply with quote
#4   
Telli
Site Admin
Telli has been a member for over 20 year's 20 Year Member
Occupation: Self Employed
Age: 45
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.06 posts per day
Posts: 8089
Points: 494,430
   
Try changing this section:


if (isset($newlang))
{
   include("modules/$AMZModule_Name/language/lang-$newlang.php");
   $language = $newlang;
}
elseif (isset($lang))
{
   [B] include("modules/$AMZModule_Name/language/lang-$lang.php");[/B]
    $language = $lang;
}
else
{
   include("modules/$AMZModule_Name/language/lang-$language.php");
}


To this:


/*if (isset($newlang))
{
   include("modules/$AMZModule_Name/language/lang-$newlang.php");
   $language = $newlang;
}
elseif (isset($lang))
{
   [B] include("modules/$AMZModule_Name/language/lang-$lang.php");[/B]
    $language = $lang;
}
else
{
   include("modules/$AMZModule_Name/language/lang-$language.php");
}*/

include("modules/$AMZModule_Name/language/lang-english.php");


See what happens.



_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#5   
jesseee
CZ Newbie
jesseee has been a member for over 19 year's 19 Year Member
Gender: Male
Status: Offline
Joined: Jan 12, 2005
0.00 posts per day
Posts: 12
Points: 1,690
   
worked like a charm, thank you so much telli



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum