X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   admin/patch_files Warning Message.... HELP Please! (https://forum.x-cart.com/showthread.php?t=55173)

ScrapProfessor 08-20-2010 11:46 AM

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

ScrapProfessor 08-20-2010 12:25 PM

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. (:


All times are GMT -8. The time now is 07:43 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.