***UPDATED*** DB Technosystems Form Processor 02/09/2011

In this section you can share self-made extensions with other users of WYSIWYG Web Builder.
There is a dedicated section for commercial extensions.
Post Reply
User avatar
me.prosenjeet
 
 
Posts: 1268
Joined: Mon Dec 24, 2007 1:50 pm
Location: Lucknow
Contact:

Post by me.prosenjeet »

Using this after a long time so must be missing something.

This is the URL
http://mangalamindia.com/contactus.php

When the form is submitted, instead of opening the success.php or error.php, the contact form page opens again with the following message at the top :
Warning: Cannot modify header information - headers already sent by (output started at /home/mangalam/public_html/contactus.php:22) in /home/mangalam/public_html/contactus.php on line 602
And the emails are delevered correctly, to the admin as well as to the form submitter.
Check the new Chat GPT and Malware detect extensions at the link below

Check my WB Extensions
Check my WB Templates
---------------------------------------------------------
www.Lucknowwebs.com
User avatar
Navaldesign
 
 
Posts: 862
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Post by Navaldesign »

There is a white (blank) line somewhere in your Start of Page.

Go in Page HTML, click on Start of page, and look at the page code in the upper window, you should be able to trace this line and delete it.
www.dbtechnosystems.com
User avatar
me.prosenjeet
 
 
Posts: 1268
Joined: Mon Dec 24, 2007 1:50 pm
Location: Lucknow
Contact:

Post by me.prosenjeet »

Naval, thanks for your quick reply.
I checked, there isnt anything in the "Start of page" section.

The souce code if you see the first few lines, it is:
<?php
session_start();
if ($_SERVER['REQUEST_METHOD'] == 'POST')
{
if (isset($_POST['captcha_code'],$_SESSION['random_txt']) && md5($_POST['captcha_code']) == $_SESSION['random_txt'])
{
unset($_POST['captcha_code'],$_SESSION['random_txt']);
}
else
{
echo '<b>The entered code was wrong.</b><br>';
echo '<a href="javascript:history.back()">Go Back</a>';
exit;
}
}
?>
Check the new Chat GPT and Malware detect extensions at the link below

Check my WB Extensions
Check my WB Templates
---------------------------------------------------------
www.Lucknowwebs.com
User avatar
me.prosenjeet
 
 
Posts: 1268
Joined: Mon Dec 24, 2007 1:50 pm
Location: Lucknow
Contact:

Post by me.prosenjeet »

Edit....

Naval all the pages are set to doc type XHTML and page extension php. This has resulted into few blank lines at the top that is there in the masterpage as well which the contact form uses.
Is this the reason?

Do I need to change the extn of all pages to html(except the one on which the form is) and keep the doc type as XHTML?
Check the new Chat GPT and Malware detect extensions at the link below

Check my WB Extensions
Check my WB Templates
---------------------------------------------------------
www.Lucknowwebs.com
User avatar
Navaldesign
 
 
Posts: 862
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Post by Navaldesign »

I can't be sure how this line is generated, but if you look at your page source code, you will see the blank line.

Try this:

Open the page, go in Start of Page, and click on the (empty) lower window.
Press Del (or Canc) repeatedly

Then look at the code again.
www.dbtechnosystems.com
User avatar
me.prosenjeet
 
 
Posts: 1268
Joined: Mon Dec 24, 2007 1:50 pm
Location: Lucknow
Contact:

Post by me.prosenjeet »

Naval, the blank lines were being caused by this extension:

JW Image Rotator 3.17 ***Update 27/12/09*** by Bacon

viewtopic.php?p=143024#143024

I hev reported there. Add that extension on a blank page and see the source, it generates 3 blank lines. I have reported to Bacon
Check the new Chat GPT and Malware detect extensions at the link below

Check my WB Extensions
Check my WB Templates
---------------------------------------------------------
www.Lucknowwebs.com
User avatar
me.prosenjeet
 
 
Posts: 1268
Joined: Mon Dec 24, 2007 1:50 pm
Location: Lucknow
Contact:

Post by me.prosenjeet »

Naval,
The form works perfect, now that I have removed the concerned extension and embedded a flash in that place.
Thanks for your help
Check the new Chat GPT and Malware detect extensions at the link below

Check my WB Extensions
Check my WB Templates
---------------------------------------------------------
www.Lucknowwebs.com
User avatar
iamafireman
 
 
Posts: 84
Joined: Mon May 26, 2008 2:41 am
Location: Tennessee

Post by iamafireman »

I can not get my time correct. I am in central time zone, US, and no matter what I put as my time zone I am off by 2 hours. I host with godaddy so could it be a server thing.
User avatar
Navaldesign
 
 
Posts: 862
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Post by Navaldesign »

www.dbtechnosystems.com
User avatar
iamafireman
 
 
Posts: 84
Joined: Mon May 26, 2008 2:41 am
Location: Tennessee

Post by iamafireman »

That is what i used: America/Indiana/Knox

small part of the code:
$timezone = "America/Indiana/Knox";
....
....
....
$include_ip ="No";
$include_browser = "No";
$include_datetime = "Yes";

When I receive the emails the time is 2hours behind.
User avatar
Navaldesign
 
 
Posts: 862
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Post by Navaldesign »

Setting the default timezone is a standard PHP function, so I can't know why it doesn't work for you.

However it doesn't take into account any daylight settings. Maybe that's the reason why ?
www.dbtechnosystems.com
User avatar
iamafireman
 
 
Posts: 84
Joined: Mon May 26, 2008 2:41 am
Location: Tennessee

Post by iamafireman »

Daylight savings would only be one hour off. Plus it doesnt matter what I put as the timezone it is always 2 hours off. Thats why i was wondering if it could be a server issue. Also if I set "no" to include time it still show up in the auto respond email.
User avatar
Navaldesign
 
 
Posts: 862
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Post by Navaldesign »

This is not normal, unless you have used a single (without word separation) text like

asfddfgsdfgsdfhfsghdsfgjhdfsxhgjhdsgjvfshdfjhsdbvmshdskhdbvkshdbvksdhvbkshbvkdsfhkvdsfvgksdjfhksduyhlsjdhglsufugodfhgehuldujfrghldsjufldsufhglduhflgdsuldfldshfgsdhdkjgshdlkuyhgsdlfughsòdlkfjghsòdlfjhgsòdofuhgsòdoluhgsduhgòsldfhg.dskfjhg.xdljfhglsdfhgidufhsldhgsòòdsagdrg

In that case, being a unique word (string) the table will be forced to expand horizontaly.

If, instead, you have used separate words, the table will expand verticaly.

If you look at my own post, you will see in your browser that the forum now appears extended horizontaly.
www.dbtechnosystems.com
User avatar
chattd
 
 
Posts: 46
Joined: Wed Nov 26, 2008 7:03 pm

Error in sending form

Post by chattd »

When i submit form i get this error Image but i still get email could you please help.
User avatar
chattd
 
 
Posts: 46
Joined: Wed Nov 26, 2008 7:03 pm

form in question

Post by chattd »

Sorry the site form in question is here http://www.glendower.co.uk/enquiry_form.php
User avatar
Navaldesign
 
 
Posts: 862
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Post by Navaldesign »

Are you receiving both emails ? Admin and Autoresponder ?
www.dbtechnosystems.com
User avatar
Navaldesign
 
 
Posts: 862
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Post by Navaldesign »

Due to work I have not tested it yet, but I will as soon as possible. There should be no issues however, so what is the problem that you are encountering ?
www.dbtechnosystems.com
User avatar
frankus
 
 
Posts: 38
Joined: Sat Dec 05, 2009 10:04 pm

DB Technosystems Form Processor problem

Post by frankus »

No matter what I did, DB Technosystems Form Processor is not working for me. When you fill all info and click Submit, i see;

The entered code was wrong.
Go Back

I followed the manual instruction exactly. I have tried it in different hosting sites and configured it differently but still, it did not work. I'm confused I don't know what to do now.

See the web form link http://fttbk.0sites.net/tester/
Here is the WBS file --> http://www.mediafire.com/?n5y1xcwmnnwmlzo

Thanks for your help in advance
User avatar
Navaldesign
 
 
Posts: 862
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Post by Navaldesign »

The encoding type MUST be multipart / form data instead of text / plain that you have now.
www.dbtechnosystems.com
User avatar
frankus
 
 
Posts: 38
Joined: Sat Dec 05, 2009 10:04 pm

Post by frankus »

i did it but now you see a blank page after pressing submit. And no email arrives.
User avatar
Navaldesign
 
 
Posts: 862
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Post by Navaldesign »

This means that there is a error in the page code, for some reason. I would need to see the PUBLISHED page code (full, with its php code)

Another possible reason could be the php version running on the account, as some hosts run php 4 by default instead of the required php 5.

If the site offers mail() or SMTP mailing , I suggest that you change the gmail settings, as gmail has made some changes and might not work with their SMTP server.
www.dbtechnosystems.com
User avatar
frankus
 
 
Posts: 38
Joined: Sat Dec 05, 2009 10:04 pm

Post by frankus »

This means that there is a error in the page code, for some reason. I would need to see the PUBLISHED page code (full, with its php code)
Check them out here- http://www.mediafire.com/?3yzx2izxhcl2ro0
Another possible reason could be the php version running on the account, as some hosts run php 4 by default instead of the required php 5.
Check out the php info of the site - http://fttbk.0sites.net/phpinfo.php
If the site offers mail() or SMTP mailing , I suggest that you change the gmail settings, as gmail has made some changes and might not work with their SMTP server.
I got this info from the site Forum;
Just set your mail setting to use PHP mail(), and make sure the "from address" field is set to an email address based on your domain on the server. e.g. If your site is example.com then the from e-mail address should be "xyz@example.com". The mail setting require any mail to originate from a domain that is actually hosted on the server.

Direct SMTP mailing scripts are forbidden, you may only send mail through the SMTP software installed on the server, using sendmail or connecting via SMTP. That just means you cannot bypass the server's own mail service to send mail.
The gmail settings are almost the same settings I use in my email client. The only difference is that my email client uses TLS 587. Google site says one can configure smtp port as follows;

Port for STARTTLS: 587
or
Port for TLS: 587
or
Port for SSL: 465

DB Technosystems Form Processor uses only SSL: 465 which is still ok.
User avatar
Navaldesign
 
 
Posts: 862
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Post by Navaldesign »

PHP version is fine.

SMTP mail is forbidded if not through their own SMTP server. So set the processor to use either the mail() function or SMTP (Port 25) without authentication or Sendmail. The script supports any of these.

The page code doesn't seem to have any issue.

You can eventually download the file from the site through FTP, change this line

error_reporting(0);

to

error_reporting(E_ALL)

so it will report the error that occurs. Save and upload on the site.

Or, if you have an online file editor on your hosting account, use that to edit the file online.
www.dbtechnosystems.com
User avatar
frankus
 
 
Posts: 38
Joined: Sat Dec 05, 2009 10:04 pm

Post by frankus »

I just want to use google smtp to receive form information.

I will do as you instructed and get back to you.

Thanks for your patience with me.
User avatar
frankus
 
 
Posts: 38
Joined: Sat Dec 05, 2009 10:04 pm

Post by frankus »

I did that and this is what I see when the page loads;

Image

Line 26 is this-

Code: Select all

$SESSION = $_SESSION['POST'];
while line 37 is this-

Code: Select all

$includefile = $start_of_script_include;
Last edited by frankus on Wed Jul 14, 2010 5:12 pm, edited 1 time in total.
User avatar
Navaldesign
 
 
Posts: 862
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Post by Navaldesign »

ok, pls change it to

error_reporting(55);
www.dbtechnosystems.com
User avatar
Navaldesign
 
 
Posts: 862
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Post by Navaldesign »

Ok, it seems that you have set the error page to be errorpage.html but you have published errorpage as .php

The script can't find the page to include, and this is the reason why (before we changed the error reporting) it resulted in a blank page
www.dbtechnosystems.com
User avatar
frankus
 
 
Posts: 38
Joined: Sat Dec 05, 2009 10:04 pm

Post by frankus »

it is changed. But after clicking submit I saw;

##error##
User avatar
Navaldesign
 
 
Posts: 862
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Post by Navaldesign »

There is something strange going on, I see the script code in the page.....

Please UNCHECK the Rewrite Captcha Property and publish again.

Your settings for mail are still through GMail...
www.dbtechnosystems.com
User avatar
frankus
 
 
Posts: 38
Joined: Sat Dec 05, 2009 10:04 pm

Post by frankus »

it has gone crazy. I don't know why.
User avatar
Navaldesign
 
 
Posts: 862
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Post by Navaldesign »

Please read above post
www.dbtechnosystems.com
User avatar
frankus
 
 
Posts: 38
Joined: Sat Dec 05, 2009 10:04 pm

Post by frankus »

I put it back in error_reporting(0); and changed it to Sendmail. Then I got success page after clicking submit. But no email arrived.
User avatar
Navaldesign
 
 
Posts: 862
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Post by Navaldesign »

Try also SMTP, Port 25, No Authentication

Make changes and publish again
www.dbtechnosystems.com
User avatar
frankus
 
 
Posts: 38
Joined: Sat Dec 05, 2009 10:04 pm

Post by frankus »

I changed smtp, port 25 leaving other things intact but after pressing submit, I saw the error page with this “##error##”

This thing is giving me real headache.

How do I make sure the "from address" field is an email address based on my domain on the server? I suspect the visitor’s email address in the web form becomes automatically the “from address” which I think some servers don’t like. The WB form does this.
User avatar
Navaldesign
 
 
Posts: 862
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Post by Navaldesign »

Normally the user's email address IS used as "from".

There is a rather complicated way to do what you ask .

I could fix this for you, but I would need access to your hosting account. If you don't mind, you can contact me through my site contact form.
www.dbtechnosystems.com
User avatar
frankus
 
 
Posts: 38
Joined: Sat Dec 05, 2009 10:04 pm

Post by frankus »

I have sent you the necessary info through your website form. Again, thanks for your continued assistance.
User avatar
frankus
 
 
Posts: 38
Joined: Sat Dec 05, 2009 10:04 pm

Post by frankus »

Finally got it working :P Thanks Navaldesign!
User avatar
jerryco
 
 
Posts: 885
Joined: Fri Mar 27, 2009 2:42 pm
Location: Purmerend, Holland

Post by jerryco »

Is there a way to get the value from a field named 'subject' to appear as the administrator email's subject?

So when the form would ask: Enter Subject [_________] that this subject is then used for sending the email instead of 'New Submission from our Website Form' ?

And secondly, is it possible to do the same with the fields named name and email, so that the visitor's name and email is used instead of the generic website address?


Much appreciated if this can be done (new version optionally?)
// Love is the acceptance of nothing / Account age is no guarantee of efficiency ;-) ->

Above, Beyond, and @wwonderfull! <- Genuinely helps you with a powered up site that counts! Four Times Excellence!
User avatar
docdoc
 
 
Posts: 55
Joined: Sun Jul 18, 2010 9:34 am

Post by docdoc »

hi Navaldesign

does this extension work with WB7?
thanks
User avatar
Navaldesign
 
 
Posts: 862
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Post by Navaldesign »

Yes, It works with WB 7
www.dbtechnosystems.com
harville
 
 
Posts: 33
Joined: Fri Mar 23, 2007 3:07 am

Adding Protect Single Page causes problem

Post by harville »

I want to protect a page on my site with the web builder made 'Single Page Protect'. The page I need protected also includes your form extention. I wasn't able to look through all 40+ pages of comments on your extension, but I was wondering what I need to do in order to protect a page using the Single Page Protect that also includes your form extension.

After I enter the password to open the page, the page automatically redirects to the "thankyou" page, as if I had completed the form and clicked the submit button. Any suggestions? Thanks!
User avatar
Navaldesign
 
 
Posts: 862
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Post by Navaldesign »

Assign the form an ID number, and set this ID number in the Form Processor properties.

This should do the job, and it is necessary (if you read the manual) because you have more than one forms in the page. Infact, the Single Page Protect object is a form.

Let me know if you have any issues.
www.dbtechnosystems.com
harville
 
 
Posts: 33
Joined: Fri Mar 23, 2007 3:07 am

Post by harville »

Ok, I gave your form extension the proper id name and followed your manual, but I'm still getting the same results.

Am I supposed to do the same with the Single Page Protect form?

When I type the password to enter the page, I get redirected to the thank you page, but if I close that page and reclick to open the page again, I see my form, but after I fill out the form and click submit, the password page opens and says the password was incorrect.

It's like both submit buttons switched what they were supposed to control.
Any ideas?

You can see what i mean by going to: http://www.thefilmuntouched.com/untouched/ and click on the button 'RSVP' on the right side of the nav bar. Thanks!
harville
 
 
Posts: 33
Joined: Fri Mar 23, 2007 3:07 am

Post by harville »

the password is: admin
User avatar
Navaldesign
 
 
Posts: 862
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Post by Navaldesign »

admin is not accepted as password
www.dbtechnosystems.com
harville
 
 
Posts: 33
Joined: Fri Mar 23, 2007 3:07 am

Post by harville »

I had to change it temporarily so it can be used. I just added a page with no form and put the password protect on it. It has a link to the form. Had to change password as well. I can send it to you if there is a way to keep from posting it here. Thanks
User avatar
Navaldesign
 
 
Posts: 862
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Post by Navaldesign »

You can use my contact form, if you wish. I would probably need, however, to enter your hosting account, OR, you can send me the project so I can check it.
www.dbtechnosystems.com
User avatar
neo_webbuilder
 
 
Posts: 79
Joined: Wed Jan 31, 2007 11:05 am

Post by neo_webbuilder »

Naval i need some help.

I have two problems with the dbform processor.

1. No success of error page is shown after submit. With or without the recaptcha the submit does not trigger the success page.

2. When i add my own recaptcha and i set the settings to force recaptcha on ..... i get a white page after submit.

3. What is the use of the force recaptcha to yes when using the dbts recaptcha?

I was use to write my own sendmail.php which checked the recaptcha and showed a success or error page.

How does the recaptcha add into the form processor I do not get it.


_______________________________________________________


Next i entered the normal captcha to test that.

Now after one send i can not get the error page to work.

After a complete send the whole page is corrupted.



Please help
Tia,

Neo
To visit the global geocoder to get lattitude and longitude values click on the logo:
User avatar
Navaldesign
 
 
Posts: 862
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Post by Navaldesign »

This is not normal behavior.

Does the form submit ?
Do you receive the mail ?

If yes, post here EXCACTLY what you hav etyped in the Success URL and in the Error URL fields of the processor.

You can NOT use your own recaptcha with the form, you must use the DBTS recaptcha. You simply add in your page the DBTS recaptcha and place it INTO the form limits.
www.dbtechnosystems.com
User avatar
neo_webbuilder
 
 
Posts: 79
Joined: Wed Jan 31, 2007 11:05 am

Post by neo_webbuilder »

Naval i will upload the website again because it gets corrupted after one send of a email from the contact form the whole form is corrupted

It does however submit only one time. The first time only. i receive a correct email.

After that the page is corrupted. Please try.

please let only naval try

http://www.smulbroodjes.nl

about the recaptcha...... what about the error or success page? I get only a white page when i use it and press submit.
To visit the global geocoder to get lattitude and longitude values click on the logo:
Post Reply