1

Topic: problem with extern.php after having updated to 1.2

Hi,

I've just updated my forum. All works good except extern.php which worked good with 1.1.5
in my page I got this code to call extern:

<?php
$ancien_get_action = $_GET['action'];
$ancien_get_show = $_GET['show'];
$_GET['action'] = 'active';
$_GET['show'] = 8;
include($_SERVER['HTTP_RACINE'] . '/forum/extern.php');
$_GET['action'] = $ancien_get_action;
$_GET['show'] = $ancien_get_show;
?>

I now get the message "The file 'config.php' doesn't exist or is corrupt. Please run install.php to install PunBB first."

when I try to go directly on extern.php by http://www.pluriservices.net/forum/extern.php , it gives me that error "No parameters supplied. See extern.php for instructions."

Can you help to make extern.php work?
has extern.php been modified from 1.1.5 to 1.2 ?

Thanks for your help.

Ludo,

Re: problem with extern.php after having updated to 1.2

Might I ask what $_SERVER['HTTP_RACINE'] is? I've never seen that variable before.

"Programming is like sex: one mistake and you have to support it for the rest of your life."

3 (edited by Ludo 2005-01-13 19:26)

Re: problem with extern.php after having updated to 1.2

it's a variable to replace http://www.yoursite.com
In fact, it replaces the root
For security reasons, my hoster does not allow me to put directly include 'extern.php'

Edit: oops Rickard, I've found the problem. I had forgotten to put my real root for $pun_root in extern.php

Ludo,

4 (edited by Ludo 2005-01-13 19:36)

Re: problem with extern.php after having updated to 1.2

in extern.php for 1.1.5 there was a · which gave a dot before the topic.
in extern.php for 1.2 there is no ·
Where can I delete this dot?
has extern.php been modified from 1.1.5 to 1.2 ?


Ludo,

Re: problem with extern.php after having updated to 1.2

It uses a <li> tag now, you can remove that simply by searching extern.php for <li> and </li> and changing them to something you like better

6

Re: problem with extern.php after having updated to 1.2

Do yo mean that li=·
I tried to replace it or to suppress it and it did not work
If I want the dot to be replaced by /images/fleche.gif how can I do that?

Ludo,

7

Re: problem with extern.php after having updated to 1.2

no idea?