View Single Post
  #11  
Old 11-07-2007, 02:05 AM
 
wildelectronics wildelectronics is offline
 

Member
  
Join Date: Apr 2004
Location: Sydney Australia
Posts: 21
 

Default Re: Price Match...Oh, Phil you there?

Hi, this mod sounds great when applied, however I'm having this problem.

When I go to apply the languages patch for the Price Match Request found at www.xcartmods.co.uk, it doesn't work and there is a screen with the following text that gets redirected back to xcart, with a note saying that the patch has been successful:
-------------------------------------------------------------------

Testing patch applicability and generation list of files could take several minutes, please be patient.
--------------------------------------------------------------------------------
Applying patch. Please be patient...
--------------------------------------------------------------------------------
Warning: Invalid argument supplied for foreach() in /home/wildelec/public_html/wildwebwizards/admin/patch_files.php on line 61
Done.
----------------------------------------------------------------------
&
This is line 61 & 62 of patch_files.php:

foreach ($patch_files as $index=>$patch_file) {
echo $patch_file["orig_file"]." ... "; flush();

---------------------------------------------------------------------

The patch doesn't seem to work and the labels for the mod aren't present. Any ideas?

If you do not know what this is, perhaps you could tell me how I can patch the following into the database using PhpAdmin:

-----------------------------------------------------------------
INSERT INTO xcart_languages VALUES ('US','lbl_Price_Match','Price Match','Labels');
INSERT INTO xcart_languages VALUES ('US','lbl_Price_Match_Descr','Seen our product priced lower elsewhere?','Labels');
INSERT INTO xcart_languages VALUES ('US','lbl_Price_Match_Name','Name','Labels');
INSERT INTO xcart_languages VALUES ('US','lbl_Price_Match_Email','Email','Labels');
INSERT INTO xcart_languages VALUES ('US','lbl_Price_Match_Telephone','Telephone','Lab els');
INSERT INTO xcart_languages VALUES ('US','lbl_Price_Match_Comp_Link','Competitors Link','Labels');
INSERT INTO xcart_languages VALUES ('US','lbl_Price_Match_Comp_Price','Competitors Price','Labels');
INSERT INTO xcart_languages VALUES ('US','lbl_Price_Match_Incl_Tax_Shipping','(inclus ive of tax & shipping)','Labels');
INSERT INTO xcart_languages VALUES ('US','lbl_Price_Match_Comments','Comments','Label s');
INSERT INTO xcart_languages VALUES ('US','lbl_Price_Match_TNC','Terms & Conditions','Labels');
INSERT INTO xcart_languages VALUES ('US','lbl_Price_Match_Terms','Price Match Terms & Conditions go here.','Labels');
INSERT INTO xcart_languages VALUES ('US','lbl_Price_Match_Read_Terms','I have read and understood the Terms & Conditions','Labels');
INSERT INTO xcart_languages VALUES ('US','lbl_Price_Match_Thanks','Thank you, we will be in touch very shortly.','Labels');
--------------------------------------------------------------------

Any help would be appreciated.

Regards Cheryl
__________________
Xcart version 3.5.5.
Reply With Quote