, Guest!
Already a Member? Login or Register.

Menu



Showcase


Due to the volume of spam happening on our forums, posting is now restricted to verified members only.  If you're not verified, drop us a note with your username.

Home > FlexCMS Support Forum > User Help > FAQ's: Contact Form > Error in Contact Form

FlexCMS Support Forum


Error in Contact Form
Started May 9, 2006 @ 9:23am by wilson765
Post Message 
wilson765


Posts: 12
 
Error in Contact FormMay 9, 2006 @ 9:23am
2 errors occur in the contact form when edited via pages using the flex editor.

1. The print' command shows in the edit window. (My users will automatically delete this.)

2. If you add any other text to the contact page via the editor a <div> is placed at the start and returns the following error.


Parse error: syntax error, unexpected '<' in /home/shuffleb/public_html/index.php(1483) : eval()'d code on line 1

Hope this helps

All the best

Steve
 
otter
Administrator



Posts: 177
 
May 9, 2006 @ 12:48pm
Hi Steve,

The contact form is a PHP enabled page and as such will not work with the FlexCMS Page Editor, which by design only works on standard HTML pages. You can still edit the contact form pages, but you will need knowledge of how PHP operates, and can do so through the Page Contents box. If you need some help with this, please let us know.

Also, if you wish to prevent your users from making this mistake or from messing with the PHP pages in general, you have two options. The first is to give them a different permission level, and remove the ability to create or modify PHP content from that level. The other option is to create them a different level, and simply move the Edit Permission Level for those specific pages to one higher than theirs, which will remove those pages from their list of ones they can edit.

To get your contact page to work again, simply follow the instructions on this topic:

http://www.flexcms.com/index.php/forum/thread/8.html

If you have any problems or questions, please let us know!

Thanks!

otter
aka Kel


ONLINE TRAINING CLASSES FOR FLEXCMS IN MAY: FlexCMS Basics (101), Sat., May, 15, 2010 & FlexCMS Blocks (Mon., May 10, 2010).
 

Post Message 




Try & Buy FeedForAll - Easy to use RSS Feed Creator - great for iTunes users!

MEMBERS




All Contents, Code, Scripts and Technologies Copyright 2003-2009 FlexCMS.
All Rights Reserved. Software License Agreement

Processing Time: 0.12672 seconds.
 
Management Login

Powered By FlexCMS
Powered By FlexCMS