music-on-line

Hulp nodig bij een modificaties of op zoek naar een MOD? Bekijk ons archief. Support wordt helaas niet meer verleend.
Forumregels

Sinds 1 januari 2009 wordt phpBB2 niet meer ondersteund.
Onderstaande informatie is verouderd en dient uitsluitend als archief.
phpBB2.0.x
Gebruikersavatar
desmarties
Berichten: 187
Lid geworden op: 25 aug 2005, 20:01
Locatie: Den Haag
Contacteer:

music-on-line

Bericht door desmarties » 11 jul 2006, 16:04

De music-on-line hack heb ik geinstalleerd. sql gedraaid en installmap daarna verwijderd.

Krijg de volgende foutmelding:

Could not query music config information

DEBUG MODE

SQL Error : 1146 Table 'podium_i117php.phpbb_music_config' doesn't exist

SELECT * FROM phpbb_music_config

Line : 49
File : music_common.php


Wie kan me ermee helpen?



Als ik via de browser de install wil doen, dan krijg ik..

Warning: main(/extension.inc): failed to open stream: No such file or directory in /home/podium/domains/smartlappenpodium.nl/public_html/phpbb/install/music_db_install.php on line 26

Warning: main(/extension.inc): failed to open stream: No such file or directory in /home/podium/domains/smartlappenpodium.nl/public_html/phpbb/install/music_db_install.php on line 26

Warning: main(): Failed opening '/extension.inc' for inclusion (include_path='.:/usr/local/lib/php') in /home/podium/domains/smartlappenpodium.nl/public_html/phpbb/install/music_db_install.php on line 26

Warning: main(/common.): failed to open stream: No such file or directory in /home/podium/domains/smartlappenpodium.nl/public_html/phpbb/install/music_db_install.php on line 27

Warning: main(/common.): failed to open stream: No such file or directory in /home/podium/domains/smartlappenpodium.nl/public_html/phpbb/install/music_db_install.php on line 27

Warning: main(): Failed opening '/common.' for inclusion (include_path='.:/usr/local/lib/php') in /home/podium/domains/smartlappenpodium.nl/public_html/phpbb/install/music_db_install.php on line 27

Fatal error: Call to undefined function: session_pagestart() in /home/podium/domains/smartlappenpodium.nl/public_html/phpbb/install/music_db_install.php on line 29

Gebruikersavatar
lennartb
Berichten: 53
Lid geworden op: 29 jun 2006, 08:42

Re: music-on-line

Bericht door lennartb » 11 jul 2006, 20:44

desmarties schreef:De music-on-line hack heb ik geinstalleerd. sql gedraaid en installmap daarna verwijderd.

Krijg de volgende foutmelding:

Could not query music config information

DEBUG MODE

SQL Error : 1146 Table 'podium_i117php.phpbb_music_config' doesn't exist

SELECT * FROM phpbb_music_config

Line : 49
File : music_common.php


Wie kan me ermee helpen?



Als ik via de browser de install wil doen, dan krijg ik..

Warning: main(/extension.inc): failed to open stream: No such file or directory in /home/podium/domains/smartlappenpodium.nl/public_html/phpbb/install/music_db_install.php on line 26

Warning: main(/extension.inc): failed to open stream: No such file or directory in /home/podium/domains/smartlappenpodium.nl/public_html/phpbb/install/music_db_install.php on line 26

Warning: main(): Failed opening '/extension.inc' for inclusion (include_path='.:/usr/local/lib/php') in /home/podium/domains/smartlappenpodium.nl/public_html/phpbb/install/music_db_install.php on line 26

Warning: main(/common.): failed to open stream: No such file or directory in /home/podium/domains/smartlappenpodium.nl/public_html/phpbb/install/music_db_install.php on line 27

Warning: main(/common.): failed to open stream: No such file or directory in /home/podium/domains/smartlappenpodium.nl/public_html/phpbb/install/music_db_install.php on line 27

Warning: main(): Failed opening '/common.' for inclusion (include_path='.:/usr/local/lib/php') in /home/podium/domains/smartlappenpodium.nl/public_html/phpbb/install/music_db_install.php on line 27

Fatal error: Call to undefined function: session_pagestart() in /home/podium/domains/smartlappenpodium.nl/public_html/phpbb/install/music_db_install.php on line 29
open de file phpbb/install/music_db_install.php en vervang extension.inc (ergens taat dat als er een / vorstaat ook meenemen door /home/podium/domains/smartlappenpodium.nl/public_html/phpbb/extension.inc

Gebruikersavatar
desmarties
Berichten: 187
Lid geworden op: 25 aug 2005, 20:01
Locatie: Den Haag
Contacteer:

Bericht door desmarties » 11 jul 2006, 21:10

Bedankt voor je hulp.
Ik heb wat zitten rommelen, maar foutmeldingen blijven.
Dit staat bovenin music_db_install.php

Code: Selecteer alles

define('IN_PHPBB', true);

$phpbb_root_path = './';
include($phpbb_root_path.'extension.inc');
include($phpbb_root_path.'common.'.$phpEx);

$userdata = session_pagestart($user_ip, PAGE_INDEX);
init_userprefs($userdata);

include($phpbb_root_path.'./includes/db.'.$phpEx);
Hoe moet dit dan wel staan?

Gebruikersavatar
desmarties
Berichten: 187
Lid geworden op: 25 aug 2005, 20:01
Locatie: Den Haag
Contacteer:

Bericht door desmarties » 12 jul 2006, 18:47

Heb na wat puzzelen, het volgende geprobeerd..nog niet het juiste resultaat.

Code: Selecteer alles

define('IN_PHPBB', true);

$rootpath  = './';
$sprefix   = 'phpbb_';


 // Load Configuration
 include($rootpath . "extension.inc");
 include($rootpath . "config." . $phpEx);
 include($rootpath . "includes/db." . $phpEx);
Mijn forum is het smartlappenpodium.nl en draait op de nieuwste versie van phpbb 2.0.21 . De music_on_linehack werkte onder versie 2.0.18 prima. Snap er nu even niks meer van????

Gebruikersavatar
fulleffect
Berichten: 1052
Lid geworden op: 20 nov 2005, 17:30
Locatie: http://fulleffect.hyves.nl/
Contacteer:

Bericht door fulleffect » 12 jul 2006, 19:27

zoals ik hier zie staat je music_db_install.php in een "install map"
phpbb/install/music_db_install.php
zet deze is in je phpbb map

dus dan krijg je phpbb/music_db_install.php.. hele grote kans dat ie het dan wel doet.. ;-)

Gebruikersavatar
desmarties
Berichten: 187
Lid geworden op: 25 aug 2005, 20:01
Locatie: Den Haag
Contacteer:

Bericht door desmarties » 12 jul 2006, 19:36

Heb ik gedaan en krijg nu dit...

Code: Selecteer alles

Installing MOM v2.x.x (Media Center) for phpBB2 
 


Fatal error: Call to undefined function: message_die() in /home/podium/domains/smartlappenpodium.nl/public_html/phpbb/music_db_install.php on line 122
Bedankt voor het meedenken.

Gebruikersavatar
fulleffect
Berichten: 1052
Lid geworden op: 20 nov 2005, 17:30
Locatie: http://fulleffect.hyves.nl/
Contacteer:

Bericht door fulleffect » 12 jul 2006, 19:38

heb je dit gedaan zonder dat je het script hebt aangepast zoals je hier boven zegt.. en wat staan er op die regel.. (pak maar een regel of 10 die eromheen staan ;-))

Gebruikersavatar
desmarties
Berichten: 187
Lid geworden op: 25 aug 2005, 20:01
Locatie: Den Haag
Contacteer:

Bericht door desmarties » 12 jul 2006, 19:46

Ja, met het originele script, zonder de veranderingen.

Code: Selecteer alles

$dbms_file = $available_dbms[$dbms]['SCHEMA'] . '.sql';

$remove_remarks = $available_dbms[$dbms]['COMMENTS'];;
$delimiter = $available_dbms[$dbms]['DELIM'];
$delimiter_basic = $available_dbms[$dbms]['DELIM_BASIC'];

if ( !($fp = @fopen($dbms_file, 'r')) )
{
	message_die(GENERAL_MESSAGE, "Can't open " . $dbms_file);
}

fclose($fp);
En het stuk waar het nu om gaat...lijkt wel of hij geen toegang krijgt tot de database..

Gebruikersavatar
fulleffect
Berichten: 1052
Lid geworden op: 20 nov 2005, 17:30
Locatie: http://fulleffect.hyves.nl/
Contacteer:

Bericht door fulleffect » 12 jul 2006, 19:51

je moet het sql bestand in dezelfde directory dus die phpbb/ map zetten denk.. of staan die in de setup bestandje zelf?

Gebruikersavatar
desmarties
Berichten: 187
Lid geworden op: 25 aug 2005, 20:01
Locatie: Den Haag
Contacteer:

Bericht door desmarties » 12 jul 2006, 19:57

En nu krijg ik dit..

Code: Selecteer alles

phpBB : Critical Error 

Could not connect to the database 
vreemd...

Gebruikersavatar
fulleffect
Berichten: 1052
Lid geworden op: 20 nov 2005, 17:30
Locatie: http://fulleffect.hyves.nl/
Contacteer:

Bericht door fulleffect » 12 jul 2006, 19:58

waar krijg je dat? in die setup???

gebruik je wel de setup die jij niet hebt aangepast??

Gebruikersavatar
desmarties
Berichten: 187
Lid geworden op: 25 aug 2005, 20:01
Locatie: Den Haag
Contacteer:

Bericht door desmarties » 12 jul 2006, 20:04

Oeps, sorry...zag even door de bomen het bos niet meer..

Dit is de melding van de originele file in de root van phpbb, dus niet in de installmap met het sgl-bestand ook in de root.

Code: Selecteer alles

Warning: main(./config.): failed to open stream: No such file or directory in /home/podium/domains/smartlappenpodium.nl/public_html/phpbb/music_db_install.php on line 26

Warning: main(): Failed opening './config.' for inclusion (include_path='.:/usr/local/lib/php') in /home/podium/domains/smartlappenpodium.nl/public_html/phpbb/music_db_install.php on line 26

Warning: Cannot modify header information - headers already sent by (output started at /home/podium/domains/smartlappenpodium.nl/public_html/phpbb/music_db_install.php:26) in /home/podium/domains/smartlappenpodium.nl/public_html/phpbb/includes/sessions.php on line 366

Warning: Cannot modify header information - headers already sent by (output started at /home/podium/domains/smartlappenpodium.nl/public_html/phpbb/music_db_install.php:26) in /home/podium/domains/smartlappenpodium.nl/public_html/phpbb/includes/sessions.php on line 367
phpBB : Critical Error 

Could not connect to the database 

Gebruikersavatar
Bas
Berichten: 2741
Lid geworden op: 02 dec 2003, 17:38
Locatie: Omgeving Goslar (Duitsland)
Contacteer:

Bericht door Bas » 12 jul 2006, 20:06

Zet de code van het installatiebestand even in een tekstbestand, en plaats de link hier. Dan kunnen ik (of iemand anders) de SQL-queries eruit halen, en die posten, voor jou in phpMyAdmin. :)

Gebruikersavatar
fulleffect
Berichten: 1052
Lid geworden op: 20 nov 2005, 17:30
Locatie: http://fulleffect.hyves.nl/
Contacteer:

Bericht door fulleffect » 12 jul 2006, 20:10

zo te zien heeft hij al een los sql bestand, dus dat zou niet nodig wezen ;-)

weet de topicstarter hoe phpmyadmin werkt? of de mysql database?

Gebruikersavatar
desmarties
Berichten: 187
Lid geworden op: 25 aug 2005, 20:01
Locatie: Den Haag
Contacteer:

Bericht door desmarties » 12 jul 2006, 20:13

Hier staat het tekstbestand...alvast heel erg bedankt.

http://home.wanadoo.nl/fammolog/music.txt

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

Bericht door Paul » 12 jul 2006, 20:14

music_mysql.sql uitvoeren in phpmyadmin.

Gebruikersavatar
desmarties
Berichten: 187
Lid geworden op: 25 aug 2005, 20:01
Locatie: Den Haag
Contacteer:

Bericht door desmarties » 12 jul 2006, 20:16

fulleffect schreef:zo te zien heeft hij al een los sql bestand, dus dat zou niet nodig wezen ;-)

weet de topicstarter hoe phpmyadmin werkt? of de mysql database?
Ik weet hoe phpmyadmin werkt.

Dat losse sql bestand is niet compleet....alleen de songs-id's zitten erin en de rest niet

Dit zit erin

Code: Selecteer alles

CREATE TABLE phpbb_music (
	song_id int(11) UNSIGNED NOT NULL auto_increment,
	song_filename varchar(255) NOT NULL,
	song_title varchar(255) NOT NULL,
	song_url varchar(255) NOT NULL,
	song_desc text,
	song_singer varchar(255) NOT NULL,
	song_user_id mediumint(8) NOT NULL,
	song_username varchar(32),
	song_user_ip char(8) NOT NULL DEFAULT '0',
	song_time int(11) UNSIGNED NOT NULL,
	song_cat_id mediumint(8) UNSIGNED NOT NULL DEFAULT '1',
	song_view_count int(11) UNSIGNED NOT NULL DEFAULT '0',
	song_lock tinyint(3) NOT NULL DEFAULT '0',
	song_approval tinyint(3) NOT NULL DEFAULT '1',
	PRIMARY KEY (song_id),
	KEY song_cat_id (song_cat_id),
	KEY song_user_id (song_user_id),
	KEY song_time (song_time));
Heb ik als querie gedaan. Werkte ook niet.
Laatst gewijzigd door desmarties op 12 jul 2006, 20:21, 1 keer totaal gewijzigd.

Gebruikersavatar
fulleffect
Berichten: 1052
Lid geworden op: 20 nov 2005, 17:30
Locatie: http://fulleffect.hyves.nl/
Contacteer:

Bericht door fulleffect » 12 jul 2006, 20:18

geef anders ff de link waar je de mod heb gedownload, kan ik ff kijken voor je hoe of wat.. werkt ff sneller ;-)

Gebruikersavatar
desmarties
Berichten: 187
Lid geworden op: 25 aug 2005, 20:01
Locatie: Den Haag
Contacteer:

Bericht door desmarties » 12 jul 2006, 20:23


Gebruikersavatar
fulleffect
Berichten: 1052
Lid geworden op: 20 nov 2005, 17:30
Locatie: http://fulleffect.hyves.nl/
Contacteer:

Bericht door fulleffect » 12 jul 2006, 20:30

Code: Selecteer alles

#
# MOM 2.0.6 (Media Center) for phpBB2 - MySQL schema & basic (by Cf Manager)
#

# --------------------------------------------------------
#
# Table structure for table 'phpbb_music'
#
CREATE TABLE phpbb_music (
	song_id int(11) UNSIGNED NOT NULL auto_increment,
	song_filename varchar(255) NOT NULL,
	song_title varchar(255) NOT NULL,
	song_url varchar(255) NOT NULL,
	song_desc text,
	song_singer varchar(255) NOT NULL,
	song_user_id mediumint(8) NOT NULL,
	song_username varchar(32),
	song_user_ip char(8) NOT NULL DEFAULT '0',
	song_time int(11) UNSIGNED NOT NULL,
	song_cat_id mediumint(8) UNSIGNED NOT NULL DEFAULT '1',
	song_view_count int(11) UNSIGNED NOT NULL DEFAULT '0',
	song_lock tinyint(3) NOT NULL DEFAULT '0',
	song_approval tinyint(3) NOT NULL DEFAULT '1',
	PRIMARY KEY (song_id),
	KEY song_cat_id (song_cat_id),
	KEY song_user_id (song_user_id),
	KEY song_time (song_time));


# --------------------------------------------------------
#
# Table structure for table 'phpbb_music_rate'
#
CREATE TABLE phpbb_music_rate (
	rate_song_id int(11) UNSIGNED NOT NULL,
	rate_user_id mediumint(8) NOT NULL,
	rate_user_ip char(8) NOT NULL,
	rate_point tinyint(3) UNSIGNED NOT NULL,
	KEY rate_song_id (rate_song_id),
	KEY rate_user_id (rate_user_id),
	KEY rate_user_ip (rate_user_ip),
	KEY rate_point (rate_point));


# --------------------------------------------------------
#
# Table structure for table 'phpbb_music_comment'
#
CREATE TABLE phpbb_music_comment (
	comment_id int(11) UNSIGNED NOT NULL auto_increment,
	comment_song_id int(11) UNSIGNED NOT NULL,
	comment_user_id mediumint(8) NOT NULL,
	comment_username varchar(32),
	comment_user_ip char(8) NOT NULL,
	comment_time int(11) UNSIGNED NOT NULL,
	comment_text TEXT,
	comment_edit_time int(11) UNSIGNED,
	comment_edit_count smallint(5) UNSIGNED NOT NULL DEFAULT '0',
	comment_edit_user_id mediumint(8),
	PRIMARY KEY(comment_id),
	KEY comment_song_id (comment_song_id),
	KEY comment_user_id (comment_user_id),
	KEY comment_user_ip (comment_user_ip),
	KEY comment_time (comment_time));


# --------------------------------------------------------
#
# Table structure for table 'phpbb_music_cat'
#
CREATE TABLE phpbb_music_cat (
	cat_id mediumint(8) UNSIGNED NOT NULL auto_increment,
	cat_title varchar(255) NOT NULL,
	cat_desc text,
	cat_order mediumint(8) NOT NULL,
	cat_view_level tinyint(3) NOT NULL DEFAULT '-1',
	cat_upload_level tinyint(3) NOT NULL DEFAULT '0',
	cat_rate_level tinyint(3) NOT NULL DEFAULT '0',
	cat_comment_level tinyint(3) NOT NULL DEFAULT '0',
	cat_edit_level tinyint(3) NOT NULL DEFAULT '0',
	cat_delete_level tinyint(3) NOT NULL DEFAULT '2',
	cat_view_groups varchar(255),
	cat_upload_groups varchar(255),
	cat_rate_groups varchar(255),
	cat_comment_groups varchar(255),
	cat_edit_groups varchar(255),
	cat_delete_groups varchar(255),
	cat_moderator_groups varchar(255),
	cat_approval tinyint(3) NOT NULL DEFAULT '0',
	PRIMARY KEY (cat_id),
	KEY cat_order (cat_order));


# --------------------------------------------------------
#
# Table structure for table 'phpbb_music_config'
#
CREATE TABLE phpbb_music_config (
	config_name varchar(255) NOT NULL,
	config_value varchar(255) NOT NULL,
	PRIMARY KEY (config_name));


# -- Music config
INSERT INTO phpbb_music_config VALUES ('max_songs', '1024');
INSERT INTO phpbb_music_config VALUES ('user_songs_limit', '50');
INSERT INTO phpbb_music_config VALUES ('mod_songs_limit', '250');
INSERT INTO phpbb_music_config VALUES ('max_file_size', '3145728');
INSERT INTO phpbb_music_config VALUES ('rows_per_page', '20');
INSERT INTO phpbb_music_config VALUES ('cols_per_page', '1');
INSERT INTO phpbb_music_config VALUES ('top', '5');
INSERT INTO phpbb_music_config VALUES ('sort_method', 'song_time');
INSERT INTO phpbb_music_config VALUES ('sort_order', 'DESC');
INSERT INTO phpbb_music_config VALUES ('mp3_allowed', '1');
INSERT INTO phpbb_music_config VALUES ('wav_allowed', '1');
INSERT INTO phpbb_music_config VALUES ('wma_allowed', '1');
INSERT INTO phpbb_music_config VALUES ('wmv_allowed', '1');
INSERT INTO phpbb_music_config VALUES ('mid_allowed', '1');
INSERT INTO phpbb_music_config VALUES ('ram_allowed', '1');
INSERT INTO phpbb_music_config VALUES ('au_allowed', '1');
INSERT INTO phpbb_music_config VALUES ('mpeg_allowed', '1');
INSERT INTO phpbb_music_config VALUES ('avi_allowed', '1');
INSERT INTO phpbb_music_config VALUES ('swf_allowed', '1');
INSERT INTO phpbb_music_config VALUES ('qt_allowed', '1');
INSERT INTO phpbb_music_config VALUES ('rm_allowed', '1');
INSERT INTO phpbb_music_config VALUES ('desc_length', '512000');
INSERT INTO phpbb_music_config VALUES ('hotlink_prevent', '0');
INSERT INTO phpbb_music_config VALUES ('hotlink_allowed', 'cfmanager.gate2vn.net');
INSERT INTO phpbb_music_config VALUES ('rate', '1');
INSERT INTO phpbb_music_config VALUES ('rate_scale', '10');
INSERT INTO phpbb_music_config VALUES ('comment', '1');
INSERT INTO phpbb_music_config VALUES ('music_version', '.0.6');
alstu ;-)

Gesloten