Pages: 1
Hello/Hi/Greetings,
My problem is:
Fatal error: Cannot redeclare transliterate() in /wce/include/functions.inc.php on line 340
I made simple change in file. I Removed section
if (function_exists('mb_strtolower') && defined('PWG_CHARSET'))
{
/**
* removes accents from a string and converts it to lower case
*
* @param string $term
* @return string
*/
function transliterate($term)
{
return remove_accents( mb_strtolower($term, PWG_CHARSET) );
}
}
else
{
/**
* @ignore
*/
function transliterate($term)
{
return remove_accents( strtolower($term) );
}
}
Unfortuantely thas change losing my tags...... (cannot search or cannot add new one)
May I Ask for Your help?
Piwigo version: 2.9.1
PHP version: 52
MySQL version: 5.5.54
Piwigo URL: http://wycieczkowce.com.pl
Offline
Hello
how did that happen? update, new plugin,new install?
Offline
It happen after update to 2.9.1
Last edited by kompasdata (2017-07-11 08:03:14)
Offline
[Forum, topic 27606] PHP versions to use with pwigio and Bootstrap theme???
which hosting company and server plan?
Offline
home.pl
Business cloud server.
Offline
answer from home.pl:
"Within the servers at home.pl is implemented a library called translit (http://php.net/manual/en/transliterator … terate.php). However, it is not possible to declare whether overloading the function already declared, which is the case in this situation. Therefore, you need to modify the application scripts in such a way that they do not reappear.
Unfortunately another solution we can not offer."
May I ask You for right file?
Thanks in advance.
Offline
See what will be in Piwigo 2.9.2 : [Github] Piwigo commit a3cf80c7
Offline
Great! when 2.9.2 will be available?
I made those changes on my piwigo 2.9.1 and it helped!
Thank You
Offline
kompasdata wrote:
Great! when 2.9.2 will be available?
Too soon to say :-) Maybe before the end of July.
kompasdata wrote:
I made those changes on my piwigo 2.9.1 and it helped!
Perfect :-) You won't have to apply the same change once you update to 2.9.2
Offline
plg wrote:
Too soon to say :-) Maybe before the end of July.
And?
Offline
Hello
Plg is currently improving piwigo dot com . Then [Github] Piwigo issue #697 might be merged in 2.9.2 and maybe we should be good ^^
Offline
Next week should be a good time. An intern is joining Piwigo (I will write about it later) for a few months and seeing the release procedure will be interesting for him :-)
Offline
so we will be able to say "it's the intern fault" ;)
Offline
Thanks for Yours answer.
You should have to know that i'm waiting for .2 with a new project...
Offline
Pages: 1