Author Topic: Login/Logout/Register problem  (Read 11422 times)

0 Members and 1 Guest are viewing this topic.

Offline vectra_soundz

  • Pre-Newbie
  • Posts: 4
    • View Profile
Login/Logout/Register problem
« 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

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Login/Logout/Register problem
« Reply #1 on: April 07, 2006, 01:18:41 AM »
did you add address of your gallery in includes/constants.php?
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline vectra_soundz

  • Pre-Newbie
  • Posts: 4
    • View Profile
Re: Login/Logout/Register problem
« Reply #2 on: April 07, 2006, 01:22:54 AM »
no, how do you do this i'm new to php

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Login/Logout/Register problem
« Reply #3 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?
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline vectra_soundz

  • Pre-Newbie
  • Posts: 4
    • View Profile
Re: Login/Logout/Register problem
« Reply #4 on: April 07, 2006, 01:40:08 AM »
ok i just sent you the link  8)

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Login/Logout/Register problem
« Reply #5 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 : "";
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline vectra_soundz

  • Pre-Newbie
  • Posts: 4
    • View Profile
Re: Login/Logout/Register problem
« Reply #6 on: April 07, 2006, 02:17:33 AM »
THANK YOU SO MUCH it works

* vectra_soundz does a jig

Offline sgeers

  • Pre-Newbie
  • Posts: 1
    • View Profile
Re: Login/Logout/Register problem
« Reply #7 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!)