Ok! Thank you!
1 2007-02-12 15:32
Re: Problem with pun_include and extern.php (21 replies, posted in PunBB 1.2 troubleshooting)
2 2007-02-12 11:47
Re: Problem with pun_include and extern.php (21 replies, posted in PunBB 1.2 troubleshooting)
I'm lost!
3 2007-02-12 09:56
Re: Problem with pun_include and extern.php (21 replies, posted in PunBB 1.2 troubleshooting)
So
$_GET["action"] = "active"; $_GET["show"] = "18"; $_GET["fid"] = "9,7,12,13,8,15,16,17,18,20,4,22,23"; include("/home/www/xxxxxx/www/forums/extern.php");
doesn't work? What error are you getting?
Fatal error: Cannot redeclare check_cookie() (previously declared in /home/www/xxxxxx/www/forums/include/functions.php:28) in /home/www/xxxxxx/www/forums/include/functions.php on line 97
4 2007-02-11 16:16
Re: Problem with pun_include and extern.php (21 replies, posted in PunBB 1.2 troubleshooting)
Yes! You are entirely right!!!
5 2007-02-11 08:54
Re: Problem with pun_include and extern.php (21 replies, posted in PunBB 1.2 troubleshooting)
Thank you!
However, I note that CURL generates slownesses.
6 2007-02-10 12:49
Re: Problem with pun_include and extern.php (21 replies, posted in PunBB 1.2 troubleshooting)
Thank you very much!
Could you tell me if it works with allow_include_url = off?
7 2007-02-10 11:57
Re: Problem with pun_include and extern.php (21 replies, posted in PunBB 1.2 troubleshooting)
But I cannot use url in include (allow_include_url doesn't work good in my servor).
8 2007-02-10 11:52
Re: Problem with pun_include and extern.php (21 replies, posted in PunBB 1.2 troubleshooting)
Indeed, display_errors is not activated. But I cannot modify this now.
9 2007-02-10 11:39
Re: Problem with pun_include and extern.php (21 replies, posted in PunBB 1.2 troubleshooting)
I have a blank page.
10 2007-02-10 11:34
Re: Problem with pun_include and extern.php (21 replies, posted in PunBB 1.2 troubleshooting)
It doesn't work.
I have forgotten to specify that I cannot use url in include (allow_include_url doesn't work good in my servor).
11 2007-02-10 10:46
Topic: Problem with pun_include and extern.php (21 replies, posted in PunBB 1.2 troubleshooting)
Hello!
In forums/include/user/ I created tableau2.php in wich I put this code:
<?php define('PUN_ROOT','../../');
$_GET["action"] = "active";
$_GET["show"] = "18";
$_GET["fid"] = "9,7,12,13,8,15,16,17,18,20,4,22,23";
include("/home/www/xxxxxx/www/forums/extern.php");
?>
It's working good when I go to forums/include/user/tableau2.php.
After, in forums/include/template/main.tpl, I put <pun_include "tableau.php"> before <pun_main>... and bug! The include doesn't work any more.
Where is the problem?!
12 2007-02-08 13:17
Re: AJAX meets extern.php: Active topics etc. (41 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Hello!
It is possible to have this example with AJAX:
List of topics with forums ID=4,22
- topic 1
- topic 2
- topic 3
- etc.List of topics with forums ID=3,10,20
- topic 1
- topic 2
- topic 3
- etc.List of topics with forums ID=1,12,5
- topic 1
- topic 2
- topic 3
- etc.