I have very little knowledge of Linux and PHP but can find my way around cPanel and follow installation instructions...
I have done a fresh install of Dolphin 7.2.0 on my server to the root of 1a1b.uk.
When I try to go to either 1a1b.uk or 1a1b.uk/administration/ I get the following error:
Fatal error: Call to a member function getRow() on a non-object in /home/xxxxxx/public_html/1a1b.uk/inc/utils.inc.php on line 447
And in the error log I get this:
[05-Oct-2015 17:52:17 UTC] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/suhosin.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/suhosin.so: cannot open shared object file: No such file or directory in Unknown on line 0
[05-Oct-2015 17:52:17 UTC] PHP Warning: PHP Startup: PDO: Unable to initialize module
Module compiled with module API=20100525
PHP compiled with module API=20121212
These options need to match
in Unknown on line 0
[05-Oct-2015 17:52:17 UTC] PHP Warning: PHP Startup: pdo_sqlite: Unable to initialize module
Module compiled with module API=20100525
PHP compiled with module API=20121212
[05-Oct-2015 18:25:14 UTC] PHP Fatal error: Call to a member function getRow() on a non-object in /home/gbcom123/public_html/1a1b.uk/inc/utils.inc.php on line 447
The server has the following
Apache Version 2.4.12
PHP Version 5.5.27
MySQL Version 10.0.21
Any help would be much appreciated.
|
The error; "Call to a member function getRow() on a non-object" is a database connection error. However, it seems that php may need attention. Did you make changes to the php.ini file? Geeks, making the world a better place |
suhosin.so
Suhosin (Korean 수호신, meaning guardian-angel, pronounced 'su-ho-shin') is an open source patch for PHP and also a PHP extension. Patch and extension are two independent parts, that can be used separately or in combination. "The goal behind Suhosin is to be a safety net that protects servers from insecure PHP coding practices."[1]
Suhosin also reduces the "attackable surface" that PHP adds to a Web Server through function whitelists, resource limits, transparent session and cookie encryption, binary content filter, logging and various other protections.[2] This reduces the risk of deploying previously deemed unsafe PHP programs and protects against known and unknown attacks
pdo_sqlite:
PDO_SQLITE is a driver that implements the PHP Data Objects (PDO) interface to enable access to SQLite 3 databases.
In PHP 5.1, the SQLite extension also provides a driver for SQLite 2 databases; while it is not technically a part of the PDO_SQLITE driver, it behaves similarly, so it is documented alongside it. The SQLite 2 driver for PDO is provided primarily to make it easier to import legacy SQLite 2 database files into an application that uses the faster, more efficient SQLite 3 driver. As a result, the SQLite 2 driver is not as feature-rich as the SQLite 3 driver.
Geeks, making the world a better place |
The error; "Call to a member function getRow() on a non-object" is a database connection error. However, it seems that php may need attention. Did you make changes to the php.ini file?
I did not make any changes to the php.ini file, should I have ?
Just had a look at the following install guide and I don't see any mention of the php.ini
http://www.boonex.com/trac/dolphin/wiki/DetailedInstall
I presume that the database connection is OK because the database that was created during the install is full of tables.
|
suhosin.so
Suhosin (Korean 수호신, meaning guardian-angel, pronounced 'su-ho-shin') is an open source patch for PHP and also a PHP extension. Patch and extension are two independent parts, that can be used separately or in combination. "The goal behind Suhosin is to be a safety net that protects servers from insecure PHP coding practices."[1]
Suhosin also reduces the "attackable surface" that PHP adds to a Web Server through function whitelists, resource limits, transparent session and cookie encryption, binary content filter, logging and various other protections.[2] This reduces the risk of deploying previously deemed unsafe PHP programs and protects against known and unknown attacks
pdo_sqlite:
PDO_SQLITE is a driver that implements the PHP Data Objects (PDO) interface to enable access to SQLite 3 databases.
In PHP 5.1, the SQLite extension also provides a driver for SQLite 2 databases; while it is not technically a part of the PDO_SQLITE driver, it behaves similarly, so it is documented alongside it. The SQLite 2 driver for PDO is provided primarily to make it easier to import legacy SQLite 2 database files into an application that uses the faster, more efficient SQLite 3 driver. As a result, the SQLite 2 driver is not as feature-rich as the SQLite 3 driver.
Thank you for you response Geek Girl... I can read the words but I don't understand the sentences 
Can you dumb i down a bit for me 
|
The reason I asked about the php.ini file is that you seem to be trying to load a module that does not exist or you are trying to load it from the wrong location.
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/suhosin.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/suhosin.so: cannot open shared object file: No such file or directory in Unknown on line 0
Then there is this:
[05-Oct-2015 17:52:17 UTC] PHP Warning: PHP Startup: pdo_sqlite: Unable to initialize module
Module compiled with module API=20100525
PHP compiled with module API=20121212
Are you able to edit the php.ini file for your server?
Have you optimised the database as outlined in the Dolphin Help?
The php error warnings should not keep your site from running. A database connection issue will.
Geeks, making the world a better place |
Did you run EasyApache before this started? You sometimes need to re-save the PHP configuration under WHM => PHP Configuration Editor to have the extension paths updated. Just scroll down and click the Save button, then restart Apache in case that doesn't fully commit. BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
GeekGirl, thanks you for your response...
(I have shared hosted server with cPanel)
Are you able to edit the php.ini file for your server?
Yes I can.
Looking in the php.ini file I have found:
; Directory in which the loadable extensions (modules) reside.
extension_dir = "/usr/local/lib/php/extensions/no-debug-non-zts-20100525"
zend_extension="/usr/local/IonCube/ioncube_loader_lin_5.4.so"
extension="suhosin.so"
However looking in file manager I can not see the path "/usr/local/lib/php/extensions/"
I have done a searh too and I can not find "suhosin.so"
Have you optimised the database as outlined in the Dolphin Help?
No, I have just searched in the help / documentation part of this site for "optimise database" and I did not find anything to tell me how.
The php error warnings should not keep your site from running. A database connection issue will.
Looking in the inc/header.inc.php file the database connection ifo seems to be correct.
|
Nathan, thanks you for your response...
Did you run EasyApache before this started?
I have had a look in my cPanel and I don't seem to have EasyApache. Is this something I can install ?
|
I have had a look in my cPanel and I don't seem to have EasyApache. Is this something I can install ?
Is this shared or a VPS/dedicated server?
BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
Is this shared or a VPS/dedicated server?
Look back at her answer; she stated it is shared. She will be limited in what she can do to the server.
Geeks, making the world a better place |
Look back at her answer; she stated it is shared. She will be limited in what she can do to the server.
Ah, sorry, I must have missed that. The "my server" bit threw me off.
BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
If you like, I could take a look at this for you but I would need access to your cPanel. PM me if you are interested. Geeks, making the world a better place |
Hello 1a1b hope everything is sorted out, however if you need more help pm me your cred's and i install it for you.
"Your future is created by what you do today, not tomorrow." @ www.dexpertz.net |
Expertzkris
Hello 1a1b hope everything is sorted out, however if you need more help pm me your cred's and i install it for you.
Tried to PM you but it would not let me because I am only a minion in the forum.
|
GeekGirl
If you like, I could take a look at this for you but I would need access to your cPanel. PM me if you are interested.
I appreciate your offer and realise with out this kind of help I am unlikely to get Dolphin working as I am in over my head when it comes to linux and php, however I am not able to give out access to out cPanel account. Thanks
|
however I am not able to give out access to out cPanel account. Thanks
Then I guess this trouble ticket is closed because we can not help without having access. By the way, cred's is cPanel access.
Geeks, making the world a better place |