Announcement
Collapse
No announcement yet.
[RELEASE] PluhNews 1.0
Collapse
X
-
Great script
But I get this error when making a include of the headlines from the amin page (/index.php3)
Fatal error: Failed opening required './admin/config.php' (include_path='.:/usr/lib/php') in /var/www/pulsorock/foro/global.php on line 72
Any help on how to use the script using the php include?Last edited by pulsorock; Thu 30 Aug '01, 10:50pm.
Comment
-
Hi Rostor,
So I should add this linePHP Code:chdir("/var/www/pulsorock/foro/admin/config.php");
PHP Code:chdir("/var/www/pulsorock");
Thanks
Comment
-
ReHI
The line must be added in the first and the last lines of pluhHeadlines.php.
First part:
PHP Code:require("./global.php");
require("./PluhConfig.php");
chdir("/var/www/pulsorock/foro/admin/"); // <----- HERE
require("./config.php");
PHP Code:mysql_free_result($sql_result);
mysql_close($connection);
chdir("/var/www/pulsorock"); // <---- HERE
Renato
Comment
-
-
this script is really good but I have a problem when I try to use this script twice on the same page.
In fact I need two headlines displaying on my homepage.
Each headline related to a distinct subforum.
So I use the script 2 times but I rename PluhHeadlines.php and Pluconfig.php for the second headline.
When I try I get this error for the second headline script :
Code:Fatal error: Cannot redeclare stripslashesarray() in /forum/global.php on line 10
thank you in advanceLast edited by Bouddha; Fri 7 Sep '01, 11:27am.
Comment
-
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Comment