Pages (5):    1 2 3 4 5   
Member
Member
stevenew   14-10-2008, 18:28
#21

I'll continue to play around with it for now, perhaps I'll just have to stick with a custom contact page, which worked from the point of view of sending the messages but I did get other problems with that, Obviously the zenpage 'contact page' is a much more elegant solution if it worked.

Has anyone else got the contact_form plugin form working or not working in a zenpage 'page'?

By the way, I still have the omitted fields in the plugin options showing in the form even with the latest working contact_form.

Thanks for all your help.

Member
Member
stevenew   14-10-2008, 20:40
#22

Sorry to start yet another issue with the contact_form but...
I'm now setting up a custom page to try and get an active contact form working.
To make the custom page I have taken a copy of the index.php from the zenpage_default template removed everything within the content_left 'div' and put in ``.

The form loads, I fill out the form, press send but when the page refreshes to confirm the sending of the message, the 'page menu' is missing from the sidebar, I press confirm, the message is sent OK but again when the page refreshes the 'page menu' is missing from the sidebar, only news articles, gallery, archive and rss menus are in the sidebar.

Administrator
Administrator
acrylian   15-10-2008, 10:01
#23

No problem. I of course want to have that working. Although I do not understand why that would happen. Also the contact form - even if I or my server have problems with sending the mail somehow - works fine within a codeblock in the zenpage default theme here.

Member
Member
stevenew   15-10-2008, 11:17
#24

With the original 'Fatal error' I have tried everything I can think of but I still get the error. I wonder if it could be to do with the zenphoto install being in root rather than an sub folder? I guess the only way for me to find out is put a fresh zenphoto/zenpage install in a sub folder.........

I don't get the error on my local MAMP install

Administrator
Administrator
acrylian   15-10-2008, 11:44
#25

I really don't know why the function should be undefined nor can I reproduce it on my server. You could try to just remove that function with strip_tags(getPageTitle()).....

Also actually it should not make any difference if Zenphoto is in the root or not. But you could try....

Member
Member
stevenew   15-10-2008, 13:29
#26

Sorry where do I put strip_tags(getPageTitle())

Administrator
Administrator
acrylian   15-10-2008, 14:00
#27

Replace getBarePageTitle with it.

Member
Member
stevenew   15-10-2008, 14:28
#28

Presume you mean in pages.php I did that and got: Fatal error: Call to undefined function: getpagetitle() in /path to my zenphoto install/themes/zenpage-default/pages.php on line 5

Maybe I have it in the wrong place?

Also tried a fresh install of zenphoto/zenpage in a sub folder everything default (even a new database for the test) just with the updated contact_form plugin and still got the same error

I guess it must be something with my hosts setup but what?

Administrator
Administrator
acrylian   15-10-2008, 14:39
#29

Sorrry, yes, I mean pages.php.

Something seems not right on your server I would just guess. That function has to be there, too. Especially since I can't reproduce it. It may be a php 4 issue, since I only work on php 5, but if I don't understand it.

Member
Member
stevenew   15-10-2008, 15:25
#30

According to my host adding AddType application/x-httpd-php5 .php to my root htaccess file enables me to run php 5 (but they don't recommend it?) so I did that and php info confirms I'm now running php 5.1.1

sorry but I still get the same error....

I guess I'll go back to trying the custom page and see if I can figure why the 'pages menu' disappears

Pages (5):    1 2 3 4 5   
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.