This topic is locked

Error 256 after Edit - but edit still worked

4/15/2007 2:06:37 PM
PHPRunner General questions
P
powerchuck author

In my main table _members when I edit a record , after clicking "Save" I get an error box saying:
PHP error happened
[indent]Technical information

Error type 256

Error description Table 'db1000905_gffroster.TableName' doesn't exist

URL www.WWW.GEARED4FUN.COM/roster/_Members_edit.php?

Error file /usr/local/pem/vhosts/831/webspace/httpdocs/Geared4Fun/roster/include/dbconnection.php

Error line 26

SQL query update `_Members` set `First_Name`='c', `Last_name`='seeger', `Street_Address`='', `City`='Oceanside', `Home_Phone`='760-439-8888', `Cell_phone`='', `Call_Sign`='', `Emergency_contact`='Linda', `Emergency_contact_number`='', `Allergies`='', `Medical_info`='', `email`='', `username`='chuckles', `Zip_code`=92054, `Spouse_name`='linda', `Miscellaneous`='', `birthday`='', `Rig`='', `Year`='', `Color`='', `State`='CA' where `_Members`.`ID`=8 [/indent]
When I go back (using the browser's back button) the record has been updated and does now contain the data.
I don't have any event scripts written for edits.
Any ideas?

kujox 4/16/2007

Are you writing/reading to another table after the record is saved, in the after record updated event?
I've spent time looking for an error in the wrong place when the error refers to a different line, in this case line 26 is in dbconnection and not the line where the actual error is.
Sorry my answer seems a bit vague but I hope it points you in the right direction.

J
Jane 4/16/2007

Please publish your project on Demo Account and send to [email=support@xlinesoft.com]support@xlinesoft.com[/email] a URL to your pages along with instructions on reproducing this error.

I'll find what's wrong with your project inspecting it at Demo account site.

P
powerchuck author 4/17/2007

Thanks for the help - it was an event that I hadn't deleted - its gone now and all works well.