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

SEO-friendly URLs missing after upgrade to 5.2

 
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 03-26-2015, 10:28 AM
 
tony1100 tony1100 is offline
 

Advanced Member
  
Join Date: Oct 2012
Posts: 31
 

Default 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)
__________________
Tony
Reply With Quote
  #2  
Old 03-26-2015, 10:53 PM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default 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).
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions

Last edited by qualiteam : 03-26-2015 at 11:18 PM.
Reply With Quote
  #3  
Old 04-09-2015, 09:21 PM
 
rviersel rviersel is offline
 

Newbie
  
Join Date: Apr 2015
Posts: 4
 

Default 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..)
__________________
Remko
Reply With Quote
  #4  
Old 04-09-2015, 11:49 PM
 
rviersel rviersel is offline
 

Newbie
  
Join Date: Apr 2015
Posts: 4
 

Default 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
__________________
Remko
Reply With Quote
  #5  
Old 04-15-2015, 06:02 AM
  tony_sologubov's Avatar 
tony_sologubov tony_sologubov is offline
 

X-Cart team
  
Join Date: Jan 2009
Posts: 2,431
 

Default 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
__________________
Found a bug in X-Cart? Post it to our bug tracker!
Know how to make X-Cart better? Suggest an idea!
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may 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:36 PM.

   

 
X-Cart forums © 2001-2020