Latest News: (loading..)
FWR Media

ULTIMATE Seo Urls 5 - by FWR Media

4,281 posts in this topic

Hi

 

I am having the same problem as DumDum at the top of this thread......

 

I have a completely fresh install of Oscommerce and I have then followed

Drop on Top Quick Install ( requires an untouched osCommerce installation )

 

using Drop on Top v2.3 directory

 

when I log into admin the Ultimate SEO URL is not appearing in my Admin menu and when I click on Online Catalog I get the white screen of death.......

 

My error log file comes back with the following error messages

 

Thu Apr 19 12:39:02 2012] [error] [client 172.16.1.16] PHP Warning: Invalid argument supplied for foreach() in /var/www/html/test2.co.uk/includes/modules/ultimate_seo_urls5/main/bootstrap.php on line 274, referer: http://www.test2.co.uk/admin/index.php

 

[Thu Apr 19 12:39:02 2012] [error] [client 172.16.1.16] PHP Warning: include_once(page_modules.php) [<a href='function.include-once'>function.include-once</a>]: failed to open stream: No such file or directory in /var/www/html/test2.co.uk/includes/modules/ultimate_seo_urls5/main/bootstrap.php on line 339, referer: http://www.test2.co.uk/admin/index.php

 

[Thu Apr 19 12:39:02 2012] [error] [client 172.16.1.16] PHP Warning: include_once() [<a href='function.include'>function.include</a>]: Failed opening 'page_modules.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/test2.co.uk/includes/modules/ultimate_seo_urls5/main/bootstrap.php on line 339, referer: http://www.test2.co.uk/admin/index.php

 

[Thu Apr 19 12:39:02 2012] [error] [client 172.16.1.16] PHP Fatal error: Uncaught exception 'RuntimeException' with message 'Directory name must not be empty.' in /var/www/html/test2.co.uk/includes/modules/ultimate_seo_urls5/includes/usu_general_functions.php:244\nStack trace:\n#0 /var/www/html/test2.co.uk/includes/modules/ultimate_seo_urls5/includes/usu_general_functions.php(244): DirectoryIterator->__construct('')\n#1 /var/www/html/test2.co.uk/includes/modules/ultimate_seo_urls5/main/bootstrap.php(340): usu_dir_iterator(false)\n#2 /var/www/html/test2.co.uk/includes/modules/ultimate_seo_urls5/main/bootstrap.php(83): Usu5_Bootstrap->loadPageModules()\n#3 /var/www/html/test2.co.uk/includes/modules/ultimate_seo_urls5/main/usu5.php(119): Usu5_Bootstrap->bootStrapper(Array)\n#4 /var/www/html/test2.co.uk/includes/application_top.php(314): Usu_Main->initiate(Array, '1', 'english')\n#5 /var/www/html/test2.co.uk/index.php(13): require('/var/www/html/t...')\n#6 {main}\n thrown in /var/www/html/test2.co.uk/includes/modules/ultimate_seo_urls5/includes/usu_general_functions.php on line 244, referer: http://www.test2.co.uk/admin/index.php

 

 

As this is a brand new FRESH install in a completely clean directory and the instructions are so simple and straight forward I am stumped for what to try next.

 

Any assistance gratefully accepted

 

 

Cheers

Share this post


Link to post
Share on other sites

Hello,

 

Can i know what is the fix to display correct seo url instead of /index.php/atv-c-28 ?

 

I have seen a previous post saying to modify the html_output.php, which i have looked in for the said code, unfortunatelly i don't have the same code.

Here is what i have in my html_output.php file:

 

 /**
 * ULTIMATE Seo Urls 5 PRO by FWR Media
 * Replacement for osCommerce href link wrapper function
 */
 require_once DIR_WS_MODULES . 'ultimate_seo_urls5/main/usu5.php';

 function tep_href_link( $page = '', $parameters = '', $connection = 'NONSSL', $add_session_id = true, $search_engine_safe = true ) {
   return Usu_Main::i()->hrefLink( $page, $parameters, $connection, $add_session_id, $search_engine_safe );
 }

 

Any recommandations? Regards.

Share this post


Link to post
Share on other sites

You have to go into your show admin under configuration >> Ultimate seo urls set the rewrite method to: rewrite

 

Also make sure you have added the required code to your htaccess file

Share this post


Link to post
Share on other sites

Hi Robert, I just installed your wonderful contribution, and it works great.

I am attaching two new language files: Slovenian (slovensko.php) and Croatian (hrvatski.php).

 

Best wishes,

Andrej

slovensko.php

hrvatski.php

Share this post


Link to post
Share on other sites

After the installation of this contribution somehow current language icon disappears from Languages box. See the attachment.

Can it be restored, and how?

 

Andrej

post-310084-0-23832900-1336232000_thumb.jpg

Share this post


Link to post
Share on other sites

Hi, I'd be very grateful if anyone can help point me in the right direction! My problem is that having installed this addon when I click on either a product or a category I get the 'Error 310 (net::ERR_TOO_MANY_REDIRECTS): There were too many redirects.'

 

Having searched through the thread (page 168 seems most relevant to my problem) the advice given was to check my configure.php file (I have listed some of it below) but as far as I can tell (which quite frankly isn't a lot) it appears to be ok.

 

I have tried altering as many of the variables within the administration side as possible but to no avail (given that no one else is having problems I know it's my installation and not the addon)

 

I have also double checked my changed files (using winmerge) with the originals and the installation notes and I have been unable to find any obvious problems - all new code is there and no characters removed by mistake.

 

Any help on where to start troubleshooting would be most appreciated

 

Iain

 

Below is an excerpt of my configure.php file:

 

 

define('HTTP_SERVER', 'http://zezez.co.uk');

define('HTTPS_SERVER', 'http://zezez.co.uk');

define('ENABLE_SSL', false);

define('HTTP_COOKIE_DOMAIN', 'zezez.co.uk');

define('HTTPS_COOKIE_DOMAIN', 'zezez.co.uk');

define('HTTP_COOKIE_PATH', '/.//');

define('HTTPS_COOKIE_PATH', '/.//');

define('DIR_WS_HTTP_CATALOG', '/.//');

define('DIR_WS_HTTPS_CATALOG', '/.//');

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

 

define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');

define('DIR_FS_CATALOG', '/home/zezezcou/public_html/./');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

Share this post


Link to post
Share on other sites

Re the above post - it was indeed the configure.php file. If you have similar problems to what I had then have a read of the following article:

 

http://forums.oscommerce.com/index.php?showtopic=193738&hl=

 

which describes what your configure file should look like. I have never modified mine so I don't know why it was set up incorrectly but the problem was fixed by editing any lines which looked like this:

 

define('DIR_WS_HTTP_CATALOG', '/.//')

 

and changing too:

 

define('DIR_WS_HTTP_CATALOG', '/');

 

Hope this may help someone!

Share this post


Link to post
Share on other sites

Apologies if this has been answered, but I can't find it, plus after trying to get everything I need for my site under osCommerce for about 6 weeks now I can't take it anymore. Seems to be one thing after another. This is my setup:

 

OsCommerce 2.3.1

Ultimate_Seo_Urls_5_PRO_r205

Easy Populate

USPS Restrict Methods

QTPro with Perfect attributes

 

I had everything working but needed the ability the assign quantities to attributes. I couldn't get QTPro to work so I hired somebody to do it thinking I would be golden.

 

Everything seems to work, but when I click on any of the catageories I get a page not found. I think it is a matter of a .htaccess entry, but I have no idea what that entry is. I disagreed with the installer that is is SEO URLS5, well it probabaly is, but I hired them to install the module and work around this issue bc I had the same problem. I am posting this before I have heard back from the installer and in case I have to fix it myself bc this is going on way too long.

 

.htaccess

# For security reasons, Option followsymlinks cannot be overridden.

#Options +FollowSymLinks

Options +SymLinksIfOwnerMatch

DirectoryIndex index.php index.html index.htm

RewriteEngine On

 

RewriteCond %{ENV:REDIRECT_STATUS} ^$

RewriteRule ^catalog(/(.*))?$ http://www.domain.com/$2 [R=301,L]

RewriteCond %{HTTP_HOST} ^(domain\.com)$ [NC]

RewriteRule ^(.*)$ http://www.%1/$1 [R=301,L]

RewriteRule ^(folders|to|exclude)(/.*)?$ - [L]

RewriteCond %{ENV:REDIRECT_STATUS} ^$

RewriteCond %{HTTP_HOST} ^(www\.)?domain\.com$ [NC]

RewriteRule ^(.*)$ /catalog/$1 [QSA,L]

# Add trailing slash to directories within catalog

# This does not expose the internal URL.

RewriteCond %{SCRIPT_FILENAME} -d

RewriteRule ^catalog/(.*[^/])$ http://www.doamin.com/$1/ [R=301]

<IfModule mod_rewrite.c>

# Redirect index.php Requests

# ------------------------------

RewriteCond %{THE_REQUEST} ^GET.*index\.php [NC]

RewriteCond %{THE_REQUEST} !/system/.*

RewriteRule (.*?)index\.php/*(.*) /$1$2 [R=301,L]

</IfModule>

<IfModule mod_rewrite.c>

RewriteBase /catalog/

RewriteRule ^([a-z0-9/-]+)-p-([0-9]+).html$ product_info.php [NC,L,QSA]

RewriteRule ^([a-z0-9/-]+)-c-([0-9_]+).html$ index.php [NC,L,QSA]

RewriteRule ^([a-z0-9/-]+)-m-([0-9]+).html$ index.php [NC,L,QSA]

RewriteRule ^([a-z0-9/-]+)-pi-([0-9]+).html$ popup_image.php [NC,L,QSA]

RewriteRule ^([a-z0-9/-]+)-pr-([0-9]+).html$ product_reviews.php [NC,L,QSA]

RewriteRule ^([a-z0-9/-]+)-pri-([0-9]+).html$ product_reviews_info.php [NC,L,QSA]

# Articles contribution

RewriteRule ^([a-z0-9/-]+)-t-([0-9_]+).html$ articles.php [NC,L,QSA]

RewriteRule ^([a-z0-9/-]+)-au-([0-9]+).html$ articles.php [NC,L,QSA]

RewriteRule ^([a-z0-9/-]+)-a-([0-9]+).html$ article_info.php [NC,L,QSA]

# Information pages

RewriteRule ^([a-z0-9/-]+)-i-([0-9]+).html$ information.php [NC,L,QSA]

# Links contribution

RewriteRule ^([a-z0-9/-]+)-links-([0-9_]+).html$ links.php [NC,L,QSA]

# Newsdesk contribution

RewriteRule ^([a-z0-9/-]+)-n-([0-9]+).html$ newsdesk_info.php [NC,L,QSA]

RewriteRule ^([a-z0-9/-]+)-nc-([0-9]+).html$ newsdesk_index.php [NC,L,QSA]

RewriteRule ^([a-z0-9/-]+)-nri-([0-9]+).html$ newsdesk_reviews_info.php [NC,L,QSA]

RewriteRule ^([a-z0-9/-]+)-nra-([0-9]+).html$ newsdesk_reviews_article.php [NC,L,QSA]

</IfModule>

RewriteBase /catalog/

RewriteCond %{QUERY_STRING} cPath=[0-9_]+&products_id=([0-9_]+) [NC,OR]

RewriteCond %{QUERY_STRING} manufacturers_id=[0-9_]+&products_id=([0-9_]+) [NC]

RewriteRule (.*) product_info.php?products_id=%1 [R=301,L]

 

Any advice would be deeply appreciated

Share this post


Link to post
Share on other sites

I fixed it. Somehow (it could have been me, but I had my htaccess for path_rewite, so I am not so sure, especially since it work before...anyway) SEO URLs 5 was set to standard. I set it to path_rewrite and all is good in the world. I hope I haven't spoken to soon.

Share this post


Link to post
Share on other sites

Hello,

 

I am trying to add a "keyword filter" to sub-categories BUT the ULTIMATE Seo Urls 5 is removing the "space" between keywords. It doesn't do it for advanced_search_results.php so must be something specific to index.php. Perhaps I could ask the Seo Urls module to ignore certain GET variables e.g. filter_keywords? Any ideas most welcome.

 

Regards,

Simon

Share this post


Link to post
Share on other sites

https in category links

 

I've got this installed an appears to work well, however, one thing I noticed is that all category links normally begin with http as they should, but once you enter a secured (https) area, the category links then remain secured (https) until you visit a nonsecured area that then flips them back. Why? And how can this be eliminated? I've examined the tep_href_link function, but haven't found what's causing it in the category links because the same function used for other links does not result in the same result (those work okay).

 

Thanks!

Share this post


Link to post
Share on other sites

Does anybody has a solution for this problem?

 

After the installation of this contribution somehow current language icon disappears from Languages box. See the attachment.

Can it be restored, and how?

 

Andrej

Share this post


Link to post
Share on other sites

Hi

 

I have installed this contribution and it is the best!

 

I was wondering if it is possible to make a slight change, when i click on a sub-category the url shows something like: mysite.com/category-subcategory

I wanted to change it to make it like this

 

mysite.com/category/subcategory

 

Anyone know if that's possible and how to do it?

Share this post


Link to post
Share on other sites

 

 

 

mysite.com/category/subcategory

 

Anyone know if that's possible and how to do it?

 

Have you tried the path based URIs in admin? path based uses forward slash as a separator.

Share this post


Link to post
Share on other sites

Does anybody has a solution for this problem?

 

There is a dedicated file replacement for the languages in the additional uploads directory of the download.

Share this post


Link to post
Share on other sites

I use both english and spanish:

 

the defualt is spanish, so when pages loads its in spanish - when i change languages from the drop down to say english, i get index.php?language=en

 

now whilst thats in the browser url i clcik special, and see. specials.php/en

resulting in "No input file specified."....

 

for everything else its fine. Whats going on here, tralled trought about 150 pages... you guys are the pros whats the score?????

Share this post


Link to post
Share on other sites

Hello,

 

i upgraded the sqlite cache system to sqlite3. From my tests it works also on php 5.4.

 

Here the changes:

 

On ultimate_seo_urls/cache_system/sqlite.php

 

find:

 


protected static function createDatabase() {
  if ( !is_readable( self::$sqlite_db_file ) ) {
	self::$db = new SQLiteDatabase( self::$sqlite_db_file, 0666, $error )
	or trigger_error( 'Failed: ' . $error, E_USER_WARNING );
	self::createTables();
  } else {
	self::$db = new SQLiteDatabase( self::$sqlite_db_file, 0666, $error )
	or trigger_error( 'Failed: ' . $error, E_USER_WARNING );
  }
}

 

change to:

 

protected static function createDatabase() {
  if ( !is_readable( self::$sqlite_db_file ) ) {
	self::$db = new SQLite3( self::$sqlite_db_file, 0666, $error )
	or trigger_error( 'Failed: ' . $error, E_USER_WARNING );
	self::createTables();
  } else {
	self::$db = new SQLite3( self::$sqlite_db_file, 0666, $error )
	or trigger_error( 'Failed: ' . $error, E_USER_WARNING );
  }
}

 

and around line 128 find:

 


$replacements = array( sqlite_escape_string( self::$cache_name ), sqlite_escape_string( $rawdata ), date( "Y-m-d H:i:s" ) );
	  $query = str_replace( $targets, $replacements, $this->insert_query );
	  self::$db->query( $query );
	}

 

change to:

 

$replacements = array( self::$db->escapeString( self::$cache_name ), self::$db->escapeString( $rawdata ), date( "Y-m-d H:i:s" ) );
	  $query = str_replace( $targets, $replacements, $this->insert_query );
	  self::$db->exec( $query );
	}

 

around line 168 find:

 

self::$db->query( 'DELETE FROM usu_cache' );
self::$db->query( 'VACUUM usu_cache' );

 

change to:

 

self::$db->exec( 'DELETE FROM usu_cache' );
	self::$db->exec( 'VACUUM usu_cache' );

 

at the end find:

 

self::$db->query( $create_query );
}
 } // end class

 

change to:

 


self::$db->exec( $create_query );
   }
 } // end class

 

 

and on ultimate_seo_urls/main/usu5.php

 

find on line 308:

 

$row = $result->fetch();

 

Change to:

 

$row = $result->fetchArray();

 

Hope it can help

Edited by acidvertigo
burt likes this

Share this post


Link to post
Share on other sites

I use both english and spanish:

 

the defualt is spanish, so when pages loads its in spanish - when i change languages from the drop down to say english, i get index.php?language=en

 

now whilst thats in the browser url i clcik special, and see. specials.php/en

resulting in "No input file specified."....

 

for everything else its fine. Whats going on here, tralled trought about 150 pages... you guys are the pros whats the score?????

 

You seem to be using the standard language box code which results in requests containing ( index.php?language=en ).

 

The download has new language box code which can be found in the additional_uploads directory. there are two versions .. one for 2.2 and one for 2.3.

 

Hope that helps.

Share this post


Link to post
Share on other sites

Hello,

 

i upgraded the sqlite cache system to sqlite3. From my tests it works also on php 5.4.

 

 

Hope it can help

 

Thanks for sharing.

Share this post


Link to post
Share on other sites

Have you tried the path based URIs in admin? path based uses forward slash as a separator.

 

Thanks for the tip, it works.

Also I noticed that the two other uri formats (rewrite and

path_rewrite) don't work for me. When using them pages load as 404 not found. Any ideas?

Share this post


Link to post
Share on other sites

Thanks for the tip, it works.

Also I noticed that the two other uri formats (rewrite and

path_rewrite) don't work for me. When using them pages load as 404 not found. Any ideas?

 

I think you may need to read the instructions again .. documentation/operation.htm

 

If the rewrite options are not working then it's the server settings ( e.g. no mod_rewrite ) or .htaccess does not have the required code ( I am assuming a *nix server ).

Edited by FWR Media

Share this post


Link to post
Share on other sites

Ultimate Seo Urls 5 PRO for osc 2.3.1

 

When I have "Enable multi language support" set to true, I get the wrong url when I press the button English it looks like this, see below (I have Swedish as default and I write MY with big letters so that it becomes easier to see the difference)

 

 

http://MYwebshopadress.eu/webshopadress.eu//index.php/en

 

Not Found

The Requested URL /webshopadress.eu/index.php/en was not found on this server.

 

it looks like it takes the URL twice, but the middle one is shorter,

assumes that it should be as follows but I dont know, http://MYwebshopadress.eu/index.php/language/en !?!?

 

 

 

I have the following settings in configure.php

 

 

define('HTTP_SERVER', 'http://mywebshopadress.eu');

define('HTTPS_SERVER', 'http://mywebshopadress.eu');

define('ENABLE_SSL', false);

define('HTTP_COOKIE_DOMAIN', '');

define('HTTPS_COOKIE_DOMAIN', '');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/');

define('DIR_WS_HTTP_CATALOG', '/');

define('DIR_WS_HTTPS_CATALOG', '/');

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

 

 

 

 

and if I change the configure.php with www (see below) now it works with Enable multi-language support, but now customers can not log on if they are using internet explorer but it works with firefox and google chrome.

 

 

define('HTTP_SERVER', 'http://www.mywebshopadress.eu');

define('HTTPS_SERVER', 'http://www.mywebshopadress.eu');

define('ENABLE_SSL', false);

define('HTTP_COOKIE_DOMAIN', '');

define('HTTPS_COOKIE_DOMAIN', '');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/');

define('DIR_WS_HTTP_CATALOG', '/');

define('DIR_WS_HTTPS_CATALOG', '/');

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

 

 

Now, the address looks like the following when I click on change language after the change in configure.php

Swedish: http://www.mywebshopadress.eu/index.php

English: http://www.secuimport.eu/index.php/en

 

 

 

 

htaccess is as follows

# If you are getting errors you may need to comment this out like ..

# Options +FollowSymLinks

Options +SymLinksIfOwnerMatch

<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 ^([a-z0-9/-]+)-p-([0-9]+).html$ product_info.php [NC,L,QSA]

RewriteRule ^([a-z0-9/-]+)-c-([0-9_]+).html$ index.php [NC,L,QSA]

RewriteRule ^([a-z0-9/-]+)-m-([0-9]+).html$ index.php [NC,L,QSA]

RewriteRule ^([a-z0-9/-]+)-pi-([0-9]+).html$ popup_image.php [NC,L,QSA]

RewriteRule ^([a-z0-9/-]+)-pr-([0-9]+).html$ product_reviews.php [NC,L,QSA]

RewriteRule ^([a-z0-9/-]+)-pri-([0-9]+).html$ product_reviews_info.php [NC,L,QSA]

# Articles contribution

RewriteRule ^([a-z0-9/-]+)-t-([0-9_]+).html$ articles.php [NC,L,QSA]

RewriteRule ^([a-z0-9/-]+)-au-([0-9]+).html$ articles.php [NC,L,QSA]

RewriteRule ^([a-z0-9/-]+)-a-([0-9]+).html$ article_info.php [NC,L,QSA]

# Information pages

RewriteRule ^([a-z0-9/-]+)-i-([0-9]+).html$ information.php [NC,L,QSA]

# Links contribution

RewriteRule ^([a-z0-9/-]+)-links-([0-9_]+).html$ links.php [NC,L,QSA]

# Newsdesk contribution

RewriteRule ^([a-z0-9/-]+)-n-([0-9]+).html$ newsdesk_info.php [NC,L,QSA]

RewriteRule ^([a-z0-9/-]+)-nc-([0-9]+).html$ newsdesk_index.php [NC,L,QSA]

RewriteRule ^([a-z0-9/-]+)-nri-([0-9]+).html$ newsdesk_reviews_info.php [NC,L,QSA]

RewriteRule ^([a-z0-9/-]+)-nra-([0-9]+).html$ newsdesk_reviews_article.php [NC,L,QSA]

</IfModule>

 

 

Hope any one can help me as soon as possible!

Share this post


Link to post
Share on other sites

I've been using the USU contrib for awhile now. I think I may have discovered a glitch in the multi-language contribution - rather an exception that is not caught that can cause serious effects.

When the second language has a blank products_name (say a mistake was made on entering the product in admin), the category will not load, and the product info page also spits out a non-valid url. Unless there is a workaround im unaware of, i think the best way would be perhaps to check in page_modules/product_info.php if the products_name doesnt exisit - do a second query with the default language. I havent got this working yet though - my sql programming skills are still improving =) I did get something simular working in /catalog/product_info.php to display the default language to the user, when their language doesnt exist.

 

I could, of course, just check every item in my database - but that would take quite awhile. Also, it wouldnt stop further bad entries made in admin, unless i change admin/categories.php to force it to populate the second language in the sql.

 

Thanks again for the contrib!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now