PHPee.com PHP development forum
MySQL

 
Post new topic   Reply to topic    phpee.com Forum Index -> PPhlogger Support
View previous topic :: View next topic  
Author Message
heartoh



Joined: 28 Jun 2004
Posts: 5

PostPosted: Mon Jun 28, 2004 12:38 pm    Post subject: MySQL Reply with quote
I have tried to set up pphlogger for my site but am having difficulties with the MySQL side of things - I am assuming you have to set up a database before you install the script and have done this. The install instructions say edit config.inc.php and this is what I did: to change these:
Code:

define('PPHL_DB_HOST'      , 'localhost');      // MySQL server hostname
define('PPHL_DB_NAME'      , 'heartsoh_pphlogger');        // name of your database
define('PPHL_DB_USER'      , 'myusername');  // username
define('PPHL_DB_PWD'       , 'mypassword');        // password

I did not change localhost as I am not sure what to put here. I am sure there is a problem somwhere here as I cannot get stats for the site after I have done everyhting else as described. Also i get the following error message:

Code:
Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /home/heartsoh/public_html/pphlogger/libraries/functions.lib.php on line 1101


Would really appreciate some help - thankx in advance
Back to top
View user's profile Send private message
sdjl
Moderator


Joined: 17 Nov 2003
Posts: 734
Location: London, UK

PostPosted: Mon Jun 28, 2004 11:45 pm    Post subject: Reply with quote
Your loast problem has been fixed before:

http://forum.phpee.com/viewtopic.php?t=2621

As regards to MySQL, you need to enter your details as you have set up your database.
Localhost is normally as it says, localhost.
The rest, you should have spec'd when making the DB.

David
_________________
-----
Free Logger Accounts | PPHlogger Manual | PM Me
Back to top
View user's profile Send private message Visit poster's website
heartoh



Joined: 28 Jun 2004
Posts: 5

PostPosted: Wed Jun 30, 2004 7:08 am    Post subject: Reply with quote
thankx for your help got this bit fixed
Back to top
View user's profile Send private message
Post new topic   Reply to topic    phpee.com Forum Index -> PPhlogger Support All times are GMT + 1 Hour
Page 1 of 1

 
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


Powered by phpBB 2.0.8
Theme design based on Team 101 Designs, modified by Philip Iezzi