Така и не открих въпросния урок на админ за уникалния темплейт за phpbb2, за 3-ката, та реших да си направя нещо сам, но имам един проблем инклудвам индекса на форума в сайта така:
<?php
include 'forum/index.php' ;
?>
И идват следните грешки
[phpBB Debug] PHP Notice: in file /forum/index.php on line 20: include(./common.php): failed to open stream: No such file or directory
[phpBB Debug] PHP Notice: in file /forum/index.php on line 20: include(): Failed opening './common.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear')
[phpBB Debug] PHP Notice: in file /forum/index.php on line 21: include(./includes/functions_display.php): failed to open stream: No such file or directory
[phpBB Debug] PHP Notice: in file /forum/index.php on line 21: include(): Failed opening './includes/functions_display.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear')
[phpBB Debug] PHP Notice: in file /forum/includes/session.php on line 361: include_once(./includes/auth/auth_db.php): failed to open stream: No such file or directory
[phpBB Debug] PHP Notice: in file /forum/includes/session.php on line 361: include_once(): Failed opening './includes/auth/auth_db.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear')
Според мен всичко идва от това пред директориите "./", та как да го оправя ?
<?php
include 'forum/index.php' ;
?>
И идват следните грешки
[phpBB Debug] PHP Notice: in file /forum/index.php on line 20: include(./common.php): failed to open stream: No such file or directory
[phpBB Debug] PHP Notice: in file /forum/index.php on line 20: include(): Failed opening './common.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear')
[phpBB Debug] PHP Notice: in file /forum/index.php on line 21: include(./includes/functions_display.php): failed to open stream: No such file or directory
[phpBB Debug] PHP Notice: in file /forum/index.php on line 21: include(): Failed opening './includes/functions_display.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear')
[phpBB Debug] PHP Notice: in file /forum/includes/session.php on line 361: include_once(./includes/auth/auth_db.php): failed to open stream: No such file or directory
[phpBB Debug] PHP Notice: in file /forum/includes/session.php on line 361: include_once(): Failed opening './includes/auth/auth_db.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear')
Според мен всичко идва от това пред директориите "./", та как да го оправя ?