Post by topy » Thu Feb 02, 2017 5:09 pm

Salut,

Am o problema grava cu fisierul utf8.php, si mai exact aceasta eroare:

2017-01-30 2:48:42 - PHP Notice: A non well formed numeric value encountered in /public_html/system/helper/utf8.php on line 21
2017-01-30 2:48:42 - PHP Notice: A non well formed numeric value encountered in /public_html/system/helper/utf8.php on line 21

Din cate cred este din cauza temei, nu ? A mai intalnit aceasta problema ? Tema folosita este Journal2 cu Opencart 1.5.6.4 upgradat de curand de la 1.5.5.1 !

Am mai gasit si astfel de erori dar nu sunt asa multe si dese:

2017-01-30 10:14:24 - PHP Warning: array_merge() [<a href='function.array-merge'>function.array-merge</a>]: Argument #2 is not an array in /public_html/system/journal2/classes/journal2_settings.php on line 50
2017-01-30 10:14:24 - PHP Warning: array_merge() [<a href='function.array-merge'>function.array-merge</a>]: Argument #2 is not an array in /public_html/system/journal2/classes/journal2_google_fonts.php on line 51


Posts

Joined
Mon Jun 20, 2011 2:52 pm

Post by opencartromania » Thu Feb 02, 2017 7:27 pm

Salutare!

Se pare ca ai o problema cu libraria mbsting sau charset-ul in db nu este corect setat, in urma upgrade-ului.

Ptr. a verifica libraria mbstring o simpla solutie:

<?php
if( !function_exists( 'mb_substr' ) ) {
echo 'NU';
}else{
echo 'DA';
}?>

Insa cu siguranta problema e de la tip-ul de charset folosit pe db.

Success!

User avatar

Posts

Joined
Wed Sep 25, 2013 9:26 pm


Post by topy » Thu Feb 02, 2017 7:30 pm

Salut.

Am primit raspunsul DA !


Posts

Joined
Mon Jun 20, 2011 2:52 pm

Post by topy » Thu Feb 02, 2017 7:32 pm

Am gasit buba... la Journal2 cand schimb pagina prin sistemul lor imi apare aceasta eroare. Dar nu stiu cand este valabila... cand am diacritice in pagina sau in titlul din meniu ... ! Inca fac teste...


Posts

Joined
Mon Jun 20, 2011 2:52 pm

Post by topy » Thu Feb 02, 2017 9:19 pm

opencartromania wrote:Salutare!

Se pare ca ai o problema cu libraria mbsting sau charset-ul in db nu este corect setat, in urma upgrade-ului.

Ptr. a verifica libraria mbstring o simpla solutie:

<?php
if( !function_exists( 'mb_substr' ) ) {
echo 'NU';
}else{
echo 'DA';
}?>

Insa cu siguranta problema e de la tip-ul de charset folosit pe db.

Success!
Salut Bogdan,

Sa fie de aici problema ? : http://prntscr.com/e3k27l

Spune-mi ce ar trebui sa contina ?


Posts

Joined
Mon Jun 20, 2011 2:52 pm

Post by opencartromania » Thu Feb 02, 2017 11:30 pm

Salutare!
Captura nu face referinta la nici o tabela folosita de journal.

Charset-ul setat este corect:

utf8_general_ci

Spor!

User avatar

Posts

Joined
Wed Sep 25, 2013 9:26 pm


Post by topy » Fri Feb 03, 2017 2:47 pm

opencartromania wrote:Salutare!
Captura nu face referinta la nici o tabela folosita de journal.

Charset-ul setat este corect:

utf8_general_ci

Spor!
1. 2017-01-30 2:48:42 - PHP Notice: A non well formed numeric value encountered in /public_html/system/helper/utf8.php on line 21 is not something theme related. It seems this is an Opencart bug most likely generated because you don't have mbstring or iconv php extensions installed. We suggest you ask for more information about this on Opencart forums at http://forum.opencart.com

Acesta a fost raspunsul lor.


Problema asta nu am avuto pana acum ...Nu stiu ce naiba sa mai fac ca primesc incontinu erori de genul si imi ingreuneaza serverul.


Posts

Joined
Mon Jun 20, 2011 2:52 pm

Post by topy » Tue Feb 14, 2017 7:39 pm

Problema rezolvata. Le-am aratat ca era de la tema :) !


Posts

Joined
Mon Jun 20, 2011 2:52 pm
Who is online

Users browsing this forum: No registered users and 5 guests