3.0.6 Pro SEO bug?

Hi, after upgrading to 3.0.6 I have SEO issue with new category in my shop. Creating new category in SEO name is “category-314”. It’s not big deal - changes in SEO names could be made manualy to desire names.



Bartek

Hello Bartek,



Thank you for your message.



I am sorry to hear that you experienced this issue. There is a well-known bug related to the SEO add-on in CS-Cart version 3.0.6. However, the bug problem is not the same as you have. So it requires examination on your server. Please contact us via Customer Help Desk and provide temporary access to your server by clicking on the Add record link on the Access information page of your Help Desk account so that we could examine the issue.



Thank you.





Pavel Zyukin

CS-Cart Support team

[quote name='CS-Cart Support team' timestamp='1362053954' post='156620']

Hello Bartek,



Thank you for your message.



There is a well-known bug related to the SEO add-on in CS-Cart version 3.0.6.

Pavel Zyukin

CS-Cart Support team

[/quote]



Is this bug fixed, does it affect all v3.06 can we upgrade from 3.05 or wait. or is there a fix. i am just about to go live with V3.05 this weekend.



Thanks

John

Hello John,



Thank you for your message.



Yes, this bug affects all CS-Cart editions of version 3.0.6. So if you decide to upgrade your store to version 3.0.6, please contact us via Customer Help Desk so that our technical support engineer could provide you with a fix to this problem.



Thank you.





Pavel Zyukin

CS-Cart Support team

why are all confirmed bugs in cs-cart “well known” but no one seems to know about them?

Pavel,



I'm right there with Tony on this one. If this is so well known, I'd sure think everyone would know about it and would maybe think twice about upgrading or installing 3.0.6.



How about you just post the fix on here? If it was on the forum, than all of us running 3.0.6 would be able to fix it ourselves.



Thanks,



Brandon

I was probably a bit sarcastic but it's something that's bugged me (no pun intended) for a long time.

Significant defects should be well publicized once solutions/patches are available. I.e. if an SEO problem was introduced in 3.0.6 and a fix/patch/solution is available, one shouldn't have to either discover it by my customers or vendors experiencing problems or by discovering that it's a “welll known problem” here on the forums buried in some thread. Nor should I have to wait for 3.0.7 or 3.1.0 in order to get the fix.



Since this shouldn't require any support credits (bug fix), why not simply have a “Known Issues” section where Helpdesk can publish problems/solutions to the customer base?



Sorry, don't mean to hijack this thread.

Hello all,



Thank you for your messages.



I understand your concern in this matter. Indeed, fixes to such major problems should be provided to public right after they are fixed. Note that information about this bug is already provided in our blog:



http://blog.cs-cart…3-0-6-released/



You can see the following text here: “A serious bug in the SEO add-on in the Ultimate edition has been fixed”. There is also a link to the bug fix. Please check it.



As regards our plans for the future, we are planning to show notifications of such serious bugs in the CS-Cart admin panel. In such notifications, there will also probably be a link to a bug fix. If you like this idea, we will be happy to hear your suggestions on this matter. All other suggestions are also welcome!



If you have additional questions, please do not hesitate to ask them.



Thank you.





Pavel Zyukin

CS-Cart Support team

The bug was found in 3.0.5, CS-Cart said the fix will be included with 3.0.6 but there is nothing in the original 3.0.6 package changelog, in fact, there isn't even a changelog published on the CS-Cart site like usual. So was this bug fixed and included in all 3.0.6 builds?

Hello StellarBytes,



Thank you for your message.



The notice of a bug with the SEO add-on is included in the changelog.txt file located in the root directory of your CS-Cart installation of version 3.0.6. It looks as follows:



Legend:

[+] - new feature/improvement

[] - functionality changes

[!] - bugfix





Version 3.0.6, February 14 2013



[
] Shippings: USPS shipping services updated.



[!] Addons: SEO: SEO names were re-generated with the default values when saving categories at categories management page. Fixed.

[!] Payments: PayPal standard: It was possible to place an order and direct the payment to a third party PayPal account. Fixed.




This bug is fixed in all the editions of CS-Cart 3.0.6.



As regards the changelog on our website, you are right that it is not there. We will add it to our website shortly. I am sorry for any possible inconveniences. Note that all the changes from this changelog are already provided in our blog.



Thank you.





Pavel Zyukin

CS-Cart Support team

Pavel,



My suggestions:[list=1]

[]Post this stuff here in the community forums rather than a blog. Suggest a specific “Critical Issues” section of the forum that is ONLY for publishing problems/solutions.

[
]Including a link in the admin notification of a critical bug/solution is a great idea. The links should go to a page that describes the problem and the solution (preferably here in the forum). If a patch is needed, you should have links for the various versions that will have an archive of the affected files for each version (if different). So in this case, you'd have a 3.0.5 version of the fix as a link that could be downloaded and applied in the root of the store. Ideally, the “upgrade center” would be augmented to account for bug fixes so the user doesn't really have to do anything other than click a “Yes, please fix this problem for me”.

[/list]

Goal should be simplicity and the expectation is that this will be an infrequent activity. The USPS changes and this one are the key examples of big problems that affect a large number of customers. It would also take some load off the helpdesk so we won't get as many “we'll get back to you” responses.

Hello tbirnseth,



Thank you very much for your suggestions. I have forwarded them to a responsible person. Your suggestions will certainly be considered in detail.



As regards delays in answers, I do sincerely apologize in this matter. Indeed, it is difficult to reply to an incoming request without delays as long as our workload is really too intense and we have a lot of customers' messages. I want to assure you that we do our best. I rely on your understanding in this matter.



Thank you.





Pavel Zyukin

CS-Cart Support team

Hi all



Just wanted to bring something to attention that really has annoyed me, we all Rely on CS-Cart to for quality and reliability but with this new update that has come up with the SEO bug, it has messt up my entire shop, and to make things worse the the patch that they have given us mad things worse.



The Bug was the if you close a products, lets say “Carcassonne: The Tower” and renamed it to “Carcassonne: Traders & Builders” and when you saved it, it was ment to save it with the seo name of “carcassonne-traders-and-builders”. But it din't it saved it with the seo name of “carcassonne-the-tower-clone”



The Patch the was given fixed that but Introduced a new bigger bug, if all or some of you seo names are not the same as you product name, like my ones i all ways but the prudoct code followed by the product name, you are in for a big surprise.



In the “products.manage” where you update more then one pruduct at the same time, lets say you go to a category and you want to update all the prices in there, and like me you can have like 100 pruducts in that category, as soon as you press save it will reset all your seo names to the product name ignoring the name you have entered in the seo.



I now have 6000 items on my shop with reset seo name, and why? well it all gose down to CS-Cart and there quality and bug checks.

@projectmyst. The structure of the database table cscart_seo_names hasn't changed through V3, so you can safely restore only this database table to get your 'old' seo names back. Any new seo names you have created since the upgrade, such as only new products, categories, pages, etc, will need to be recreated. You can add them manually to the database table, or just go into the product/category/page in CS-Cart and re-save it to get the SEO name to save in the database.



What this will do is reset your “product-name-clone” back to “product-name”, which will also allow you to keep any changes you have made to the products, such as product title, description, price, etc.

Hi



I'm doing that now, but there are lots that i will have to menually input as i don't have a backup. But i'm still having a problem where i can't even change the products position, prices, quantities because updating the pruducts from there will keeps reseting the seo name for all of them products there.



For Example, see attach image. I have 38 products there, if up press the save button at the bottom it will reset all of the seo names on them to the product name and will not keep the seo name that i entered for them.

Screen Shot 2013-03-07 at 14.28.27.png

Have you upgraded to V3.0.6? The fix for this should have been included in 3.0.6 so this shouldn't be happening anymore. Verify it by checking the code fix as shown in the bug tracker for this bug.



Agreed this is down to poor quality control check and no real-world testing. You have my full sympathy in regards to the devastation this has caused on your site, but it's an important lesson:- always create a backup, no matter how robust the new version of any software package may be.

I'm using V3.0.6, and the code to fix makes no sense.



In order to fix this bug, please replace the following part of code:
$object_data['seo_name'] = db_get_field('SELECT name FROM ?:seo_names WHERE object_id = ?i AND company_id = ?i AND type = ?s', $object_id, $_company_id, $type);

with this one:
$object_data['seo_name'] = db_get_field('SELECT name FROM ?:seo_names WHERE object_id = ?i AND company_id = ?i AND type = ?s AND lang_code = ?s', $object_id, $_company_id, $type, fn_get_corrected_seo_lang_code($lang_code));

and replace the following part of code:
$object_data['seo_name'] = db_get_field('SELECT name FROM ?:seo_names WHERE object_id = ?i AND company_id = ?i AND type = ?s AND lang_code = ?s', $object_id, $_company_id, $type, fn_get_corrected_seo_lang_code($lang_code));

with this one:
$_object_name = db_get_field('SELECT name FROM ?:seo_names WHERE object_id = ?s AND company_id = ?i AND type = ?s AND lang_code = ?s', $object_id, $_company_id, $type, fn_get_corrected_seo_lang_code($lang_code));

in the func.php file located in the addons/seo directory of your CS-Cart installation.
Maybe this is what you are looking for.




its asking to change from one to another, and then change that same other to another!!!



do you by any change know it?

Best to ask CS-Cart support here via the helpdesk, I cannot fathom why they have told you to change code to B from A then change it to C to fix B. Utterly bizarre.

Yeah similar problem when i clone the product, in SEO name its not changing automatically, i have to write manually and this happen starting from when i upgrade to the latest version. Please help

Yep got exactly the same problem and I am running 3.0.6 → Starting to wish I had stayed with my 2.2.5 install now :( This thing is so buggy.



What I cannot understand is how CS keep allowing these massively buggy releases to go live, it seems like it’s necessary to wait 6 months after any release just to make sure there are patches for all the problems :confused: