close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Using CMS 2 with User Registration

Thread began 4/26/2012 6:18 am by KW2912 | Last modified 4/26/2012 8:05 am by KW2912 | 3940 views | 3 replies |

KW2912

Using CMS 2 with User Registration

Hi guys,

I'm having problems getting these two pieces of your software to work together - I think because of something to do with helper_PHP.php. When I try to load a page that is access protected (but I haven't logged in) I'm getting the error.

Error 310 (net::ERR_TOO_MANY_REDIRECTS): There were too many redirects.

The webpage at //www.websitename.com/user_login/index.php?accesscheck=%2Fuser_login%2Findex.php has resulted in too many redirects. Clearing your cookies for this site or allowing third-party cookies may fix the problem. If not, it is possibly a server configuration issue and not a problem with your computer.

Any ideas what I need to do so that I can protected pages which can be edited with CMS 2?

Thanks for any assistance you can provide.

Sign in to reply to this post

KW2912

All is well!

Found the problem.

My header info on Line 4 at the "WA_Auth_RestrictAccess" part was set wrong - I was telling the browser to go to the same page the user was actually on instead of redirecting it to the users login page if they hadn't provided log in details. Doh!!!

Some times the answer is just staring you in the face.... :)

Sign in to reply to this post

KW2912

Spoke too soon :(

Rats tails.

Now I'm getting a fatal error:

Fatal error: Cannot redeclare wa_authenticateuser() (previously declared in /*******webserverlocation*****/user_login/WA_SecurityAssist/Helper_PHP.php:10) in *******webserverlocation*****/cms/WA_SecurityAssist/Helper_PHP.php on line 48

Clearly a clash of codes between my installation of CMS 2 and User Registration. Can anybody point out the obvious as to why this happening and what I can do to fix it?

Thanks again - I'm a bit of a PHP lightweight!!!!!

Sign in to reply to this post

KW2912

LOL - Seek and ye shall find

All is well again. Commented out help_PHP.php as suggested elsewhere in these forums and everything working normally.

Well until I break something again.

Hope everyone enjoyed my self-assist post as much as I enjoyed writing it. LOL

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...