edwind Posted May 19, 2011 Share Posted May 19, 2011 Hi, I've just installed a guestbook but when posting a message (signing in) it shows 'no entries yet'. On clicking the submit a very quick screen splashes up with a load of writing out of whoch I could just read ...line function open data file... You can check it out at www.qualitycarersdirect.com/careasp/portal.asp then click on 'post on the baord' it is a php file. Quote Link to comment https://forums.phpfreaks.com/topic/236911-guestbook-not-accepting-inputs/ Share on other sites More sharing options...
jcbones Posted May 19, 2011 Share Posted May 19, 2011 Is the file saved with a .php extension? Quote Link to comment https://forums.phpfreaks.com/topic/236911-guestbook-not-accepting-inputs/#findComment-1217820 Share on other sites More sharing options...
edwind Posted May 19, 2011 Author Share Posted May 19, 2011 No. It's supposewd to be saved to a .dat file. The file is present. It just doesn't accept entires. Quote Link to comment https://forums.phpfreaks.com/topic/236911-guestbook-not-accepting-inputs/#findComment-1217831 Share on other sites More sharing options...
jcbones Posted May 19, 2011 Share Posted May 19, 2011 Make sure your file permissions are set correctly. It should be set to 0644 Quote Link to comment https://forums.phpfreaks.com/topic/236911-guestbook-not-accepting-inputs/#findComment-1217837 Share on other sites More sharing options...
edwind Posted May 20, 2011 Author Share Posted May 20, 2011 As so often happens, the coding angel visited me in my sleep and told me to grant write permission to the dat file. I see here that you also could have been that angel so thankyou anyway. Why am I so stupid? Thanks jcbones. Quote Link to comment https://forums.phpfreaks.com/topic/236911-guestbook-not-accepting-inputs/#findComment-1217906 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.