Owncloud 8, alread jumped the gun.

  • I should have read this first (relating to other post about owncloud 8),
    I updated a few days ago. i don't log in to omv but a few times a month. i saw the update to owncloud 8 and updated, all is well so far but i do have two concerns.
    one is a mention about using SQLite lite here's the message


    SQLite is used as database. For larger installations we recommend to switch to a different database backend.Especially when using the desktop client for file syncing the use of SQLite is discouraged.
    To migrate to another database use the command line tool: 'occ db:convert-type'The


    Other message is


    PHP charset is not set to UTF-8. This can cause major issues with non-ASCII characters in file names. We highly recommend to change the value of 'default_charset' php.ini to 'UTF-8'.


    Should i worry? Does anyone know what i could do to fix both issue's?
    I'm not the best so i would need the full commands to fix if that is needed.
    Thanks
    ev

  • Hi HackitZ,


    I did change following to achieve that (disapearing of notification [PHP charset is not set to UTF-8.]:


    In file ./lib/private/util.php


    I did change the original line marked with [===>>>>>>>]


    1405 public static function isPhpCharSetUtf8() {
    1406
    1407 ===>>>>>>> return ini_get('default_charset') === 'UTF-8';


    to lines noted in 1407 and 1408


    1405 public static function isPhpCharSetUtf8() {
    1406
    1407 $str_ini_utf8 = ini_get('default_charset');
    1408 if ( strtolower($str_ini_utf8) === "utf-8" ) {
    1409 return (true);
    1410 } else {
    1411 return (false);
    1412 }
    1413
    1414 } //end function




    which returns the value from php.ini for 'default_charset';


    You may want to search your active php.ini with


    php -i | grep php.ini


    which will pop up the wanted location with


    :~ 502 2 # php -i|grep php.ini
    Configuration File (php.ini) Path => /usr/local/lib
    Loaded Configuration File => /usr/local/lib/php.ini


    Regards,


    Mick

  • thanks guy's for the reply's.
    at this point i have only changed my php.ini too;


    ; PHP's default character set is set to empty.
    ; php.net/default-charset
    default_charset = "UTF-8"


    I'll report back if i have an issue.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!