PHPee.com PHP development forum
need help please >>>

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



Joined: 28 Jul 2004
Posts: 2

PostPosted: Thu Jul 29, 2004 12:27 am    Post subject: need help please >>> Reply with quote
Hi,

I just set up the logger script...I am really looking forward to working with it...

however: http://www.thrillinghill.com/~easywebs/

as you can see above I am getting these errors right after install. I searched the forums, but couldnt find an answer that helped me fix it.

I have figured out it has to do with permissions most likely...which permissions need to be changed and how should I do it?

Thanks,
Daniel
Back to top
View user's profile Send private message
sdjl
Moderator


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

PostPosted: Thu Jul 29, 2004 10:51 am    Post subject: Reply with quote
Can you paste the contents of your config.inc.php file here please?
Exclude any database connection information details, as i dont need to see those.

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



Joined: 28 Jul 2004
Posts: 2

PostPosted: Thu Jul 29, 2004 6:04 pm    Post subject: Reply with quote
sure thing:


PHP:
///////////////////////////////////////////////////////////////////////////////
//                                                                           //
//   Copyright (c) 2000-2003  Philip Iezzi []                   //
//   https://phpee.com                                                    //
//                                                                           //
//   This file is part of PowerPhlogger.                                     //
//                                                                           //
//   PowerPhlogger is free software; you can redistribute it and/or modify   //
//   it under the terms of the GNU General Public License as published by    //
//   the Free Software Foundation; either version 2 of the License, or       //
//   (at your option) any later version.                                     //
//                                                                           //
//   PowerPhlogger is distributed in the hope that it will be useful,        //
//   but WITHOUT ANY WARRANTY; without even the implied warranty of          //
//   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the           //
//   GNU General Public License for more details.                            //
//                                                                           //
//   You should have received a copy of the GNU General Public License       //
//   along with PowerPhlogger; if not, write to the Free Software            //
//   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA //
///////////////////////////////////////////////////////////////////////////////

// $Id: config.inc.php,v 1.14 2003/08/18 19:10:02 cvs_iezzi Exp $

if (!defined('__GOT_MYSQL__')){
    
    
################################################################################
    #           mySQL SETTINGS                                                     #
    ################################################################################
        
define('PPHL_DB_HOST'      , 'localhost');      // MySQL server hostname
        
define('PPHL_DB_NAME'      , 'removed');        // name of your database
        
define('PPHL_DB_USER'      , 'removed');  // username
        
define('PPHL_DB_PWD'       , 'removed');        // password
        
    ######## optional settings: ####################################################
        
        // Leaving this empty defaults to port 3306
        
define('PPHL_DB_PORT'      , '');
        
// To use persistent connections, change this to TRUE
        
define('PPHL_DB_PERSISTENT', FALSE);
        
        
//in case you need a prefix in front of your tables...
        
define('PPHL_DB_PREFIX'    , 'pphl_');
        
        
//please enter your old prefix here. The update-script
        //going to change all your tables automatically to the
        //new prefix set above.
        
define('PPHL_DB_PREFIX_OLD', '');
    
################################################################################
    
    //-------------------------------------------------------------------------------
    // nothing needs to be changed beyond this line.
    // All further settings can be configured in the setup script: /admin/setup.php
    //-------------------------------------------------------------------------------
    
    /* connect to mySQL database */
    
$cfunction = (PPHL_DB_PERSISTENT) ? 'mysql_pconnect' : 'mysql_connect';
    if(!
function_exists($cfunction)) die('MySQL support is not available in this PHP configuration!');
    function
str_is_int($str) {
        
$var = intval($str);
        return (
"$str" == "$var");
    }
    
$mysql_port = (str_is_int(PPHL_DB_PORT)) ? ':'.PPHL_DB_PORT : '';
    
$connected = @$cfunction(PPHL_DB_HOST.$mysql_port, PPHL_DB_USER, PPHL_DB_PWD)
     or die(
"unable to connect to database on '".PPHL_DB_HOST."' with user '".PPHL_DB_USER."'
"
.
            
'('.mysql_errno().') '.mysql_error().'
'
.
            
"Please check your settings in config.inc.php !
"
);
    
mysql_select_db(PPHL_DB_NAME) or die("Please first create your database '".PPHL_DB_NAME."' and make sure your user got the correct access rights on it !"); ;
    
define('__GOT_MYSQL__', 1);
}
?>
Back to top
View user's profile Send private message
sdjl
Moderator


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

PostPosted: Thu Jul 29, 2004 7:10 pm    Post subject: Reply with quote
Ok, i cant see anything wrong with that.
Does your webserver support sessions?

David
_________________
-----
Free Logger Accounts | PPHlogger Manual | PM Me
Back to top
View user's profile Send private message Visit poster's website
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