Form Worked Fine - Made 2 Small...

User 413036 Photo


Registered User
19 posts

I designed a survey form for my group. I put it up on the web page at
http://www.mcsb.us/MembersOnly/surveys/playerschoice/playerschoicesurvey.php
and it worked just fine.

There were a couple of things I wanted to change about it - moving one field to a different location, changing the post-submit feedback text. I made the changes, uploaded all the files again, now it won't work!

The error message says, "Warning: file_get_contents(form.cfg.php) [function.file-get-contents]: failed to open stream: No such file or directory in /home3/mcsb831/public_html/MembersOnly/surveys/playerschoice/PlayersChoice/fbapp/php/config.cls.php on line 343
Configuration missing." -- I dug into the directories and files on the server and that file IS there.

I deleted ALL the files off the server, and did a re-export from the Form Builder software, re-uploaded everything, and it still doesn't work.

I'm stumped. What can I do to fix this form so it works again?

Thanks,

David
User 103173 Photo


VP of Software Development
0 posts

There can be 2 possible issues here:

1. This issue could be caused by permissions not being properly set on your server. With an FTP client, locate the folder called storage and change the permissions for that folder and all folders under it to 755. That should then fix the issue.

2. That could be caused by PHP Sessions not being enabled on your server. All you need to do is contact your hosting provider and have them enable PHP Sessions and your form will start to work.

Also, you some how messed up the markup we gave you. You placed each line of the markup inside of a <div>. Not sure how you did that, but you certainly will want to fix that.... ;)

<div class="concert_listing"><script type="text/javascript">document.write(unescape("%3Ciframe id=\"fb_iframe\" src=\"PlayersChoice.php" + window.location.search + "\" width=\"100%\" height=\"1579\"allowtransparency=\"true\" scrolling=\"no\" frameborder=\"0\"%3E&lt;a href=\"PlayersChoice.php\" title=\"PlayersChoice\"&gt;Check out my CoffeeCup Form&lt;/a&gt;%3C/iframe%3E"));</script>
</div>
<div class="concert_listing"><noscript>
</div>
<div class="concert_listing"> <iframe width="100%" height="1579" style="border:none; background:transparent; overflow:hidden;"
</div>
<div class="concert_listing"> id="fb_iframe" src="PlayersChoice/PlayersChoice.html">
</div>
<div class="concert_listing"> &lt;a href="PlayersChoice.php" title="PlayersChoice"&gt;Check out my CoffeeCup
</div>
<div class="concert_listing"> Form&lt;/a&gt;
</div>
<div class="concert_listing"> </iframe>
</div>
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 413036 Photo


Registered User
19 posts

Thanks for these suggestions. I very much appreciate the answer.

However, it doesn't really make sense. Why would the form work fine the first time, but then when I changed two things, it suddenly throws an error? In between those sessions I did not reset folder permissions or suddenly deny sessions access. I checked the folder, and permissions are 755. The site uses sessions in several other ways, so there's no questions sessions are enabled. Also, there are several other CoffeeCup FB forms on the site, and they still work fine.

I fixed the <div> problem so the markup FB furnishes remains intact, but it's still throwing the error.

I'm wondering if I should simply discard the form and rebuild it from scratch?

Thanks,

David
User 103173 Photo


VP of Software Development
0 posts

David Miller wrote:
Thanks for these suggestions. I very much appreciate the answer.

However, it doesn't really make sense. Why would the form work fine the first time, but then when I changed two things, it suddenly throws an error? In between those sessions I did not reset folder permissions or suddenly deny sessions access. I checked the folder, and permissions are 755. The site uses sessions in several other ways, so there's no questions sessions are enabled. Also, there are several other CoffeeCup FB forms on the site, and they still work fine.

I fixed the <div> problem so the markup FB furnishes remains intact, but it's still throwing the error.

I'm wondering if I should simply discard the form and rebuild it from scratch?

Thanks,

David

This issue has nothing to do with the form. The problem is with how you uploaded the files and pasted in the markup. I would delete the form and re-upload everything.
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 413036 Photo


Registered User
19 posts

Thanks, Scott, that worked.

It's frustrating, because the first time I deleted everything and reloaded (see the original post), it didn't work. Oh, well, I won't argue with success.

On behalf of all us out here using the software, THANKS for being available, and being patient.

David

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.