Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::General Support

Support::General Support Post all topics here having to do with errors while trying to connect to an EQEMu server but not about the setup/running of the Server itself.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 05-19-2016, 12:19 PM
jaspen
Hill Giant
 
Join Date: Apr 2016
Posts: 107
Default PEQ Editor error assistance.

I realize this is probably more proper to post on the PEQ forums but I feel comfortable with the community here. If you feel it is out of place, let me know.

I am trying to set up PEQ editor on my server. I downloaded from https://github.com/ProjectEQ/peqphpeditor using git bash. I followed the instructions in the readme, which were the same as the website's, and get the following error.

Fatal error: Call to undefined function mysql_connect() in C:\xampp\htdocs\peqedit\classes\mysql.php on line 6

This is what I have for my index.php setting that has to do with mysql logging in. It is the same information in my eqemu_config.xml

Code:
// Database Information:
$dbhost = '127.0.0.1'; (I have tried the actual IP and even localhost here.)
$dbuser = 'root';
$dbpass = 'mypassword';  ( I have omitted the actual password.)
$db = 'peq';
$mysql_class = 'mysql'; // Use mysql or mysqli
Here is an exert from the mysql.ini it is referencing.

Code:
class mysql {

  function mysql($username, $password, $database, $host) {
    mysql_connect("$host", "$username", "$password") (This is actually line 6)
      or die('Could not connect: ' . mysql_error());
    mysql_select_db("$database")
      or die('Could not select database');
  }
Feel free to point out my newbish mistake.
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 03:32 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3