Jump to content



Latest News: (loading..)

* * * * - 3 votes

Ultimate Seo Urls 5 Pro


  • Please log in to reply
527 replies to this topic

#521   FWR Media

FWR Media
  • Community Sponsor
  • 6,836 posts
  • Real Name:Robert Fisher
  • Gender:Male
  • Location:Stowmarket - Suffolk - UK

Posted 13 September 2012 - 02:57 PM

View Postfgwapo, on 13 September 2012 - 02:12 PM, said:

where are these constants located? (files) or tables

Its driving me crazy.  Search engines will penalized me for duplicate contents

any help is highly appreciated

The constants are in the USU5 files initially but they are entered into the database configuration table on install.

#522   fgwapo

fgwapo
  • Members
  • 22 posts
  • Real Name:francis gwapo

Posted 13 September 2012 - 04:00 PM

is it possible to convert any none URL standards into hex code form  ex. %E9  and so on.

#523   FWR Media

FWR Media
  • Community Sponsor
  • 6,836 posts
  • Real Name:Robert Fisher
  • Gender:Male
  • Location:Stowmarket - Suffolk - UK

Posted 13 September 2012 - 04:21 PM

@fgwapo

USU5 supports the RFC recomendation: -

ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~:/?#[]@!$&'()*+,;=

It does not support % encoded hexadecimals.

#524   fgwapo

fgwapo
  • Members
  • 22 posts
  • Real Name:francis gwapo

Posted 13 September 2012 - 10:41 PM

Hello,

How do i setup so that the link for multi language will be like this



espanol

http://www.mydomain.com/es/english_category.html

french

http://www.mydomain.com/fr/english_category.html


instead using the translated category/products name  i will use the default language english to be used in urls?


any help is highly appreciated

#525   fgwapo

fgwapo
  • Members
  • 22 posts
  • Real Name:francis gwapo

Posted 13 September 2012 - 10:55 PM

Hello,

how do i implement if there are no conversion pack for that language, the urls will use the default english language names to be used in url.

ex

http://www.mydomain.com/ch/english_categoryname.html
http://www.mydomain.com/ja/english_productname.html


I think this is the best workaround to implement languages for japanese, korean and chinese

any help is highly appreciated


fgwapo

#526   owan

owan
  • Members
  • 12 posts
  • Real Name:owan
  • Gender:Male
  • Location:china

Posted 22 March 2013 - 10:29 AM

Hi Robert ,I very like this contribution, when i find it before,I want to codeing some contribution like this by my self, multi-language Urls Seo by osc or creloaded. So I searching about oscommerce SEO urls,then i found your contribution,I am so happy to see it that is what I need.I am download it and testing it on oscommerce ,it working so perfect. but for my histroy reason,i using the creloaded as my shop about 6 year ago,now my website grow up,but only the seo no good by support multi-language. I am not good at PHP,but i very like this contribution,So i install it on Creloaded,and anything see good,but only when i click the link. it can't direct to correct page. click categories link ,the url changed and do direct action ,but only direct to  home page.when i clink the product link and article link,it show me "not found product" and "not found  article".
I make the configure Turn variable reporting on to True in admin section.

I am still testing now,i think the problem is the requst_querystring can't get the value,so it can't direct to correct page,but i can't find the way to solve issue about requst_querystring is null.

I leave the debug array in below,if you know,i hope you can help me,thank you so much.

Array
(
	[languages_id] => 1
	[request_type] => NONSSL
	[session_started] => 1
	[sid] => osCsid=b10e19623a513af3c5aa58b7b4648ab9
	[language] => english
	[filename] => /songhuacn/index.php
	[request_querystring] =>
	[original_request_uri] => /songhuacn/teachers-flowers-c-52_108.html
	[request_uri] => songhuacn/teachers-flowers-c-52_108.html
	[real_path] => D:\AppServ\www\songhuacn/
	[usu_path] => D:\AppServ\www\songhuacn/includes/modules/ultimate_seo_urls5/
	[db_install_path] => D:\AppServ\www\songhuacn/includes/modules/ultimate_seo_urls5/database_install/
	[abstracts_path] => D:\AppServ\www\songhuacn/includes/modules/ultimate_seo_urls5/abstracts/
	[includes_path] => D:\AppServ\www\songhuacn/includes/modules/ultimate_seo_urls5/includes/
	[cache_system_path] => D:\AppServ\www\songhuacn/includes/modules/ultimate_seo_urls5/cache_system/
	[interfaces_path] => D:\AppServ\www\songhuacn/includes/modules/ultimate_seo_urls5/interfaces/
	[page_modules_path] => D:\AppServ\www\songhuacn/includes/modules/ultimate_seo_urls5/page_modules/
	[uri_modules_path] => D:\AppServ\www\songhuacn/includes/modules/ultimate_seo_urls5/uri_modules/
	[cache_path] => D:\AppServ\www\songhuacn/includes/modules/ultimate_seo_urls5/cache/
	[base_url] => http://localhost/songhuacn/
	[base_url_ssl] =>
	[config_settings] => Array
		(
			[0] => USU5_RESET_CACHE
			[1] => USU5_ENABLED
			[2] => USU5_CACHE_ON
			[3] => USU5_URLS_TYPE
			[4] => USU5_CHAR_CONVERT_SET
			[5] => USU5_FILTER_SHORT_WORDS
			[6] => USU5_REMOVE_ALL_SPEC_CHARS
			[7] => USU5_CACHE_DAYS
			[8] => USU5_USE_W3C_VALID
			[9] => USU5_ADD_CPATH_TO_PRODUCT_URLS
			[10] => USU5_OUPUT_PERFORMANCE
			[11] => USU5_ADD_CAT_PARENT
			[12] => USU5_DEBUG_OUPUT_VARS
			[13] => USU5_CACHE_SYSTEM
			[14] => USU5_PRODUCTS_LINK_TEXT_ORDER
			[15] => USU5_MULTI_LANGUAGE_SEO_SUPPORT
		)
	[enabled] => true
	[catalog_languages] => Array
		(
			[cn] => Array
				(
					[id] => 2
					[name] => schinese
					[image] => icon.gif
					[directory] => schinese
				)
			[en] => Array
				(
					[id] => 1
					[name] => English
					[image] => icon.gif
					[directory] => english
				)
		)
	[current_language] => Array
		(
			[id] => 1
			[name] => English
			[image] => icon.gif
			[directory] => english
			[code] => en
		)
	[character_conversion] =>
	[page_modules] => Array
		(
			[articles] => Articles_Page_Module Object
				(
					[dependencies:protected] => Array
						(
							[tPath] => Array
								(
									[marker] => -t-
									[query] => SELECT topics_name FROM :TABLE_TOPICS_DESCRIPTION WHERE topics_id=':tPath' AND language_id=':languages_id' LIMIT 1
									[to_replace] => Array
										(
											[0] => :TABLE_TOPICS_DESCRIPTION
											[1] => :tPath
											[2] => :languages_id
										)
								)
							[authors_id] => Array
								(
									[marker] => -au-
									[query] => SELECT authors_name FROM :TABLE_AUTHORS WHERE authors_id=':authors_id' LIMIT 1
									[to_replace] => Array
										(
											[0] => :TABLE_AUTHORS
											[1] => :authors_id
										)
								)
						)
					[key:protected] => tPath
					[cache_name_builder:protected] => Array
						(
							[tPath] => 1
							[authors_id] => 1
						)
					[urlInitial:protected] =>
					[parameters:protected] => Array
						(
						)
					[add_session_id:protected] =>
					[_sid:protected] =>
					[cache_name:protected] =>
					[query:protected] =>
					[keys_index:protected] => Array
						(
						)
					[page:protected] =>
					[extract:private] =>
				)
			[article_info] => Article_Info_Page_Module Object
				(
					[dependencies:protected] => Array
						(
							[articles_id] => Array
								(
									[marker] => -a-
									[query] => SELECT articles_name FROM :TABLE_ARTICLES_DESCRIPTION WHERE articles_id=':articles_id' AND language_id=':languages_id' LIMIT 1
									[to_replace] => Array
										(
											[0] => :TABLE_ARTICLES_DESCRIPTION
											[1] => :articles_id
											[2] => :languages_id
										)
								)
						)
					[key:protected] =>
					[cache_name_builder:protected] => Array
						(
							[articles_id] => 1
						)
					[urlInitial:protected] =>
					[parameters:protected] => Array
						(
						)
					[add_session_id:protected] =>
					[_sid:protected] =>
					[cache_name:protected] =>
					[query:protected] =>
					[keys_index:protected] => Array
						(
						)
					[page:protected] =>
					[extract:private] =>
				)
			[index] => Index_Page_Module Object
				(
					[dependencies:protected] => Array
						(
							[cPath] => Array
								(
									[marker] => -c-
									[query] => SELECT cd2.categories_name AS pName, cd.categories_name AS cName FROM :TABLE_CATEGORIES c LEFT JOIN :TABLE_CATEGORIES_DESCRIPTION cd2 ON c.parent_id = cd2.categories_id AND c.parent_id = cd2.categories_id AND cd2.language_id = :languages_id, :TABLE_CATEGORIES_DESCRIPTION cd WHERE c.categories_id = cd.categories_id AND c.categories_id = :cid AND cd.language_id = :languages_id
									[to_replace] => Array
										(
											[0] => :TABLE_CATEGORIES_DESCRIPTION
											[1] => :TABLE_CATEGORIES
											[2] => :languages_id
											[3] => :cid
										)
								)
							[manufacturers_id] => Array
								(
									[marker] => -m-
									[query] => SELECT manufacturers_name FROM :TABLE_MANUFACTURERS WHERE manufacturers_id=':manufacturers_id' LIMIT 1
									[to_replace] => Array
										(
											[0] => :TABLE_MANUFACTURERS
											[1] => :manufacturers_id
										)
								)
						)
					[key:protected] => cPath
					[cache_name_builder:protected] => Array
						(
							[cPath] => 1
							[manufacturers_id] => 1
							[page] => 1
						)
					[urlInitial:protected] =>
					[parameters:protected] => Array
						(
						)
					[add_session_id:protected] =>
					[_sid:protected] =>
					[cache_name:protected] =>
					[query:protected] =>
					[keys_index:protected] => Array
						(
						)
					[page:protected] =>
					[extract:private] =>
				)
			[information] => Information_Page_Module Object
				(
					[dependencies:protected] => Array
						(
							[info_id] => Array
								(
									[marker] => -i-
									[query] => SELECT information_title FROM :TABLE_INFORMATION WHERE information_id=':info_id' AND language_id=':languages_id' LIMIT 1
									[to_replace] => Array
										(
											[0] => :TABLE_INFORMATION
											[1] => :info_id
											[2] => :languages_id
										)
								)
						)
					[key:protected] => info_id
					[cache_name_builder:protected] => Array
						(
							[info_id] => 1
						)
					[urlInitial:protected] => http://localhost/songhuacn/
					[parameters:protected] => Array
						(
							[0] => info_id=22
						)
					[add_session_id:protected] => 1
					[_sid:protected] => osCsid=b10e19623a513af3c5aa58b7b4648ab9
					[cache_name:protected] =>
					[query:protected] => SELECT information_title FROM information WHERE information_id='22' AND language_id='1' LIMIT 1
					[keys_index:protected] => Array
						(
							[info_id] => 22
						)
					[page:protected] => information.php
					[extract:private] => Array
						(
							[0] => info_id
						)
				)
			[links] => Links_Page_Module Object
				(
					[dependencies:protected] => Array
						(
							[lPath] => Array
								(
									[marker] => -links-
									[query] => SELECT link_categories_name FROM :TABLE_LINK_CATEGORIES_DESCRIPTION WHERE link_categories_id=':lPath' AND language_id=':languages_id' LIMIT 1
									[to_replace] => Array
										(
											[0] => :TABLE_LINK_CATEGORIES_DESCRIPTION
											[1] => :lPath
											[2] => :languages_id
										)
								)
						)
					[key:protected] =>
					[cache_name_builder:protected] => Array
						(
							[lPath] => 1
						)
					[urlInitial:protected] =>
					[parameters:protected] => Array
						(
						)
					[add_session_id:protected] =>
					[_sid:protected] =>
					[cache_name:protected] =>
					[query:protected] =>
					[keys_index:protected] => Array
						(
						)
					[page:protected] =>
					[extract:private] =>
				)
			[newsdesk_index] => Newsdesk_Index_Page_Module Object
				(
					[dependencies:protected] => Array
						(
							[newspath] => Array
								(
									[marker] => -nc-
									[query] => SELECT categories_name FROM :TABLE_NEWSDESK_CATEGORIES_DESCRIPTION WHERE categories_id=':newspath' AND language_id=':languages_id' LIMIT 1
									[to_replace] => Array
										(
											[0] => :TABLE_NEWSDESK_CATEGORIES_DESCRIPTION
											[1] => :newspath
											[2] => :languages_id
										)
								)
						)
					[key:protected] =>
					[cache_name_builder:protected] => Array
						(
							[newspath] => 1
						)
					[urlInitial:protected] =>
					[parameters:protected] => Array
						(
						)
					[add_session_id:protected] =>
					[_sid:protected] =>
					[cache_name:protected] =>
					[query:protected] =>
					[keys_index:protected] => Array
						(
						)
					[page:protected] =>
					[extract:private] =>
				)
			[newsdesk_info] => Newsdesk_Info_Page_Module Object
				(
					[dependencies:protected] => Array
						(
							[newsdesk_id] => Array
								(
									[marker] => -n-
									[query] => SELECT newsdesk_article_name FROM :TABLE_NEWSDESK_DESCRIPTION WHERE newsdesk_id=':newsdesk_id' AND language_id=':languages_id' LIMIT 1
									[to_replace] => Array
										(
											[0] => :TABLE_NEWSDESK_DESCRIPTION
											[1] => :newsdesk_id
											[2] => :languages_id
										)
								)
						)
					[key:protected] =>
					[cache_name_builder:protected] => Array
						(
							[newsdesk_id] => 1
						)
					[urlInitial:protected] =>
					[parameters:protected] => Array
						(
						)
					[add_session_id:protected] =>
					[_sid:protected] =>
					[cache_name:protected] =>
					[query:protected] =>
					[keys_index:protected] => Array
						(
						)
					[page:protected] =>
					[extract:private] =>
				)
			[newsdesk_reviews_article] => Newsdesk_Reviews_Article_Page_Module Object
				(
					[dependencies:protected] => Array
						(
							[newsdesk_id] => Array
								(
									[marker] => -nra-
									[query] => SELECT newsdesk_article_name FROM :TABLE_NEWSDESK_DESCRIPTION WHERE newsdesk_id=':newsdesk_id' AND language_id=':languages_id' LIMIT 1
									[to_replace] => Array
										(
											[0] => :TABLE_NEWSDESK_DESCRIPTION
											[1] => :newsdesk_id
											[2] => :languages_id
										)
								)
						)
					[key:protected] =>
					[cache_name_builder:protected] => Array
						(
							[newsdesk_id] => 1
						)
					[urlInitial:protected] =>
					[parameters:protected] => Array
						(
						)
					[add_session_id:protected] =>
					[_sid:protected] =>
					[cache_name:protected] =>
					[query:protected] =>
					[keys_index:protected] => Array
						(
						)
					[page:protected] =>
					[extract:private] =>
				)
			[newsdesk_reviews_info] => Newsdesk_Reviews_Info_Page_Module Object
				(
					[dependencies:protected] => Array
						(
							[reviews_id] => Array
								(
									[marker] => -nri-
									[query] => SELECT newsdesk_article_name FROM :TABLE_NEWSDESK_DESCRIPTION WHERE newsdesk_id=':reviews_id' AND language_id=':languages_id' LIMIT 1
									[to_replace] => Array
										(
											[0] => :TABLE_NEWSDESK_DESCRIPTION
											[1] => :reviews_id
											[2] => :languages_id
										)
								)
						)
					[key:protected] =>
					[cache_name_builder:protected] => Array
						(
							[reviews_id] => 1
						)
					[urlInitial:protected] =>
					[parameters:protected] => Array
						(
						)
					[add_session_id:protected] =>
					[_sid:protected] =>
					[cache_name:protected] =>
					[query:protected] =>
					[keys_index:protected] => Array
						(
						)
					[page:protected] =>
					[extract:private] =>
				)
			[product_info] => Product_Info_Page_Module Object
				(
					[dependencies:protected] => Array
						(
							[products_id] => Array
								(
									[marker] => -p-
									[query] => SELECT pd.products_name, m.manufacturers_name, cd.categories_name, p.products_model, p2c.categories_id FROM :TABLE_PRODUCTS_DESCRIPTION pd INNER JOIN :TABLE_PRODUCTS_TO_CATEGORIES p2c ON p2c.products_id = pd.products_id INNER JOIN :TABLE_PRODUCTS p ON pd.products_id = p.products_id LEFT JOIN :TABLE_MANUFACTURERS m ON m.manufacturers_id = p.manufacturers_id INNER JOIN :TABLE_CATEGORIES_DESCRIPTION cd ON p2c.categories_id = cd.categories_id AND cd.language_id=':languages_id' WHERE pd.products_id=':pid' AND pd.language_id=':languages_id' LIMIT 1
									[to_replace] => Array
										(
											[0] => :TABLE_PRODUCTS_DESCRIPTION
											[1] => :TABLE_PRODUCTS_TO_CATEGORIES
											[2] => :TABLE_PRODUCTS
											[3] => :TABLE_MANUFACTURERS
											[4] => :TABLE_CATEGORIES_DESCRIPTION
											[5] => :languages_id
											[6] => :pid
										)
								)
						)
					[key:protected] => products_id
					[cache_name_builder:protected] => Array
						(
							[products_id] => 1
							[page] => 1
						)
					[urlInitial:protected] =>
					[parameters:protected] => Array
						(
						)
					[add_session_id:protected] =>
					[_sid:protected] =>
					[cache_name:protected] =>
					[query:protected] =>
					[keys_index:protected] => Array
						(
						)
					[page:protected] =>
					[extract:private] =>
				)
			[product_reviews] => Product_Reviews_Page_Module Object
				(
					[dependencies:protected] => Array
						(
							[products_id] => Array
								(
									[marker] => -pr-
									[query] => SELECT pd.products_name FROM :TABLE_PRODUCTS_DESCRIPTION pd INNER JOIN :TABLE_PRODUCTS p ON pd.products_id = p.products_id WHERE pd.products_id=':pid' AND pd.language_id=':languages_id' LIMIT 1
									[to_replace] => Array
										(
											[0] => :TABLE_PRODUCTS_DESCRIPTION
											[1] => :TABLE_PRODUCTS
											[2] => :pid
											[3] => :languages_id
										)
								)
						)
					[key:protected] =>
					[cache_name_builder:protected] => Array
						(
							[products_id] => 1
						)
					[urlInitial:protected] =>
					[parameters:protected] => Array
						(
						)
					[add_session_id:protected] =>
					[_sid:protected] =>
					[cache_name:protected] =>
					[query:protected] =>
					[keys_index:protected] => Array
						(
						)
					[page:protected] =>
					[extract:private] =>
				)
			[product_reviews_info] => Product_Reviews_Info_Page_Module Object
				(
					[dependencies:protected] => Array
						(
							[products_id] => Array
								(
									[marker] => -pri-
									[query] => SELECT pd.products_name FROM :TABLE_PRODUCTS_DESCRIPTION pd INNER JOIN :TABLE_PRODUCTS p ON pd.products_id = p.products_id WHERE pd.products_id=':pid' AND pd.language_id=':languages_id' LIMIT 1
									[to_replace] => Array
										(
											[0] => :TABLE_PRODUCTS_DESCRIPTION
											[1] => :TABLE_PRODUCTS
											[2] => :pid
											[3] => :languages_id
										)
								)
						)
					[key:protected] =>
					[cache_name_builder:protected] => Array
						(
							[products_id] => 1
							[reviews_id] => 1
						)
					[urlInitial:protected] =>
					[parameters:protected] => Array
						(
						)
					[add_session_id:protected] =>
					[_sid:protected] =>
					[cache_name:protected] =>
					[query:protected] =>
					[keys_index:protected] => Array
						(
						)
					[page:protected] =>
					[extract:private] =>
				)
		)
	[uri_modules] => Array
		(
			[osc_experimental] => Osc_Experimental_Uri_Module Object
				(
				)
			[path_rewrite] => Path_Rewrite_Uri_Module Object
				(
				)
			[path_standard] => Path_Standard_Uri_Module Object
				(
				)
			[rewrite] => Rewrite_Uri_Module Object
				(
				)
			[standard] => Standard_Uri_Module Object
				(
				)
		)
	[cache] => Sqlite_Cache_Module Object
		(
			[extract_query] => SELECT * FROM usu_cache WHERE cache_name = ':cache_name'
			[insert_query:private] => INSERT INTO usu_cache (cache_name, cache_data, cache_date) VALUES (':cache_name', ':cache_data', ':cache_date')
			[insert:private] =>
		)
	[registry] => Data_Registry Object
		(
			[vars:private] => Array
				(
					[cPath] => Array
						(
							[_105] => Array
								(
									[cName] => Qixi Valentines Day
								)
							[52] => Array
								(
									[cName] => Special Festival
								)
							[52_105] => Array
								(
									[cName] => Qixi Valentines Day
								)
							[52_106] => Array
								(
									[cName] => Chinese New Year
								)
							[52_108] => Array
								(
									[cName] => Teachers Day Flowers
								)
							[52_53] => Array
								(
									[cName] => XOXO Roses
								)
							[52_93] => Array
								(
									[cName] => Best of the Best
								)
							[52_104] => Array
								(
									[cName] => Mothers Day Flowers
								)
							[52_107] => Array
								(
									[cName] => Mid-autumn Gifts
								)
							[52_110] => Array
								(
									[cName] => Womens Day Flowers
								)
							[52_131] => Array
								(
									[cName] => Fathers Day Flowers
								)
							[52_109] => Array
								(
									[cName] => Christmas Hampers
								)
							[52_132] => Array
								(
									[cName] => Valentines Day
								)
							[22] => Array
								(
									[cName] => By Occasion
								)
							[22_36] => Array
								(
									[cName] => Birthday
								)
							[22_39] => Array
								(
									[cName] => Love
								)
							[22_37] => Array
								(
									[cName] => Opening Stands
								)
							[22_35] => Array
								(
									[cName] => New Baby
								)
							[22_38] => Array
								(
									[cName] => Get Well
								)
							[22_118] => Array
								(
									[cName] => Thank You
								)
							[22_119] => Array
								(
									[cName] => Anniversary Flowers
								)
							[22_120] => Array
								(
									[cName] => I am Sorry
								)
							[22_116] => Array
								(
									[cName] => Wedding
								)
							[22_40] => Array
								(
									[cName] => Sympathy
								)
							[65] => Array
								(
									[cName] => Gourmet Baskets
								)
							[65_100] => Array
								(
									[cName] => New Year Hampers
								)
							[65_67] => Array
								(
									[cName] => Fruit Baskets
								)
							[65_75] => Array
								(
									[cName] => Chocolate Baskets
								)
							[65_74] => Array
								(
									[cName] => Wine Baskets
								)
							[65_117] => Array
								(
									[cName] => Birthday Cake
								)
							[24] => Array
								(
									[cName] => By Variety
								)
							[24_47] => Array
								(
									[cName] => Roses
								)
							[24_49] => Array
								(
									[cName] => Carnation
								)
							[24_44] => Array
								(
									[cName] => Gerberas
								)
							[24_48] => Array
								(
									[cName] => Tulips
								)
							[24_46] => Array
								(
									[cName] => Calla Lily
								)
							[24_45] => Array
								(
									[cName] => Lilies
								)
							[24_43] => Array
								(
									[cName] => Anthurium
								)
							[24_42] => Array
								(
									[cName] => Potted Plant
								)
							[24_111] => Array
								(
									[cName] => 11 Roses
								)
							[24_115] => Array
								(
									[cName] => 99 Roses
								)
							[24_112] => Array
								(
									[cName] => 24 Roses
								)
							[24_113] => Array
								(
									[cName] => 33 Roses
								)
							[24_114] => Array
								(
									[cName] => 48 roses
								)
							[21] => Array
								(
									[cName] => By Color
								)
							[21_28] => Array
								(
									[cName] => Orange
								)
							[21_29] => Array
								(
									[cName] => Pink
								)
							[21_27] => Array
								(
									[cName] => Rainbow
								)
							[21_30] => Array
								(
									[cName] => Red
								)
							[21_31] => Array
								(
									[cName] => Violet
								)
							[21_34] => Array
								(
									[cName] => Violet and White
								)
							[21_32] => Array
								(
									[cName] => White
								)
							[21_33] => Array
								(
									[cName] => Yellow
								)
							[26] => Array
								(
									[cName] => By People
								)
							[26_54] => Array
								(
									[cName] => Lovers
								)
							[26_88] => Array
								(
									[cName] => Firends
								)
							[26_87] => Array
								(
									[cName] => Parents
								)
							[26_90] => Array
								(
									[cName] => Teacher
								)
							[26_89] => Array
								(
									[cName] => A Patient
								)
							[26_91] => Array
								(
									[cName] => Clients
								)
							[26_92] => Array
								(
									[cName] => New Baby
								)
							[121] => Array
								(
									[cName] => Oversea Delivery
								)
							[121_122] => Array
								(
									[cName] => USA
								)
							[121_123] => Array
								(
									[cName] => UK
								)
							[121_124] => Array
								(
									[cName] => Canada Florists
								)
							[121_125] => Array
								(
									[cName] => Australia Florists
								)
							[121_126] => Array
								(
									[cName] => Singapore
								)
							[121_127] => Array
								(
									[cName] => Japan Florists
								)
							[121_128] => Array
								(
									[cName] => Hongkong-Macau
								)
							[121_129] => Array
								(
									[cName] => Taiwan Florist
								)
							[121_130] => Array
								(
									[cName] => Other Country
								)
							[109] => Array
								(
									[cName] => Christmas Hampers
								)
							[106] => Array
								(
									[cName] => Chinese New Year
								)
							[105] => Array
								(
									[cName] => Qixi Valentines Day
								)
							[107] => Array
								(
									[cName] => Mid-autumn Gifts
								)
							[36] => Array
								(
									[cName] => Birthday
								)
							[37] => Array
								(
									[cName] => Opening Stands
								)
							[39] => Array
								(
									[cName] => Love
								)
							[35] => Array
								(
									[cName] => New Baby
								)
							[38] => Array
								(
									[cName] => Get Well
								)
							[116] => Array
								(
									[cName] => Wedding
								)
							[40] => Array
								(
									[cName] => Sympathy
								)
							[100] => Array
								(
									[cName] => New Year Hampers
								)
							[67] => Array
								(
									[cName] => Fruit Baskets
								)
							[75] => Array
								(
									[cName] => Chocolate Baskets
								)
							[74] => Array
								(
									[cName] => Wine Baskets
								)
							[108] => Array
								(
									[cName] => Teachers Day Flowers
								)
							[53] => Array
								(
									[cName] => XOXO Roses
								)
							[110] => Array
								(
									[cName] => Womens Day Flowers
								)
							[104] => Array
								(
									[cName] => Mothers Day Flowers
								)
							[111] => Array
								(
									[cName] => 11 Roses
								)
							[113] => Array
								(
									[cName] => 33 Roses
								)
							[115] => Array
								(
									[cName] => 99 Roses
								)
						)
					[products_id] => Array
						(
							[983] => Array
								(
									[products_name] => You Are Nice
									[categories_name] => Red
									[categories_id] => 30
								)
							[778] => Array
								(
									[products_name] => I love you
									[categories_name] => Birthday
									[categories_id] => 36
								)
							[825] => Array
								(
									[products_name] => Christmas Fruit
									[categories_name] => Fruit Baskets
									[products_model] => CMS-10
									[categories_id] => 67
								)
							[442] => Array
								(
									[products_name] => My Heart Will Go On
									[categories_name] => Birthday
									[categories_id] => 36
								)
							[887] => Array
								(
									[products_name] => Alway Be With You
									[categories_name] => Qixi Valentines Day
									[categories_id] => 105
								)
							[880] => Array
								(
									[products_name] => Burn Heart
									[categories_name] => Qixi Valentines Day
									[categories_id] => 105
								)
							[984] => Array
								(
									[products_name] => Only You
									[categories_name] => Red
									[categories_id] => 30
								)
							[771] => Array
								(
									[products_name] => Thanks my mama
									[categories_name] => Mothers Day Flowers
									[products_model] => YXQ-002
									[categories_id] => 104
								)
							[1026] => Array
								(
									[products_name] => Tianjin Chocolate Basket
									[categories_name] => Christmas Hampers
									[products_model] => Tianjin-WINE-01
									[categories_id] => 109
								)
							[889] => Array
								(
									[products_name] => DOVE Chocolate
									[categories_name] => Chocolate Baskets
									[categories_id] => 75
								)
						)
					[manufacturers_id] => Array
						(
							[4] => Array
								(
									[manufacturers_name] => CQ-重庆花店(Chongqing Florist)
								)
							[1] => Array
								(
									[manufacturers_name] => TJ-天津花店(Tianjin Florist)
								)
							[20] => Array
								(
									[manufacturers_name] => QD-青岛花店(Qingdao Florist)
								)
							[8] => Array
								(
									[manufacturers_name] => DL-大连花店(Dalian Florist)
								)
							[2] => Array
								(
									[manufacturers_name] => NJ-南京花店(Nanjing Florist)
								)
							[27] => Array
								(
									[manufacturers_name] => SZ-苏州花店(Suzhou Florist)
								)
							[3] => Array
								(
									[manufacturers_name] => HZ-杭州花店(Hangzhou Florist)
								)
							[21] => Array
								(
									[manufacturers_name] => CD-成都花店(Chengdu Florist)
								)
							[33] => Array
								(
									[manufacturers_name] => XM-厦门花店(Xiamen Florist)
								)
							[37] => Array
								(
									[manufacturers_name] => NN-南宁花店(Nanning Florist)
								)
							[46] => Array
								(
									[manufacturers_name] => SY-三亚花店(Sanya Florist)
								)
							[7] => Array
								(
									[manufacturers_name] => SY-沈阳花店(Shenyang Florist)
								)
							[17] => Array
								(
									[manufacturers_name] => XA-西安花店(Xian Florist)
								)
							[23] => Array
								(
									[manufacturers_name] => KM-昆明花店(Kunming Florist)
								)
							[29] => Array
								(
									[manufacturers_name] => WZ-温州花店(Wenzhou Florist)
								)
							[25] => Array
								(
									[manufacturers_name] => WH-武汉花店(Wuhan Florist)
								)
							[40] => Array
								(
									[manufacturers_name] => ZH-珠海花店(Zhuhai Florist)
								)
							[26] => Array
								(
									[manufacturers_name] => CS-长沙花店(Changsha Florist)
								)
							[19] => Array
								(
									[manufacturers_name] => JN-济南花店(Jinan Florist)
								)
							[24] => Array
								(
									[manufacturers_name] => HF-合肥花店(Hefei Florist)
								)
							[30] => Array
								(
									[manufacturers_name] => ZZ-郑州花店(Zhengzhou Florist)
								)
							[11] => Array
								(
									[manufacturers_name] => LZ-兰州花店(Lanzhou Floirst)
								)
							[12] => Array
								(
									[manufacturers_name] => YC-银川花店(Yinchuan Florist)
								)
							[13] => Array
								(
									[manufacturers_name] => XN-西宁花店(Xining Florist)
								)
							[14] => Array
								(
									[manufacturers_name] => WLMQ-乌鲁木齐花店(Wulumuqi Florist)
								)
							[15] => Array
								(
									[manufacturers_name] => LS-拉萨花店(Lasa Florist)
								)
							[22] => Array
								(
									[manufacturers_name] => GY-贵阳花店(Guiyang Florist)
								)
							[32] => Array
								(
									[manufacturers_name] => FZ-福州花店(Fuzhou Florist)
								)
							[34] => Array
								(
									[manufacturers_name] => NC-南昌花店(Nanchang Florist)
								)
							[45] => Array
								(
									[manufacturers_name] => HK-海口花店(Haikou Floirst)
								)
							[41] => Array
								(
									[manufacturers_name] => ST-汕头花店(Shantou Florist)
								)
							[5] => Array
								(
									[manufacturers_name] => HEB-哈尔滨花店(Haerbin Florist)
								)
							[6] => Array
								(
									[manufacturers_name] => CC-长春花店(Changchun Florist)
								)
							[9] => Array
								(
									[manufacturers_name] => BT-包头花店(Baotou Florist)
								)
							[10] => Array
								(
									[manufacturers_name] => HHHT-呼和浩特花店(Huhehaote Florist)
								)
							[16] => Array
								(
									[manufacturers_name] => SJZ-石家庄花店(Shijiazhuang Florist)
								)
							[18] => Array
								(
									[manufacturers_name] => TY-太原花店(Taiyuan Florist)
								)
						)
				)
		)
	[initiated] => 1
	[page_not_found] =>
)


#527   32 Degrees

32 Degrees
  • Members
  • 229 posts
  • Real Name:Ryan
  • Gender:Male
  • Location:California, USA

Posted 04 May 2013 - 06:09 AM

Robert,

McAfee PCI services discovered a severe PCI concern that I believe is rooted in this modification. When a page is accessed by modifying the link within the browser to include new parameters such that it contains a space the page automatically redirects to the homepage. Behind the scenes, the server throws a fatal error and redirects the page (302) to the homepage before the error screen is actually seen.

URL:
http://www.13thgreen.com/shop-by-size-c-148.html?osCsid=x ls-

RESPONSE:
<br />
<b>Fatal error</b>: Call to a member function store() on a non-object in <b>/home/cnr/public_html/includes/modules/ultimate_seo_urls5/main/usu5.php</b> on line <b>78</b><br />

Thoughts?

#528   32 Degrees

32 Degrees
  • Members
  • 229 posts
  • Real Name:Ryan
  • Gender:Male
  • Location:California, USA

Posted 05 May 2013 - 02:34 AM

View PostFWR Media, on 11 August 2011 - 09:02 AM, said:

It is not a good idea to hack the code as there is no current issue with the code base.

It looks like there is a quirk in your code that is causing the registry to destruct before the Usu_Main class.

The following should eradicate the error you are seeing but it should not be necessary .. I can't however debug your local code.

open the following file: -

catalog/includes/modules/ultimate_seo_urls5/main/usu5.php

Replace the entire __destruct() method with the following: -

	/**
	* Class destructor
	*
	* Stores the cache and outputs and performance data requested
	*
	* @[member='access'] public
	* @[member='Return'] void
	*/
	public function __destruct() {
	if ( defined( 'USU5_ENABLED' ) && ( USU5_ENABLED == 'true' ) ) {
	$registry = $this->getVar( 'registry' );
	$cache = $this->getVar( 'cache' );
	if ( $registry instanceof Data_Registry && $cache instanceof iCache_System ) {
	$cache->store( $registry->store() );
	}
	if ( defined( 'USU5_OUPUT_PERFORMANCE' ) && ( USU5_OUPUT_PERFORMANCE == 'true' ) ) {
	performance();
	}
	if ( defined( 'USU5_DEBUG_OUPUT_VARS' ) && ( USU5_DEBUG_OUPUT_VARS == 'true' ) ) {
	usu5_show_vars( $this->vars );
	}
	}
	} // end destructor

Searching the forum for a second time I came upon this fix for the security problem McAfee discovered. After implementing the new code I no longer see errors in my error log. PCI compliance is is very important. I hope this helps other people. McAfee and myself were able to recreate the problem at will anytime with relative ease.

McAfee tested this query string to produce the error.
osCsid=x%20
%20ls%20-l%20=
%20dir%20=

I was able to produce the same error with this query string "osCsid=x  ls-".

I hope this helps!