GIDForums  

Go Back   GIDForums > Computer Programming Forums > MySQL / PHP Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 22-Jan-2005, 01:35
jenish jenish is offline
New Member
 
Join Date: Jan 2005
Posts: 6
jenish is an unknown quantity at this point

sqlite connectivity problem




There is a function in php like sqlite_open which open the database if it exist otherwise it create it.

But i get error as bellow

SQLite Version: 2.8.14
SQLite Encoding: iso8859

Warning: sqlite_open() [function.sqlite-open]: unable to open database: /www/sitepoint.sqlite in /www/htdocs/samir.php on line 14
unable to open database: /www/sitepoint.sqlite

so, pls give me proper solution.
  #2  
Old 22-Jan-2005, 02:59
Allowee's Avatar
Allowee Allowee is offline
Regular Member
 
Join Date: May 2003
Location: The Netherlands
Posts: 339
Allowee has a spectacular aura about
have you checked the permissions on /www ?
I'm using chmod 777 directories, that works fine
although I think, but not sure, that 766 would be enough

the webserver uses has to be able to write to the database and (re)create it
__________________
Pastebin
PHP Documentation Site
Allowee's Blog http://allowee.net
 
 

Recent GIDBlogAccepted for Ph.D. program by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Help Starting the following problem helpme C Programming Language 1 24-Nov-2004 15:44
Mother board problem mrkamran Computer Hardware Forum 2 07-Oct-2004 11:31
Mpeg2 SVCD disc problem mrnobody Computer Software Forum - Windows 0 13-Aug-2004 09:51
Another FX 5600 problem (but with details that might shed light on this) BobDaDuck Computer Hardware Forum 2 16-Apr-2004 08:53
problem with php5 cgi installation fab13 Apache Web Server Forum 3 19-Nov-2003 10:11

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 01:06.


vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.