We all started somewhere! Share your experience on the Get Advice: Let's Get Started Sweepstakes thread and be entered to win a $100 credit on your Constant Contact account.

CCSFG keeps taking me to the error page.

wellnessworx
Regular Participant

CCSFG keeps taking me to the error page.

I have uploaded the ccsfg file and placed the code in my HTML file. Everything seems to be working Ok. However when you enter you emaill address and press the sign up button it always goes to the error page and does not add the contact to the mailing list. I'm not sure what I'm doing wrong.

 

web address is http://mywellnessworxonline.com/book-massage.html

 

Any help would be greatly appreciated.

 

Dustin

16 REPLIES 16
Ryan_D
Employee

Hey Dustin,

 

I would go through the generator again and select a different list. 

 

Let me know if this works.

Ryan Davis
Quality Engineer
wellnessworx
Regular Participant

I went through the process again and it seems to be doing the same thing. Are there permissions I need to be giving the ccsfg file on the server so that this will work correctly. Right now the permissions are set to 705 for that folder.

wellnessworx
Regular Participant

Still stuck on this. I did go through and create another form with a different list. Same situation. I'm sure this is a simple fix but I can't figure it out for the life of me. 

 

Any help is appreciated. 

 

Here is the form I have on my website.

 

<form id="ccsfg" name="ccsfg" method="post" action="/ccform/signup/index.php">
          <table width="100%">
            <tr>
              <td><!-- ########## First Name ########## -->
                
                <label for="FirstName">First Name</label></td>
              <td><input type="text" name="FirstName" value="" id="FirstName" /></td>
            </tr>
            <tr>
              <td><!-- ########## Email Address ########## -->
                
                <label for="EmailAddress">Email</label></td>
              <td><input type="text" name="EmailAddress" value="" id="EmailAddress" /></td>
            </tr>
            <tr>
              <td><!-- ########## Contact Lists ########## -->
                
                <input type="hidden"  checked="checked"  value="Wellness Worx Newsletter & Special Massage Offers" name="Lists[]" id="list_Wellness Worx Newsletter & Special Massage Offers" />
                
                <!-- ########## Success / Failure Redirects ########## -->
                
                <input type="hidden" name="SuccessURL" value="http://mywellenssworxonline.com/book-massage-success.html" />
                <input type="hidden" name="FailureURL" value="http://mywellenssworxonline.com/book-massage-oops.html" /></td>
            </tr>
            <tr>
              <td  colspan="2" align="center"><input type="submit" name="signup" id="signup" value="Sign Up" /></td>
            </tr>
          </table>
        </form>

 

 

Dustin

Hey Dustin,

 

What the generator shouldnt give you the informatin in the table.  Can you rerun the generator and give me the exact output?

 

It should be something like this:

 

<form id="ccsfg" name="ccsfg" method="post" action="/ctctuser/CCSFG/signup/index.php">
<h4>Registration Form</h4><p>To join our mailing list, please complete the information below and click 'Join My Mailing List'.</p> <!-- ########## Email Address ########## --> <label for="EmailAddress">Email Address</label> <input type="text" name="EmailAddress" value="" id="EmailAddress" /><br /> <!-- ########## Contact Lists ########## --> <input type="hidden" checked="checked" value="General Interest" name="Lists[]" id="list_General Interest" /> <input type="hidden" value="general interest" name="Lists[]" id="list_general interest" /> <input type="submit" name="signup" id="signup" value="Join My Mailing List" />

 

Ryan Davis
Quality Engineer
wellnessworx
Regular Participant

I added the tables for formatting reasons. That shouldn't effect the form should it?

 

Here is the code most recently generated without the tables.

 

BTW, still not working and the problem of going straight to the error page remains the same.

 

<form id="ccsfg" name="ccsfg" method="post" action="/ccform/signup/index.php">

<h4>Registration Form</h4><p>To join our mailing list, please complete the information below and click 'Join My Mailing List'.</p>

<!-- ########## Email Address ########## -->
<label for="EmailAddress">Email Address</label>
<input type="text" name="EmailAddress" value="" id="EmailAddress" /><br />

<!-- ########## First Name ########## -->
<label for="FirstName">First Name</label>
<input type="text" name="FirstName" value="" id="FirstName" /><br />

<!-- ########## Contact Lists ########## -->
<input type="hidden"  checked="checked"  value="Web Sign Ups" name="Lists[]" id="list_Web Sign Ups" />
<!-- ########## Success / Failure Redirects ########## -->
<input type="hidden" name="SuccessURL" value="http://mywellnessworxonline.com/book-massage-success.html" />
<input type="hidden" name="FailureURL" value="http://mywellnessworxonline.com/book-massage-oops.html" />


<input type="submit" name="signup" id="signup" value="Join My Mailing List" />

</form>		

 

Hey,

 

Try to change the chmod of the files.

 

All Directories: 755

All Files: 644

Ryan Davis
Quality Engineer
wellnessworx
Regular Participant

Updated chmod no go still.

 

 

Hey,

 

Can you make a php file with:

 

<?php phpinfo(); ?>

 and give me the link to that file.  I just want to see what is going on behind the scenes as the program should be working.

Ryan Davis
Quality Engineer
wellnessworx
Regular Participant
wellnessworx
Regular Participant

Did you see the link I created for you to look at? Any suggestions yet? Thanks in advance for your help you are very kind.

 

 

http://mywellnessworxonline.com/ccsfg-test.php

I am trying to create a test environment similar to yours to see if I can replicate the issue.  I don't really see any issues with your php info as of yet but I am still working on it for you.

Ryan Davis
Quality Engineer

What if you try using just your General interest list?

Ryan Davis
Quality Engineer
wellnessworx
Regular Participant

rewriteengine on
rewritecond %{HTTP_HOST} ^www.mywellnessworxonline.com$ [OR]
rewritecond %{HTTP_HOST} ^mywellnessworxonline.com$
rewriterule ^chiropractic\/chiropractic\.html$ "http\:\/\/mywellnessworxonline\.com\/chiropractic" [R=301,L] #4e1420119ed2b
rewritecond %{HTTP_HOST} ^www.mywellnessworxonline.com$ [OR]
rewritecond %{HTTP_HOST} ^mywellnessworxonline.com$
rewriterule ^massage-bozeman-contact\.html "http\:\/\/mywellnessworxonline\.com\/contact-us\.html" [R=301,L] #4ca18a1a9dcbc
rewritecond %{HTTP_HOST} ^www.mywellnessworxonline.com$ [OR]
rewritecond %{HTTP_HOST} ^mywellnessworxonline.com$
rewriterule ^total-body-solution\.php "http\:\/\/mywellnessworxonline\.com\/chiropractic\/total-body-solution\.html" [R=301,L] #4ca351d87174a
rewritecond %{HTTP_HOST} ^www.mywellnessworxonline.com$ [OR]
rewritecond %{HTTP_HOST} ^mywellnessworxonline.com$
rewriterule ^Sports_Massage\.html "http\:\/\/mywellnessworxonline\.com\/types\/sports-massage\.html" [R=301,L] #4ca352b578af8
rewritecond %{HTTP_HOST} ^www.mywellnessworxonline.com$ [OR]
rewritecond %{HTTP_HOST} ^mywellnessworxonline.com$
rewriterule ^Chiropractic_WORx\.html "http\:\/\/mywellnessworxonline\.com\/chiropractic\/chiropractic\.html" [R=301,L] #[R=301,L]
rewritecond %{HTTP_HOST} ^www.mywellnessworxonline.com$ [OR]
rewritecond %{HTTP_HOST} ^mywellnessworxonline.com$
rewriterule ^wellness-worx-tour\.html "http\:\/\/mywellnessworxonline\.com" [R=301,L] #4ca353047eb4c
rewritecond %{HTTP_HOST} ^www.mywellnessworxonline.com$ [OR]
rewritecond %{HTTP_HOST} ^mywellnessworxonline.com$
rewriterule ^massage-bozeman\.php "http\:\/\/mywellnessworxonline\.com\/massage\/massage-therapy\.html" [R=301,L] #4ca350e889c46
rewritecond %{HTTP_HOST} ^www.mywellnessworxonline.com$ [OR]
rewritecond %{HTTP_HOST} ^mywellnessworxonline.com$
rewriterule ^Prenatal_Massage_\.html "http\:\/\/mywellnessworxonline\.com\/types\/prenatal-massage\.html" [R=301,L] #4ca352e368206
rewritecond %{HTTP_HOST} ^www.mywellnessworxonline.com$ [OR]
rewritecond %{HTTP_HOST} ^mywellnessworxonline.com$
rewriterule ^wellness-worx-news\.html "http\:\/\/mywellnessworxonline\.com\/news-room\.html" [R=301,L] #4ca189a0257de
rewritecond %{HTTP_HOST} ^www.mywellnessworxonline.com$ [OR]
rewritecond %{HTTP_HOST} ^mywellnessworxonline.com$
rewriterule ^Schedule-Online\.html "http\:\/\/mywellnessworxonline\.com" [R=301,L] #[R=301,L]
rewritecond %{HTTP_HOST} ^www.mywellnessworxonline.com$ [OR]
rewritecond %{HTTP_HOST} ^mywellnessworxonline.com$
rewriterule ^Massage_WORx\.html "http\:\/\/mywellnessworxonline\.com\/massage\/massage-therapy\.html" [R=301,L] #4ca352263c925
rewritecond %{HTTP_HOST} ^www.mywellnessworxonline.com$ [OR]
rewritecond %{HTTP_HOST} ^mywellnessworxonline.com$
rewriterule ^Benefits_of_Massage\.html "http\:\/\/mywellnessworxonline\.com\/benefits\/benefits-of-massage\.html" [R=301,L] #4ca3528ad08b4
rewritecond %{HTTP_HOST} ^www.mywellnessworxonline.com$ [OR]
rewritecond %{HTTP_HOST} ^mywellnessworxonline.com$
rewriterule ^Types_Of_Massage\.html "http\:\/\/mywellnessworxonline\.com\/types\/types-of-massage\.html" [R=301,L] #4ca3517131468
rewritecond %{HTTP_HOST} ^www.mywellnessworxonline.com$ [OR]
rewritecond %{HTTP_HOST} ^mywellnessworxonline.com$
rewriterule ^Massage-Gift-Certificates\.html "http\:\/\/mywellnessworxonline\.com\/get-started\/get-started-gifts\.html" [R=301,L] #4ca353231536c
rewritecond %{HTTP_HOST} ^www.mywellnessworxonline.com$ [OR]
rewritecond %{HTTP_HOST} ^mywellnessworxonline.com$
rewriterule ^wellness-worx-services\.html "http\:\/\/mywellnessworxonline\.com" [R=301,L] #4ca351313063b
rewritecond %{HTTP_HOST} ^www.mywellnessworxonline.com$ [OR]
rewritecond %{HTTP_HOST} ^mywellnessworxonline.com$
rewriterule ^Trigger_Point_Massage\.html "http\:\/\/mywellnessworxonline\.com\/types\/trigger-point\.html" [R=301,L] #4ca35263afadf
rewritecond %{HTTP_HOST} ^www.mywellnessworxonline.com$ [OR]
rewritecond %{HTTP_HOST} ^mywellnessworxonline.com$
rewriterule ^Total_Body_Solution\.php "http\:\/\/mywellnessworxonline\.com\/chiropractic\/total-body-solution\.html" [R=301,L] #4ca34df3ab9e5
rewritecond %{HTTP_HOST} ^www.mywellnessworxonline.com$ [OR]
rewritecond %{HTTP_HOST} ^mywellnessworxonline.com$
rewriterule ^Chair_Massage\.html "http\:\/\/mywellnessworxonline\.com\/types\/chair-massage\.html" [R=301,L] #4ca3519ee1b47
rewritecond %{HTTP_HOST} ^www.mywellnessworxonline.com$ [OR]
rewritecond %{HTTP_HOST} ^mywellnessworxonline.com$
rewriterule ^tbs-alignment-results\.html "http\:\/\/mywellnessworxonline\.com\/chiropractic\/total-body-solution\.html" [R=301,L] #4ca189d3063c2
rewritecond %{HTTP_HOST} ^www.mywellnessworxonline.com$ [OR]
rewritecond %{HTTP_HOST} ^mywellnessworxonline.com$
rewriterule ^Hot_Stone_Massage\.html "http\:\/\/mywellnessworxonline\.com\/types\/hot-stone\.html" [R=301,L] #4ca34f6cc15e5
rewritecond %{HTTP_HOST} ^www.mywellnessworxonline.com$ [OR]
rewritecond %{HTTP_HOST} ^mywellnessworxonline.com$
rewriterule ^Swedish_Massage\.html "http\:\/\/mywellnessworxonline\.com\/types\/swedish-massage\.html" [R=301,L] #4cc27baed17e6
rewritecond %{HTTP_HOST} ^www.mywellnessworxonline.com$ [OR]
rewritecond %{HTTP_HOST} ^mywellnessworxonline.com$
rewriterule ^chiropractic-testimonials\.html "http\:\/\/mywellnessworxonline\.com" [R=301,L] #4ca1886c93324
rewritecond %{HTTP_HOST} ^www.mywellnessworxonline.com$ [OR]
rewritecond %{HTTP_HOST} ^mywellnessworxonline.com$
rewriterule ^Deep_Tissue_Massage\.html "http\:\/\/mywellnessworxonline\.com\/types\/deep-tissue\.html" [R=301,L] #4ca18972277f3
rewritecond %{HTTP_HOST} ^www.mywellnessworxonline.com$ [OR]
rewritecond %{HTTP_HOST} ^mywellnessworxonline.com$
rewriterule ^Wellness-Worx-Online\.php "http\:\/\/mywellnessworxonline\.com" [R=301,L] #4ca351f95cb51


Options +FollowSymLinks
# index.php to /
Options +FollowSymLinks
# BEGIN Compress text files
<ifModule mod_gzip.c>
mod_gzip_on Yes
mod_gzip_dechunk Yes
mod_gzip_item_include file \.(html?|txt|css|js|php|pl)$
mod_gzip_item_include handler ^cgi-script$
mod_gzip_item_include mime ^text/.*
mod_gzip_item_include mime ^application/x-javascript.*
mod_gzip_item_exclude mime ^image/.*
mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
</ifModule>
# END Compress text files
# BEGIN Expire headers
<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 1 seconds"
ExpiresByType image/x-icon "access plus 2592000 seconds"
ExpiresByType image/jpeg "access plus 2592000 seconds"
ExpiresByType image/png "access plus 2592000 seconds"
ExpiresByType image/gif "access plus 2592000 seconds"
ExpiresByType application/x-shockwave-flash "access plus 2592000 seconds"
ExpiresByType text/css "access plus 604800 seconds"
ExpiresByType text/javascript "access plus 216000 seconds"
ExpiresByType application/javascript "access plus 216000 seconds"
ExpiresByType application/x-javascript "access plus 216000 seconds"
ExpiresByType text/html "access plus 600 seconds"
ExpiresByType application/xhtml+xml "access plus 600 seconds"
</IfModule>
# END Expire headers
# BEGIN Cache-Control Headers
<IfModule mod_headers.c>
<FilesMatch "\.(ico|jpe?g|png|gif|swf)$">
Header set Cache-Control "max-age=2592000, public"
</FilesMatch>
<FilesMatch "\.(css)$">
Header set Cache-Control "max-age=604800, public"
</FilesMatch>
<FilesMatch "\.(js)$">
Header set Cache-Control "max-age=216000, private"
</FilesMatch>
<FilesMatch "\.(x?html?|php)$">
Header set Cache-Control "max-age=600, private, must-revalidate"
</FilesMatch>
</IfModule>
# END Cache-Control Headers
# BEGIN Turn ETags Off
<IfModule mod_headers.c>
Header unset ETag
</IfModule>
FileETag None
# END Turn ETags Off
# BEGIN Remove Last-Modified Header
<IfModule mod_headers.c>
Header unset Last-Modified
</IfModule>
# END Remove Last-Modified Header
Options +FollowSymLinks
#rewritecond %{HTTP_HOST} ^www.mywellnessworxonline.com$ [OR]
#rewritecond %{HTTP_HOST} ^mywellnessworxonline.com$
#rewriterule ^chiropractic\/chirorpactic\.html #"http\:\/\/mywellnessworxonline\.com\/chiropractic\/chiropractic\.html" [R=301,L]
#rewritecond %{THE_REQUEST} ^.*/index.php
#rewriterule ^(.*)index.php$ http://mywellnessworxonline.com/$1 [R=301,L]
#rewritecond %{THE_REQUEST} ^.*\/index\.html?\ HTTP/
#rewriterule ^(.*)index\.html$ http://mywellnessworxonline.com/$1 [R=301,L]
#rewritecond %{HTTP_HOST}  ^www.mywellnessworxonline.com [nocase]
#rewriterule ^(.*)         http://mywellnessworxonline.com/$1 [last,redirect=301]

 OK I figured it out. For some reason this .htaccess file is routing the mywellnessworxonline.com/signup/index.php and it is showing up as a 301 redirect. I commented out the section at the bottom and it now works perfectly. Do you know what that should be changed to so that mywellnessworxonline.com/index.html and /index.php both route to the root mywellnessworxonline.com/? but that will not affect the mywellnessworxonline.com/signup/index.php?

 

I'm sure that is clear as mud!!! Thanks for your help and sorry I didn't think of this earlier.

 

 

Can you re-post exactly what you did to solve this?  I am having the same problem.

 

THANKS!

Hey there. I changed the .htaccess file on my server so that it was only redirecting the index.php file at the root level and not all index.php files. Do you have access to you .htaccess file on your server? If so could you make a copy of that and post it? I'll take a look at it for you.

martind0
Participant

Hi,

I'm having the same problem.  My htaccess file is empty since i'm running on a windows server.  can ccsfg still work for me?  If not... what can I do?

Thanks

 

Developer Portal

View API documentation, code samples, get your API key.

Visit Page