ULTIMATE Seo Urls 5 - by FWR Media
#3541
Posted 14 December 2011, 12:20
I have innstalled this module but are experiencing some trouble with our norwegian language and some capitals you dont have in the english language.
The problems start when i klick Cathegori and product links with this capitals. The browswer then tell that thei cant find the page.
It works great without the module activated. Is there a way around this, or is it possible to rewrite these capitals when the link is prodused?
I'm a bit noob at this point so i hope someone can help me..
For the site i'm building look at this link to see the link problem: www.mrhilsen.com/test
Thanks..
#3542
Posted 14 December 2011, 12:45
Check out my profile [click here] for information on professional services, custom coding, templates, SEO optimization, modifications, commercial support and help.
#3543
Posted 14 December 2011, 13:06
Edited by MrHilsen, 14 December 2011, 13:09.
#3544
Posted 14 December 2011, 17:22
------------
When data stored as utf8, mysql stores language entries encoded.
Example: Printed Materials (Печатные материалы) is stored in db as: Печатные материалы (or similar)
When this is pulled by SEO5 into URL, it does not seem to be decoded back into Russian lettering and crashes browser.
Conversion packs are not the way here, because to convert, you have to have text decoded from UTF8 storage back to language character set.
Question is: Can SEO5 handle decoding, before using? If yes, how to make it do it?
------------------------------------------
I got it now.
There is a transliteration going here.
Sorry to bother.
Edited by jeffz2011, 14 December 2011, 17:30.
#3545
Posted 14 December 2011, 18:35
I wish knwon if you had seen a problem with the box search with your contribution usu.
This is for the french language
if I insert in search box : baptème, after validate, write that : baptme ====> è desepear but in a search box but the è is ok
/advanced_search_result.php?x=0&y=0&keywords=baptème&search_in_description=1
if in url I change : è by è I found my product.
I try on oscommerce with no contribution the url is correct and the search is ok also.
Have you seen this pb ?
Thank you
Loic
Regards
gyakutsuki
#3546
Posted 14 December 2011, 18:41
I have the last version of USU5 installed on my osc 2.3.1. In my localhost working without problems, but on my server hosting ( godaddy.com ), give me this error:
No input file specified.
Pls help me.
There is the link to my webpage:
http://roshop.firstbizsoft.com
#3547
Posted 15 December 2011, 10:31
It has changed the buttons to look like below
HEADER_TITLE_CART_CONTENTS in stead of it saying Basket
Also it has changed the website title to say DEFAULT_META_TITLE
Also in the manufacturers drop down menu, it has changed that to say PULL_DOWN_DEFAULT in the drop down menu
Also it has put a  in front of the £ symbol
Can someone please help me with this problem
#3548
Posted 15 December 2011, 11:14
I have just tried to install : Ultimate_Seo_Urls_5_PRO_r205 to my site auto1direct.com
I could not follow the step :
Now upload the files in additional_uploads/version2.3/ again .. maintaining the osCommerce directory structure.
because i don't know what does this mean please explain.
and when add in application_top.php
/**
* ULTIMATE Seo Urls 5 PRO by FWR Media
*/
Usu_Main::i()->setVar( 'languages_id', $languages_id )
->setVar( 'request_type', $request_type )
->setVar( 'session_started', $session_started )
->setVar( 'sid', $SID )
->setVar( 'language', $language )
->setVar( 'filename', $PHP_SELF )
->initiate( ( isset( $lng ) && ( $lng instanceof language ) ) ? $lng : array(), $languages_id, $language );
on top of
// include the language translations
require(DIR_WS_LANGUAGES . $language . '.php');
Than i get error in my site
Can you help
my version osCommerce Online Merchant v2.3.1
Regards
Harry
Attached Files
#3549
Posted 15 December 2011, 11:27
#3550
Posted 15 December 2011, 11:30
The file in the additional_uploads/version2.3 is the bm_languages file if I am right
Replace that file in catalog\includes\modules\boxes
and then add /**
* ULTIMATE Seo Urls 5 PRO by FWR Media
*/
Usu_Main::i()->setVar( 'languages_id', $languages_id )
->setVar( 'request_type', $request_type )
->setVar( 'session_started', $session_started )
->setVar( 'sid', $SID )
->setVar( 'language', $language )
->setVar( 'filename', $PHP_SELF )
->initiate( ( isset( $lng ) && ( $lng instanceof language ) ) ? $lng : array(), $languages_id, $language );
above the // include the language translations
require(DIR_WS_LANGUAGES . $language . '.php');
Let me know if that works
#3552
Posted 15 December 2011, 12:53
I installed this add on http://addons.oscommerce.com/info/7704/v,23 into my website but have got the following error
Warning: require(includes/languages/.php): failed to open stream: No such file or directory in /customers/0/8/4/partycrackershop.co.uk/httpd.www/includes/application_top.php on line 289 Fatal error: require(): Failed opening required 'includes/languages/.php' (include_path='.:/usr/share/php') in /customers/0/8/4/partycrackershop.co.uk/httpd.www/includes/application_top.php on line 289
This is really important for me to get it fixed, how do I fix it
Its strange because it was working then it just stopped working
I dont get it
Please help me someone
Thanks in advance
Ian
#3553
Posted 15 December 2011, 13:23
Then add the following below above the // include the language translations require(DIR_WS_LANGUAGES . $language . '.php');
/**
* ULTIMATE Seo Urls 5 PRO by FWR Media
*/
Usu_Main::i()->setVar( 'languages_id', $languages_id )
->setVar( 'request_type', $request_type )
->setVar( 'session_started', $session_started )
->setVar( 'sid', $SID )
->setVar( 'language', $language )
->setVar( 'filename', $PHP_SELF )
->initiate( ( isset( $lng ) && ( $lng instanceof language ) ) ? $lng : array(), $languages_id, $language );
Does that make sense
#3554
Posted 16 December 2011, 08:02
<?php
/*
$Id$
osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com
Copyright (c) 2010 osCommerce
Released under the GNU General Public License
*/
require('includes/application_top.php');
// the following cPath references come from application_top.php
$category_depth = 'top';
if (isset($cPath) && tep_not_null($cPath)) {
$categories_products_query = tep_db_query("select count(*) as total from " . TABLE_PRODUCTS_TO_CATEGORIES . " where categories_id = '" . (int)$current_category_id . "'");
$categories_products = tep_db_fetch_array($categories_products_query);
if ($categories_products['total'] > 0) {
$category_depth = 'products'; // display products
} else {
$category_parent_query = tep_db_query("select count(*) as total from " . TABLE_CATEGORIES . " where parent_id = '" . (int)$current_category_id . "'");
$category_parent = tep_db_fetch_array($category_parent_query);
if ($category_parent['total'] > 0) {
$category_depth = 'nested'; // navigate through the categories
} else {
$category_depth = 'products'; // category has no products, but display the 'no products' message
}
}
}
require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_DEFAULT);
?>
<?php
if ($category_depth == 'nested') {
$tab_sel = tep_href_link(FILENAME_CATEGORIES_NESTED);
$current_page = FILENAME_CATEGORIES_NESTED;
require(DIR_WS_INCLUDES . 'template_top.php');
include(FILENAME_CATEGORIES_NESTED);
?>
<?php
} elseif ($category_depth == 'products' || isset($HTTP_GET_VARS['manufacturers_id'])) {
$tab_sel = tep_href_link(FILENAME_CATEGORIES_LISTING);
$current_page = FILENAME_CATEGORIES_LISTING;
require(DIR_WS_INCLUDES . 'template_top.php');
include(FILENAME_CATEGORIES_LISTING);
?>
<?php
} else { // default page
$tab_sel = tep_href_link(FILENAME_DEFAULT);
$current_page = FILENAME_DEFAULT;
require(DIR_WS_INCLUDES . 'template_top.php');
$first_page = true;
?>
<?php echo tep_draw_content_top();?>
<div class="none">
<?php echo tep_draw_title_top();?>
<h1><?php echo HEADING_TITLE; ?></h1>
<?php echo tep_draw_title_bottom();?><br />
</div >
<div class="contentContainer">
<?php
include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS);
include(DIR_WS_MODULES . FILENAME_UPCOMING_PRODUCTS);
?>
</div>
<?php echo tep_draw_content_bottom();?>
<?php
}
require(DIR_WS_INCLUDES . 'template_bottom.php');
require(DIR_WS_INCLUDES . 'application_bottom.php');
?>
so,I did not find the following code to replace with:-
tep_draw_form('filter', FILENAME_DEFAULT, 'get')
please guide how to fix it?
tnx
#3555
Posted 17 December 2011, 12:54
I just installed the contribution.
I want to configure it, butt now i get this error:
Call to undefined function tep_call_function() in /admin/configuration.php on line 69
Has anybody the same problem or a sollution for this?
Thank you
#3556
Posted 17 December 2011, 14:24
because there are no matching letters in hebrew and english.
so the bottom line is when I install the addon its only working if I press an item, but when I need to go thru categories, it wont work, will give me error unable to load the page.
Please help.
#3557
Posted 30 December 2011, 08:26
2,3,1 UTf-8
the product name is Felix FL 660 Sarto Lux Ceramic Tabanlı Ütü
but in the address bar
product_info.php/felix-660-sarto-lux-ceramic-tabanl-buharl-p-108780
ths modification is done
$pattern = ( defined( 'USU5_REMOVE_ALL_SPEC_CHARS' ) && USU5_REMOVE_ALL_SPEC_CHARS == 'true' ) ? "@[^\sa-z0-9]@i" : "@[!#\$%&'\"()\*\+,\-\./:;<=>\?\@\[\]\^_`\{|\}~]+@";
#3558
Posted 31 December 2011, 19:57
#3559
Posted 03 January 2012, 14:49
BIG thanks to FWR Media for this great contrib.
I'm osc2.2ms2 and I have successfully replaced the Ultimate SEO by CHemos with this one on my website.
everything is fine except the redirections 301, when a product is not found.
I dont understand the logic if a product is not found, because desactivated on the admin side.
the result I have is :
->header 301, moved permanently >> new location, is the correct url of the desactivated product,
but on the body part of the website I have the text PRODUCT NOT FOUND.
If the product is not found, why tell google a 301 redirect to this not found page ? The page will be crawled by google and indexed with wrong information. Am I Right ?
Why an 404 redirect shouldn't be better, for a desactivated product that we may be never have again ?
so I tried to put
this code on the product_info.php page :
...
<?php
if ($product_check['total'] < 1) {
header("HTTP/1.1 404 Not Found");
header("Status: 404 Not Found");
?>
....
and this on the .htaccess :
ErrorDocument 404 /includes/modules/ultimate_seo_urls5/includes/notfound_404.php
and the 404 is not showing up . Still 301 redirect when checking with an external tool.
Any idea to show the 404 page ?
another question :
this url is not showing me the 404 error page (/includes/modules/ultimate_seo_urls5/includes/notfound_404.php) :
http://my-store.com/cool-product-p-1280.html,Please note the coma after the .html
But a ugly apache screen :
Not Found The requested URL cool-product-p-1280.html, was not found on this server. Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request. Apache/2.0.59 (Unix) mod_ssl/2.0.59 OpenSSL/0.9.8g Server at my-store.com Port 80
Thanks for your help !
and best wishes !
Sebastien.
#3560
Posted 03 January 2012, 18:28
- thought everything was fine
- until I clicked on the flag to change to other language ( english )
> then only header parts of the index template get loaded ( the rest is broken = not loaded )
> when I switch back to german works fine again
> when I installed dutch as 3rd language I could switch to it without problem
( I did everything as advised in the manuals. Even installed the delivered index.php and language box to see if my files are the problem. )
( I tested all kinds of parameters and settings. )
Could it be that the problem has something to to with any language_id or charsets mismatch ? (why did it work with chemos version than?)
I need help or advise cause I don´t know what the problem is...
I don´t get any php error messages.
Anybody?
Edited by DCore, 03 January 2012, 18:37.















