Results 1 to 9 of 9

Thread: PHP this time please help

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jan 2002
    Posts
    448

    PHP this time please help

    $url_phpbb = "http://members.lycos.co.uk/muksforum/phpBB";

    $url_admin = $url_phpbb "/admin";
    $url_images = $url_phpbb "/images";
    $url_smiles = $url_phpbb "/images/smiles";
    $url_phpbb_index = $url_phpbb . '/index.' . $phpEx;
    $url_admin_index = $url_admin . '/index.' . $phpEx;

    this is for phpBB im haveing a problem getting into the admin part.
    when i login it says this as the url
    http://members.lycos.co.uk//muksforu...dmin/index.php

    does anyone know why?>

  2. #2
    ricmitch_uk
    Guest
    This is what I have in my version (1.4.4) I don't know if you're running version 2 or not, but this will work anyway.

    Code:
    $url_admin = "$url_phpbb/admin";
    $url_images = "$url_phpbb/images";
    $url_smiles = "$url_images/smiles";
    $url_phpbb_index = $url_phpbb . '/index.' . $phpEx;
    $url_admin_index = $url_admin . '/index.' . $phpEx;

  3. #3
    FYI you can clean up the last two lines:
    PHP Code:
    $url_phpbb_index "$url_phpbb/index.$phpEx";
    $url_admin_index "$url_admin/index.$phpEx"

  4. #4
    ricmitch_uk
    Guest
    Well....
    er....
    mine was a direct quote.... yeah

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Jan 2002
    Posts
    448
    when i did that i got this message back
    Warning: Cannot add header information - headers already sent by (output started at /data/members/free/tripod/uk/m/u/k/muksforum/htdocs/phpBB/config.php:123) in auth.php on line 264

    Warning: Cannot add header information - headers already sent by (output started at /data/members/free/tripod/uk/m/u/k/muksforum/htdocs/phpBB/config.php:123) in auth.php on line 277

  6. #6
    ricmitch_uk
    Guest
    Well slap phpBB then.
    If version 2 RC3 don't work, then go back to 1.44

  7. #7

    Thread Starter
    Hyperactive Member
    Join Date
    Jan 2002
    Posts
    448
    im using 144 if you guys could help me icq me at 79476391

  8. #8
    scoutt
    Guest
    Originally posted by filburt1
    FYI you can clean up the last two lines:
    PHP Code:
    $url_phpbb_index "$url_phpbb/index.$phpEx";
    $url_admin_index "$url_admin/index.$phpEx"
    sometimes that won't work Arien. sometimes it doesn't add the variabl like it should so the easiest way to do it is like it was in the first place, not the way you did it.

  9. #9
    ricmitch_uk
    Guest
    In that case, I suppose you could try it all this way:
    PHP Code:
    $url_admin $url_phpbb "/admin";
    $url_images $url_phpbb "/images";
    $url_smiles $url_images "/smiles";
    $url_phpbb_index $url_phpbb '/index.' $phpEx;
    $url_admin_index $url_admin '/index.' $phpEx
    I've had a problem like this in the past but thought nothing of it and tried it that way. I'm not sure why it does it...
    I hope this is more useful than my last answer

    Oh. btw. I never go on ICQ anymore. Seeing as any SkriptKiddie can hack you while you are online...

Posting Permissions

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



Click Here to Expand Forum to Full Width