Membership plugin won't recognize dedicated ip

Re: [Dan Maitland] Membership plugin won't recognize dedicated ip

By Chris - October 13, 2010

Hi Dan,

The error you're getting is due to a path issue, not a domain issue.

There's a line at the top of signup.php like this:

<?php require_once "cmsAdmin/lib/viewer_functions.php"; ?>

Because your signup.php script is in your login/ directory, it's looking for viewer_functions.php in login/cmsAdmin/lib/viewer_functions.php. The solution is to fix the line above to provide the correct path to viewer_functions.php. You can either copy-and-paste some code which does this out of any page generated by the CMS Builder Code Generator, or guess at the path.

If I had to make a wild guess, it'd be:

<?php require_once "../cmsAdmin/lib/viewer_functions.php"; ?>

I hope this helps. Please let me know if you have any questions.
All the best,
Chris

Re: [chris] Membership plugin won't recognize dedicated ip

That did the trick Chris, thank you very much.