1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Uploading PHP script

Discussion in 'PHP & Perl' started by badrouchhida, Nov 29, 2015.

  1. badrouchhida

    badrouchhida Registered Member

    Joined:
    Oct 9, 2015
    Messages:
    73
    Likes Received:
    4
    Hi BHW, wish you are in good health
    I need a help, I tried to upload a PHP script -that a bought from codecanyon- in free hosting(hostinger)
    this message shows :
    Unable to connect to your database server using the provided settings.
    Filename: core/Loader.php
    Line Number: 326

    I google it for solution but always the same problem
    anyone can help me ?
    i'll give the login details and the script
    btw, you can use it for youself.
    thanks
     
  2. BlueZero

    BlueZero Power Member

    Joined:
    Jul 6, 2011
    Messages:
    506
    Likes Received:
    261
    Occupation:
    Webdeveloper, Project Manager
    Location:
    Byte in the Net
    Home Page:
    Looks like you do not have correct database settings -> database host, username, password
     
    • Thanks Thanks x 1
  3. badrouchhida

    badrouchhida Registered Member

    Joined:
    Oct 9, 2015
    Messages:
    73
    Likes Received:
    4
    I tried to change it
    but the same problem,
    can you fix it for me? please ?
     
  4. djp3k05

    djp3k05 Jr. VIP Jr. VIP

    Joined:
    Oct 30, 2010
    Messages:
    821
    Likes Received:
    231
    If you really bought this from Codecanyon, you should ask for support. All the scripts sold there have 6 - 12 months support included.
     
  5. BlueZero

    BlueZero Power Member

    Joined:
    Jul 6, 2011
    Messages:
    506
    Likes Received:
    261
    Occupation:
    Webdeveloper, Project Manager
    Location:
    Byte in the Net
    Home Page:
    If you'll give me all the details(ftp, db), i can try.
     
    • Thanks Thanks x 1
  6. badrouchhida

    badrouchhida Registered Member

    Joined:
    Oct 9, 2015
    Messages:
    73
    Likes Received:
    4
    PM sent with details
     
  7. revproxy

    revproxy BANNED BANNED Jr. VIP Premium Member

    Joined:
    Nov 20, 2015
    Messages:
    396
    Likes Received:
    100
    Gender:
    Male
    use are using wrong db hostname or the mysql server is closed in iptables....
     
  8. flaveris

    flaveris Newbie

    Joined:
    Jul 12, 2013
    Messages:
    16
    Likes Received:
    2
    Occupation:
    Web Developer
    Home Page:
    It's hard to advise you without seeing the actual code. If you still need help, drop me a message.
     
  9. badrouchhida

    badrouchhida Registered Member

    Joined:
    Oct 9, 2015
    Messages:
    73
    Likes Received:
    4
    Thanks a lot, my problem is solved !