learngreektoday Posted August 17, 2006 Share Posted August 17, 2006 I am starting a e-learning website to teach the Greek Language and am having some trouble with a authenticate/membership script call vSignup. I should let you know off the bat that I am very new at PHP. I have been working with HTML for awhile but just got into server side processing language. Let me give you as much info so it will be easy for you guys to help...layout:I have a apache server behind my firewall. I did this so I can develop the site and then go live at a later date. The site is accessible from the internet Server(ip 192.168.1.3)servers installed:aph,php,MySQL,phpmyadminPage dir//htdocs(all pages are here)-->vSignup-->phpmyadminvSignup installation:1. Launch your database manager (phpMyAdmin) for MySQL and run the createdb.sql file.2. Modify authconfig.php to match your database settings and your file pathing. 3. Modify auth.php to match your database settings.4. Modify signup config to match your database settings, file pathing, and administrator email address.step 1Done. I see the information in MySQLStep 2: Modify authconfig.php [b]// ALL PATHS BELOW ARE RELATIVE TO THE DIRECTORY WHERE YOU HAVE INSTALLED vAuthenticate$resultpage = "vAuthenticate.php";$admin = "/vAuthenticate/admin/index.php";$success = "/vAuthenticate/members/index.php";$failure = "/failed.php";[/b](few lines down)$[b]changepassword = "http://" . $_SERVER['192.168.1.3'] . "/vSignup/chgpwd.php";$login = "http://" . $_SERVER['192.168.1.3'] . " /index.htm"; $logout = "http://" . $_SERVER['192.168.1.3'] . "/vSignup/logout.php";(dbhost, dbusername,dbpassword, and dbname are set.)[/b]Step 3:Modify auth.php all info setstep 4: Modify signup config database info set[b]$RelLogin = "/index.php";$confirm = "http://" . $_SERVER['192.168.1.3'] . "/confirm.php";[/b]Thats the config so far.1st issue is that I can't access the administrator page. It says "after I have config all the pages to go to my the login.php( now my index.php) and enter the default username/password. When I do I get the following msg in my browser:FORBIDDEN[i]You don't have permission to access/< on this server.[/i][i]2nd issue is when I try and signup a test user I get this msg:[/i]Notice: Undefined index 192.168.1.3 in c:\programsfile\apache2\htdocs\vSighup\signupconfig.php on line 39[/I[I]]Notice: Undefined index 192.168.1.3 in c:\programsfile\apache2\htdocs\vSighup\process.php on line 200Thank you for signing up!Now something must be working but I don't see the test user in the database(don't know if I am looking in the correct place) and when I try and login using the test user I get the same msg.Thank you in advanceP.S I you need access to my server to see any pages or code please send me a private msg....Thanks Quote Link to comment https://forums.phpfreaks.com/topic/17837-vsignup-membership-script/ Share on other sites More sharing options...
learngreektoday Posted August 18, 2006 Author Share Posted August 18, 2006 I must have posted a problem that no one can help me with.. :-[ Quote Link to comment https://forums.phpfreaks.com/topic/17837-vsignup-membership-script/#findComment-76909 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.