Elxis CMS Forum
Support => Installation => Topic started by: ipghmagnet on January 04, 2017, 17:05:04
-
Hello Heroes,
Pls help.
I upload 4.5 zip file to virtual host.. http://vh148345132800.vct19.84g.com/
to test my new website.
The host is windows system, not linux..
unzip it then.
And i finish 5 step for installation. it seems very sucessful.
But at the final step, "click to open your webiste"
i got blank..
i tried with wordpress 3.5. it works.
But why elxis is not ok?
Can you help to solve?
ELXIS is not working with windows?
Thanks.
ip gh magnet
-
White page means PHP fatal error. Check Elxis error log (if installed correctly under repository/logs/error.log), or your server error log to find out what causes the problem. Copy-paste here that message.
-
Hello Datahell,
Thanks for your notice..
Here is message:
[2017-01-04 14:28:56] ERROR in file E:\vhost\wwwroot\vh148345132800\www\includes\libraries\utf8\utf8.class.php line 29
String functions are overloaded by mbstring
[2017-01-04 14:28:57] ERROR in file E:\vhost\wwwroot\vh148345132800\www\includes\libraries\utf8\utf8.class.php line 29
String functions are overloaded by mbstring
Btw, i am going to build a chinese language website..
Best regards.
IP GH MAGNET
-
Please open your php.ini file and disable multi-byte overloading of string functions.
mbstring.func_overload = 0
Tell me if it is OK now, or if it generates an other error.
Note: For full unicode support Elxis uses special string functions which are not available in other systems like wordpress. This is why you dont see that error in wordpress.
-
Dear Datehell,
I contacted my provider of hostiing. But they said they cannot change for me only because it is virtual hosting.. There are many websites there..
Do you have other solution?
Or 4.4 has this problem? i can install 4.4 then if no problem..
Best regards.
IP GH MAGNET
-
Try this, I don't know if it works for you. For me it generates an other problem with the session but it might be due to my local/windows installation or it might be cause of the session encryption because mbstring.func_overload generates problems to php when you want to manipulate binary data. So if you have the same problem as me try to disable session encryption in Elxis. I need more time to test it thoroughly.
Open file includes/libraries/utf8/utf8.class.php
And at the top change this:
if (extension_loaded('mbstring')) {
if (ini_get('mbstring.func_overload') & MB_OVERLOAD_STRING) {
trigger_error('String functions are overloaded by mbstring',E_USER_ERROR);
}
mb_internal_encoding('UTF-8');
self::$method = 'mbstring';
} else {
self::$method = 'native';
}
To this:
if (extension_loaded('mbstring')) {
if (ini_get('mbstring.func_overload') & MB_OVERLOAD_STRING) {
self::$method = 'php6';
} else {
mb_internal_encoding('UTF-8');
self::$method = 'mbstring';
}
} else {
self::$method = 'native';
}
-
Confirmed! The session problem is fixed if you disable session encryption in Elxis ( $SESSION_ENCRYPT = 0; ) . But this means that cryptographic features will not work and in general binary manipulation in php will also not work or will be problematic.
-
DEAR DATAHELL,
I CHANGED includes/libraries/utf8/utf8.class.php AS PER YOUR ADVICE.
Then i can open the webiste now.
I don't know how to disable the session .
I delete : private $SESSION_ENCRYPT = 0;in configuration.php . Nothing happen.
But change utf8.class.php. website open .
I hope there will no more problems in future..
Thanks..
IP GH MAGNET
-
i got another problem.
http://.../famous-places/
http://.../estia/emenu/
all these pages cannot be found..
-
Check SEF URLs and htaccess. If htaccess does not work for you disable SEF URLs or contact your hosting provider.
-
Dear Datahell,
I changed to below:
private $SEF = 0;
private $SEO_MATCH = 'normal';
//private $SESSION_ENCRYPT = 0;
Now it seems everything is fine ..
But there is new problem:
http://.com/famous-places/
now become:
http://.com/index.php/famous-places/
http://.com/estia/index.php/config.html
.....
Dear Datahell, if i change to lunix , could it happen?
If with lunix, no problem,then i will prefer to change Virtual hosting..