Undefined class name in...

User 1933842 Photo


Registered User
4 posts

I have created my first Form tonight and when installed on my test server it looks good but when I click the submit button I get the following

Fatal error: Undefined class name 'formpage' in .../fbapp/php/config.inc.php on line 14

Line 14 is $myPage = FormPage::GetInstance( $myName );

What do I need to change, please?

I am not using an S drive account.
User 2073552 Photo


Registered User
1,625 posts

Can we have a link to the page in question?
"An Apple doth not fall far from its tree, yet an orange does."

https://lbwebsitedesign.com - Responsive Web Design & Web Hosting Services.
http://helpsite.sirage.com - HTML5, CSS3 and CC Help Video Blog.
User 1933842 Photo


Registered User
4 posts

Of course. There is no link to this page within the web page as a whole, as I am still experimenting!

http://www.hampshirepolicechoir.org.uk/ … rship.html

Regards
User 103173 Photo


VP of Software Development
0 posts

Geoffrey Culbertson wrote:
Of course. There is no link to this page within the web page as a whole, as I am still experimenting!

http://www.hampshirepolicechoir.org.uk/ … rship.html

Regards

Your server does not meet the minimum server requirements. It appears you have PHP 4.x installed but at a minimum you need 5.1

http://www.hampshirepolicechoir.org.uk/ … ertest.php
Learn the essentials with these quick tips for Responsive Site Designer, Responsive Email Designer, Foundation Framer, and the new Bootstrap Builder. You'll be making awesome, code-free responsive websites and newsletters like a boss.
User 2073552 Photo


Registered User
1,625 posts

What Scott said...
"An Apple doth not fall far from its tree, yet an orange does."

https://lbwebsitedesign.com - Responsive Web Design & Web Hosting Services.
http://helpsite.sirage.com - HTML5, CSS3 and CC Help Video Blog.
User 104413 Photo


Registered User
14 posts

For prevent any risk, I have also add one index.*** page into every folder. Do you think it's a good idea?
Thank you.
User 187934 Photo


Senior Advisor
20,192 posts

You added a index folder to all the folders created by the form builder? I would publish the form files as they were created and test the form. Then if it all works you can go about altering the output to fit your needs. Do one thing at a time so you know what causes any errors.:)
Also update the version you have to 4591;)
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 38401 Photo


Senior Advisor
10,951 posts

FXPdesigner wrote:
For prevent any risk, I have also add one index.*** page into every folder. Do you think it's a good idea?
Thank you.


Adding a blank index.html page to each folder with any content in it you don't want easily accessed is always a good idea. This keeps the folder that those items are in from showing the file tree if someone types in the folder location itself. Good call :)
User 187934 Photo


Senior Advisor
20,192 posts

FXPdesigner wrote:
For prevent any risk, I have also add one index.*** page into every folder. Do you think it's a good idea?
Thank you.

Add this line to your htaccess file and you won't have to remember to keep doing that.;)

IndexIgnore *
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.