Enjoy unlimited access to all forum features for FREE! Optional upgrade available for extra perks.

PHPList Help

Discussion in 'Scripts and Coding' started by retired_member6, Nov 1, 2006.

Thread Status:
Not open for further replies.
  1. retired_member6

    retired_member6 Banned

    Joined:
    Apr 2005
    Posts:
    5,598
    Likes Received:
    29
    Alight,

    ooooo I'm having a bit of trouble....

    I'm trying to install phplist, which for me means, hosting, transfer files in frontpage mode, make db in mysql, update password details in config.php but then I gets lost.

    I'm currently getting a 'Fatal Error: Cannot connect to database, access denied. Please contact the administrator' error on /lists/admin/ and a 'Invalid Request' on /lists/admin/admin.php so can't access set up.

    It says at this url, unpack distrbution files etc. what are they and how do I make it create directories? perhaps that's what I'm missing as this stuff is usually pretty easy to install. phplist Documentation: Installing phplist

    Any help, much appreciated.

    Cheers
    Lee
     
  2. Domain Forum

    Acorn Domains Elite Member

    Joined:
    1999
    Messages:
    Many
    Likes Received:
    Lots
    IWA Meetup
     
  3. seanc United Kingdom

    seanc Well-Known Member

    Joined:
    May 2005
    Posts:
    1,197
    Likes Received:
    6

    distribution files are usualy the archive, ie. .zip/tar.gz/tgz

    when u unarchive them it should create the directorys
     
  4. retired_member6

    retired_member6 Banned

    Joined:
    Apr 2005
    Posts:
    5,598
    Likes Received:
    29
    Oh so unzip the files, well I did that. So it must be something else. I wonder what it is.
     
  5. Admin

    Admin Administrator Staff Member

    Joined:
    Jun 2004
    Posts:
    11,120
    Likes Received:
    464
    sounds like a database authentication issue. Sometimes you have to play around with the Host name etc.

    Have you double-checked the db alias, username and password?
    Have you granted the user rights on the database?

    Check in your Cpanel for answers.
     
  6. seanc United Kingdom

    seanc Well-Known Member

    Joined:
    May 2005
    Posts:
    1,197
    Likes Received:
    6
    cannot connect to database is usualy a problem connecting to the sql


    check your config.php file for your mysql settings (localhost, username, password)

    you sometimes have to create the database manualy (i find)
    use phpmyadmin
     
  7. Admin

    Admin Administrator Staff Member

    Joined:
    Jun 2004
    Posts:
    11,120
    Likes Received:
    464
    I often copy and paste the username etc from Cpanel into the config file, just to make sure its right.
     
  8. retired_member6

    retired_member6 Banned

    Joined:
    Apr 2005
    Posts:
    5,598
    Likes Received:
    29
    I can't figure it out, details are copy and pasted, php want £75 for install, anyone here fancy doing it for nout? I only need to get the admin page up I'm sure I can figure out the rest.
     
  9. grantw United Kingdom

    grantw Well-Known Member

    Joined:
    Mar 2005
    Posts:
    4,694
    Likes Received:
    93
    Lee, I assume you are using cpanel?? After creating the mysql database did you add the user account to it that needs the access and set the access privaleges?

    Grant
     
  10. retired_member6

    retired_member6 Banned

    Joined:
    Apr 2005
    Posts:
    5,598
    Likes Received:
    29
    Yes I did that, I did go through using reseller account details so changed to sole account and it still aint working.
     
  11. mishmash

    mishmash Active Member

    Joined:
    Jan 2005
    Posts:
    160
    Likes Received:
    12
    click on mysql databases in Cpanel and look at what the DB you've created is actually called - usually something like:

    username_databasename
     
  12. retired_member6

    retired_member6 Banned

    Joined:
    Apr 2005
    Posts:
    5,598
    Likes Received:
    29
    I was being a silly sausage, I appended the site username at the start of the password as well. I can set it up now.

    Cheers
    Lee
     
Thread Status:
Not open for further replies.