Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Installation Help
Author Message
jane65
Regular
Regular


Joined: Feb 24, 2009
Posts: 81
Location: UK

PostPosted: Wed May 22, 2013 5:07 pm Reply with quote

Hi,

I've just done a new installation of Ravennuke 2.51 and I'm having a problem getting the index page of the site to display. I'm getting an IE internal error 500 page up. I have installed Ravennuke before with no problems, the only difference that I know of is that this time I'm on a new server. I could get the installation page up, so I went ahead and did the installation in the hope that the index page might show after, but it doesn't. Please can someone tell me what this error means that is in my error log.

Quote:
[23-May-2013 02:39:23 Europe/Moscow] PHP Warning: Module 'pdo_mysql' already loaded in Unknown on line 0
[23-May-2013 02:39:23 Europe/Moscow] PHP Fatal error: Class 'mysqli' not found in /home/timeless/public_html/db/mysqli.php on line 41


Thanks in advance for any help Smile
 
View user's profile Send private message
nuken
RavenNuke(tm) Development Team


Joined: Mar 11, 2007
Posts: 2024
Location: North Carolina

PostPosted: Wed May 22, 2013 6:03 pm Reply with quote

What version of php is your server running?

_________________
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Send e-mail Visit poster's website
jane65
PostPosted: Thu May 23, 2013 1:47 am Reply with quote

Thanks for your reply Nuken, its running Php version - 5.3.22
 
nuken
PostPosted: Thu May 23, 2013 5:47 am Reply with quote

It sounds like your server does not have the mysqli extension loaded. You may want to ask them if they will install it. If you have access to your sites php.ini file, you could uncomment the extension=php_mysqli.so line and restart your server.
 
nuken
PostPosted: Thu May 23, 2013 5:52 am Reply with quote

If you want to verify that mysqli is not loaded, create a file named mysqlitest.php and add the following code in it

Code:



<?php
if (!function_exists('mysqli_init') && !extension_loaded('mysqli')) {
    echo 'mysqli not loaded';
} else {
    echo 'mysqli is loaded';
}
?>


and call that file in your browser.
 
jane65
PostPosted: Thu May 23, 2013 12:08 pm Reply with quote

The test shows that mysqli extension isn't loaded. Would the mysqli extension file be found in CPanel under PHP Pear Packages, I noticed that none are installed on the new server, but they are on my other server, I do have the option to install them. I asked my host, and he said it was a CPanel issue, and he would have to contact CPanel, but he didn't answer my question about the PHP Pear Packages.

Thanks for your help Smile
 
nuken
PostPosted: Thu May 23, 2013 3:56 pm Reply with quote

nuken wrote:
It sounds like your server does not have the mysqli extension loaded. You may want to ask them if they will install it. If you have access to your sites php.ini file, you could uncomment the extension=php_mysqli.so line and restart your server.


It is a module loaded from your php.ini file. If you do not have access to it, ask your webhost to enable it.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Installation Help

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©