My system crashed yesterday and after restoring the database and code, I get the following error when trying to view a form:
PHP Code:
Parse error: syntax error, unexpected '.', expecting T_VARIABLE or '$' in /home/ourhomen/domains/ourhome2.net/public_html/vb/includes/class_core.php(4444) : eval()'d code on line 86
I have tried creating a new form and it has the same issue. I have uninstalled and reinstalled the mod with no change. I have also disabled all the custom hooks I created to point to the forms. I am stumped at this point. The only thing that appears to be not working at this point is easyforms and I can't find a way to recover, or even start over.
I can edit the form as much as I want, I just can't view it without the error at the top of the page, and the header and footer intact. Just the form itself is missing.
UPDATE
I was able to resolve the problem by reverting some corrupted templates for EasyForms. I knew I had not customized anything in there but two of them showed up in red, indicating they were not the default version. Apparently the database restore wasn't perfect, as the templates are stored in the database on my system.