Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Front End User Login Plugin (XML Or Database - ver: 3.0)
#14
Hello Mikeh

I managed to solve the problem by changing your code a little. The problem is here

Code:
<form method="post" action="'.$site_url.'/'.$the_page_slug.'" name="loginform" id="loginform">

When the submit button is clicked it posts the data to SLUG i.e www.yoursite.com/index
where index is the slug of the actual page index.php. When i was testing it locally on my computer it was working fine but when I uploaded it and tried to login it showed me 404 page doesnt exist because the url above is incomplete. So I changed that code to this

Code:
<form method="post" action="index.php?id='.$the_page_slug.'" name="loginform" id="loginform">

Now it works perfectly, when you submit it it goes to the actual page i.e www.yoursite.com/index.php?id=index

This url works both locally and on my hosting server.

I aslo changed the same code for register button and logout button.
Reply


Messages In This Thread
Example site down, having issues - by Rich_K - 2012-11-14, 07:36:37
login box won't display - by horstuff - 2015-11-20, 04:57:25
Front End User Login Plugin (XML Or Database - ver: 3.0) - by usmandgreat - 2011-08-06, 22:39:54



Users browsing this thread: 1 Guest(s)