X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (X-Cart 5) (https://forum.x-cart.com/forumdisplay.php?f=56)
-   -   SEO-friendly URLs missing after upgrade to 5.2 (https://forum.x-cart.com/showthread.php?t=71703)

tony1100 03-26-2015 10:28 AM

SEO-friendly URLs missing after upgrade to 5.2
 
SEO-friendly URLs missing after upgrade to 5.2.

I notice i have to go to every product to update info. to make clean url work? is that any better way to do it?

also i notice that in 5.2 there is another table call xc_clean_url using to save clean url info. ( all clean url info was save to xc_products before)

qualiteam 03-26-2015 10:53 PM

Re: SEO-friendly URLs missing after upgrade to 5.2
 
Hello Tony,

As far as I know upgrading to 5.2 had to keep Clean URLs.
It seems that you had issues with the upgrade, so it may be the cause.

Please contact our support staff by creating a support ticket at https://secure.x-cart.com/ (or sending an e-mail to support@x-cart.com).

rviersel 04-09-2015 09:21 PM

Re: SEO-friendly URLs missing after upgrade to 5.2
 
Same here, after a upgrade from 5.1.11 to 5.2 on a development clone.

SQL table xc_clean_urls seems to be empty after upgrade:

Code:

MySQL returned an empty result set (i.e. zero rows). (Query took 0.0006 seconds.)
SELECT * FROM `xc_clean_urls`


Besides causing the menus/menu breadcrumb and category links on the frontpage to brake, it also causes the makeURLValid function in the new Convertor.php to throw a "strstr(): Empty needle" error while trying to convert the emptu $url into a valid W3C URL


Code:

    /**
    * Make specified URL a valid for W3C-validation
    *
    * @param string $url URL
    *
    * @return string
    */
    public static function makeURLValid($url)
    {

        if (false === strstr('&', $url)) {
            $url = str_replace('&', '&', $url);
        }

        return $url;
    }



I have mailed back to support with this error, are I am trying to get my store upgraded to 5.2 without any upgrade issue (now testing on a dev environment..)

rviersel 04-09-2015 11:49 PM

Re: SEO-friendly URLs missing after upgrade to 5.2
 
After trying to deselect the option "Autogenerate Clean URL" and click update, I get the error:

Code:

Notice: Undefined index: memberships in /Applications/MAMP/htdocs/xcart/var/run/classes/XLite/View/Model/Category.php on line 132

tony_sologubov 04-15-2015 06:02 AM

Re: SEO-friendly URLs missing after upgrade to 5.2
 
Hello @rviersel,

Could you please create a backup of your 5.1.11 (pre-upgrade) X-Cart and email it to sales@x-cart.com with reference to Tony Sologubov?

I will check the problem with upgrade for you.

Tony


All times are GMT -8. The time now is 12:38 AM.

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