|
|
| |||||||
| roScripts related discussions If there's anything that you hate, love or wish seing please say it here. |
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Junior Member Join Date: Nov 2007
Posts: 18
Rep Power: 0 ![]() | Ok i'm having a slight problem with the newest login script. Everything runs smoothly right up until the point that the user checks their inbox and clicks on the activation link. If you want to see what im talking about try the registration process at: www.x360gamerz.com here is the error: 404 Not Found The requested URL /login/confirm.php?ID=3&key=RCX8ejQ0jUsA9KIWuJdl5JLhoX4Bu zGo does not exist. All help is appreciated!!! |
| | |
| Sponsored Ads | #1.5 |
| Sponsored posting Join Date: The beginning
Posts: lots
| Sponsored by... WM Media - Sell Your Website at above market prices!
|
| |
| | #2 (permalink) |
| Administrator Join Date: May 2007 Location: Bucharest
Posts: 649
Rep Power: 10 ![]() | Line 27 in register.php. Change: PHP Code: to: PHP Code:
__________________ Give a man a fish and you feed him for a day. Teach him how to fish and you feed him for a lifetime. |
| | |
| | #3 (permalink) |
| Junior Member Join Date: Nov 2007
Posts: 18
Rep Power: 0 ![]() | got that all fixed but i dont understand the whole checklogin() thing. I have all of my login files on /php/login/ and then i have a page that is under vids/video.php and i want to protect it. how would i do that? Last edited by ajn24 : 11-20-2007 at 04:29 AM. |
| | |
| | #4 (permalink) |
| Junior Member Join Date: Nov 2007
Posts: 18
Rep Power: 0 ![]() | When i dropped the lines <?php session_start(); checkLogin('1 2'); ?> at the beginning of my video.php page..which is located at http://www.x360gamerz.com/vids/videos.php it gave me this error: Fatal error: Call to undefined function checklogin() in /home/xthrsixz/public_html/vids/videos.php on line 3 how do i fix this? |
| | |
| | #5 (permalink) |
| Administrator Join Date: May 2007 Location: Bucharest
Posts: 649
Rep Power: 10 ![]() | You must includes settings.php ( require ( 'settings.php' ) ) in order to use functions (such as checklogin ) that are defined in those files. PHP Code:
__________________ Give a man a fish and you feed him for a day. Teach him how to fish and you feed him for a lifetime. |
| | |
| | #6 (permalink) |
| Junior Member Join Date: Nov 2007
Posts: 18
Rep Power: 0 ![]() | i put these lines in at the top of my videos.php: <?php require ('./php/login/settings.php'); session_start(); checkLogin('1 2'); ?> All it did was make a wierd link at the top of the page. Any other suggestions RoScripts? B/C i have no idea what to do. |
| | |
| | #7 (permalink) |
| Junior Member Join Date: Nov 2007
Posts: 10
Rep Power: 0 ![]() | i guess what roscript was trying to say was you must put the exact path on where the settings.php is located.. i mean, if you have your settings.php on your public_html folder then include public_html to the path.. ^_^ |
| | |
| | #8 (permalink) |
| Administrator Join Date: May 2007 Location: Bucharest
Posts: 649
Rep Power: 10 ![]() | checklogin already starts the session. PHP Code: Your problem however, states that you're not including settings.php correctly. './php/login/settings.php' - Is this the correct path?
__________________ Give a man a fish and you feed him for a day. Teach him how to fish and you feed him for a lifetime. |
| | |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Need Link Exchange Partner | chris | Link building | 1 | 10-09-2008 08:50 AM |
| activation e-mail link doesn't work | francoisxi | PHP | 21 | 02-22-2008 08:19 PM |
| Jewelry link exchange | Madison | Link building | 0 | 01-16-2008 09:01 AM |
| error in login script Fatal Error: | chris | roScripts related discussions | 2 | 11-18-2007 08:42 PM |
| Best link building technique | danii | Link building | 6 | 11-14-2007 06:17 PM |