photo album ?

Installatie lukt niet? Plotseling een foutmelding. Of weet je niet hoe iets werkt. Problemen met phpBB2 kun je in dit archief opzoeken.
Forumregels

Sinds 1 januari 2009 wordt phpBB2 niet meer ondersteund.
Onderstaande informatie is verouderd en dient uitsluitend als archief.
phpBB2.0.x
Vikash
Berichten: 172
Lid geworden op: 01 mar 2005, 20:41
Locatie: Rotterdam

photo album ?

Bericht door Vikash » 13 apr 2005, 17:36

hallo,

ik wil een photo album mod instaleren, alleen weet niet was hiermee bedoel word , en wat ik hier precies moet doen:

Code: Selecteer alles

#
#-----[ ACTION ]--------------------------------------
# Create folder: album_mod/upload
# Create folder: album_mod/upload/cache


#
#-----[ ACTION ]--------------------------------------
# Require for Unix-like host (you can use your FTP client to do this)
#
# CHMOD 777 album_mod/upload
# CHMOD 777 album_mod/upload/cache


#
#-----[ SQL ]--------------------------------------------------------
# For FRESH Install Only!!! If you *upgrade* from Album v1.x.x you
# must *skip* this step to go to the *next* step!
#
# This Photo Album must add 5 tables into your database.
# Fortunately it will not alter any existed tables :)
#
# Upload album_db_install.php and album_mysql.sql to your phpBB root
# directory then run album_db_install.php by typing on the browser
# After that, delete both files immediately
#
# If you do not want to run album_db_install.php you can run the SQL
# queries manually in album_mysql.sql
wie kan het me uitleggen ?
en waar moet ik die map aanmaken in mijn ftp ?

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

Bericht door Paul » 13 apr 2005, 17:37

je maakt die folders en chmod je ze. http://www.google.nl/search?hl=nl&q=chm ... %3Dlang_nl

Vikash
Berichten: 172
Lid geworden op: 01 mar 2005, 20:41
Locatie: Rotterdam

Bericht door Vikash » 13 apr 2005, 17:41

paulus schreef:je maakt die folders en chmod je ze. http://www.google.nl/search?hl=nl&q=chm ... %3Dlang_nl
dat cmod snap ik wel, alleen waar moet ik die mappen maken, gewoon in /forum/nieuwe map/

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

Bericht door Paul » 13 apr 2005, 17:42

wat staat er nou? In de map album_mod dus :wink:

Vikash
Berichten: 172
Lid geworden op: 01 mar 2005, 20:41
Locatie: Rotterdam

Bericht door Vikash » 13 apr 2005, 17:46

paulus schreef:wat staat er nou? In de map album_mod dus :wink:
ohw ok,

Vikash
Berichten: 172
Lid geworden op: 01 mar 2005, 20:41
Locatie: Rotterdam

Bericht door Vikash » 13 apr 2005, 18:04

nog vraagje, waar staat phpbb_root ? op mijn ftp, ik zie dat nergens staan ?

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

Bericht door Paul » 13 apr 2005, 18:05

de map waar je config.php instaat.

Vikash
Berichten: 172
Lid geworden op: 01 mar 2005, 20:41
Locatie: Rotterdam

Bericht door Vikash » 13 apr 2005, 18:14

ik heb het geinstalleerd nu krijg ik deze fout :

Code: Selecteer alles

Warning: main(./album_mod/album_constants.php): failed to open stream: No such file or directory in /usr/export/www/hosting/vikash/forum/includes/constants.php on line 30

Warning: main(): Failed opening './album_mod/album_constants.php' for inclusion (include_path='.:') in /usr/export/www/hosting/vikash/forum/includes/constants.php on line 30
en dit is mijn includes/constants.php :

Code: Selecteer alles

<?php
/***************************************************************************
 *                               constants.php
 *                            -------------------
 *   begin                : Saturday', Feb 13', 2001
 *   copyright            : ('C) 2001 The phpBB Group
 *   email                : support@phpbb.com
 *
 *   $Id: constants.php,v 1.47.2.5 2004/11/18 17:49:42 acydburn Exp $
 *
 *
 ***************************************************************************/

/***************************************************************************
 *
 *   This program is free software; you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation; either version 2 of the License', or
 *   ('at your option) any later version.
 *
 ***************************************************************************/

if ( !defined('IN_PHPBB') )
{
	die("Hacking attempt");
}


// Album MOD
include($phpbb_root_path . 'album_mod/album_constants.' . $phpEx);


// Debug Level
//define('DEBUG', 1); // Debugging on
define('DEBUG', 1); // Debugging off


// User Levels <- Do not change the values of USER or ADMIN
define('DELETED', -1);
define('ANONYMOUS', -1);

define('USER', 0);
define('ADMIN', 1);
define('MOD', 2);


// User related
define('USER_ACTIVATION_NONE', 0);
define('USER_ACTIVATION_SELF', 1);
define('USER_ACTIVATION_ADMIN', 2);

define('USER_AVATAR_NONE', 0);
define('USER_AVATAR_UPLOAD', 1);
define('USER_AVATAR_REMOTE', 2);
define('USER_AVATAR_GALLERY', 3);


// Group settings
define('GROUP_OPEN', 0);
define('GROUP_CLOSED', 1);
define('GROUP_HIDDEN', 2);


// Forum state
define('FORUM_UNLOCKED', 0);
define('FORUM_LOCKED', 1);


// Topic status
define('TOPIC_UNLOCKED', 0);
define('TOPIC_LOCKED', 1);
define('TOPIC_MOVED', 2);
define('TOPIC_WATCH_NOTIFIED', 1);
define('TOPIC_WATCH_UN_NOTIFIED', 0);


// Topic types
define('POST_NORMAL', 0);
define('POST_STICKY', 1);
define('POST_ANNOUNCE', 2);
define('POST_GLOBAL_ANNOUNCE', 3);


// SQL codes
define('BEGIN_TRANSACTION', 1);
define('END_TRANSACTION', 2);


// Error codes
define('GENERAL_MESSAGE', 200);
define('GENERAL_ERROR', 202);
define('CRITICAL_MESSAGE', 203);
define('CRITICAL_ERROR', 204);


// Private messaging
define('PRIVMSGS_READ_MAIL', 0);
define('PRIVMSGS_NEW_MAIL', 1);
define('PRIVMSGS_SENT_MAIL', 2);
define('PRIVMSGS_SAVED_IN_MAIL', 3);
define('PRIVMSGS_SAVED_OUT_MAIL', 4);
define('PRIVMSGS_UNREAD_MAIL', 5);


// URL PARAMETERS
define('POST_TOPIC_URL', 't');
define('POST_CAT_URL', 'c');
define('POST_FORUM_URL', 'f');
define('POST_USERS_URL', 'u');
define('POST_POST_URL', 'p');
define('POST_GROUPS_URL', 'g');

// Session parameters
define('SESSION_METHOD_COOKIE', 100);
define('SESSION_METHOD_GET', 101);


// Page numbers for session handling
define('PAGE_INDEX', 0);
define('PAGE_LOGIN', -1);
define('PAGE_SEARCH', -2);
define('PAGE_REGISTER', -3);
define('PAGE_PROFILE', -4);
define('PAGE_VIEWONLINE', -6);
define('PAGE_VIEWMEMBERS', -7);
define('PAGE_FAQ', -8);
define('PAGE_POSTING', -9);
define('PAGE_PRIVMSGS', -10);
define('PAGE_GROUPCP', -11);
define('PAGE_TOPIC_OFFSET', 5000);


// Auth settings
define('AUTH_LIST_ALL', 0);
define('AUTH_ALL', 0);

define('AUTH_REG', 1);
define('AUTH_ACL', 2);
define('AUTH_MOD', 3);
define('AUTH_ADMIN', 5);

define('AUTH_VIEW', 1);
define('AUTH_READ', 2);
define('AUTH_POST', 3);
define('AUTH_REPLY', 4);
define('AUTH_EDIT', 5);
define('AUTH_DELETE', 6);
define('AUTH_ANNOUNCE', 7);
define('AUTH_STICKY', 8);
define('AUTH_POLLCREATE', 9);
define('AUTH_VOTE', 10);
define('AUTH_ATTACH', 11);


// Table names
define('CONFIRM_TABLE', $table_prefix.'confirm');
define('AUTH_ACCESS_TABLE', $table_prefix.'auth_access');
define('BANLIST_TABLE', $table_prefix.'banlist');
define('CATEGORIES_TABLE', $table_prefix.'categories');
define('CONFIG_TABLE', $table_prefix.'config');


// Shoutbox mod 
define('SHOUTBOX_CONFIG_TABLE', $table_prefix.'shoutbox_config'); 
define('SHOUTBOX_TABLE', $table_prefix.'shoutbox');

define('DISALLOW_TABLE', $table_prefix.'disallow');
define('FORUMS_TABLE', $table_prefix.'forums');
define('GROUPS_TABLE', $table_prefix.'groups');
define('POSTS_TABLE', $table_prefix.'posts');
define('POSTS_TEXT_TABLE', $table_prefix.'posts_text');
define('PRIVMSGS_TABLE', $table_prefix.'privmsgs');
define('PRIVMSGS_TEXT_TABLE', $table_prefix.'privmsgs_text');
define('PRIVMSGS_IGNORE_TABLE', $table_prefix.'privmsgs_ignore');
define('PRUNE_TABLE', $table_prefix.'forum_prune');
define('RANKS_TABLE', $table_prefix.'ranks');
define('SEARCH_TABLE', $table_prefix.'search_results');
define('SEARCH_WORD_TABLE', $table_prefix.'search_wordlist');
define('SEARCH_MATCH_TABLE', $table_prefix.'search_wordmatch');
define('SESSIONS_TABLE', $table_prefix.'sessions');
define('SMILIES_TABLE', $table_prefix.'smilies');
define('THEMES_TABLE', $table_prefix.'themes');
define('THEMES_NAME_TABLE', $table_prefix.'themes_name');
define('TOPICS_TABLE', $table_prefix.'topics');
define('TOPICS_WATCH_TABLE', $table_prefix.'topics_watch');
define('USER_GROUP_TABLE', $table_prefix.'user_group');
define('USERS_TABLE', $table_prefix.'users');
define('WORDS_TABLE', $table_prefix.'words');
define('VOTE_DESC_TABLE', $table_prefix.'vote_desc');
define('VOTE_RESULTS_TABLE', $table_prefix.'vote_results');
define('VOTE_USERS_TABLE', $table_prefix.'vote_voters');

?>
wat is er fout ?

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

Bericht door Paul » 13 apr 2005, 18:14

je hebt een bestand(en) niet geupload.

Vikash
Berichten: 172
Lid geworden op: 01 mar 2005, 20:41
Locatie: Rotterdam

Bericht door Vikash » 13 apr 2005, 18:19

welke dan, ik heb alles geupload :shock: ?

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

Bericht door Paul » 13 apr 2005, 18:20

album_mod/album_constants.php

Vikash
Berichten: 172
Lid geworden op: 01 mar 2005, 20:41
Locatie: Rotterdam

Bericht door Vikash » 13 apr 2005, 18:22

het is weg, ik had in verkeerde map gezet, maar als ik u bovenaan op album druk, dan krijg ik dit :

Site Error

Gebruikersavatar
Luuk
Berichten: 7311
Lid geworden op: 22 okt 2003, 10:07
Locatie: Delft

Bericht door Luuk » 13 apr 2005, 18:23

Controleer eens of je alle bestanden die je moest uploaden wel goed hebt gezet.
Afbeelding

Vikash
Berichten: 172
Lid geworden op: 01 mar 2005, 20:41
Locatie: Rotterdam

Bericht door Vikash » 13 apr 2005, 18:38

hij doet het nu, alleen als ik nu op :

Users Personal Galleries> vikash> druk, dan staat er dit :

Code: Selecteer alles

Could not query pics information

DEBUG MODE

SQL Error : 1054 Unknown column 'username' in 'order clause'

SELECT p.pic_id, p.pic_title, p.pic_desc, p.pic_user_id, p.pic_user_ip, p.pic_time, p.pic_view_count, p.pic_lock, r.rate_pic_id, AVG(r.rate_point) AS rating, COUNT(DISTINCT c.comment_id) AS comments, MAX(c.comment_id) as new_comment FROM phpbb_album AS p LEFT JOIN phpbb_album_rate AS r ON p.pic_id = r.rate_pic_id LEFT JOIN phpbb_album_comment AS c ON p.pic_id = c.comment_pic_id WHERE p.pic_cat_id = 0 AND p.pic_user_id = 2 GROUP BY p.pic_id ORDER BY username DESC LIMIT 12

Line : 277
File : album_personal.php 
  
hoe kan ik het oplossen ?

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

Bericht door Paul » 13 apr 2005, 18:40

der klopt niets van die query, heb je die veranderd?

Gebruikersavatar
Luuk
Berichten: 7311
Lid geworden op: 22 okt 2003, 10:07
Locatie: Delft

Bericht door Luuk » 13 apr 2005, 18:42

Ligt niet aan de database, ligt aan het php bestand.
Heb je niets aangepast aan dat bestand? Raar dat die fout er namelijk is.

Ik weet niet in welke tabel username staat van de 3 die daar genoemd zijn. :?
Afbeelding

Vikash
Berichten: 172
Lid geworden op: 01 mar 2005, 20:41
Locatie: Rotterdam

Bericht door Vikash » 13 apr 2005, 18:56

ik had wel iets veranderd, ik had in de album configuratie alleen aangezet, dat je ook gif kon uploaden, maar dat heb ik nu teruggezet of nee, en nu doet die het weer, alleen als ik iets upload, dan is de kleur niet goed/mooi

Vikash
Berichten: 172
Lid geworden op: 01 mar 2005, 20:41
Locatie: Rotterdam

Bericht door Vikash » 14 apr 2005, 15:23

weet iemand waaran dat ligt, en hoe ik dat goed kan krijgen ?

Gebruikersavatar
Luuk
Berichten: 7311
Lid geworden op: 22 okt 2003, 10:07
Locatie: Delft

Bericht door Luuk » 14 apr 2005, 15:56

Je hebt iets in album_personal.php veranderd, want je kan in de originele mod niet sorteren op username, daar is geen optie voor.
Afbeelding

Vikash
Berichten: 172
Lid geworden op: 01 mar 2005, 20:41
Locatie: Rotterdam

Bericht door Vikash » 14 apr 2005, 16:56

Luuk schreef:Je hebt iets in album_personal.php veranderd, want je kan in de originele mod niet sorteren op username, daar is geen optie voor.
ik heb daar niks in veranderd :?

dit is dieforum

alleen de fout is , dat die de kleuren niet voledig geeft :?

hoe kan dat ?

Gesloten