Forum Moderators: coopster

Message Too Old, No Replies

browscap.ini

         

andrewsmd

4:30 pm on Feb 5, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I have tried to install the DB.php that works with PEAR on my machine. When I execute the DB.php file to see if it is valid I get this error. PHP Warning: Cannot open 'extras/php_browscap.ini' for reading in Unkown on line 0
I know that my browscap.ini file is in the folder extras. My DB.php file is in the PEAR folder where Pear.php is located. Does anyone know why this is not working? Thanks,

eelixduppy

5:41 pm on Feb 5, 2009 (gmt 0)



Seems to not be working because it is looking for a relative path and you have the file in the wrong directory. I personally have no had this issue before but you might want to either check the line in the code where it is faulting and change it to the correct path if you say it is there, or move your file to where it should be located.

andrewsmd

5:49 pm on Feb 5, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



That is the problem. When I opened the db.php file I searched for a extra\browscap and could not find where it is even looking for that in the file. Is that in the php.ini file?