4images Forum & Community

4images Issues / Ausgaben => Discussion & Troubleshooting => Topic started by: vectra_soundz on April 07, 2006, 01:08:35 AM

Title: Login/Logout/Register problem
Post by: vectra_soundz on April 07, 2006, 01:08:35 AM
hi, when ever some one logs in/out or gets sent an activate account email the is always a '\ ' in the address causing the page not to display: http://vectra.gotdns.com\/register.php?action=activate&activationkey=d372dfe230717131f9be533daf8f8fb3
Title: Re: Login/Logout/Register problem
Post by: V@no on April 07, 2006, 01:18:41 AM
did you add address of your gallery in includes/constants.php?
Title: Re: Login/Logout/Register problem
Post by: vectra_soundz on April 07, 2006, 01:22:54 AM
no, how do you do this i'm new to php
Title: Re: Login/Logout/Register problem
Post by: V@no on April 07, 2006, 01:29:07 AM
Ok, then please answer these:
can you show a link to phpinfo on your server (refer FAQ for more info and PM me if you dont want it to be public)
if you cant, then please answer this:
1) what version is your 4images?
2) what system is your server running on (Windows, Unix, Linux, etc)?
3) if windows, then what version?
4) what kind of webserver and what versionr is it? (Apache, IIS, etc)
5) what PHP version?
Title: Re: Login/Logout/Register problem
Post by: vectra_soundz on April 07, 2006, 01:40:08 AM
ok i just sent you the link  8)
Title: Re: Login/Logout/Register problem
Post by: V@no on April 07, 2006, 02:02:40 AM
Try to replace in global.php
Code: [Select]
  $script_url .= (dirname($PHP_SELF) != "/") ? dirname($PHP_SELF) : "";

With this:
Code: [Select]
  $dirname = str_replace("\\", "/", dirname($PHP_SELF));
  $script_url .= ($dirname != "/") ? $dirname : "";
Title: Re: Login/Logout/Register problem
Post by: vectra_soundz on April 07, 2006, 02:17:33 AM
THANK YOU SO MUCH it works

/me does a jig
Title: Re: Login/Logout/Register problem
Post by: sgeers on April 10, 2006, 03:25:10 AM
Worked for me as well.  Thanks :)  (yay for reading through instead of relying on search to see if a problem has been addressed before!)