mingwatrading Posted January 9, 2011 Share Posted January 9, 2011 Good catch. catalog/includes/modules/ultimate_seo_urls5/abstracts/page_modules.php Lines 142/143 Find ... switch ( defined( 'USU5_USE_W3C_VALID' ) && USU5_USE_W3C_VALID ) { case 'true': Change to ... switch ( defined( 'USU5_USE_W3C_VALID' ) && ( USU5_USE_W3C_VALID == 'true' ) ) { case true: It is kindly reminder to review all code which is using these pattern 'defined(...) && ...'. By the way, it is great contribution I never seen before. The Chinese URLs show properly but fail to redirect to desired page, I would like to ask the mapping of SEO URLs and real URLs or could you please tell me which script get the SEO URLs(Chinese URLs) and redirect to real URLs? Thank you so much Quote Link to comment Share on other sites More sharing options...
♥FWR Media Posted January 9, 2011 Author Share Posted January 9, 2011 (edited) It is kindly reminder to review all code which is using these pattern 'defined(...) && ...'. Not all code that uses defined(...) && but just the one line. The Chinese URLs show properly but fail to redirect to desired page, I would like to ask the mapping of SEO URLs and real URLs or could you please tell me which script get the SEO URLs(Chinese URLs) and redirect to real URLs? This is not enough information to allow me to debug for you. Which uri type are you using? rewrite or non rewrite? Is there a url where I could view the site? If you are using the rewrite method then the rewriterules would be wrong for what you are trying to achieve .. e.g. RewriteRule ^(.*)-p-([0-9]+).html$ product_info.php [NC,L,QSA] RewriteRule ^(.*)-c-([0-9_]+).html$ index.php [NC,L,QSA] RewriteRule ^(.*)-m-([0-9]+).html$ index.php [NC,L,QSA] By the way, it is great contribution I never seen before. Thanks, the PRO version was only released at Christmas. Edited January 9, 2011 by FWR Media Quote Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work. Link to comment Share on other sites More sharing options...
mingwatrading Posted January 10, 2011 Share Posted January 10, 2011 (edited) This is not enough information to allow me to debug for you. Which uri type are you using? rewrite or non rewrite? Is there a url where I could view the site? If you are using the rewrite method then the rewriterules would be wrong for what you are trying to achieve .. e.g. RewriteRule ^(.*)-p-([0-9]+).html$ product_info.php [NC,L,QSA] RewriteRule ^(.*)-c-([0-9_]+).html$ index.php [NC,L,QSA] RewriteRule ^(.*)-m-([0-9]+).html$ index.php [NC,L,QSA] uri format: standard, path_standard Testing Site: My Test Admin ID : AdminID Admin Pwd: my_password Testing Sample: [English] Testing Cat > Testing Product 001 [Chinese] 測試目錄 > 測試產品001 Thank you for your big help Edited January 10, 2011 by Jan Zonjee Quote Link to comment Share on other sites More sharing options...
♥FWR Media Posted January 10, 2011 Author Share Posted January 10, 2011 (edited) uri format: standard, path_standard Testing Site: My Test Admin ID : AdminID Admin Pwd: my_password Testing Sample: [English] Testing Cat > Testing Product 001 [Chinese] 測試目錄 > 測試產品001 Thank you for your big help Please don't post access names and passwords. If they are real .. CHANGE THEM NOW Re:: your problem: Have you reset the USU5 cache and your categories cache? you may be seeing legacy data. Edited January 10, 2011 by Jan Zonjee mariemeh 1 Quote Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work. Link to comment Share on other sites More sharing options...
mingwatrading Posted January 11, 2011 Share Posted January 11, 2011 Please don't post access names and passwords. If they are real .. CHANGE THEM NOW Re:: your problem: Have you reset the USU5 cache and your categories cache? you may be seeing legacy data. Don't worry, It is just a demo site for testing purpose. All content is demo data, no real data. This testing site was new setup few minutes before I posted the link. It suppose no cache data. I had tried to disable the cache in 'Seo Urls 5 PRO' or clear the cache data, problem still happens. However, this problem does not happen in previous version 'Seo Urls 5' which I am using right now. Quote Link to comment Share on other sites More sharing options...
♥FWR Media Posted January 11, 2011 Author Share Posted January 11, 2011 Don't worry, It is just a demo site for testing purpose. All content is demo data, no real data. This testing site was new setup few minutes before I posted the link. It suppose no cache data. I had tried to disable the cache in 'Seo Urls 5 PRO' or clear the cache data, problem still happens. However, this problem does not happen in previous version 'Seo Urls 5' which I am using right now. I would need access to a test site to find out what the problem is with Chinese characters. If you send me a PM with your email address I'll email you. Quote Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work. Link to comment Share on other sites More sharing options...
mingwatrading Posted January 11, 2011 Share Posted January 11, 2011 I would need access to a test site to find out what the problem is with Chinese characters. If you send me a PM with your email address I'll email you. Thanks again, PM sent. Quote Link to comment Share on other sites More sharing options...
zipicip Posted January 12, 2011 Share Posted January 12, 2011 [10-Jan-2011 13:20:01] PHP Fatal error: Call to a member function retrieveDependencies() on a non-object in ****/public_html/includes/modules/ultimate_seo_urls5/uri_modules/osc_experimental.php on line 51 this appears pretty often in error log PS: url rewrites works correctly Quote Link to comment Share on other sites More sharing options...
RMD27 Posted January 12, 2011 Share Posted January 12, 2011 Slightly off topic, I had experienced this issue http://www.oscommerce.com/forums/index.php?showtopic=71455&st=0 When the back up was restored the following had to be commented out of SEO URLs 5 because it broke the site, something to do with the images // Commented by Hostin.gr // usu::$registry->merge( 'seo_pages', $this->page_relations ); // usu::$registry->merge( 'markers', $this->markers ); Im not sure what effect if any doing this has? If it's negative please let me know!! Quote Link to comment Share on other sites More sharing options...
RMD27 Posted January 12, 2011 Share Posted January 12, 2011 Slightly off topic, I had experienced this issue http://www.oscommerce.com/forums/index.php?showtopic=71455&st=0 When the back up was restored the following had to be commented out of SEO URLs 5 because it broke the site, something to do with the images // Commented by Hostin.gr // usu::$registry->merge( 'seo_pages', $this->page_relations ); // usu::$registry->merge( 'markers', $this->markers ); Im not sure what effect if any doing this has? If it's negative please let me know!! Just to confirm the module still seems to work normally Quote Link to comment Share on other sites More sharing options...
♥FWR Media Posted January 12, 2011 Author Share Posted January 12, 2011 (edited) Slightly off topic, I had experienced this issue http://forums.oscomm...opic=71455&st=0 When the back up was restored the following had to be commented out of SEO URLs 5 because it broke the site, something to do with the images // Commented by Hostin.gr // usu::$registry->merge( 'seo_pages', $this->page_relations ); // usu::$registry->merge( 'markers', $this->markers ); Im not sure what effect if any doing this has? If it's negative please let me know!! If you comment that out you break it. If the registry object is not in place then the cache you uploaded from the backup is probably corrupt but as you have shown me no error messages I have nothing to go on. Perhaps a good time to upgrade to USU5 PRO. Edited January 12, 2011 by FWR Media zipicip 1 Quote Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work. Link to comment Share on other sites More sharing options...
RMD27 Posted January 13, 2011 Share Posted January 13, 2011 If you comment that out you break it. If the registry object is not in place then the cache you uploaded from the backup is probably corrupt but as you have shown me no error messages I have nothing to go on. Perhaps a good time to upgrade to USU5 PRO. Okay, I deleted the comments and it is working now, the sql back up was done when the cache was full, I reset the cache and its okay now. SEO URL Pro looks more suited to what I want "As the cache is saved on a per page basis the cache will be manageable regardless of shop size" but I am concerned about the URLs not looking exactly as they do now. Also the HTAccess changes I have made with SEO URL 5, I can leave the HTAccess file as it is now and it will work with Pro? Quote Link to comment Share on other sites More sharing options...
♥FWR Media Posted January 13, 2011 Author Share Posted January 13, 2011 Okay, I deleted the comments and it is working now, the sql back up was done when the cache was full, I reset the cache and its okay now. SEO URL Pro looks more suited to what I want "As the cache is saved on a per page basis the cache will be manageable regardless of shop size" but I am concerned about the URLs not looking exactly as they do now. Also the HTAccess changes I have made with SEO URL 5, I can leave the HTAccess file as it is now and it will work with Pro? URLs of USU5 can be replicated in the PRO version, it had to be this way for backwards compatibility. However, if you want to change them PRO is far more flexible, it will also 301 redirect the old to the new. The RewriteRules have to be changed as detailed in this support thread. mariemeh 1 Quote Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work. Link to comment Share on other sites More sharing options...
Guest Posted January 14, 2011 Share Posted January 14, 2011 Hi All, Is it right that philips.html is better for ranking (like in VirtueMart) than philips-m-48.html ? The word Philips is faster found. My customer said so but I am not sure. If this is right I think there is no contribution for that way I think ? Thanks for the answer eventually. Quote Link to comment Share on other sites More sharing options...
♥FWR Media Posted January 14, 2011 Author Share Posted January 14, 2011 Hi All, Is it right that philips.html is better for ranking (like in VirtueMart) than philips-m-48.html ? The word Philips is faster found. My customer said so but I am not sure. If this is right I think there is no contribution for that way I think ? Thanks for the answer eventually. It really makes no difference whatsoever in my opinion. Having said that a new URI module is in early beta testing .. Seo urls without the -c-52 / -p-37 etc. They look like .. /hardware.htm /software.htm /dvd-movies.htm /gadgets.htm /simulation-sierra-swat-close-quarters-battle.htm /simulation-sierra-swat-close-quarters-battle.htm /action-warner-the-matrix.htm /action-warner-the-matrix.htm /theres-something-about-mary.htm?reviews_id=1 /theres-something-about-mary.htm?reviews_id=1 /gadgets-samsung-samsung-galaxy-tab.htm /gadgets-samsung-samsung-galaxy-tab.htm /printers-hewlett-packard-hewlett-packard-laserjet-1100xi.htm /printers-hewlett-packard-hewlett-packard-laserjet-1100xi.htm /mice-microsoft-microsoft-intellimouse-explorer.htm /mice-microsoft-microsoft-intellimouse-explorer.htm /keyboards-microsoft-microsoft-internet-keyboard-ps2.htm /keyboards-microsoft-microsoft-internet-keyboard-ps2.htm /strategy-interactive-disciples-sacred-lands.htm /strategy-interactive-disciples-sacred-lands.htm /strategy-interactive-the-wheel-time.htm /strategy-interactive-the-wheel-time.htm /action-interactive-unreal-tournament.htm /action-interactive-unreal-tournament.htm /simulation-sierra-swat-close-quarters-battle.htm /simulation-sierra-swat-close-quarters-battle.htm /drama-warner-beloved.htm /drama-warner-beloved.htm mariemeh and dadada 2 Quote Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work. Link to comment Share on other sites More sharing options...
Guest Posted January 14, 2011 Share Posted January 14, 2011 Hi, theres a lot to go through on this thread so i dont know if this has been posted before. I am haveing problems with my categories page on my site since installing this. When i go to a category i can link to any products, i can only get to the products by useing a link on my index. This shows that the product is definately in the category Top » Catalog » test Top » Catalog » test » test any ideas? Quote Link to comment Share on other sites More sharing options...
♥FWR Media Posted January 14, 2011 Author Share Posted January 14, 2011 Hi, theres a lot to go through on this thread so i dont know if this has been posted before. I am haveing problems with my categories page on my site since installing this. When i go to a category i can link to any products, i can only get to the products by useing a link on my index. This shows that the product is definately in the category Top » Catalog » test Top » Catalog » test » test any ideas? Sorry Jordan I don't understand your question at all. Quote Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work. Link to comment Share on other sites More sharing options...
Guest Posted January 14, 2011 Share Posted January 14, 2011 Sorry Jordan I don't understand your question at all. Its hard to explain. Besically the are no products in my categories. if you click on a category, the products in this do no show. Quote Link to comment Share on other sites More sharing options...
♥FWR Media Posted January 14, 2011 Author Share Posted January 14, 2011 Its hard to explain. Besically the are no products in my categories. if you click on a category, the products in this do no show. That is not enough information for me to be able to help, I need detail. Does the page stay on index? does it load the correct category but there are no products in it? Quote Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work. Link to comment Share on other sites More sharing options...
Guest Posted January 14, 2011 Share Posted January 14, 2011 That is not enough information for me to be able to help, I need detail. Does the page stay on index? does it load the correct category but there are no products in it? sorry if i am being hard work. Ok when you enter the shop every thing is fine. Then when you click on a category. You then go to the category page, all loads ok but the products that are in that category do not. However, you can enter the products if they show up on the index, by clicking on them. The product then works ok. Hope this helps. Quote Link to comment Share on other sites More sharing options...
♥FWR Media Posted January 14, 2011 Author Share Posted January 14, 2011 (edited) sorry if i am being hard work. Ok when you enter the shop every thing is fine. Then when you click on a category. You then go to the category page, all loads ok but the products that are in that category do not. However, you can enter the products if they show up on the index, by clicking on them. The product then works ok. Hope this helps. In that case it doesn't sound like USU5 is the problem. I'll explain .. USU5 produces urls which is nothing to do with the display of products EXCEPT .. if my-great-category-c-32.html is not translated by the script into cPath=32 ( which is all osCommerce understands ) then osCommerce will not load the category. If however the correct category is loading then this is clearly not the problem. Hope that makes sense. Edited January 14, 2011 by FWR Media Quote Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work. Link to comment Share on other sites More sharing options...
Guest Posted January 14, 2011 Share Posted January 14, 2011 kind of, thanks, I only noticed this after i installed this addon. I'll trace my steps back even further. What file is likely to be causeing the problem? You dont have to give me exact answers but a little guidence would really help me so thanks in advance! Quote Link to comment Share on other sites More sharing options...
♥FWR Media Posted January 14, 2011 Author Share Posted January 14, 2011 kind of, thanks, I only noticed this after i installed this addon. I'll trace my steps back even further. What file is likely to be causeing the problem? You dont have to give me exact answers but a little guidence would really help me so thanks in advance! I only support USU5 here ( otherwise it confuses the support thread for others ) but if you PM me a link I'll take a quick look. Quote Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work. Link to comment Share on other sites More sharing options...
Guest Posted January 14, 2011 Share Posted January 14, 2011 i understand. PM sent thanks once again! Quote Link to comment Share on other sites More sharing options...
spoofy Posted January 15, 2011 Share Posted January 15, 2011 It really makes no difference whatsoever in my opinion. Having said that a new URI module is in early beta testing .. Seo urls without the -c-52 / -p-37 etc. They look like .. /hardware.htm /software.htm /dvd-movies.htm /gadgets.htm /simulation-sierra-swat-close-quarters-battle.htm /simulation-sierra-swat-close-quarters-battle.htm Hey Robert, Any chance I can get into the beta testing? Thanks Quote My Contributions: Google XML Sitemap SEO compatible with Ultimate SEO URL by FWR Media ::: Accurate & Precise Bread Crumb Trail Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.