dhiman_pawan Posted July 15, 2007 Share Posted July 15, 2007 Hello Friends I install your conttribution but its showing me /index.php/cPath/54 instead of product namd on url please advice me what i do to resolve it. Thanks in Advance Quote Link to comment Share on other sites More sharing options...
adsoma Posted July 20, 2007 Share Posted July 20, 2007 (edited) I found a solution that fixed the errors for my current SEO installation. In /catalog/includes/application_top.php, find: // set php_self in the local scope if (!isset($PHP_SELF)) $PHP_SELF = $HTTP_SERVER_VARS['PHP_SELF']; and insert the following code just after it if ($PHP_SELF != $SCRIPT_NAME) { $PHP_SELF = $SCRIPT_NAME.$PHP_SELF; } Then save file and turn SEF on from the Administration screen. Now everything should work normally and no more "Unable to determine the page link!" errors. Hope this works for anyone else that was experiencing this issue. PERFECT!!!!!!!!!!! I HAD THE SAME PROBLEM!!! :thumbsup: :thumbsup: Thank you very much!!! adsoma Edited July 20, 2007 by adsoma Quote Link to comment Share on other sites More sharing options...
dhiman_pawan Posted July 20, 2007 Share Posted July 20, 2007 Hi friends Any mate tell me why url showing me "/index.php/cPath/47" file name and product id i want to change the category id or product id to its name and dont wantt o show any index.php page . Its ok if its show only index in url any one plzzz suggest me what i do Thanks in Advance Quote Link to comment Share on other sites More sharing options...
XxWickedxX Posted July 20, 2007 Share Posted July 20, 2007 Some peoples problems might be fixed by sifting through this contribution. http://www.oscommerce.com/community/contri...,all/search,sef Quote Link to comment Share on other sites More sharing options...
Guest Posted July 20, 2007 Share Posted July 20, 2007 Hi guys, I installed this contrib and it looked to be working great, then I edited some products and it stopped working for those products yet others still worked great, any ideas why? I have tried the Ultimate SEO URLs but this gives me a critical error. Any and all info/help greatly appreciated. Quote Link to comment Share on other sites More sharing options...
elvisjj Posted July 22, 2007 Share Posted July 22, 2007 Hi, First I have to say that this is a great contrib :thumbsup: . I am using shared ssl and when I enable admin -> configuration -> cache -> use cache = true, I am getting an error in my online shop it is showing only T-Shirts in category list. If I disable cache the SEF url is not working. Please anybody help me to overcome this problem. Thankyou. Quote Link to comment Share on other sites More sharing options...
elvisjj Posted July 22, 2007 Share Posted July 22, 2007 Hi, First I have to say that this is a great contrib :thumbsup: . I am using shared ssl and when I enable admin -> configuration -> cache -> use cache = true, I am getting an error in my online shop it is showing only T-Shirts in category list. If I disable cache the SEF url is not working. Please anybody help me to overcome this problem. Thankyou. Quote Link to comment Share on other sites More sharing options...
lacy Posted July 30, 2007 Share Posted July 30, 2007 (edited) hi guys... i have problem with accentuated category and product names...all the characters with accent changes to 'A', but it works..i found out a solution, i use this row before the character changing row...: $url = iconv("UTF-8", "ISO-8859-2", $url); its good in my case, and works fine in the url bar, BUT BUT BUT when i want to open a category by clicking, it does nothing.:(( how can i solve this? where i need repair the code? thx, Laszlo Dobos Edited July 30, 2007 by lacy Quote Link to comment Share on other sites More sharing options...
jammy69 Posted August 3, 2007 Share Posted August 3, 2007 Hello I am using this contribution http://www.ukparts.nl/webwinkel/ . everything seems to be ok like add to cart and other buttons but the detail button is not functioning.It says page not found. can u pls tell me wht its happening and how can i correct it. Thnx in advance Quote Link to comment Share on other sites More sharing options...
jammy69 Posted August 3, 2007 Share Posted August 3, 2007 Hello I am using this contribution http://www.ukparts.nl/webwinkel/ . everything seems to be ok like add to cart and other buttons but the detail button is not functioning.It says page not found. can u pls tell me wht its happening and how can i correct it. Thnx in advance Quote Link to comment Share on other sites More sharing options...
samwillard Posted August 7, 2007 Share Posted August 7, 2007 hi all ive just installed v 1.8 and it works except when i try and add something to cart it doesnt actually add to cart - it posts the form as if it had done but nothing appears in my cart any ideas? thanks alot sam Quote Link to comment Share on other sites More sharing options...
peachlotus Posted August 7, 2007 Share Posted August 7, 2007 Hi. If someone could help me it would be so appreciated. After installing this contribution, my popup images don't work correctly. It's not the same problem other people in this thread have been having, where you need to copy the javascript function to index.php, it's different. When "click to enlarge" is clicked, a popup window does open, but it doesn't contain the image and uses a different template than its supposed to (I'm using the Simple Template System contribution). I discovered that if I type in the address the way it would be if SEF was not installed, that it still works properly. To see this in action: Doesn't Work: http://www.peachlotus.com/catalog/popup_image.php/pID/248 Works Correctly: http://www.peachlotus.com/catalog/popup_image.php?pID=248 So does anyone know either: 1.) How to get this to work properly with the SEF style URL? or 2.) How to prevent only the popup_image.php URLs from being converted to SEF style? Thanks so much for taking the time to read this, and if you respond, thanks in advance! Quote Link to comment Share on other sites More sharing options...
blr044 Posted August 14, 2007 Share Posted August 14, 2007 I had it almost working. My problem was regardless what link I clicked while browsing the product list on the index page, it would not take me to the product_info page. Nothing happens. So if by chance you do reply to this post, let me know first. Because I backed up the files and put the other files back on server. Thanks. Bennett Quote Link to comment Share on other sites More sharing options...
dannbkk Posted August 29, 2007 Share Posted August 29, 2007 I installed the pack correctly and just replaced column_left.php with existing, and it made the page out of wack? and i tried deleting it and adding again and its the same result does this mean my whole site now has a bug? http://www.thaitshirts.com/product_info.php/products_id/36 Quote Link to comment Share on other sites More sharing options...
HDLLC Posted August 30, 2007 Share Posted August 30, 2007 Just checking in on this - as it was referred to me as "A must have" contrib. Just wondering if there are a lot of problems or...? See a few recent questions unanswered... Afraid to install if there are problems or ? Thanks! --Jeff Quote Link to comment Share on other sites More sharing options...
dragons5 Posted September 4, 2007 Share Posted September 4, 2007 I tried to install this but I am getting the following error: Fatal error: Cannot redeclare tep_show_category() (previously declared in /home/radiorev/public_html/buydigital/includes/header.php:214) in /home/radiorev/public_html/buydigital/includes/boxes/categories.php on line 13 Quote Link to comment Share on other sites More sharing options...
listsubscriber Posted September 6, 2007 Share Posted September 6, 2007 What in the world do you download to get this contrib working? The download page appears to have bits and pieces in each new post. Is there any way you can clean it all up so we can download one zip and get this contrib working? Quote Link to comment Share on other sites More sharing options...
clemptor Posted September 9, 2007 Share Posted September 9, 2007 can anyone think of a reason why the SEO URL titles work correctly in all facets but with product_info? I updated to the newer SEO contrib. but would love to roll back the installation, as all the search engines have the old links. Back Door Guitars Back Door Guitars Site Map Quote Link to comment Share on other sites More sharing options...
dragons5 Posted September 9, 2007 Share Posted September 9, 2007 can anyone think of a reason why the SEO URL titles work correctly in all facets but with product_info? I updated to the newer SEO contrib. but would love to roll back the installation, as all the search engines have the old links. Back Door Guitars Back Door Guitars Site Map ok so i deleted the index.php that came with the contribution and replaced it with mine. The site sorta works now... but i products cant be purchased or viewed. wtf. Quote Link to comment Share on other sites More sharing options...
dragons5 Posted September 9, 2007 Share Posted September 9, 2007 ok now i got it all merged and fixed, except that the titles of products dont have the product link. It only has /// after the domain name. please help me fix as this is the last thing i need to do. Quote Link to comment Share on other sites More sharing options...
richllewis Posted September 20, 2007 Share Posted September 20, 2007 I installed Search Friendly URL version 1.10 and I am having trouble with it. My admin board comes up but when I get to the catalog side I get this error: Fatal error: Call to undefined function: tep_setcookie() in /home/winregs/public_html/includes/application_top.php on line 173 I am a little new at this and don't know what is causing this. Could someone help? Quote Link to comment Share on other sites More sharing options...
viperek Posted September 21, 2007 Share Posted September 21, 2007 Fatal error: Cannot redeclare tep_show_category() (previously declared in /home/fhlinux163/c/comptechnology.co.uk/user/htdocs/includes/header.php:175) in /home/fhlinux163/c/comptechnology.co.uk/user/htdocs/includes/boxes/categories.php on line 59 any idea what can be a problem ?? You solution works but when im trying to see whats in categories im getting this error. Quote Link to comment Share on other sites More sharing options...
viperek Posted September 21, 2007 Share Posted September 21, 2007 (edited) Fatal error: Cannot redeclare tep_show_category() (previously declared in /home/fhlinux163/c/comptechnology.co.uk/user/htdocs/includes/header.php:175) in /home/fhlinux163/c/comptechnology.co.uk/user/htdocs/includes/boxes/categories.php on line 59 any idea what can be a problem ?? You solution works but when im trying to see whats in categories im getting this error. This is my header.php where the error starts <? // ---- CATEGORIES function tep_show_category($counter) { global $tree, $categories_string, $cPath_array; if(!$tree[$counter]['level']){ $categories_string .= $categories_string ? '<tr><td><img src=images/m26.gif width=167 height=1><br><br class=px2></td></tr>' : ''; $categories_string .= '<tr><td><img src=images/m25.gif width=5 height=5 align=absmiddle> <a class=ml1 href='; if ($tree[$counter]['parent'] == 0) { $cPath_new = 'cPath=' . $counter; } else { $cPath_new = 'cPath=' . $tree[$counter]['path']; } $categories_string .= tep_href_link('index.php', $cPath_new) . '>'; // display category name $categories_string .= $tree[$counter]['name']; $categories_string .= '</a><br><br class=px4></td></tr>'; }else{ $categories_string .= '<tr><td>'; for($i=0;$i<$tree[$counter]['level'];$i++) $categories_string .= ' '; $categories_string .= ' - <a class=ml1 href='; if ($tree[$counter]['parent'] == 0) { $cPath_new = 'cPath=' . $counter; } else { $cPath_new = 'cPath=' . $tree[$counter]['path']; } $categories_string .= tep_href_link('index.php', $cPath_new) . '>'; // display category name $categories_string .= $tree[$counter]['name']; $categories_string .= '</a><br><br class=px4></td></tr>'; } if ($tree[$counter]['next_id'] != false) { tep_show_category($tree[$counter]['next_id']); } } define(TABLE_CATEGORIES, "categories"); define(TABLE_CATEGORIES_DESCRIPTION, "categories_description"); $categories_string = ''; $tree = array(); $categories_query = tep_db_query("select c.categories_id, cd.categories_name, c.parent_id from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.parent_id = '0' and c.categories_id = cd.categories_id and cd.language_id='" . (int)$languages_id ."' order by sort_order, cd.categories_name"); while ($categories = tep_db_fetch_array($categories_query)) { $tree[$categories['categories_id']] = array('name' => $categories['categories_name'], 'parent' => $categories['parent_id'], 'level' => 0, 'path' => $categories['categories_id'], 'next_id' => false); if (isset($parent_id)) { $tree[$parent_id]['next_id'] = $categories['categories_id']; } $parent_id = $categories['categories_id']; if (!isset($first_element)) { $first_element = $categories['categories_id']; } } //------------------------ if ($cPath) { $new_path = ''; reset($cPath_array); while (list($key, $value) = each($cPath_array)) { unset($parent_id); unset($first_id); $categories_query = tep_db_query("select c.categories_id, cd.categories_name, c.parent_id from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.parent_id = '" . (int)$value . "' and c.categories_id = cd.categories_id and cd.language_id='" . (int)$languages_id ."' order by sort_order, cd.categories_name"); if (tep_db_num_rows($categories_query)) { $new_path .= $value; while ($row = tep_db_fetch_array($categories_query)) { $tree[$row['categories_id']] = array('name' => $row['categories_name'], 'parent' => $row['parent_id'], 'level' => $key+1, 'path' => $new_path . '_' . $row['categories_id'], 'next_id' => false); if (isset($parent_id)) { $tree[$parent_id]['next_id'] = $row['categories_id']; } $parent_id = $row['categories_id']; if (!isset($first_id)) { $first_id = $row['categories_id']; } $last_id = $row['categories_id']; } $tree[$last_id]['next_id'] = $tree[$value]['next_id']; $tree[$value]['next_id'] = $first_id; $new_path .= '_'; } else { break; } } } $categories_string .= ''; tep_show_category($first_element); $categories_string .= ''; echo $categories_string; ?> This is categories.php from line 59 // display category name $categories_string .= $tree[$counter]['name']; if (isset($cPath_array) && in_array($counter, $cPath_array)) { $categories_string .= '</b>'; } if (tep_has_category_subcategories($counter)) { $categories_string .= '->'; } $categories_string .= '</a>'; if (SHOW_COUNTS == 'true') { $products_in_category = tep_count_products_in_category($counter); if ($products_in_category > 0) { $categories_string .= ' (' . $products_in_category . ')'; } } $categories_string .= '<br>'; if ($tree[$counter]['next_id'] != false) { tep_show_category($tree[$counter]['next_id']); } } ?> Edited September 21, 2007 by viperek Quote Link to comment Share on other sites More sharing options...
bidfreelancers Posted September 22, 2007 Share Posted September 22, 2007 HI, I haved installed this on my website at http://www.herbalcarelab.com and all urls have been converted to html as i wanted. But when ever i click on any of the links it gets me back to index page. like http://www.herbalcarelab.com/Hardware.html etc etc. can any one plz help me? Quote Link to comment Share on other sites More sharing options...
carromex Posted September 23, 2007 Share Posted September 23, 2007 I have installed this contrib and it seems to work fine, Only thing is that now my discount plus price breaks doesnt seem to appear on the products.Is anyone else had a similar problem? Where and how should this contribution be installed ? In catalog/index.php ? or under catalogue or in root ? At present oscommerce isn't working off root, its coming off catalog and thats a real mess too. Thanks Nina Quote Nina 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.