X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   News and Announcements (https://forum.x-cart.com/forumdisplay.php?f=28)
-   -   X-Cart v4.1.10 released (https://forum.x-cart.com/showthread.php?t=39609)

ecommerce 05-15-2008 09:27 AM

Re: X-Cart v4.1.10 released
 
I have 4 0 18 now. Sorta started to customize it.
I just want to install 4 1 10.

Question: Will I really have to start from scratch and
re-customized everything from scratch?

intel352 05-15-2008 09:44 AM

Re: X-Cart v4.1.10 released
 
Yes. Only your database will upgrade from 4.0 to 4.1, your files/skin will not.
It's probably best to upgrade before going further with customizations. Plus, 4.1 has a number of features & speed increases over 4.0, makes it worthwhile, in addition to mods that are more often being developed for 4.1 than 4.0

jagorny 05-15-2008 10:22 AM

Re: X-Cart v4.1.10 released
 
after patching from 4.1.9 to 4.1.10 - cart.php refuses to load...

traced to the require include/cart_process.php
traced to inclusion of the function func_generate_min_amount_warning() call

If I comment out declaration of that function, the cart.php page loads fine.

If I comment out the contents of the function and leave the function declaration (essentially an empty function) it fails!

I will compare it to the stock include in the plain vanilla package... seems like an odd snag though...

Anyone get this?

UPDATE - ignore... I guess the diff did not eliminate the function on the update... took care of it.

intel352 05-15-2008 10:28 AM

Re: X-Cart v4.1.10 released
 
Can you post the actual errors you received?

jagorny 05-15-2008 12:43 PM

Re: X-Cart v4.1.10 released
 
Quote:

Originally Posted by intel352
Can you post the actual errors you received?


Nope... basically PHP croaked - no error message, no logs... I'm guessing there was a redefined function somewhere - likely this function got moved somewhere else.

So I made sure it was gone... generally a good practice to run kdiff against the file tree of a clean install zip just in case - sometimes there are things that make it into the plain vanilla distribution that don't get into the patches. I'll probably do that this weekend.

No problems now...

intel352 05-15-2008 01:01 PM

Re: X-Cart v4.1.10 released
 
I've done a recursive search through all files from the stock 4.1.10 install, that function is defined only once. I then did a recursive search through all files from the 4.1.9 to 4.1.10 upgrade, I don't find that function mentioned at all, which means the function existed in 4.1.9 prior to the upgrade, and apparently hasn't been modified/added by the upgrade.

So quite strange the issue you're experiencing. I wonder if cart_process is getting included more than once for some reason.

ecommerce 05-15-2008 02:02 PM

Re: X-Cart v4.1.10 released
 
Is 4 1 10 working fine?

I know it was just release so I dont know
how many are using it successfully.

So Im wondering if theres any bugs or issues
that I should expect or will need to fix.

Thanks all

jagorny 05-16-2008 07:08 AM

Re: X-Cart v4.1.10 released
 
Quote:

Originally Posted by intel352
I've done a recursive search through all files from the stock 4.1.10 install, that function is defined only once. I then did a recursive search through all files from the 4.1.9 to 4.1.10 upgrade, I don't find that function mentioned at all, which means the function existed in 4.1.9 prior to the upgrade, and apparently hasn't been modified/added by the upgrade.

So quite strange the issue you're experiencing. I wonder if cart_process is getting included more than once for some reason.


In the upgrade from 4.1.9 to 4.1.10 look at the file include/cart_process.php.diff and you will see that a new function was added. This function was preventing my cart.php from displaying. Disabling the function restored operation.

Light Speed 05-16-2008 10:14 AM

Re: X-Cart v4.1.10 released
 
Quote:

Originally Posted by jagorny
In the upgrade from 4.1.9 to 4.1.10 look at the file include/cart_process.php.diff and you will see that a new function was added. This function was preventing my cart.php from displaying. Disabling the function restored operation.



What function was added and how did you disable it?

EN4U 05-16-2008 11:23 AM

Re: X-Cart v4.1.10 released
 
Wow just got the site going with my current version and now an upgrade. I guess my main question is will it break the store as it is now. With mods like telafirmas image mod, one page cart, product meta mod, DSEFU and other custom modifications. Would they make it thru the update?

if not, how would I get all these mods to work again? and if it would break things to that degree, would it be worth at this time for the upgrade.

Thank you for your time.


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

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