|
-
Apr 3rd, 2002, 11:13 AM
#1
Thread Starter
Hyperactive Member
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?>
-
Apr 3rd, 2002, 11:38 AM
#2
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;
-
Apr 3rd, 2002, 12:03 PM
#3
Member
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";
-
Apr 3rd, 2002, 12:41 PM
#4
Well....
er....
mine was a direct quote.... yeah 
-
Apr 3rd, 2002, 02:33 PM
#5
Thread Starter
Hyperactive Member
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
-
Apr 3rd, 2002, 02:48 PM
#6
Well slap phpBB then.
If version 2 RC3 don't work, then go back to 1.44
-
Apr 3rd, 2002, 04:54 PM
#7
Thread Starter
Hyperactive Member
im using 144 if you guys could help me icq me at 79476391
-
Apr 4th, 2002, 10:10 PM
#8
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.
-
Apr 5th, 2002, 04:32 AM
#9
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|