newtech Posted July 11, 2007 Share Posted July 11, 2007 I have not received a response on this-any suggestions? I have installed Ultimate SEO URLs - 2.1d with optional Admin settable Product and Category URLs but I have a problem:Under both categories and products I do not have the ability to enter custom URL's in admin. That option does not appear under categoreis or products. I ran the database query and verified that the additional fields are in the database. I did all the edits per the install instructions including additional_install_instructions.txt. Quote Link to comment Share on other sites More sharing options...
Iggy Posted July 15, 2007 Share Posted July 15, 2007 Having a little bit of difficulty on a fairly heavily modified store. In the category view when clicking on Buy Now a product is added to the cart. Clicking on Continue Shopping from the cart returns to the category view. Adding another separate product then adds 1 more of the first item to the cart. So instead of 2 separate items I end up with 2 of the first item added. Kind of odd. Turning Ultimate SEO Urls 2.1da off in the admin lets the cart work as expected. Standard url returning to the page without USU http://127.0.0.1/catalog/index.php?cPath=3...;products_id=35 USU url http://127.0.0.1/catalog/-c-3.html?sort=2a...;products_id=35 Same results with USU 2.2.2 Has anyone run into this or can point me in the right direction as to what may be going on? Thanks for looking, Iggy Quote Everything's funny but nothing's a joke... Link to comment Share on other sites More sharing options...
cory12 Posted July 16, 2007 Share Posted July 16, 2007 I just did a fresh install of oscommerce-2.2rc1 along with Ultimate SEO URL's. Everything looks great exept for one thing. When ever I go to add a product I get this error. I have read through a LOT of pages in this thread as well as used the search feature and tried most of the fixes posted for this problem....none of them work. I have went over the install files several times too. Does anyone have a clue? Fatal error: Call to undefined function: tep_get_products_seo_url() in /public_html/admin/categories.php on line 529 Quote Link to comment Share on other sites More sharing options...
gregNwt Posted July 16, 2007 Share Posted July 16, 2007 osCommerce Online Merchant v2.2 Release Candidate 1 Is the newest version of Oscommerce released last week.... The contrib perhaps is not totally aligned with the new version of oscommerce But otherwise it looks like the function cant be found. tep_get_products_seo_url is in the catalog/includes/functions/general.php file if it has been edited to suit SEO urls. Look in there and my 2cents worth is that edits have not been made to that file to include that function. Quote Link to comment Share on other sites More sharing options...
cjm Posted July 16, 2007 Share Posted July 16, 2007 Hi, I need help to solve a problem with this contribution. In some cases, the path generated is wrong. For example, if I’m in the login page (login.php) and enter a user and/or password that doesn’t exists, then the path looks like this: http://www.website.com/login.php/action/process?osCsid=24c558625b2f9be3192ce93d624ee3c8 The page can be seen but for some reason the design looks very bad. I’ve also created a new page called “novedades.php” and when I click on “next page” link the path looks like this: http://www.website.com/novedades.php/page/2?osCsid=24c558625b2f9be3192ce93d624ee3c8 Please, can anybody help me to solve these problems? Thank you and sorry for my bad English Quote Link to comment Share on other sites More sharing options...
yos40 Posted July 19, 2007 Share Posted July 19, 2007 Guys I need help, I installed the contrib and it looks like it's all working fine But when i look on a product and click on reviews i get directed to a non existed page, here is an exmple of the url http://mysite.com/radeon-x800gto-iceqii-pr-147.html%22 but if i delete the last 3 letters from the usl and click ok like this http://bizbooz.com/radeon-x800gto-iceqii-pr-147.html i get to the right review page Any idea whats wrong??? thanks for your help Quote Link to comment Share on other sites More sharing options...
Guest Posted July 19, 2007 Share Posted July 19, 2007 Hi guys, I am looking for some help, I have installed this contrib on my 2.2 version of OSC which is running a couple of mods already, this looked relatively painless and I have checked the changes, the only bit I am not sure about is the .htaccess file and the directory, the structure on my site is /public_html/catalogue/etc. In the instructions it says to replace 'directory' with the actual directory, I have tried several conbinations, I am not sure if any are right, but my problem is I get the following error message when I now go to the admin page... Fatal error: Call to undefined function: tep_catalog_href_link() in /home/xfurryf/public_html/catalogue/admin/index.php on line 101 Is this to do with the .htaccess change as the contrib doesn't call for changes to index.php? Please help if you can or it is back to my backup tomorrow :-( Thanks Chris Quote Link to comment Share on other sites More sharing options...
Megaboss Posted July 23, 2007 Share Posted July 23, 2007 Having a little bit of difficulty on a fairly heavily modified store. In the category view when clicking on Buy Now a product is added to the cart. Clicking on Continue Shopping from the cart returns to the category view. Adding another separate product then adds 1 more of the first item to the cart. So instead of 2 separate items I end up with 2 of the first item added. Kind of odd. Turning Ultimate SEO Urls 2.1da off in the admin lets the cart work as expected. Standard url returning to the page without USU http://127.0.0.1/catalog/index.php?cPath=3...;products_id=35 USU url http://127.0.0.1/catalog/-c-3.html?sort=2a...;products_id=35 Same results with USU 2.2.2 Has anyone run into this or can point me in the right direction as to what may be going on? Thanks for looking, Iggy Hi Iggy I have the same problem and hasn't solved it yet, please reply if you find the solution. // Niclas Quote Link to comment Share on other sites More sharing options...
andycatax Posted July 25, 2007 Share Posted July 25, 2007 I have followed the steps but i am getting this message when going on a item or product Error! Unable to determine the page link! apart from that the only link in admin is in the "my store" seo true or false is this correct? Quote Link to comment Share on other sites More sharing options...
andycatax Posted July 26, 2007 Share Posted July 26, 2007 the url is coming out like this http://www.parakeetprint.co.uk/product_inf.../products_id/98 is this correct or not? Quote Link to comment Share on other sites More sharing options...
gregNwt Posted July 26, 2007 Share Posted July 26, 2007 Having a little bit of difficulty on a fairly heavily modified store. USU url http://127.0.0.1/catalog/-c-3.html?sort=2a...;products_id=35 Has anyone run into this or can point me in the right direction as to what may be going on? The SEO URL is not correct as it has not been populated with the category name This is an error induced by the Mysql (vs 5 ) version if I remember right. There is a fix for it in the contribution home here http://www.oscommerce.com/community/contributions,2823 Look for the Fixed Version 2 file to download. It may not fix your problem, but the URLs from Ultimate Seo Urls will be more correct.... Quote Link to comment Share on other sites More sharing options...
gregNwt Posted July 26, 2007 Share Posted July 26, 2007 the url is coming out like this http://www.parakeetprint.co.uk/product_inf.../products_id/98 is this correct or not? This looks like one of the different URL rewite contributions. Maybee SEO-G Ultimate SEO Urls get re-written to look like for categories http://www.rpc.com.au/catalog/accessories-c-1_105.html for products http://www.rpc.com.au/catalog/voltage-reducer-p-759.html Noice your URLs are re-written to have slashes / in them to seperate the elements not dashes - http://www.parakeetprint.co.uk/product_inf.../products_id/98 Quote Link to comment Share on other sites More sharing options...
andycatax Posted July 27, 2007 Share Posted July 27, 2007 I see what your saying i did add a seo contribution awhile ago but i cant remember which it was any ideas what files need looking at to get ultimate seo to work?. Quote Link to comment Share on other sites More sharing options...
andycatax Posted July 27, 2007 Share Posted July 27, 2007 Ok i have found the seo mod i used and have replaced all back to how it was so now when seo is active in admin i am getting this as my url categories http://www.parakeetprint.co.uk/index.php/cPath/26 and this for product http://www.parakeetprint.co.uk/product_inf...products_id/263 Quote Link to comment Share on other sites More sharing options...
andycatax Posted July 27, 2007 Share Posted July 27, 2007 I have now got the re write working so now i get theses urls categories http://www.parakeetprint.co.uk/corporatewear-c-52.html Product http://www.parakeetprint.co.uk/hi-vis-thin...-hat-p-223.html the categories are all working fine 100% but on the product nothing is showing up but this error Fatal error: Call to a member function on a non-object in /product_info.php on line 85 i bet its something simple but i cant find it, any ideas? Quote Link to comment Share on other sites More sharing options...
andycatax Posted July 27, 2007 Share Posted July 27, 2007 I have now got the re write working so now i get theses urls categories http://www.parakeetprint.co.uk/corporatewear-c-52.html Product http://www.parakeetprint.co.uk/hi-vis-thin...-hat-p-223.html the categories are all working fine 100% but on the product nothing is showing up but this error Fatal error: Call to a member function on a non-object in /product_info.php on line 85 i bet its something simple but i cant find it, any ideas? This is the line 85 code $pf->loadProduct((int)$HTTP_GET_VARS['products_id'], (int)$languages_id); Quote Link to comment Share on other sites More sharing options...
abubobbob Posted July 27, 2007 Share Posted July 27, 2007 Hi. THe problem ive got with this contribution is that the new URLs are all 404 pages and cannot be found. Ive checked .htaccess path, my URLs have changed to be the correct thing http://www..../Store/war-elemental-p-86.html So why are these pages empty? Thanks for any help given Regards Adam Quote Link to comment Share on other sites More sharing options...
pulp2 Posted July 28, 2007 Share Posted July 28, 2007 (edited) I have been working on this for several hours now and am completely stuck. I'm getting the fallowing error message: Error! Unable to determine connection method on a link! Known methods: NONSSL SSL I'm guessing this is because of a problem with my htaccess file. My shop is in the root so I believe the directory is correct. # '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) # #<IfModule mod_php4.c> # php_value session.use_trans_sid 0 # php_value register_globals 1 #</IfModule> Options +FollowSymLinks RewriteEngine On RewriteBase / RewriteRule ^(.*)-p-(.*).html$ product_info.php?products_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-c-(.*).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 ^(.*)-t-([0-9]+).html$ articles.php?tPath=$2&%{QUERY_STRING} RewriteRule ^(.*)-a-([0-9]+).html$ article_info.php?articles_id=$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} RewriteRule ^(.*)-i-([0-9]+).html$ information.php?info_id=$2&%{QUERY_STRING} Please, any help would be greatly appreciated. Edited July 28, 2007 by pulp2 Quote Link to comment Share on other sites More sharing options...
mikeemmessen Posted July 30, 2007 Share Posted July 30, 2007 Hi i am still waiting i hope someone can help my problem: By installeing Ultimate SEO it shows like this https://www.falconsat.co.uk/-p-1669.html but is it ment to shomething like this? https://www.falconsat.co.uk/sky-hd-remote-p-1669.html I had the same problem. I appeared I forgot to update the database. Alter the database using PHPMySQL, and enter the following SQL Query: ALTER TABLE `categories_description` ADD `categories_seo_url` VARCHAR( 100 ) NOT NULL ; ALTER TABLE `products_description` ADD `products_seo_url` VARCHAR( 100 ) NOT NULL ; for me this returned the promised .../sky-hd-remote-p-1669.html, and also enabled me to enter my admin catalog menu again ;) I hope this will fix your problems too. Regards, Mikee Quote Link to comment Share on other sites More sharing options...
mikeemmessen Posted July 30, 2007 Share Posted July 30, 2007 What I have been wondering myself, is how to get rid of the -p-xx in the product URL, and the -c-x in the category URL. I found that another contribution (SEO-G) gets rid of them, but unfortunately it does not have multilanguage support (meaning, it does not have the option to enter a different URL for each language, like the Ultimate SEO contribution does).... Is it possible to get rid of the -p-xx and -c-x characters in the url? thanks, Mikee Quote Link to comment Share on other sites More sharing options...
mikeemmessen Posted July 30, 2007 Share Posted July 30, 2007 Hi. THe problem ive got with this contribution is that the new URLs are all 404 pages and cannot be found. Ive checked .htaccess path, my URLs have changed to be the correct thing http://www..../Store/war-elemental-p-86.html So why are these pages empty? Thanks for any help given Regards Adam Make sure that 1. the servers redirect is on (if it's your own development pc). 2. In .htaccess, make sure the rewrite base refers to the folder your shop is in: RewriteBase / in case your shop resides in the root folder (www.yoursite.com), or RewriteBase /yourshop/ in case your shop resides in a subfolder (www.yoursite.com/yourshop) Hope it helps! regards, mikee Mikee Quote Link to comment Share on other sites More sharing options...
andycatax Posted July 30, 2007 Share Posted July 30, 2007 I have got my site full working god knows how but its working. Thanks All Quote Link to comment Share on other sites More sharing options...
wholehogsoftware Posted July 30, 2007 Share Posted July 30, 2007 I just did a fresh install of oscommerce-2.2rc1 along with Ultimate SEO URL's. Everything looks great exept for one thing. When ever I go to add a product I get this error. I have read through a LOT of pages in this thread as well as used the search feature and tried most of the fixes posted for this problem....none of them work. I have went over the install files several times too. Does anyone have a clue? Fatal error: Call to undefined function: tep_get_products_seo_url() in /public_html/admin/categories.php on line 529 This isn't the cleanest way to fix this problem, but just open that admin/categories.php file in your favorite editor and add this right below the opening "<?php" line: function tep_get_products_seo_url($product_id, $language_id = 0) { global $languages_id; if ($language_id == 0) $language_id = $languages_id; $product_query = tep_db_query("select products_seo_url from " . TABLE_PRODUCTS_DESCRIPTION . " where products_id = '" . (int)$product_id . "' and language_id = '" . (int)$language_id . "'"); $product = tep_db_fetch_array($product_query); return $product['products_seo_url']; } Given that some of the text constants also appear to be missing, this isn't the contributions only problem but so far the only one I've taken the time out to *patch* so far. ;) Quote Link to comment Share on other sites More sharing options...
gregNwt Posted July 31, 2007 Share Posted July 31, 2007 Hi All My problem is that my SEO urls work well and page URLS are re-written nicely. but my Header Tags Controller cant find these pages to add the meta tags too them. I thought I had this working, but possibly some changes by the host ISP and the Apache setup has made things stop working. All my categories/product page urls in the items selection box are delivered to my browser as the re-written SEO URLs eg http://www.rpc.com.au/catalog/appliances-c-1.html not http://www.rpc.com.au/catalog/index.php?cPath=105 When I follow the re-written links HTC cant seem to add any headers. If I manually call the original URLS the meta tags are added. It seems as though the server is re-writing the URLS as they are delivered to the browser. Is SEO urls designed to re-write the outgoing page/url content from the server ?? I was thinking perhaps that it was the URL requests inbound to the server that would be re-written, and the pages dished up by the server would have the standard OSC URLs As it stands it seems that I never actually call the standard OSC URLs as they have been re-written by the mod_rewrite function of SEO urls, and this is why HTC cant add any tags.... Any suggestions ???? Quote Link to comment Share on other sites More sharing options...
gregNwt Posted August 2, 2007 Share Posted August 2, 2007 Hi All My problem is that my SEO urls work well and page URLS are re-written nicely. but my Header Tags Controller cant find these pages to add the meta tags too them. [..................] Any suggestions ???? Well I have found a cause of the problem and here is the fix.... I found the error by echoing the $_SERVER['PHP_SELF'] at the bottom of my product_info.php page. The cause of Header tags controller and SEO urls not working together is where server responds with the re-written url as the variable. HTC looks for a match between this variable and a defined constant , when the test fails you get no header tags added to your re-written SEO url page. The fix is to add to the test to look for a SEO signiture in the $_SERVER['PHP_SELF'] variable. So for my Index.php section of catalog/includes/header_tags.php is used // INDEX.PHP case (strstr($_SERVER['PHP_SELF'],FILENAME_DEFAULT) or strstr($PHP_SELF,FILENAME_DEFAULT) or strpos($_SERVER['PHP_SELF'],"-c-") ): and for product_info.php // PRODUCT_INFO.PHP case ( strstr($_SERVER['PHP_SELF'],FILENAME_PRODUCT_INFO) or strstr($PHP_SELF,FILENAME_PRODUCT_INFO) or strpos($_SERVER['PHP_SELF'],"-p-")): I hope this helps someone other than myself!! :) Note I suspect there is some server issue causing this behaviour as all was well untill my host ISP upgraded the apache environment ... This will only fix the HTC and SEO urls working together where the server gives the re-written URL as the $_SERVER['PHP_SELF'] variable. From what I read in the HTC forum, mostly there is not a problem!! 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.