Can't login to Constant Contact Signup Form Generator

SOLVED
Go to solution
Regular Participant

Can't login to Constant Contact Signup Form Generator

I'm not really sure what the problem is. I try to use the Constant Contact login information, but it just gives me the error:

 

We could not authenticate those credentials! Please try again. (?)

 

Is the folder supposed to have special permissions, or located somewhere specific on the server to run right? I don't know why its not authenticating.

 

Maybe something to do with the update to latest PHP 5.3? I had to manually create the log file to even get the code to run.

 

Currently on a Plesk 10 server, running latest PHP, the generator folder is in the httpdocs folder

 

Thanks.

1 ACCEPTED SOLUTION
Regular Participant

Discovered the problem, Port 443 was blocked for all outgoing server traffic (other than email). Once that was opened it seems to be working fine.

 

Might be worth noting in the documentation or something that it should be open to use the script.

 

Thanks for all the help though!

View solution in original post

14 REPLIES 14
Employee

Hi Amy,

 

This could be caused by a few different things.  Are you logging in with the same username and password that you would use to log into your constant contact account on constantcontact.com. 

 

Thanks,

Ryan Davis
Quality Engineer
Regular Participant

Yes, same user/pass as used to log into Constant Contact

 

Hmm, also tried editing permissions to those files, not working yet.

 

I saw that it created a config file on the server, I edited that and manually added my user/pass but that didn't help either.

Just for testing, can you make sure that all files and directories under the CCSFG folder are have read, write, execute permissions? Each php page references other php files, which may not be readable with the default permissions.

 

Please post the end of your webserver log file when you next try, just in case it shows anything useful.

 

Phil

Phil Ayres

Principle - Consected
Regular Participant

Entire folder set to 777 permissions

 

Log

2011-07-26T12:00:58-07:00 - ### Credentials Page ###.
2011-07-26T12:00:58-07:00 - Credentials written to config file.
2011-07-26T12:00:58-07:00 - Credentials reset to blank in config file.
2011-07-26T12:00:58-07:00 - ??? Error authenticating credentials using service description for rigginsidaho.

 

If I add in the username/login to the config.php it will show me as logged in, but going to the next page, Lists it loses it and throws an error.

Hey Amy,

 

When you uploaded the files were you using a PC or a MAC and what file transfer method did you use?

 

Thank you,
Ryan

Ryan Davis
Quality Engineer
Regular Participant

Using a PC, Filezilla set to Auto transfer type, which picks which way to upload depending on filetype.

I don't know if you fixed this yet. I found that I had a problem when I changed the permissions on the setup directory itself, even though the files were visible. Also, I remember I had to change the ownership of the files. For mine, everything is owned by the www-data owner / www-data group, which is the owner / group that the web server runs as. I had to run

 

 

chown --recursive www-data:www-data * 

 to get it to work originally. Your web user may be different, so you should check. 

 

 

 

 

Phil Ayres

Principle - Consected

Hi Amy,

 

Can you try to upload it to a new directory and delete the config.php file.  It will recreate itself when it gets loaded. 

 

Thank you,

Ryan Davis
Quality Engineer
Regular Participant

Discovered the problem, Port 443 was blocked for all outgoing server traffic (other than email). Once that was opened it seems to be working fine.

 

Might be worth noting in the documentation or something that it should be open to use the script.

 

Thanks for all the help though!

View solution in original post

Member

I had a lot of trouble setting this up the first time on an Ubuntu server running Apache and PHP. If you have the same problem as me, it is all about getting the permissions right.

 

Pre-creating the log file helps you, because you can set a specific (write) permission on it without exposing everything else in the application. These are the files I had to treat as special cases:

 

signup/index.php

setup/functions.php

setup/build_functions.php

cc_class.php

config.php

 

Basically, since I have tight control in the process of creation, I make everything readable and writable to my www-data user and group during setup, then I lock down all the files that aren't included above after setup, and finally make just the files above readable and executable afterwards. Depending on OS, you may have to treat the directories as special cases as well. Specifically, I give these files no permissions after setup is complete:

 

setup/index.php

setup/code.php

setup/header.php

setup/lists.php

setup/state.php

 

This was the only way I could get it to work and still maintain some level of security. I had to look at the web server log file a lot as well, to get some feedback why things weren't working as expected.

 

I hope this helps. And if you see anything I've missed, please let me know.

Phil

Phil Ayres

Principle - Consected
Occasional Participant

I can log in fine from all computers but not from my Xoom. Tried the App as well as going through my browser. Get your webiste but no place to log in although the site is designated as such.

Hey,

 

I just wanted to clarify that you cant use the Constant Contact Simple Form Generator with the motorola XOOM.  If this is the case, I would suggest sticking to using a laptop/desktop for your development needs as I don't have a XOOM to do any testing with.  I will try to get my hands on an Android based OS to test this.

 

 

Ryan Davis
Quality Engineer

I don't know if this is the same problem or not.  I am unable to login at work but home computer is fine.  All login and p/w are correct.  Any clues on how I can fix this problem?  Doing my work at home is killing me!

Hey Connie,

 

This sounds like you hare having some connectivity issues from work to our website.  I would advise calling support as they can walk you through the process of what you need to do.  A few things that I would suggest trying from work is going to http://ui.constantcontact.com to see if it allows you to login from there.  Also try to connect to http://www.constantcontact.org.  Also depending on what kind of error you are getting, if its not accepting your credentials then it may have the wrong password saved or if it is timing out you may be connected to a proxy.  A few resources to test connectivity issues would be to:

 

1) Clear Cache
2) Flush DNS
3) Trace route to Constantcontact.com

 Depending on your operating system the instructions will be different and a simple Google search will give you a plethora of options of what these things are as well as how to use them. 

 

Please be sure to call in to 1.866.289.2101

Ryan Davis
Quality Engineer
Developer Portal

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

Visit Page