Warning unable to access

Discussion in 'PHP' started by coleman_tim, Sep 25, 2011.

  1. #1
    Ok so after i installed everything went to test it and i get these warnings, i have gone through looking at each one but i cant seem to figure it out anyone know what my issue is??

    Warning: require() [function.require]: Unable to access ./includes/config.inc.php in /home/coleman/public_html/index.php on line 5

    Warning: require(./includes/config.inc.php) [function.require]: failed to open stream: No such file or directory in /home/coleman/public_html/index.php on line 5

    Warning: require() [function.require]: Unable to access ./includes/config.inc.php in /home/coleman/public_html/index.php on line 5

    Warning: require(./includes/config.inc.php) [function.require]: failed to open stream: No such file or directory in /home/coleman/public_html/index.php on line 5

    Fatal error: require() [function.require]: Failed opening required './includes/config.inc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/coleman/public_html/index.php on line 5
     
    coleman_tim, Sep 25, 2011 IP
  2. sarahk

    sarahk iTamer Staff

    Messages:
    28,899
    Likes Received:
    4,555
    Best Answers:
    123
    Trophy Points:
    665
    #2
    I'd check that all the files were uploaded. Its telling you the ones it thinks are missing.
     
    sarahk, Sep 25, 2011 IP
  3. coleman_tim

    coleman_tim Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Ok so i have been messing with it all day but have ran into another issue Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'coleman'@'localhost' (using password: NO) in /home/coleman/public_html/install.php on line 9Any ideas on how to fix this one? i have gone in deleted my db and made a new one with new password and still get the same message..
     
    coleman_tim, Sep 25, 2011 IP
  4. sarahk

    sarahk iTamer Staff

    Messages:
    28,899
    Likes Received:
    4,555
    Best Answers:
    123
    Trophy Points:
    665
    #4
    Talkk to the hosting company. While most use localhost for the database some put the database on a different server, for security, and you need a different path to it.
     
    sarahk, Sep 26, 2011 IP
  5. JohnnySchultz

    JohnnySchultz Peon

    Messages:
    277
    Likes Received:
    4
    Best Answers:
    7
    Trophy Points:
    0
    #5
    you don't have a database user that has a username of 'coleman'..

    check your database and check if that user exists..
     
    JohnnySchultz, Sep 26, 2011 IP
  6. Rukbat

    Rukbat Well-Known Member

    Messages:
    2,908
    Likes Received:
    37
    Best Answers:
    51
    Trophy Points:
    125
    #6
    But the program trying to use the database is set to use no password ("using password: NO"). Fix the configuration of the program.
     
    Rukbat, Sep 26, 2011 IP
  7. coleman_tim

    coleman_tim Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Ok so i was able to fix one issue but that takes me back to my original issue i have uninstalled my files and re installed them but i still get the same message i posted origianlly. any ideas on how to fix it? thanks for your help:)
     
    coleman_tim, Sep 27, 2011 IP
  8. shivgupta0001

    shivgupta0001 Peon

    Messages:
    57
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Just check out your line no 5.

    you have done mistake there.
    try to replace the code.
    google for the new code.
     
    shivgupta0001, Sep 28, 2011 IP