[Plugin: rootsPersona] Warnings/ Fatal Error
-
I installed rootspersona plugin on WordPress 3.31 today. I verified that the database contained 40 tables and decided to upload a Gedcom file. Before uploading it, I also edited the php.ini file as follows:
php_value upload_max_filesize 10M
php_value post_max_size 10M
php_value max_input_time 300
php_value max_execution_time 300However, I received the following warnings and errors after uploading the Gedcom file:
Warning: mysql_connect() [function.mysql-connect]: [2002] Only one usage of each socket address (protocol/network address/ (trying to connect via tcp://localhost:3306) in C:\xampp\htdocs\wordpress\wp-content\plugins\rootspersona\php\dao\sql\class-RP-Connection-Factory.php on line 30
Warning: mysql_connect() [function.mysql-connect]: Only one usage of each socket address (protocol/network address/port) is normally permitted. in C:\xampp\htdocs\wordpress\wp-content\plugins\rootspersona\php\dao\sql\class-RP-Connection-Factory.php on line 30
Warning: mysql_set_charset() expects parameter 2 to be resource, boolean given in C:\xampp\htdocs\wordpress\wp-content\plugins\rootspersona\php\dao\sql\class-RP-Connection-Factory.php on line 32
Warning: mysql_connect() [function.mysql-connect]: [2002] Only one usage of each socket address (protocol/network address/ (trying to connect via tcp://localhost:3306) in C:\xampp\htdocs\wordpress\wp-content\plugins\rootspersona\php\dao\sql\class-RP-Connection-Factory.php on line 30
Warning: mysql_connect() [function.mysql-connect]: Only one usage of each socket address (protocol/network address/port) is normally permitted. in C:\xampp\htdocs\wordpress\wp-content\plugins\rootspersona\php\dao\sql\class-RP-Connection-Factory.php on line 30
Warning: mysql_set_charset() expects parameter 2 to be resource, boolean given in C:\xampp\htdocs\wordpress\wp-content\plugins\rootspersona\php\dao\sql\class-RP-Connection-Factory.php on line 32
could not connect to database
Fatal error: Uncaught exception ‘Exception’ with message ‘could not connect to database’ in C:\xampp\htdocs\wordpress\wp-content\plugins\rootspersona\php\dao\sql\class-RP-Connection-Factory.php:34 Stack trace: #0 C:\xampp\htdocs\wordpress\wp-content\plugins\rootspersona\php\dao\sql\class-RP-Connection.php(22): RP_Connection_Factory::get_connection(NULL) #1 C:\xampp\htdocs\wordpress\wp-content\plugins\rootspersona\php\dao\sql\class-RP-Query-Executor.php(49): RP_Connection->__construct(NULL) #2 C:\xampp\htdocs\wordpress\wp-content\plugins\rootspersona\php\dao\mysql\class-RP-Mysql-DAO.php(75): RP_Query_Executor::execute_update(Object(RP_Sql_Query)) #3 C:\xampp\htdocs\wordpress\wp-content\plugins\rootspersona\php\dao\mysql\class-RP-Indi-Mysql-DAO.php(114): RP_Mysql_DAO->execute_update(Object(RP_Sql_Query)) #4 C:\xampp\htdocs\wordpress\wp-content\plugins\rootspersona\php\class-RP-Gedcom-Loader.php(157): RP_Indi_Mysql_Dao->update(Object(RP_Indi)) #5 C:\xampp\htdocs\wordpress\wp-content\plugins\rootspersona\php\class-RP-Gedcom-L in C:\xampp\htdocs\wordpress\wp-content\plugins\rootspersona\php\dao\sql\class-RP-Connection-Factory.php on line 34Apparently, the database connection was terminated at some stage as the database tables seem to be partially populated(fewer names than expected). Request you to suggest some possible corrective actions ASAP.
Thanks.
Imran Husain
- The topic ‘[Plugin: rootsPersona] Warnings/ Fatal Error’ is closed to new replies.