♥FWR Media Posted December 29, 2009 Author Share Posted December 29, 2009 Hello Everyone, Thanks for this great contrib. I've installed it on many websites and always worked like a charm. However this time I have to switch a creloaded site that has the ultimate seo r141 contrib installed to a new server. The contrib works fine on the old server but on the new server the URLs produced by tep_href_link() do not contain either the category or product name... They all come out like /-c-4.html Please check the debug report below: Anyone can give me a clue about where to start to debug this? thx! What is the PHP version on the new server? 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...
vincentdemers Posted December 29, 2009 Share Posted December 29, 2009 Hey Thanks for the prompt response. I just found the source of the bug was in my special character array... there was a wrong coma in there... Thanks again! What is the PHP version on the new server? Quote Link to comment Share on other sites More sharing options...
Guest Posted December 29, 2009 Share Posted December 29, 2009 Hi FRW Media, i have installed the "ULTIMATE Seo Urls 5 - by FWR Media" The installation is Ok but the rewrite url not function I have look the file: install_modify_files.html = OK I have look the file: start_here.html and operation.html I have Linux Server and Modrewrite=on I have add the .htaccess on my root website directory http://bicimountainbike.com Thank you for your help Best regards giorgio Quote Link to comment Share on other sites More sharing options...
♥FWR Media Posted December 29, 2009 Author Share Posted December 29, 2009 Hi FRW Media, i have installed the "ULTIMATE Seo Urls 5 - by FWR Media" The installation is Ok but the rewrite url not function I have look the file: install_modify_files.html = OK I have look the file: start_here.html and operation.html I have Linux Server and Modrewrite=on I have add the .htaccess on my root website directory http://bicimountainbike.com Thank you for your help Best regards giorgio Hi Giorgio So if you change the uri method to standard it works but the rewrite method does not is this correct? What sort of error are you getting? I took a look at the site but seo urls are off. Also what do you have in .htaccess for RewriteBase? 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...
florist Posted December 30, 2009 Share Posted December 30, 2009 thank you for greet controbution. controbution is running smoothly local but also hosting getting the following error. this will cause? Fatal error: Class 'DirectoryIterator' not found in /var/www/vhosts/cicekmerkezi.com.tr/httpdocs/includes/modules/ultimate_seo_urls5/classes/usu.php on line 204 Quote Link to comment Share on other sites More sharing options...
♥FWR Media Posted December 30, 2009 Author Share Posted December 30, 2009 thank you for greet controbution. controbution is running smoothly local but also hosting getting the following error. this will cause? DirectoryIterator is a standard SPL class, what PHP version is the server running? 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...
florist Posted December 30, 2009 Share Posted December 30, 2009 PHP Version 5.2.10 DirectoryIterator is a standard SPL class, what PHP version is the server running? Quote Link to comment Share on other sites More sharing options...
♥FWR Media Posted December 30, 2009 Author Share Posted December 30, 2009 PHP Version 5.2.10 Then it look like Looks like SPL (Standard PHP Library) was explicitly not compiled into PHP by your hosts. You should ask them. 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 December 30, 2009 Share Posted December 30, 2009 Hi Giorgio So if you change the uri method to standard it works but the rewrite method does not is this correct? What sort of error are you getting? I took a look at the site but seo urls are off. Also what do you have in .htaccess for RewriteBase? this is the .htaccess # $Id: .htaccess 1739 2007-12-20 00:52:16Z hpdl $ # # This is used with Apache WebServers # # For this to work, you must include the parameter 'Options' to # the AllowOverride configuration # # Example: # # <Directory "/usr/local/apache/htdocs"> # AllowOverride Options # </Directory> # # 'All' with also work. (This configuration is in the # apache/conf/httpd.conf file) # The following makes adjustments to the SSL protocol for Internet # Explorer browsers #<IfModule mod_setenvif.c> # <IfDefine SSL> # SetEnvIf User-Agent ".*MSIE.*" \ # nokeepalive ssl-unclean-shutdown \ # downgrade-1.0 force-response-1.0 # </IfDefine> #</IfModule> # If Search Engine Friendly URLs do not work, try enabling the # following Apache configuration parameter # AcceptPathInfo On # Fix certain PHP values # (commented out by default to prevent errors occuring on certain # servers) # php_value session.use_trans_sid 0 # php_value register_globals 1 php_flag register_globals On # If you are getting errors you may need to comment this out like .. # Options +FollowSymLinks Options +FollowSymLinks <IfModule mod_rewrite.c> RewriteEngine On # RewriteBase instructions # Change RewriteBase dependent on how your shop is accessed as below. # http://www.mysite.com = RewriteBase / # http://www.mysite.com/catalog/ = RewriteBase /catalog/ # http://www.mysite.com/catalog/shop/ = RewriteBase /catalog/shop/ # Change RewriteBase using the instructions above RewriteBase / RewriteRule ^(.*)-p-([0-9]+).html$ product_info.php?products_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-c-([0-9_]+).html$ index.php?cPath=$2&%{QUERY_STRING} RewriteRule ^(.*)-m-([0-9]+).html$ index.php?manufacturers_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-pi-([0-9]+).html$ popup_image.php?pID=$2&%{QUERY_STRING} RewriteRule ^(.*)-pr-([0-9]+).html$ product_reviews.php?products_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-pri-([0-9]+).html$ product_reviews_info.php?products_id=$2&%{QUERY_STRING} # Articles contribution RewriteRule ^(.*)-t-([0-9_]+).html$ articles.php?tPath=$2&%{QUERY_STRING} RewriteRule ^(.*)-a-([0-9]+).html$ article_info.php?articles_id=$2&%{QUERY_STRING} # Information pages RewriteRule ^(.*)-i-([0-9]+).html$ information.php?info_id=$2&%{QUERY_STRING} # Links contribution RewriteRule ^(.*)-links-([0-9_]+).html$ links.php?lPath=$2&%{QUERY_STRING} # Newsdesk contribution RewriteRule ^(.*)-n-([0-9]+).html$ newsdesk_info.php?newsdesk_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-nc-([0-9]+).html$ newsdesk_index.php?newsPath=$2&%{QUERY_STRING} RewriteRule ^(.*)-nri-([0-9]+).html$ newsdesk_reviews_info.php?newsdesk_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-nra-([0-9]+).html$ newsdesk_reviews_article.php?newsdesk_id=$2&%{QUERY_STRING} </IfModule> thank you Quote Link to comment Share on other sites More sharing options...
Grey Hair Posted December 30, 2009 Share Posted December 30, 2009 Hi I've had a look through but didn't notice any fixes for the lightbox addons with seo url's enabled i'm having the same problem as a few others from a while back when SEO Urls5 is not enabled my lightboxes work but when enabled the pictures load up in the origional window none of the code changes are on the same files so its not a mix up there and I cant really see any reason why this mod should stop the other any help would be greatly appreciated testing site is here http://www.cardgeezer.com/index.php SEO Urls5 is enabled at present and the lightbox contrib is (Better Product Preview with Lightbox 2_1) Thanks Chris Quote Link to comment Share on other sites More sharing options...
florist Posted December 30, 2009 Share Posted December 30, 2009 He said to me SPL is activated. and showed that verification url http://94.199.200.129/servicetest.php SPL is active, Directory Iterator runs. this right? Thanks. Then it look like Looks like SPL (Standard PHP Library) was explicitly not compiled into PHP by your hosts. You should ask them. Quote Link to comment Share on other sites More sharing options...
♥FWR Media Posted December 30, 2009 Author Share Posted December 30, 2009 (edited) He said to me SPL is activated. and showed that verification url http://94.199.200.129/servicetest.php SPL is active, Directory Iterator runs. this right? Thanks. Hosts! don't you love 'em! Create a brand new file in root called fwrtest.php containing .. <?php error_reporting( E_ALL | E_STRICT ); if ( class_exists( 'DirectoryIterator' ) ) { $it = new DirectoryIterator( getcwd() ); unset( $it ); echo 'DirectoryIterator exists'; } else { echo 'DirectoryIterator does not exist'; } ?> Then browse to it and post here the output ( XXXing out any private path data ) Edited December 30, 2009 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...
♥FWR Media Posted December 30, 2009 Author Share Posted December 30, 2009 Hi I've had a look through but didn't notice any fixes for the lightbox addons with seo url's enabled i'm having the same problem as a few others from a while back when SEO Urls5 is not enabled my lightboxes work but when enabled the pictures load up in the origional window none of the code changes are on the same files so its not a mix up there and I cant really see any reason why this mod should stop the other any help would be greatly appreciated testing site is here http://www.cardgeezer.com/index.php SEO Urls5 is enabled at present and the lightbox contrib is (Better Product Preview with Lightbox 2_1) Thanks Chris Viewing source with USU5 on the javascript looks like .. <script language="javascript"><!-- document.write('<a href="images/uuu.jpg" rel="lightbox" title="Crewneck Tee-shirt with Navy Color"><img src="images/uuu.jpg" border="0" alt="Crewneck Tee-shirt with Navy Color" title=" Crewneck Tee-shirt with Navy Color " width="110" height="110" hspace="5" vspace="5"><br>Click to enlarge</a>'); //--></script> Turn off USU5 and post what that same products javascript is like. 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...
Grey Hair Posted December 30, 2009 Share Posted December 30, 2009 <script language="javascript"><!-- document.write('<a href="images/uuu.jpg" rel="lightbox" title="Crewneck Tee-shirt with Navy Color"><img src="images/uuu.jpg" border="0" alt="Crewneck Tee-shirt with Navy Color" title=" Crewneck Tee-shirt with Navy Color " width="110" height="110" hspace="5" vspace="5"><br>Click to enlarge</a>'); //--></script> SEO Urls 5 is now off and will be until I hear back if you need to see anything else yourself Thanks for the quick response Chris Quote Link to comment Share on other sites More sharing options...
♥FWR Media Posted December 30, 2009 Author Share Posted December 30, 2009 <script language="javascript"><!-- document.write('<a href="images/uuu.jpg" rel="lightbox" title="Crewneck Tee-shirt with Navy Color"><img src="images/uuu.jpg" border="0" alt="Crewneck Tee-shirt with Navy Color" title=" Crewneck Tee-shirt with Navy Color " width="110" height="110" hspace="5" vspace="5"><br>Click to enlarge</a>'); //--></script> SEO Urls 5 is now off and will be until I hear back if you need to see anything else yourself Thanks for the quick response Chris The javascript is identical so no issue there, could you turn USU back on again please. and .. could you provide a link to exactly the same contribution for me to see please. 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...
Grey Hair Posted December 30, 2009 Share Posted December 30, 2009 Back on again and link to lightbox contrib http://addons.oscommerce.com/info/6517 Thanks again Quote Link to comment Share on other sites More sharing options...
♥FWR Media Posted December 30, 2009 Author Share Posted December 30, 2009 Back on again and link to lightbox contrib http://addons.oscommerce.com/info/6517 Thanks again Just installed it on my USU5 .. works perfectly. Which revision of USU5 do you have? 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...
Grey Hair Posted December 30, 2009 Share Posted December 30, 2009 Version is ULTIMATE_Seo_Urls_5_r141_stable Quote Link to comment Share on other sites More sharing options...
♥FWR Media Posted December 30, 2009 Author Share Posted December 30, 2009 Version is ULTIMATE_Seo_Urls_5_r141_stable Well for the first time in a long while I am absolutely stumped. What I can tell you is that it works with USU5 as I just did it. The confusing thing with your issue is that the contribution is all javascript and it doesn't use tep_href_link() anywhere so USU5 can't have an effect on 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...
Grey Hair Posted December 30, 2009 Share Posted December 30, 2009 Ah well thanks for your help anyway, i'll give it a day or two and have another look i've been lookin at it for too long now lol. If I find an answer i'll be sure to post it for future reference if needed. Quote Link to comment Share on other sites More sharing options...
Mankra Posted January 2, 2010 Share Posted January 2, 2010 (edited) Hello I have installed USU5 R141 in my Testshop. The normal sites works all correct, but I have some troubles with some Contributions: Information Pages: http://addons.oscommerce.com/info/1026 With USU deactivated it works normal, with USU activated, I get this Error: 1054 - Unknown column 'information_title' in 'field list' SELECT information_title FROM information WHERE information_id='64' AND language_id='2' LIMIT 1 [TEP STOP] But this Query is not in this script, the query is: $sql = tep_db_query("select information_id, visible, v_order, info_title, description, languages_id from ".TABLE_INFORMATION." WHERE visible='1' AND information_id='".$info_id."'"); The Error cames anywhere from application_top.php (or included scripts), because: echo 'test'; require('includes/application_top.php'); echo 'test2'; get only test on the screen, no test2. Any Suggest, where to look for the Error? Also I have a Problem with my All Products Site and Google Sitemap. Both Links shops only a blank screen. All Products I can make myself, but which Google Sitemap Contribution should I take? Info Pages, Newsdesk and all other seems to work perfect. Options: Select caching system. FileSystem Add cPath to product URLs? false Enable SEO URLs 5? true Filter Short Words 1 Output W3C valid URLs? true Choose URL Rewrite Type rewrite Enter special character conversions. (Better to use the file bas Remove all non-alphanumeric characters? true Set the number of days to store the cache. 7 Reset SEO URLs Cache Turn debug reporting on true/false. false Add category parent to beginning of URLs? true HTTP Server: Apache/2.2.3 (Debian) mod_python/3.2.10 Python/2.4.4 PHP/5.2.0-8+etch13 mod_ssl/2.2.3 OpenSSL/0.9.8c PHP Version: 5.2.0-8+etch13 (Zend: 2.2.0) Datenbank: MySQL 5.0.32-Debian_7etch8-log Edited January 2, 2010 by Mankra Quote Link to comment Share on other sites More sharing options...
♥FWR Media Posted January 2, 2010 Author Share Posted January 2, 2010 Hello I have installed USU5 R141 in my Testshop. The normal sites works all correct, but I have some troubles with some Contributions: Information Pages: http://addons.oscommerce.com/info/1026 With USU deactivated it works normal, with USU activated, I get this Error: 1054 - Unknown column 'information_title' in 'field list' SELECT information_title FROM information WHERE information_id='64' AND language_id='2' LIMIT 1 [TEP STOP] But this Query is not in this script, the query is: $sql = tep_db_query("select information_id, visible, v_order, info_title, description, languages_id from ".TABLE_INFORMATION." WHERE visible='1' AND information_id='".$info_id."'"); The Error cames anywhere from application_top.php (or included scripts), because: echo 'test'; require('includes/application_top.php'); echo 'test2'; get only test on the screen, no test2. Any Suggest, where to look for the Error? Also I have a Problem with my All Products Site and Google Sitemap. Both Links shops only a blank screen. All Products I can make myself, but which Google Sitemap Contribution should I take? Info Pages, Newsdesk and all other seems to work perfect. Options: Select caching system. FileSystem Add cPath to product URLs? false Enable SEO URLs 5? true Filter Short Words 1 Output W3C valid URLs? true Choose URL Rewrite Type rewrite Enter special character conversions. (Better to use the file bas Remove all non-alphanumeric characters? true Set the number of days to store the cache. 7 Reset SEO URLs Cache Turn debug reporting on true/false. false Add category parent to beginning of URLs? true HTTP Server: Apache/2.2.3 (Debian) mod_python/3.2.10 Python/2.4.4 PHP/5.2.0-8+etch13 mod_ssl/2.2.3 OpenSSL/0.9.8c PHP Version: 5.2.0-8+etch13 (Zend: 2.2.0) Datenbank: MySQL 5.0.32-Debian_7etch8-log Re: information pages you are using a very old version. You need to swap out the file ultimate_seo_urls5/modules/Usu_Information.php for the one in the extras/old contribution modules/ directory of the downloaded package called Usu_Information1.php Also there's a small error in this module. Note: open up Usu_Information1.php find the query near the top and change .. $this->base_query = "SELECT info_title FROM " . TABLE_INFORMATION . " WHERE information_id=':info_id' AND language_id=':languages_id' LIMIT 1"; To .. $this->base_query = "SELECT info_title FROM " . TABLE_INFORMATION . " WHERE information_id=':info_id' AND languages_id=':languages_id' LIMIT 1"; Re:all products There is a known error in all products see post .. http://www.oscommerce.com/forums/topic/336702-ultimate-seo-urls-5-by-fwr-media/page__view__findpost__p__1463806 Re: Google XML Sitemap SEO There are two replacement files for this in the extras directory. 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...
lacoz Posted January 2, 2010 Share Posted January 2, 2010 Hi there, I have a problem with this contribution. It is indeed working well, but clashes with a Flash Carousel I have installed ( http://addons.oscommerce.com/info/6123 ) If the flash carousel is switched on, I get an error: Notice: Undefined variable: cName in .../includes/classes/seo.class.php on line 1006 The affected function is /** * Function to get the product name. Use evaluated cache, per page cache, or database query in that order of precedent * @author Bobby Easland * @version 1.1 * @param integer $pID * @return string Stripped anchor text */ function get_product_name($pID){ $result = array(); if ($this->attributes['SEO_ADD_CPATH_TO_PRODUCT_URLS'] == 'true') { $cName = $this->get_all_category_parents($pID, $cName); } switch(true){ case ($this->attributes['USE_SEO_CACHE_GLOBAL'] == 'true' && defined('PRODUCT_NAME_' . $pID)): $this->performance['CACHE_QUERY_SAVINGS']++; $return = (tep_not_null($cName) ? $cName . '-'. constant('PRODUCT_NAME_' . $pID) : constant('PRODUCT_NAME_' . $pID)); $this->cache['PRODUCTS'][$pID] = $return; break; case ($this->attributes['USE_SEO_CACHE_GLOBAL'] == 'true' && isset($this->cache['PRODUCTS'][$pID])): $this->performance['CACHE_QUERY_SAVINGS']++; $return = (tep_not_null($cName) ? $cName . '-'. $this->cache['PRODUCTS'][$pID] : $this->cache['PRODUCTS'][$pID]); break; default: $this->performance['NUMBER_QUERIES']++; $sqlCmd = $this->attributes['USE_SEO_HEADER_TAGS'] == 'true' ? 'products_name as pName' : 'products_name as pName'; $sql = "SELECT " . $sqlCmd . " FROM ".TABLE_PRODUCTS_DESCRIPTION." WHERE products_id='".(int)$pID."' AND language_id='".(int)$this->languages_id."' LIMIT 1"; $result = $this->DB->FetchArray( $this->DB->Query( $sql ) ); $pName = $this->strip( $result['pName'] ); $this->cache['PRODUCTS'][$pID] = $pName; $this->performance['QUERIES']['PRODUCTS'][] = $sql; $return = (tep_not_null($cName) ? $cName . '-'. $pName : $pName); break; } # end switch return $return; } # end function line 1006 is $return = (tep_not_null($cName) ? $cName . '-'. constant('PRODUCT_NAME_' . $pID) : constant('PRODUCT_NAME_' . $pID)); When the Carousel is turned off, the store loads without errors. Do You have any idea, why? Thanks for any ideas. Quote Link to comment Share on other sites More sharing options...
♥FWR Media Posted January 2, 2010 Author Share Posted January 2, 2010 (edited) Do You have any idea, why? Thanks for any ideas. This support thread is for the new PHP5 Ultimate Seo Urls 5, you have the old 2005 series 2 Ultimate Seo Urls by Chemo so should post your problem in that support thread. http://www.oscommerce.com/forums/topic/154166-contribution-ultimate-seo-urls-v21-by-chemo/ Edited January 2, 2010 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...
AndreasPi Posted January 3, 2010 Share Posted January 3, 2010 This was discussed here before. I am using the Link Manager II contrib in the latest version and your SEO URLs at the same time. Since I changed to the SEO URLs 5, my links categories are no longer accessible. The links category overview is shown, but when clicking on one of the links, I get an error about the URL can`t be found. I have already checked this thread but haven`t found an answer working for my problem, as the links URLs seems to be right: .net/links.php?&lPath=0_2 Any idea what could be the problem? Thank you Quote 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.