Kan mijn forum niet meer op na Update Gallery van nickverges

Hulp nodig bij een modificaties of op zoek naar een MOD?
Forumregels

LEES: Richtlijnen voor Support. Vul de support template in!
phpBB3.0.x
Verschaf iemand geen servertoegang tenzij het niet anders kan. Maak altijd eerst een volledige backup en verander de inloggevens na afloop. Eigen risico.
Plaats reactie
yomi
Berichten: 318
Lid geworden op: 16 dec 2008, 16:04
Locatie: Koedijk
Contacteer:

Kan mijn forum niet meer op na Update Gallery van nickverges

Bericht door yomi » 16 aug 2011, 11:47

Hallo deze morgen heb ik een update gedaan van mij Gallery van nickvergessen.
ik ben van 1.0.6 naar 1.1.1 gegaan.
Alles gedaan zoals het beschreven staat in de install file.
Alleen nu krijg ik de volgende fout meldingen en kan ik mijn forum niet meer op.
Gelijk op de eerste pagina of te wel het portal zie ik de eerste melding.
En ga ik dan een stap verder naar het forum dan krijg ik de tweede fout meldingen te zien.
Wie kan mijn hulp bieden om dit op te lossen.
Ik kan wel mijn CPN in.

Pascal

Foutmelding 1

Code: Selecteer alles

[phpBB Debug] PHP Warning: in file /portal/block/gallery.php on line 28: include(./gallery/includes/functions_recent.php) [function.include]: failed to open stream: No such file or directory
[phpBB Debug] PHP Warning: in file /portal/block/gallery.php on line 28: include(./gallery/includes/functions_recent.php) [function.include]: failed to open stream: No such file or directory
[phpBB Debug] PHP Warning: in file /portal/block/gallery.php on line 28: include() [function.include]: Failed opening './gallery/includes/functions_recent.php' for inclusion (include_path='.:/usr/local/lib/php')

Fatal error: Call to undefined function recent_gallery_images() in /home/p5014/domains/witvisforum.nl/public_html/portal/block/gallery.php on line 46

Foutmelding 2

Code: Selecteer alles

phpBB Debug] PHP Warning: in file /index.php on line 46: include(./gallery/includes/common.php) [function.include]: failed to open stream: No such file or directory
[phpBB Debug] PHP Warning: in file /index.php on line 46: include(./gallery/includes/common.php) [function.include]: failed to open stream: No such file or directory
[phpBB Debug] PHP Warning: in file /index.php on line 46: include() [function.include]: Failed opening './gallery/includes/common.php' for inclusion (include_path='.:/usr/local/lib/php')
[phpBB Debug] PHP Warning: in file /index.php on line 47: include(./gallery/includes/permissions.php) [function.include]: failed to open stream: No such file or directory
[phpBB Debug] PHP Warning: in file /index.php on line 47: include(./gallery/includes/permissions.php) [function.include]: failed to open stream: No such file or directory
[phpBB Debug] PHP Warning: in file /index.php on line 47: include() [function.include]: Failed opening './gallery/includes/permissions.php' for inclusion (include_path='.:/usr/local/lib/php')
[phpBB Debug] PHP Warning: in file /index.php on line 52: include(./gallery/includes/functions_recent.php) [function.include]: failed to open stream: No such file or directory
[phpBB Debug] PHP Warning: in file /index.php on line 52: include(./gallery/includes/functions_recent.php) [function.include]: failed to open stream: No such file or directory
[phpBB Debug] PHP Warning: in file /index.php on line 52: include() [function.include]: Failed opening './gallery/includes/functions_recent.php' for inclusion (include_path='.:/usr/local/lib/php')

Fatal error: Call to undefined function recent_gallery_images() in /home/p5014/domains/witvisforum.nl/public_html/index.php on line 71

Gebruikersavatar
Paul
Beheerder
Beheerder
Berichten: 20299
Lid geworden op: 23 okt 2003, 11:38
Locatie: Utrecht
Contacteer:

Re: Kan mijn forum niet meer op na Update Gallery van nickve

Bericht door Paul » 16 aug 2011, 12:04

Heb je alle bestanden wel geupload?

yomi
Berichten: 318
Lid geworden op: 16 dec 2008, 16:04
Locatie: Koedijk
Contacteer:

Re: Kan mijn forum niet meer op na Update Gallery van nickve

Bericht door yomi » 16 aug 2011, 12:12

Hoi Paul,

Ik denk dat het komt door mijn portal.
zie dit verhaal helemaal onder aan.
http://board3.de/viewtopic.php?f=53&t=9 ... ock#p28281

Ik moet blijkbaar in deze file galley.php een ander path opgeven in deze file.
en dan in regel 28.
Alleen welk pad staat er niet bij.

include($phpbb_root_path . $gallery_root_path . 'includes/functions_recent.' . $phpEx);

Hieronder de code van de gallery.php file om een block te maken op mijn portal.

Code: Selecteer alles

<?php
/**
*
* @package B3P Addon - Gallery block
* @version $Id: gallery.php 54 2009-05-18 12:50:40Z Christian_N $
* @copyright (c) Christian_N ( www.phpbb-projekt.de )
* @license http://opensource.org/licenses/gpl-license.php GNU Public License 
*
*/

/**
* @ignore
*/

if (!defined('IN_PHPBB') || (!defined('IN_PORTAL')))
{
	exit;
}

/**
* Recent images & comments and random images
*
* borrowed from phpBB Gallery (SVN 1150)
* @author: nickvergessen
* @function: recent_gallery_images
*/
$gallery_root_path = GALLERY_ROOT_PATH;
include($phpbb_root_path . $gallery_root_path . 'includes/functions_recent.' . $phpEx);
$ints = array(
	'rows'		=> $portal_config['portal_pg_center_rows'],
	'columns'	=> $portal_config['portal_pg_center_columns'],
	'comments'	=> $portal_config['portal_pg_center_crows'],
	'contests'	=> $portal_config['portal_pg_center_contests'],
);
/**
* int		array	including all relevent numbers for rows, columns and stuff like that,
* display	int		sum of the options which should be displayed, see gallery/includes/constants.php "// Display-options for RRC-Feature" for values
* modes		int		sum of the modes which should be displayed, see gallery/includes/constants.php "// Mode-options for RRC-Feature" for values
* collapse	bool	collapse comments
* include_pgalleries	bool	include personal albums
* mode_id	string	'user' or 'album' to only display images of a certain user or album
* id		int		user_id for user profile or album_id for view of recent and random images
*/
if ($portal_config['portal_pg_center_mode'] != '!all')
{
	recent_gallery_images($ints, $portal_config['portal_pg_center_display'], $portal_config['portal_pg_center_mode'], $portal_config['portal_pg_center_comments'], $portal_config['portal_pg_center_pgalleries']);
}

include($phpbb_root_path . 'portal/includes/functions_gallery.' . $phpEx);
$ints = array(
	'small_rows'	=> $portal_config['portal_pg_small_rows'],
	'small_columns'	=> 1,
);
if ($portal_config['portal_pg_small_mode'] != '!all')
{
	small_gallery_images($ints, $portal_config['portal_pg_small_display'], $portal_config['portal_pg_small_mode'], $portal_config['portal_pg_small_pgalleries']);
}


?>

Gebruikersavatar
Finny
Berichten: 164
Lid geworden op: 23 dec 2008, 10:18
Locatie: Papendrecht
Contacteer:

Re: Kan mijn forum niet meer op na Update Gallery van nickve

Bericht door Finny » 22 aug 2011, 11:05

Ik heb laatste zelf mijn gallery ook geupdate naar de nieuwste versie waarna ik mijn forum niet meer op kwam. Dat kwam door een fout in de nieuwe nederlandse vertaling. Zie dit onderwerp. Gebruik je het engelse of het Nederlandse taalpakket?

Nickvergessen heeft laatste een onderwerp geplaatst over de aanpassingen die je moet doen om je gellery pad te veranderen. Misschien heb je hier dus wat aan. Geplaatst als reactie op een gemelde bug van mij.
DW# Dutch Warrior Clan
Nederlandstalige Multigaming clan. Minimaal 14 jaar / TS verplicht.
Een van de gezelligste clans van de BENELUX.

yomi
Berichten: 318
Lid geworden op: 16 dec 2008, 16:04
Locatie: Koedijk
Contacteer:

Re: Kan mijn forum niet meer op na Update Gallery van nickve

Bericht door yomi » 06 sep 2011, 07:15

Hoi Finny,

Even een vraag welke map moet ik rename.
punt 3 is dat.

En bij punt 2. dat is dan de nieuwe file die ik moet uploaden naar mijn dir.

If you want to rename your http://www.flying-bits.org/gallery/ folder to e.g. http://www.flying-bits.org/album/ you have to do the following 3 steps:


1.Open includes/constants.php:
(This step is only 1.1.2 and below)
find:
define('GALLERY_ROOT_PATH', 'gallery/');
replace with:
define('GALLERY_ROOT_PATH', 'album/');
2.Open includes/gallery/url.php:
find:
static private $phpbb_gallery_path = 'gallery/';
replace with:
static private $phpbb_gallery_path = 'album/';
3.Rename the folder

yomi
Berichten: 318
Lid geworden op: 16 dec 2008, 16:04
Locatie: Koedijk
Contacteer:

Re: Kan mijn forum niet meer op na Update Gallery van nickve

Bericht door yomi » 06 sep 2011, 08:08

Ik heb gedaan wat hierboven staat maar tocht weer een error gekregen.
dit is de volgende error.

PHP Warning: in file /common.php on line 207: require(./includes/gallery/class_loader.php) [function.require]: failed to open stream: No such file or directory
[phpBB Debug] PHP Warning: in file /common.php on line 207: require(./includes/gallery/class_loader.php) [function.require]: failed to open stream: No such file or directory

Fatal error: require() [function.require]: Failed opening required './includes/gallery/class_loader.php' (include_path='.:/usr/local/lib/php') in /home/p5014/domains/witvisforum.nl/public_html/common.php on line 207

Gebruikersavatar
Finny
Berichten: 164
Lid geworden op: 23 dec 2008, 10:18
Locatie: Papendrecht
Contacteer:

Re: Kan mijn forum niet meer op na Update Gallery van nickve

Bericht door Finny » 06 sep 2011, 10:24

In welke map heb je het forum staan en ik welke map de gallery?
DW# Dutch Warrior Clan
Nederlandstalige Multigaming clan. Minimaal 14 jaar / TS verplicht.
Een van de gezelligste clans van de BENELUX.

yomi
Berichten: 318
Lid geworden op: 16 dec 2008, 16:04
Locatie: Koedijk
Contacteer:

Re: Kan mijn forum niet meer op na Update Gallery van nickve

Bericht door yomi » 06 sep 2011, 11:04

Het forum staat in de map /witvisforum.nl/.....
Daar staat mijn forum in. dus gelijk in de root.

En de gallery staat in de map witvisforum.nl/album.
Alleen nu even een backup terug gezet zodat mijn forum weer zichtbaar is voor de gebruikers
tot dat dit probleem is opgelost.

Gebruikersavatar
Finny
Berichten: 164
Lid geworden op: 23 dec 2008, 10:18
Locatie: Papendrecht
Contacteer:

Re: Kan mijn forum niet meer op na Update Gallery van nickve

Bericht door Finny » 07 sep 2011, 09:49

Controlleer de onderstaande waarden dan is (of je ze goed hebt staan):

Open includes/constants.php:
(Deze stap alleen uitvoeren als je gallery versie 1.1.2 hebt)
De waarde zou als volgt moeten staan:
define('GALLERY_ROOT_PATH', 'album/');

Open includes/gallery/url.php:
De waarde zou als volgt moeten staan:
static private $phpbb_gallery_path = 'album/';
DW# Dutch Warrior Clan
Nederlandstalige Multigaming clan. Minimaal 14 jaar / TS verplicht.
Een van de gezelligste clans van de BENELUX.

yomi
Berichten: 318
Lid geworden op: 16 dec 2008, 16:04
Locatie: Koedijk
Contacteer:

Re: Kan mijn forum niet meer op na Update Gallery van nickve

Bericht door yomi » 08 sep 2011, 15:06

Alles al gedaan maar blijf deze foutmeldingen houden.
Stap een 1 wat ik heb gedaan zijn:
Galley op het portal verwerder Version 1.4.1 via de unistall file van de mod.
daar na alles code netjes verwijder handmatig wat ik moest toevoegen.

Stap 2 :Toen stap voor stap de update uitgevoerd.
van 1.1.0 tot 1.1.3
Stap 3: alle bestanden gekopierd naar de juisten mappen.
stap 4: de laatste nederland vertaling geupload 1.1.3

Stap 5: met de versie 1.1.3 instal file alles geupdate en kreeg keurig te zien dat alles
wat geupdate en dat er geen errors zijn.

stap 6: de cash geleegt em mijn style vernieuw.
En toch blijf ik deze fout houden. Weet het even niet meer .
Want nu is mijn forum ook niet meer te zien.
Wat wel te zien is is mijn portal maar niet het forum.
Wie kan mij helpen.

zie voorbeeld:
http://www.witvisforum.nl

Code: Selecteer alles

[phpBB Debug] PHP Warning: in file /index.php on line 334: include(./GALLERY_ROOT_PATHincludes/functions_recent.php) [function.include]: failed to open stream: No such file or directory
[phpBB Debug] PHP Warning: in file /index.php on line 334: include(./GALLERY_ROOT_PATHincludes/functions_recent.php) [function.include]: failed to open stream: No such file or directory
[phpBB Debug] PHP Warning: in file /index.php on line 334: include() [function.include]: Failed opening './GALLERY_ROOT_PATHincludes/functions_recent.php' for inclusion (include_path='.:/usr/local/lib/php')

Fatal error: Call to undefined function recent_gallery_images() in /home/p5014/domains/witvisforum.nl/public_html/index.php on line 342

yomi
Berichten: 318
Lid geworden op: 16 dec 2008, 16:04
Locatie: Koedijk
Contacteer:

Re: Kan mijn forum niet meer op na Update Gallery van nickve

Bericht door yomi » 08 sep 2011, 16:52

Probleem is opgelost,
Had nog niet alles verwijder van de oude mod.
Iedereen weer bedankt voor het mee denken.

:P

yomi
Berichten: 318
Lid geworden op: 16 dec 2008, 16:04
Locatie: Koedijk
Contacteer:

Re: Kan mijn forum niet meer op na Update Gallery van nickve

Bericht door yomi » 11 sep 2011, 13:10

Beste mensen toch nog even een vraag over deze mod.
Nu is er ook voor deze mod Board3 Portal een portal gemaakt om de foto's
zichtbaart te maken op mijn portal.

Zie de volgende link.
http://www.flying-bits.org/viewtopic.php?f=98&t=3378

Nu is alleen mijn vraag hoe installeer ik deze mod,
ik kan in het bestand wat je kan downloden geen install file vinden wat ik waar toe moet voegen.

Graag jullie hulp.

Gebruikersavatar
David
Berichten: 5093
Lid geworden op: 15 jan 2007, 22:00
Locatie: Zeeuws-Vlaanderen
Contacteer:

Re: Kan mijn forum niet meer op na Update Gallery van nickve

Bericht door David » 11 sep 2011, 15:32

Ik denk dat je het beste even contact kan openen met Nick Vergessen de auteur van deze mod. Misschien dat jij de install file is vergeten. Je moet meer doen dan alleen uploaden lijkt mij ;)

Als goed heb gekeken heb je ook module in je ACP, en je zult de html file van het gallery portal blok ook moeten toevoegen.
Op zoek naar een vertaling voor je extensie? vertalingen

yomi
Berichten: 318
Lid geworden op: 16 dec 2008, 16:04
Locatie: Koedijk
Contacteer:

Re: Kan mijn forum niet meer op na Update Gallery van nickve

Bericht door yomi » 29 sep 2011, 13:40

Vandaag wederom geprobeerd om op mijn portal het Gallery_Block_v1_4_1 te installeren.
Dit heb ik gedaan met met de mod Gallery_Block_v1_4_1 van nickverges.
Deze mod werk supper. Alleen wat nu niet meer werkt is mijn forum.
Ik krijg daar de volgende fout melding te zien naar dat ik deze mod heb geinstalleerd.
Wat betekend deze error en hoe kan ik dit oplossen.

Code: Selecteer alles

[phpBB Debug] PHP Warning: in file /index.php on line 46: include(./GALLERY_ROOT_PATHincludes/common.php) [function.include]: failed to open stream: No such file or directory
[phpBB Debug] PHP Warning: in file /index.php on line 46: include(./GALLERY_ROOT_PATHincludes/common.php) [function.include]: failed to open stream: No such file or directory
[phpBB Debug] PHP Warning: in file /index.php on line 46: include() [function.include]: Failed opening './GALLERY_ROOT_PATHincludes/common.php' for inclusion (include_path='.:/usr/local/lib/php')
[phpBB Debug] PHP Warning: in file /index.php on line 47: include(./GALLERY_ROOT_PATHincludes/permissions.php) [function.include]: failed to open stream: No such file or directory
[phpBB Debug] PHP Warning: in file /index.php on line 47: include(./GALLERY_ROOT_PATHincludes/permissions.php) [function.include]: failed to open stream: No such file or directory
[phpBB Debug] PHP Warning: in file /index.php on line 47: include() [function.include]: Failed opening './GALLERY_ROOT_PATHincludes/permissions.php' for inclusion (include_path='.:/usr/local/lib/php')
[phpBB Debug] PHP Warning: in file /index.php on line 50: include(./GALLERY_ROOT_PATHincludes/functions_recent.php) [function.include]: failed to open stream: No such file or directory
[phpBB Debug] PHP Warning: in file /index.php on line 50: include(./GALLERY_ROOT_PATHincludes/functions_recent.php) [function.include]: failed to open stream: No such file or directory
[phpBB Debug] PHP Warning: in file /index.php on line 50: include() [function.include]: Failed opening './GALLERY_ROOT_PATHincludes/functions_recent.php' for inclusion (include_path='.:/usr/local/lib/php')

Fatal error: Call to undefined function recent_gallery_images() in /home/p5014/domains/witvisforum.nl/public_html/index.php on line 68
De fout zit ergens in dit stukje code.
Deze code moest ik toevoegen aan de index.php file vanuit de mod.
Als ik de code verwijder dan kan ik mijn forum weer zien.

Code: Selecteer alles

/**
* Recent images & comments and random images
*
* borrowed from phpBB Gallery
* @author: nickvergessen
* @function: recent_gallery_images
*/

$gallery_root_path = GALLERY_ROOT_PATH;

if (!function_exists('obtain_portal_config'))
{
	include($phpbb_root_path . 'portal/includes/functions.' . $phpEx);
	$portal_config = obtain_portal_config();
}
if (!function_exists('load_gallery_config'))
{
	$recent_image_addon = true;
	include($phpbb_root_path . $gallery_root_path . 'includes/common.' . $phpEx);
	include($phpbb_root_path . $gallery_root_path . 'includes/permissions.' . $phpEx);
}

include($phpbb_root_path . $gallery_root_path . 'includes/functions_recent.' . $phpEx);
$ints = array(
	'rows'		=> $portal_config['portal_pg_index_rows'],
	'columns'	=> $portal_config['portal_pg_index_columns'],
	'comments'	=> $portal_config['portal_pg_index_crows'],
	'contests'	=> $portal_config['portal_pg_index_contests'],
);
/**
* int		array	including all relevent numbers for rows, columns and stuff like that,
* display	int		sum of the options which should be displayed, see gallery/includes/constants.php "// Display-options for RRC-Feature" for values
* modes		int		sum of the modes which should be displayed, see gallery/includes/constants.php "// Mode-options for RRC-Feature" for values
* collapse	bool	collapse comments
* include_pgalleries	bool	include personal albums
* mode_id	string	'user' or 'album' to only display images of a certain user or album
* id		int		user_id for user profile or album_id for view of recent and random images
*/
if ($portal_config['portal_pg_index_mode'] != '!all')
{
	recent_gallery_images($ints, $portal_config['portal_pg_index_display'], $portal_config['portal_pg_index_mode'], $portal_config['portal_pg_index_comments'], $portal_config['portal_pg_index_pgalleries']);
}

Gebruikersavatar
Bischke
Berichten: 86
Lid geworden op: 25 jan 2004, 04:56
Contacteer:

Re: Kan mijn forum niet meer op na Update Gallery van nickve

Bericht door Bischke » 29 sep 2011, 14:24

Hallo

als je de gallery 1.0.6 en portal 1.0.6 heb je deze nodig: http://www.board3.de/viewtopic.php?f=53&t=4460

als je de Gallery 2.1.4 en portal 2.0.b1 heb je deze nodig: http://www.board3.de/viewtopic.php?f=54&t=4914

Doei
Ik Ben Maar Een Domme Belg :-)

My Website: http://www.shailos-web.eu
Mods install: phpBB 3.0.11, phpBB Gallery 2.1.6 And Board3 Portal 2.0.0
phpBB Styles: twilightBB 1.0.18 ( Self Editing 1.0.20 )

Danny L
Berichten: 176
Lid geworden op: 14 jan 2011, 17:43
Locatie: Neerpelt (B)
Contacteer:

Re: Kan mijn forum niet meer op na Update Gallery van nickve

Bericht door Danny L » 03 okt 2011, 06:23

De hoofdoorzaak van de foutmelding zit in een verwijzing naar gallery/includes/...
Deze folders heb je echter moeten verwijderen en bestaan dus niet meer.
Ik had hetzelfde probleem.
Het aanmaken van de random pics en recent pics, op de index.php, zijn verantwoordelijk voor dit probleem.
De oplossing hiervoor vindt je in deze topic
Succes

Plaats reactie