Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New Coder
    Join Date
    Apr 2008
    Posts
    26
    Thanks
    6
    Thanked 0 Times in 0 Posts

    What does this error mean?

    Warning: parse_ini_file() [function.parse-ini-file]: Cannot open 'php_browscap.ini' for reading in /home/user/public_html/test/functions.php

    I realize it says cannot open but why cant it open? The file exists.
    Atlanta Web Design <- They do good work.

  • #2
    bdl
    bdl is offline
    Regular Coder
    Join Date
    Apr 2007
    Location
    Camarillo, CA US
    Posts
    590
    Thanks
    4
    Thanked 83 Times in 82 Posts
    What permissions does 'php_browscap.ini' have? For the server to read it, it should be at least 0644.

  • Users who have thanked bdl for this post:

    pixencom (05-16-2008)

  • #3
    New Coder
    Join Date
    Apr 2008
    Posts
    26
    Thanks
    6
    Thanked 0 Times in 0 Posts
    Thank you for that, I will check if thats the reason and post back.
    Atlanta Web Design <- They do good work.

  • #4
    New Coder
    Join Date
    Apr 2008
    Posts
    26
    Thanks
    6
    Thanked 0 Times in 0 Posts
    It is 0644. Any other ideas?
    Atlanta Web Design <- They do good work.

  • #5
    Master Coder
    Join Date
    Dec 2007
    Posts
    6,682
    Thanks
    436
    Thanked 890 Times in 879 Posts
    Quote Originally Posted by pixencom View Post
    Warning: parse_ini_file() [function.parse-ini-file]: Cannot open 'php_browscap.ini' for reading in /home/user/public_html/test/functions.php

    I realize it says cannot open but why cant it open? The file exists.
    look to open_basedir:

    http://www.php.net/manual/en/feature...i.open-basedir

    I presume that safe_mode is on.

    regards


  •  

    Posting Permissions

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