I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me
Gives me the following error :
Warning: array_key_exists() [function.array-key-exists]: The first argument should be either a string or an integer in /var/www/mainada.es/datos/web/demo_bebe/includes/classes/ssu/cores/link.php on line 34
Warning: Cannot modify header information - headers already sent by (output started at /var/www/mainada.es/datos/web/demo_bebe/includes/classes/ssu/cores/link.php:34) in /var/www/mainada.es/datos/web/demo_bebe/includes/classes/ssu/cores/link.php on line 175
Warning: Cannot modify header information - headers already sent by (output started at /var/www/mainada.es/datos/web/demo_bebe/includes/classes/ssu/cores/link.php:34) in /var/www/mainada.es/datos/web/demo_bebe/includes/classes/ssu/cores/link.php on line 176
version: 3.5.5
Set SSU Multi Language Status=true
/includes/classes/ssu/plugins/languages/es.php
includes/classes/ssu/local.config.phpPHP Code:<?php
// note: we can later move part of this function into sub-functions, which we can store in the base class.
class SSULanguageRu extends SSULanguage{
static $registry;
static function parseName($name){
$cyrillic = array("ñ", "á", "é", "í", "ó", "ú");
$translit = array("n", "a", "e", "i", "o", "u");
$name = str_replace($cyrillic, $translit, $name);
$name = strtolower($name);
// we replace any non alpha numeric characters by the name delimiter
$name = self::removeNonAlphaNumeric($name, SSUConfig::registry('delimiters', 'name'));
// Remove short words first
$name = self::removeShortWords($name, SSUConfig::registry('configs', 'minimum_word_length'), SSUConfig::registry('delimiters', 'name'));
// trim the sentence
$name = self::trimLongName($name);
// remove excess SSUConfig::registry('delimiters', 'name')
$name = self::removeDelimiter($name);
// remove identifiers
$name = self::removeIdentifiers($name);
// remove trailing _
$name = trim($name, SSUConfig::registry('delimiters', 'name'));
}
}
PHP Code:<?php $ssuLocalConfig = array(
'plugins' => array('parsers' => array('manufacturers')),
'identifiers' => array('mf' => 'manufacturers'),
'languages' => array( 'es' => 'default'));
?>
Thanks
I'm having a strange error when using Safari on PC.
When I visit the site all links are suffixed by [FONT=Lucida Grande]"[/FONT][FONT=Lucida Grande]?zenid=a3bd5323lvn2i7qgvqfs964to2[/FONT]"
So the link to contact will be
[FONT=Lucida Grande]
website.com/contact?zenid=a3bd5323lvn2i7qgvqfs964to2[/FONT]
instead of
[FONT=Lucida Grande]
website.com/contact[/FONT]
If I click on one item, eg contact, then click on other items then [FONT=Lucida Grande]?zenid=a3bd5323lvn2i7qgvqfs964to2 dissappears.[/FONT]
The problem this is causing is when users logged into their account. If the [FONT=Lucida Grande]?zenid=a3bd5323lvn2i7qgvqfs964to2 is at the end of the url safari [/FONT]say it can't open the page as there are too many redirects.
Any ideas?
[FONT=Lucida Grande]
[/FONT]
zenid is attached to the url at the beginning is how it should be.
Can you explain the login error step by step? (how to duplicate it)
Regards
I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me
@danilovig
On link.php line 34 you can try this:
if(empty($languages_code) || !array_key_exists($languages_code, SSUConfig::registry('languages')))
I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me
now not error, but I do not translate the characters
http://www.mainada.es/demo_bebe/es/el-ba-o-c-9
Thanks
Some ftp clients have problem with uploading utf8 content if the settings are not set correctly. Make sure your parse file is uploaded correctly
And also, your class name should be SSULanguageEs
I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me
Is there a way that does not leave "/es" is because I use a single language, and to translate these characters
http://www.mainada.es/demo_bebe/es/el-ba-o-c-9
Then you dont have to set multiple languages = on
I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me