Error updating company addresses

Help
2010-07-27
2013-04-26
  • lscott35020
    lscott35020
    2010-07-27

    I can create a new company with address without any problems, but when I try to edit addresses, I get the following error:

    Unable to execute your query. Please correct this error.
    You may need to update your database structure.
    Unknown column 'a.on_what_table' in 'where clause'

    The error is in ./companies/addresses.php according to the URL.  I've gone to the CVS site and updated all the files in the 'companies' folder, and in the 'admin' folder and I've run the update database function.  I'm obviously missing something simple.

     
  • lscott35020
    lscott35020
    2010-07-28

    OK, forget this problem.  I fixed it by downloading the latest CVS as a whole rather than trying to do it file-by-file, so I must have missed something the first time.  Now I've got a different problem, but I'll put that on a new topic, as it doesn't involve the addresses issue.