+ Reply to Thread
Results 1 to 10 of 10

Thread: Problem in Database Connection cant get on my site

  1. #1
    Join Date
    Feb 2010
    Posts
    5

    Default Problem in Database Connection cant get on my site

    Problem in database connection i can't get on my site.

  2. #2
    Join Date
    Aug 2007
    Location
    United States
    Posts
    10,470

    Default

    What site, what's the error?
    Login or Billing issues? File a support ticket via: http://byethost.com/support.php

    Free domain - Get yours today!


  3. #3
    Join Date
    Feb 2010
    Posts
    5

    Default

    http://bandit188.mega-free-host.info/

    Problem in Database Connection


    This Website is powered by PostNuke
    Web site powered by PostNuke ADODB database library PHP Scripting Language
    Although this site is running the PostNuke software
    it has no other connection to the PostNuke Developers.
    Please refrain from sending messages about this site or its content
    to the PostNuke team, the end will result in an ignored e-mail.
    Hosted Free By MFH

    also how do i change the bandit188 part?

  4. #4
    Join Date
    Aug 2007
    Location
    United States
    Posts
    10,470

    Default

    You should confirm the information provided to the script is correct in the configuration file, namely that the hostname is not localhost but sqlXXX.example.com, your MySQL user is in the form of user_123456 and the database exists and is in the form of user_123456_database
    Login or Billing issues? File a support ticket via: http://byethost.com/support.php

    Free domain - Get yours today!


  5. #5
    Join Date
    Feb 2010
    Posts
    5

    Default

    where can i find the config file.

  6. #6
    Join Date
    Nov 2007
    Location
    127.0.0.1
    Posts
    2,761

    Default

    If you uploaded as default, config.php is in the html directory.

    Find and check you have these setting correct:
    Code:
    $pnconfig['dbhost'] = 'sql###.example.com';
    $pnconfig['dbuname'] = 'user_123456';
    $pnconfig['dbpass'] = 'your password';
    $pnconfig['dbname'] = 'user_123456_dbname';

  7. #7
    Join Date
    Feb 2010
    Posts
    5

    Default

    still the same error and everything correct.
    Last edited by WNxbadboy3; 10-02-2010 at 01:59 AM.

  8. #8
    Join Date
    Aug 2007
    Location
    United States
    Posts
    10,470

    Default

    Try changing your password via your control panel to the same one used now, see if its a sync issue.
    Login or Billing issues? File a support ticket via: http://byethost.com/support.php

    Free domain - Get yours today!


  9. #9
    Join Date
    Nov 2007
    Location
    127.0.0.1
    Posts
    2,761

    Default

    Have you tried adding:

    php_value display_errors on

    to your htaccess file?

    You should get a more informative error message.

    Can we assume you created a database, then as per readme file: chmod both config.php and config-old.php 777 plus the pnTemp directory and its subdirectories also chmod 777 before installing. You then got a successful install message?

    * Edit
    Didn't see your post mtp (busy reading the above readme)
    Last edited by stix; 10-02-2010 at 02:51 AM.

  10. #10
    Join Date
    Feb 2010
    Posts
    5

    Default

    one was already made for me also my mate looked into this error fix

    https://support.hostnuke.com/index.p...barticleid=268

    but i cant even check it by the link they said use .

    my mate said they will be able to setup your database to connect to your file

    now he has more know how then me he makes very hard websites.


    AHHH not it says not found man this is really messed up.
    Last edited by WNxbadboy3; 10-02-2010 at 03:30 AM.

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts