Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

admin/patch_files Warning Message.... HELP Please!

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 08-20-2010, 11:46 AM
  ScrapProfessor's Avatar 
ScrapProfessor ScrapProfessor is offline
 

Advanced Member
  
Join Date: Mar 2008
Posts: 90
 

Default admin/patch_files Warning Message.... HELP Please!

Hey Folks,

When I go to apply the languages patch for the View All mod found at BCSE, 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 - even though it wasn't!:
-------------------------------------------------------------------

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/scrapdel/public_html/shoppe/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? Following is a screenshot of the error:

http://www.scrapdelicious.com/images/SD3.jpg
__________________
Joli Kirk,
"Life is not measured by the number of breaths we take, but by the number of moments that take our breath away"

X-Cart PRO 4.3.1 | Linux | PHP 5 | MySQL 5


AlteredCart.com - Download Expander; Product Page Downloads
BCSEngineering.com - On Sale Products; Newest Added Products
Reply With Quote
  #2  
Old 08-20-2010, 12:25 PM
  ScrapProfessor's Avatar 
ScrapProfessor ScrapProfessor is offline
 

Advanced Member
  
Join Date: Mar 2008
Posts: 90
 

Default Re: admin/patch_files Warning Message.... HELP Please!

Ummm... I think I figured out the problem. I should have been applying a SQL patch, not a normal patch. Weird. Anyhow, I think it's working now. (:
__________________
Joli Kirk,
"Life is not measured by the number of breaths we take, but by the number of moments that take our breath away"

X-Cart PRO 4.3.1 | Linux | PHP 5 | MySQL 5


AlteredCart.com - Download Expander; Product Page Downloads
BCSEngineering.com - On Sale Products; Newest Added Products
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 06:05 AM.

   

 
X-Cart forums © 2001-2020