Jump to content
TNG Community

Problem inserting history file


ITIZ

Recommended Posts

On clicking th Finish button of the admin/newhistory.php file, I get the following response:

Cannot execute query: INSERT INTO tng_docs (path,description,changedate,notes,alwayson,historykey) VALUES ("I61.php","Some Text Here","2004-12-12","Excerpt","1","I61.php")

Am I missing something, or is there a fix?

My compliments on a great program!

Link to comment
Share on other sites

Three things to check:

1. What version of TNG are you running?

(note you can find this out by opening the version.php with an editor)

2. Go to the TNG admin - settings & configuration - general settings and lookup the "Histories Table:" setting. (it should say tng_docs unless you have changed it)

3. Using phpMyAdmin or a simular program, open your databse and see if you have a table which matches the one specified in 2 above. Check to see if it does include the fields:

docID, path, description, notes, changedate, form, gedcom, historykey, alwayson

If everything seems in order, then I would suggest that you are having a problem with your host and connection to mySql, not with TNG.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...