MRatWork Forum by Mustafa Ramadhan
Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: Actual on 2014-04-13, 00:24:44
-
I get Fatal error: Class 'mysqli' not found in /usr/local/lxlabs/kloxo/httpdocs/lib/php/sqlitelib.php on line 59
when I try to load http://mydomain.net:7778 or https://www.mydomain.net:7777/
have tried various yum cleanup, yum upgrade, yum update, upcp, etc. to no avail
help!
-
If using 6.5.0.f, run 'yum replace mysql --replace-with=mysql55' (for Centos 6) and then run 'sh /script/cleanup'.
Better read http://forum.mratwork.com/kloxo-mr-releases-and-announcements/(update)-php-issues/
-
I'm already on 6.5.1 and that command gives
"Error: Package 'mysql' is not installed."
-
Try 'yum clean all; yum update; sh /script/php53s-installer; sh /script/fixlxphpexe php53s; sh /script/cleanup'.
-
No joy. Still same error message after running that which is
'Fatal error: Class 'mysqli' not found in /usr/local/lxlabs/kloxo/httpdocs/lib/php/sqlitelib.php on line 59'
-
Also, restart-all now gives:
Starting Djbdns for:
- axfrdns [FAILED]
- tinydns [FAILED]
maybe why? this worked before upgrade
-
The problem is Kloxo-MR using mysql 5.5 from CentAlt but at their latest upload their mysql already removed. The impact to php52s where still need mysql 5.5. After php52s make change needed to mysql55 (from IUS) instead mysql 5.5 (from Centalt).
To fix this issue:
yum replace mysql --replace-with=mysql55
yum update php52s
-
command: yum replace mysql --replace-with=mysql55
gives error message:
Error: Package 'mysql' is not installed.
command: yum update php52s
gives error message:
No package php52s available.
-
Run:
/script/php52s-installer
-
Update 6.5.1.b to latest version (2014041602) and then run 'sh /script/upcp' (need running upcp if update from 6.5.0).
-
All above suggestions did not work. Only solution was to wipe Kloxo-MR and re-install from scratch and then restore backup. This is not an ideal upgrade solution. A bug-free upgrade path would be great and limit downtime.
-
If using latest version (6.5.0 or 6.5.1), most problem already fixed.
Doesn't need fresh install if we have a problem. Enough running 'sh /script/upcp -y' (like fresh install but with '-y'). With '-y', Kloxo-MR will be reinstall without worry data will be destroy/deleted.
Reinstall (via 'sh /script/upcp -y'), Kloxo-MR will be remove all components (like php/httpd/qmail/mysql) and then install again. Reinstall as the same as fresh install but without touch kloxo database (that mean all setting still no changed).
But, for reinstall, we need re-configure setting like select web/dns/spam server also php-branch and php-type.
-
Sounds great. If that would've worked for me, I would have been very happy. I tried all that but no good. Re-install from scratch was the only solution that worked. Thanks anyway, still a good panel even with it's current problems.