I am trying setup the contact_form plugin within a zenpage 'page', I have `` in the code block,
I fill in the fields and send but get this error:
Fatal error: Call to undefined function: getbarepagetitle() in /path to zenphoto install/themes/zenpage-default/pages.php on line 5
I am using zenphoto 1.2.1 [2635] zenpage 1.0.0 [2635]
Thanks
The contact form issue may be related to the usage of php sessions on your site, but I sadly still do not have any clue about it.
The servers seems generally a little slow and I got once a mysql error for unknown reasons.
Maybe one of my fellow devs does have any idea.
OK thanks for looking, I'll leave the contact page 'published' for now, in case anyone else has any idea, For what its worth I have ran contact forms before on this site and they ran fine. The previous 'incarnation' of the site also used wordpress with no issues.
Later I'll try setting up the contact form on a non zenpage page and see if it works.
Yes the servers do seem a little slow at the moment, I actually host which servage in Germany:-) I'm in the UK
Also I noticed that on the contact form plugin options, if I omit certain fields they still appear on the form. I did see another thread about this from a few weeks ago, which gave the impression it was fixed?
Thanks again, its been really good using zenpage other than this issue, just taking me a while copying everything over from the old version of the site!
The contact form is actually not that specials or complicated that it should cause these problems... I did not expect it to cause these problems... That missing function is part of zenpage. If that is there it has to be, too. Maybe you have a typo in pages.php? (Just a guess...:-))
The contact form plugin has been fixed in the svn version. Although we generally don't recommend taking only parts from the svn it should work with that plugin I think.
I setup a separate contact page within the zenpage default theme. I then put a link in the normal content section of a new 'zenpage page' calling the contact.php in the theme. The form displayed, I was able to send it and I did not get the error.
So I guess it must be something to do with my server and putting `` code in the codeblock on the 'zenpage page'? You would know better than me:-)
However I now have the problem that I received no email message from the form submission at the address I set in the contact_form options.
I guess I better look to see if there are any threads on this:-(
Seems indeed so or it is a issue of php version, although I did not find any obvious.
Regarding the email itself there is indeed sadly already another thread...: http://www.zenphoto.org/support/topic.php?id=4062&replies=14#post-24498
That may also be server related since the server has to sent the mail. It seems that does not work on all servers.
Ok, does this mean anything: I load the zenpage page with the contact form, I just fill in one of the required fields 'Name', 'E-mail', 'Enter captcha' or 'Subject', and send it, the form refreshes with the message in red telling me to fill in the required fields. Thus the form reaches the next stage as it should. But if I only fill in the required field 'Message' and send it, I get the error message the same as when sending a correctly filled in form.