Edit Profile Link not working

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Edit Profile Link not working
Father
CZ Newbie
Father has been a member for over 20 year's 20 Year Member
Gender: Male
Status: Offline
Joined: Dec 16, 2004
0.00 posts per day
Posts: 13
Points: 592
   
The link to

mysite.com/modules.php?name=Forums&file=profile&mode=editprofile

works fine if a user is logged in, however when not logged in it comes up with an error 404 instaed of redirecting me to the login page.

This happens on 7.6 and did not happen on 6.5.



Back to top Reply with quote
#2   re: Edit Profile Link not working
Gareth
CZ Addict
 Codezwiz Site Donator
Gareth has been a member for over 20 year's 20 Year Member
uk.gif
Occupation: Student, Webmaster
Gender: Male
Fav. Sports Team: Liverpool FC
Status: Offline
Joined: May 29, 2004
0.08 posts per day
Posts: 587
Points: 38,220
   
Hi,

That means that the script directory setting in your forum configuration is wrong, it needs to be something like:

/modules/Forums/

I THINK, im not 100% sure but i've had a problem with a standalone phpBB board where the login page wasn't working which was because the script dir was incorrect.

Gareth




_________________
[ Register or login to view links on this board.]
Back to top Reply with quote
#3   re: Edit Profile Link not working
echo
CZ Wiz
 Codezwiz Site Donator
Gender: Male
Status: Offline
Joined: Oct 04, 2003
0.15 posts per day
Posts: 1147
Points: 93
   
Check this post:
[ Register or login to view links on this board. ]



Back to top Reply with quote
#4   re: Edit Profile Link not working
Father
CZ Newbie
Father has been a member for over 20 year's 20 Year Member
Gender: Male
Status: Offline
Joined: Dec 16, 2004
0.00 posts per day
Posts: 13
Points: 592
   
Hmm, still not fixed posted in the above thread.

Thx



Back to top Reply with quote
#5   Re: re: Edit Profile Link not working
bmhoma
CZ Newbie
bmhoma has been a member for over 20 year's 20 Year Member
germany.gif
Gender: Male
Status: Offline
Joined: Dec 28, 2004
0.00 posts per day
Posts: 1
Points: 27
   


Originally posted by Father @ Fri Dec 17, 2004 10:00 am:

Hmm, still not fixed posted in the above thread.

Thx


Change /Forums/profile.php line 108




redirect(append_sid("login.$phpEx?redirect=profile.$phpEx&mode=editprofile", true));



to this




$header_location = ( @preg_match("/Microsoft|WebSTAR|Xitami/", $_SERVER["SERVER_SOFTWARE"]) ) ? "Refresh: 0; URL=" : "Location: ";
header($header_location . append_sid("login.$phpEx?redirect=profile.$phpEx&mode=editprofile", true));
exit;



bye




_________________
[ Register or login to view links on this board. ]
Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum