Pagina 1 van 1
phpBB Gallery
Geplaatst: 29 sep 2009, 13:46
door Finny
Is het mogelijk om het forum in /forum/ te draaien en de gallery in /gallery/?
Standaard wordt deze in /forum/gallery/ gedraaid.
Hoe kan ik dit voor elkaar krijgen?
Re: php Gallery
Geplaatst: 29 sep 2009, 17:48
door grotevoet
De naam van de folder wijzigen kan door in INCLUDES\CONSTANTS.PHP de volgende regel aan te passen:
Code: Selecteer alles
// Additional tables
define('GALLERY_ROOT_PATH', 'gallery/');
Ik denk dat het opzetten van "gallery" naast "forum" wel werkt als je er
Code: Selecteer alles
// Additional tables
define('GALLERY_ROOT_PATH', '../gallery/');
van maakt.
Maar 100% garanties durf ik niet te geven.
Dus zoals altijd: backups maken voor je iets aanpast!
Mvg,
Marc
Re: php Gallery
Geplaatst: 30 sep 2009, 15:45
door Finny
Nee, dit gaat niet werken, dan krijg ik diverse foutmeldingen, o.a.:
Code: Selecteer alles
Warning: include(../common.php) [function.include]: failed to open stream: No such file or directory in /var/www/vhosts/fight4friendship.nl/httpdocs/website/gallery/index.php on line 19
Warning: include(../common.php) [function.include]: failed to open stream: No such file or directory in /var/www/vhosts/fight4friendship.nl/httpdocs/website/gallery/index.php on line 19
Warning: include() [function.include]: Failed opening '../common.php' for inclusion (include_path='.:/usr/share/pear;') in /var/www/vhosts/fight4friendship.nl/httpdocs/website/gallery/index.php on line 19
Warning: include(../includes/functions_display.php) [function.include]: failed to open stream: No such file or directory in /var/www/vhosts/fight4friendship.nl/httpdocs/website/gallery/index.php on line 20
Warning: include(../includes/functions_display.php) [function.include]: failed to open stream: No such file or directory in /var/www/vhosts/fight4friendship.nl/httpdocs/website/gallery/index.php on line 20
Warning: include() [function.include]: Failed opening '../includes/functions_display.php' for inclusion (include_path='.:/usr/share/pear;') in /var/www/vhosts/fight4friendship.nl/httpdocs/website/gallery/index.php on line 20
Warning: include(../includes/message_parser.php) [function.include]: failed to open stream: No such file or directory in /var/www/vhosts/fight4friendship.nl/httpdocs/website/gallery/index.php on line 21
Warning: include(../includes/message_parser.php) [function.include]: failed to open stream: No such file or directory in /var/www/vhosts/fight4friendship.nl/httpdocs/website/gallery/index.php on line 21
Warning: include() [function.include]: Failed opening '../includes/message_parser.php' for inclusion (include_path='.:/usr/share/pear;') in /var/www/vhosts/fight4friendship.nl/httpdocs/website/gallery/index.php on line 21
Fatal error: Call to a member function session_begin() on a non-object in /var/www/vhosts/fight4friendship.nl/httpdocs/website/gallery/index.php on line 24
Re: php Gallery
Geplaatst: 01 okt 2009, 17:15
door Derky
Er is ook nog een bestand genaamd root_path.php in /gallery/includes/ misschien moet je deze ook nog even aanpassen?
Re: phpBB Gallery
Geplaatst: 03 okt 2009, 10:48
door Finny
Bedankt voor beide reacties, dit was de juiste combinatie. Het werkt
Bedankt!