Parsing CSV File to display on a WFB...

User 2836110 Photo


Registered User
96 posts
Online Now

It didn't like to be saved as html file because of the php script.
I did it anyway and the form didn't display at all.
User 187934 Photo


Senior Advisor
19,803 posts
Online Now

I just tested by deleting the 004WZ.html file off my server and it would hang again. Uploaed it back up and the form works as expected.
https://ericrohloff.com/coffeecup/ccfor … /004WZ.php
I'll take a look at the coffeecup scripts to see where it's referencing the 004WZ.html maybe it can be changed.
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 2836110 Photo


Registered User
96 posts
Online Now

I would be very grateful Eric,
Thank you.
User 187934 Photo


Senior Advisor
19,803 posts
Online Now

Found it.
Line 62 of the formpage.cls.php page
It's in the directory 004WZ/fbapp/php/formpage.cls.php
Change this
$filename = $this->name . '.html';

to
$filename = $this->name . '.php';

Worked for me. I was able to delete the 004WZ.html file off the server.
https://ericrohloff.com/coffeecup/ccfor … /004WZ.php
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 2836110 Photo


Registered User
96 posts
Online Now

Success !!
Very thankful for you support and help Eric,
The parsing from the CSV file works a treat.
User 187934 Photo


Senior Advisor
19,803 posts
Online Now

Great!
Make sure to put that rest script in there if the form is holding values when you go back to it.
Post back if you need anymore help.
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 2836110 Photo


Registered User
96 posts
Online Now

All done Eric
I will fully test it further today before I let my staff start using it.
Thanks again.
User 2836110 Photo


Registered User
96 posts
Online Now

Here is the fully finished form with all the 9 trailers added in.
Working beautifully.
Thank you.

https://files.farmtronics.com.au/004WZt … testDR.php
User 187934 Photo


Senior Advisor
19,803 posts
Online Now

Your welcome.
Glad to see another happy CC user.:cool:
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 2836110 Photo


Registered User
96 posts
Online Now

Ecstatic CC Customer actually:D

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.