Hello; I Hope I'm At the right place!. I Installed membership-2 script. When you go to register You'll get the following error messages. As You see 3 are only “Warning†but there is one “Fatal†error. Needly to say, No One Can Register, Can anyone tell me what the problem is? Warning: Invalid argument supplied for foreach() in /sites/hopear/htdocs/membership/register.php on line 63 Warning: fread(): supplied argument is not a valid stream resource in /sites/hopear/htdocs/membership/register.php on line 105 Warning: fclose(): supplied argument is not a valid stream resource in /sites/hopear/htdocs/membership/register.php on line 108 Fatal error: Call to undefined function encode_decode() in /sites/hopear/htdocs/membership/register.php on line 114 Any Help Given Would Be Great! MaleFingers
First things first: did the script have a readme file and did you follow all the steps outlined in it? The errors you're getting make me think you needed to alter/input your own settings in a configuration file.
I downloaded the script to see if I could find the source of the errors you're getting. Hard to pinpoint without seeing your installation though. I can tell you this: I think the problem is with the extensions/register.php file. That last error message you get, for example, refers to an undefined function which should be declared if extensions/register.php is running (it has the include statement for headers/functions.php, which is where that encode/decode function is defined). The first error message you get refers to $array_custom, which is also defined in extensions/register.php. Hope that helps somewhat. You may want to delete everything and try a fresh install. If that doesn't work pm me and I'll see if I can help further.