Page 1 of 2 | 1 | 2 | > | >> | All |
Posted By: freddy on September 2, 2014, 12:18 pm |
good morning to all I have a problem with SOFTA I installed everything as a guide for ispconfig3 3.0.5.4p3 log on
/var/softaculous/error.log gives me this error: [01-Sep-2014 14:07:45] PHP Fatal error: Class 'mysqli' not found in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php on line 31 I tried to check the directory is not configured here it is: db class extends mysqli { private $ dbhost = ''; // Hostname of the MySQL server private $ dbName = ''; That // logical database name on server private $ dbUser = ''; // Database for authorized user private $ dbpass = ''; // User's password private $ dbCharset = 'utf8'; // Database charset private $ dbNewLink = false; Return to // new linkID When connect is called again private $ dbClientFlags = 0; // MySQL Client falgs private $ linkID = 0; // Last result of mysqli_connect () private $ QueryId = 0; // Last result of mysqli_query () private $ record = array (); // Last record fetched private $ autoCommit = 1; // Autocommit Transactions private $ currentRow; // Current row number private $ ErrorNumber = 0; // Last error number public $ errorMessage = ''; // Last error message private $ errorLocation = ''; // last error location public $ show_error_messages = false; // False in the server, in true interface private $ isConnected = false; // Needed to know if we have a valid mysqli object from the constructor I tried to put php.ini config softacoluos of these strings but nothing ... extension = mysql.so extension = mysqli.so extension = curl.so blank page test url: https://188.165.85.25:8080/softaculous/ |
Posted By: jigar on September 2, 2014, 12:28 pm | Post: 1 |
Hi,
Did you restart the Web Server then ? |
Posted By: montanaweb on September 14, 2014, 8:29 pm | Post: 2 |
I am getting this same error.
Should i be putting the user information in my db_mysql.inc.php ? |
Posted By: tidus on September 15, 2014, 7:30 am | Post: 3 |
Hi,
in console, what is the output of : Code php -c /usr/local/softaculous/php.ini -m ----------------------- Follow AMPPS on, Twitter : https://twitter.com/AMPPS_Stack Facebook : http://www.facebook.com/softaculousampps Google+ : https://plus.google.com/+AmppsStack |
Posted By: tidus on September 16, 2014, 7:35 am | Post: 5 |
Hi,
Quote Should i be putting the user information in my db_mysql.inc.php ? No. Basically, PHP for some reason is not able to load mysqli extension so the error. While the command line output shows that the mysqli extension is loaded. Can you open a ticket. We will look into this issue. ----------------------- Follow AMPPS on, Twitter : https://twitter.com/AMPPS_Stack Facebook : http://www.facebook.com/softaculousampps Google+ : https://plus.google.com/+AmppsStack |
Posted By: montanaweb on September 16, 2014, 4:14 pm | Post: 6 |
no luck
<?php print_r(get_loaded_extensions()); outputs mysqli will continue to look into this. j |
Posted By: tidus on September 17, 2014, 10:06 am | Post: 11 |
Hi,
Okay. run the following command: Code Root> php /usr/local/softaculous/cli.php --repair ----------------------- Follow AMPPS on, Twitter : https://twitter.com/AMPPS_Stack Facebook : http://www.facebook.com/softaculousampps Google+ : https://plus.google.com/+AmppsStack |
Posted By: tikklik on September 17, 2014, 11:44 am | Post: 12 |
looks like i have the same problem
but [root@61 /]# php /usr/local/softaculous/cli.php --repair [root@61 /]# doesnt do anything for me |
Posted By: tidus on September 17, 2014, 6:53 pm | Post: 15 |
Hi,
Please open a ticket. We will look into this issue. ----------------------- Follow AMPPS on, Twitter : https://twitter.com/AMPPS_Stack Facebook : http://www.facebook.com/softaculousampps Google+ : https://plus.google.com/+AmppsStack |
Posted By: montanaweb on September 17, 2014, 10:12 pm | Post: 16 |
i did that cli repair , but just returned a blank line after hanging for 5ms
|
Posted By: tikklik on January 26, 2015, 3:53 pm | Post: 18 |
/usr/local/softaculous/php.ini
did you have: extension=mysql.so extension=mysqli.so extension=posix.so extension=soap.so |
Posted By: asgaard on January 26, 2015, 4:01 pm | Post: 19 |
yes have them
Code PHP] error_reporting = E_PARSE log_errors = On error_log = "/var/softaculous/error_log" display_errors = Off date.timezone = "America/New_York" max_execution_time = 0 max_input_time = 0 memory_limit = 64M post_max_size = 8M magic_quotes_gpc = Off magic_quotes_runtime = Off magic_quotes_sybase = Off safe_mode = Off enable_dl = On open_basedir="/" zend_extension = "/usr/local/softaculous/ioncube.so" extension=mysql.so extension=mysqli.so extension=curl.so extension=soap.so extension=posix.so extension=curl.so extension=soap.so In the mean time i search the forum and i found thid topic http://www.softaculous.com/board/index.php?tid=6161&title=SOAP_Error:_Could_not_connect_to_host and i updated ioncube library from softaculous and now i get another error message Quote SOAP Error: Could not connect to host It seems to me like some kind of bug |
Posted By: tikklik on January 27, 2015, 7:32 am | Post: 24 |
the best thing you can do is open a ticket
so they can have a look. |
Posted By: asgaard on January 27, 2015, 9:44 am | Post: 25 |
Support Ticket Opened [#240382] |
Posted By: Brijesh on February 2, 2015, 9:50 am | Post: 26 |
Hi asgaard,
As per our discussion via support ticket it was an issue with your /etc/hosts file having an incorrect ip for your domain causing the issue. ----------------------- Webuzo - Multi User Hosting Control Panel AMPPS - Best WordPress/PHP/MySQL development tool |