Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Problems with logout (cpg1.3.2/phpBB 2.0.13)  (Read 2787 times)

0 Members and 1 Guest are viewing this topic.

morychka

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Problems with logout (cpg1.3.2/phpBB 2.0.13)
« on: April 10, 2005, 06:02:38 pm »

I`v read themes about this kind of problems,but I steel can`t find solution.
I have cpg1.3.2 and phpBB 2.0.13.
I`v edited files init.inc.php and phpbb.inc.php , after that created file cpg_redir.php it is:
Code: [Select]
<?php
if (!$_SERVER['HTTP_HOST']) {
  
$cpg_host=$HTTP_SERVER_VARS['HTTP_HOST'];
} else {
  
$cpg_host=$_SERVER['HTTP_HOST'];
}
$cpg_path='/gallery';
header("Location: http://www.virtsex.ru".$cpg_host.$cpg_path);
exit;
?>

But when I try to logout,there is message Page cannot been found.After clicking button "Back" I`m logged out.
During installing phpBB forum,I edited file login.php to integrate forum with portal.

What shoul I do? help me,please.[/b]
« Last Edit: April 10, 2005, 06:28:15 pm by Nibbler »
Logged

Nibbler

  • Guest
Re: Problems with logout (cpg1.3.2/phpBB 2.0.13)
« Reply #1 on: April 10, 2005, 06:05:17 pm »

Code: [Select]
<?php
if (!$_SERVER['HTTP_HOST']) {
  
$cpg_host=$HTTP_SERVER_VARS['HTTP_HOST'];
} else {
  
$cpg_host=$_SERVER['HTTP_HOST'];
}
$cpg_path='/gallery';
header("Location: http://".$cpg_host.$cpg_path);
exit;
?>

Use this code instead, the default values were fine.
Logged

morychka

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Problems with logout (cpg1.3.2/phpBB 2.0.13)
« Reply #2 on: April 10, 2005, 06:23:04 pm »

Nibbler
thanx a lot!))
Logged
Pages: [1]   Go Up
 

Page created in 0.013 seconds with 15 queries.