Results 1 to 30 of 30

Thread: Build in login system
      
   

  1. #1
    wmarais is offline Corporal
    Join Date
    May 2008
    Posts
    15

    Default Build in login system

    Hi, need some help in trouble shooting my login system,


    It seems like it does not find the database file I created, I folloed all the steps as outline in the brief tutorial.

    I made sure the file was actually created by using the filemanager and had permission set at 644.

    I created the database file in an add-on domain folder, thus the location of the database file looks something like this:./public_html/ebook-exchange.com/willem5004let.php (in the form)

    I must be missing something but it keeps on telling me the user database could not be found.

    Any suggestions?

  2. #2
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default Re: Build in login system

    If the script doesn't find the database file, almost certainly you have created it in the wrong location, OR you have typed something wrong in the script objects Properties Dialog window In exampe, typing "/willem5004let.php" instead of "./willem5004let.php" (missing dot)
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  3. #3
    ZipZap is offline Corporal
    Join Date
    Jun 2009
    Posts
    15

    Default Re: Build in login system

    I have hit a brick wall in my attempts to get the Login system to work on my site. I followed NavalDesign's tutorial, and I also checked my script object's properties database location, but I must be missing something in the syntax.

    I created the database through the Signup object properties "create database" function. I put the strange_name.php database file in a folder called /reg. So my path should be ./public_html/mydomain.org/reg/strange_name.php .
    But when I try to use the signup object through the web browser, I get "database not found." I can see the strange_name.php file in the reg folder in BlueFTP. I can see the page with the signup object also in the reg folder.

    2 questions:
    1. what is the exact syntax to be typed into the properties dialog box for the signup object?
    I have tried ./public_html/mydomain.org/reg/strange_name.php .
    I have tried ./public_html/reg/strange_name.php .
    I have tried ./reg/strange_name.php .
    2. I tried the work around to create the notepad-generated file and put it in all of the places I can think of to try. in the public_html/, in the /reg, etc., but no matter what I try, I get database not found. Please help.

  4. #4
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default Re: Build in login system

    The database should be created in the same folder where the pages are.
    If you do this, the database file name that you type in the settings should be simply ./strange_name.php
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  5. #5
    ZipZap is offline Corporal
    Join Date
    Jun 2009
    Posts
    15

    Default Re: Build in login system

    It's really frustrating, because I did put them all in ./public_html/reg . I published the signup object page there AND created the strange_name.php file there, but it still comes back "database not found." I think I'm going to delete all these pages and start over. I hate to recreate them all into public_html without a subfolder, but I've tried using the subfolder and it's not working. Any other advice? I'll be back in 12 hours to start the deleting process. Thanks.

  6. #6
    ZipZap is offline Corporal
    Join Date
    Jun 2009
    Posts
    15

    Default Re: Build in login system

    One more comment for the experts. I also deleted the frontpage extensions in CP, but then reinstalled them. I'm sure you guessed I'm a novice at this, but I thought I'd mention that I did this in case that could somehow be affecting my ability to get my php scripts to work (and my database to be recognized)

  7. #7
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default Re: Build in login system

    Your issues can ONLY be due to:
    1. Missing (for any reason) database file. You can verify this using FTP. Check if the database file is in the same folder as the pages
    2. Mistyping of any kind. You should be typing, as DB file, ./strange_name.php

    Of course, you need to provide the SAME db file name also in all other objects that require it.
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  8. #8
    venommagazine is offline Sergeant
    Join Date
    Sep 2008
    Posts
    24

    Default Re: Build in login system

    I have a question as well. I have built a website where some of the pages need to be viewed via-login. I know that you are supposed to publish your login files using the "strange name" file extension. However, what file extension would I use to publish the regular pages that do not require login?

    Would I publish them the same as always /public_html/mydomain.com

  9. #9
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default Re: Build in login system

    Pages that do not require login can be either html or php.
    Pages that need to be protected, MUST be .php

    As a good rule I make ALL pages php, even if they contain no php code, so I am able to add it in the future if required, without any changes in my menus and without losing SE Page Rank.
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  10. #10
    venommagazine is offline Sergeant
    Join Date
    Sep 2008
    Posts
    24

    Default Re: Build in login system

    OK....I built the website and published all the pages http://www.pmemodels.com . However, there are strange items on the login pages. For instance, when you click on "client login" some of the fonts are missing and are replaced with what looks like a paper symbol. Also, I tested the sign up page and instead of giving me the permission to approve, it just sent me an email to my personal email stating that my new account had been created. I did not even get an email via-my webmaster letting me know that I had a new account request. With that being said, I then tried to login using the account info created and it took me to my login error page. I also created a adminlogin page too. However, where do I publish it?

  11. #11
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default Re: Build in login system

    Sorry, but your post is not clear.

    The Client Login page seems fine to me.
    The signup page does exactly this: allows members to signup. Then you receive an email (both the Admin and the new member) that states the new account creation.

    If you have set the script Behavior -> Admin Account Activation to True, the new account needs to be approved by you before it becomes active.

    The admin page should be published in the same folder as the rest of the files / pages.

    Did you read the tutorial ? Did you follow the instructions precisely ?
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  12. #12
    venommagazine is offline Sergeant
    Join Date
    Sep 2008
    Posts
    24

    Default Re: Build in login system

    Sorry for not being clear with my explanation. I fixed the issue with the signup page.

    I published the admin page with the rest of my files/pages. However, how do I access it once published? Also, do I need to add navigation to this page?

  13. #13
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default Re: Build in login system

    The admin page can be simply accessed using a direct link: http://www.yourdomain.com/admin.php (if we suppose that you have named the admin page "admin") or http://www.yourdomain.com/admin.html

    Depends on whether you have published it as php or html

    Navigation to that page is useless, you will usually want to simply close the window after you are done. The admin page is password protected, so you only you have access to it.

    Nothings prevents you from adding a link to this page from other pages, but there is no use for this, so I simply suggest that you add the admin page URL to your browser favorites.
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  14. #14
    venommagazine is offline Sergeant
    Join Date
    Sep 2008
    Posts
    24

    Default Re: Build in login system

    OK I see. I just published it and I do not see anything. In other words, I see outline/outer edges of the form but the inside is blank.

  15. #15
    venommagazine is offline Sergeant
    Join Date
    Sep 2008
    Posts
    24

    Default Re: Build in login system

    By the way here is the link so you can see what I am talking about http://www.pmemodels.com/loginadmin.php

  16. #16
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default Re: Build in login system

    The page for the admin, created in BV, must NOT have the same name as the php script (loginadmin) that works in the back.

    Rename the page to simply "admin", and publish ALL FILES
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  17. #17
    venommagazine is offline Sergeant
    Join Date
    Sep 2008
    Posts
    24

    Default Re: Build in login system

    Thank you so much!!!! It is working perfectly now. I have 4 websites that must be created. 2 of which I have already completed http://www.pmemodels.com & http://www.illumemanagementgroup.com
    However, the other 2 will have client login pages as well. Therefore, I would rather get all my trials and errors corrected now so that the other websites are a breeze to create. Thanks again for your help!

  18. #18
    venommagazine is offline Sergeant
    Join Date
    Sep 2008
    Posts
    24

    Default Re: Build in login system

    I do have one more question :) Is there a way that once approved an automatic email is sent to the new member letting them know their account has been activated?

  19. #19
    terry_pro is offline Corporal
    Join Date
    Sep 2008
    Posts
    15

    Default Re: Build in login system

    Naveldesign... When will you be updating the Login tutorial to include code that can redirect customers to their own specific pages? Many Thanks :)

  20. #20
    terry_pro is offline Corporal
    Join Date
    Sep 2008
    Posts
    15

    Default Re: Build in login system

    Hi Naval,

    I am having a few problems with the login features, i can create a db no problems, how do i get my other published pages linked to it, as it seems it will only read the db if it is in the same folder ?

    Many Thanks

  21. #21
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default Re: Build in login system

    Not sure I understand. You don't need to LINK your pages to the db.

    The Protect Page object simply verifies if a user is logged in or not. If not, it redirects the user to the login page.
    At that point, the pages can be in any folder.

    Or did I misread your post ?
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  22. #22
    terry_pro is offline Corporal
    Join Date
    Sep 2008
    Posts
    15

    Default Re: Build in login system

    Sorry Navel, i was getting to carried away. let me explian :

    1. I created the admin panel (www.techtranseu.com/ava.admin.php)and the db. The admin screen works fine so i assume the db is being read and working well.

    2. Have a created the login page in the same folder (www.techtranseu.com/ava/login.php). However when i try to login, it just refreshes the page and i am not redirected to any of the pages i have listed in the object properties. (./lobby.php) or (./unauthorised.php).

    3.In the login object properties i am unable to type a page, i must select it from a location, this may be the problem, do i select it from the bluevoda location (saved pages) or the FTP location ?

    4. I would like people to go straight to the lobby.php page when they log-in, But when i add the page protection and publish the page, it still lets me view it and does not redirect me to the login page.

    Thanks i hope this explains the scenrio a bit more clearly.

  23. #23
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default Re: Build in login system

    1. Can you add, delete etc users from within the Admin page ?
    2. Are the lobby.php and unauthorised.php pages in the same folder ? In anyway, you CAN type the pages URLs, you don't need to browse to location.
    3. Your "lobby" page DOESN'T contain the Protect Page object, so it is not protected. At least that's what I see in the page code.
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  24. #24
    terry_pro is offline Corporal
    Join Date
    Sep 2008
    Posts
    15

    Default Re: Build in login system

    1. Yes the admin page is fully functional.
    2. yes all the related .php pages are published to the same folder, also i type the pages into the object properties but they disapear when i go back into them?
    3.the lobby page did have the protect page property?

    Let my retry with another site i am working on.

    Thanks again !

  25. #25
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default Re: Build in login system

    I recall another member having the same issues. He did NOT have the latest BV version (11.4 G)

    Please update your BV.
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  26. #26
    terry_pro is offline Corporal
    Join Date
    Sep 2008
    Posts
    15

    Default Re: Build in login system

    THANK YOU,

    You are the man Navel, maybe i should check my e-mails from Voda more often. 11.4 !!! all working now, just need try and compress all my files now to optermise my site, before i transfer it to its domain. Many, Many thanks.


    www.techtranseu.com/mkunited

  27. #27
    Judahpeter's Avatar
    Judahpeter is offline Sergeant
    Join Date
    Nov 2009
    Posts
    28

    Default Re: Build in login system

    I have a question.
    I have about 10 pages for my site based on the login script. I created all the pages in .php and everything is in place and they all work individually when I published them. Then I went to link them together and no problems.

    When I went to test is out, my problem is that my signup doesn't work!. All it does is take me to my access_denied.php page, even though this isn't in the parameters of the signup properties. (the signup box doesn't have a errorpage parameter!!) I tried to have the following pages protected and then not protecting them to see if they made a difference; nope.

    I read over the tutorial really well and I have a good grasp on it. This seems almost like a bug to me. I even tried making a new signup and it does the same thing, except this one takes me to index page regardless of any input variables). I have the latest version of BV, and the database is in the correct folder and database name matches where it supposed to.

    Any idea why this is happening? I can't even get the signup to fail with a bad email or bad username.


    In closing, after I publish the page, it doesn't matter what I enter in the signup box, I always get directed to the access_denied.php that I made!

    Please help! Thanks in advance
    I am the way, the truth, and the life. John 14:6
    www.preaching-truth.com

  28. #28
    Judahpeter's Avatar
    Judahpeter is offline Sergeant
    Join Date
    Nov 2009
    Posts
    28

    Default Re: Build in login system

    I think through prayer and troubleshooting I found the problem. I have a "Login" and a "Signup" form on the SAME page and I don't think that BV supports this. That could explain why I am getting the accessdenied.php when I use the "Signup" form; it's because the "Login" has the accessdenied.php in it's parameters.

    Next, I created a new page with just the "Signup" page, but it still didn't take me to my protected page. But when I created a page with just the "Login", the "Login" DID work. Mind you, they are identical databases.

    That brings me to another question. So if the "Signup" doesn't take me to a protected page successfully, does that mean that the "Signup" form actually doesn't "LOG" you into the protected pages? Do I still have to officially "Login" once I'm signed up? Hope this isn't to confusing :)

    Would someone please clarify this?

    Thanks,

    In Christ, Shawn
    I am the way, the truth, and the life. John 14:6
    www.preaching-truth.com

  29. #29
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default Re: Build in login system

    From the Tutorial (did you read it carefully ?)

    Functionality:
    The script consists in a number of objects that each allows you to achieve a specific task. EACH object must be in a page of its own, so don’t add multiple objects in a single page.

    And YES, Signup is not enough for a user to reach the protected pages. He must Login. Please note that if the Acount activation is set to "Admin Activation = True", the account must be activated by the site administrator before the user can Login.
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  30. #30
    Judahpeter's Avatar
    Judahpeter is offline Sergeant
    Join Date
    Nov 2009
    Posts
    28

    Default Re: Build in login system

    Quote Originally Posted by navaldesign View Post
    Functionality:
    The script consists in a number of objects that each allows you to achieve a specific task. EACH object must be in a page of its own, so don’t add multiple objects in a single page. .

    Oops. I must of missed that line. :) Thanks for clarifying this issue for me. :) God bless!

    In Christ, Shawn
    I am the way, the truth, and the life. John 14:6
    www.preaching-truth.com

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49