Pagina 1 van 2

music-on-line

Geplaatst: 11 jul 2006, 16:04
door desmarties
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

Re: music-on-line

Geplaatst: 11 jul 2006, 20:44
door lennartb
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

Geplaatst: 11 jul 2006, 21:10
door desmarties
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?

Geplaatst: 12 jul 2006, 18:47
door desmarties
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????

Geplaatst: 12 jul 2006, 19:27
door fulleffect
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.. ;-)

Geplaatst: 12 jul 2006, 19:36
door desmarties
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.

Geplaatst: 12 jul 2006, 19:38
door fulleffect
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 ;-))

Geplaatst: 12 jul 2006, 19:46
door desmarties
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..

Geplaatst: 12 jul 2006, 19:51
door fulleffect
je moet het sql bestand in dezelfde directory dus die phpbb/ map zetten denk.. of staan die in de setup bestandje zelf?

Geplaatst: 12 jul 2006, 19:57
door desmarties
En nu krijg ik dit..

Code: Selecteer alles

phpBB : Critical Error 

Could not connect to the database 
vreemd...

Geplaatst: 12 jul 2006, 19:58
door fulleffect
waar krijg je dat? in die setup???

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

Geplaatst: 12 jul 2006, 20:04
door desmarties
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 

Geplaatst: 12 jul 2006, 20:06
door Bas
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. :)

Geplaatst: 12 jul 2006, 20:10
door fulleffect
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?

Geplaatst: 12 jul 2006, 20:13
door desmarties
Hier staat het tekstbestand...alvast heel erg bedankt.

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

Geplaatst: 12 jul 2006, 20:14
door Paul
music_mysql.sql uitvoeren in phpmyadmin.

Geplaatst: 12 jul 2006, 20:16
door desmarties
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.

Geplaatst: 12 jul 2006, 20:18
door fulleffect
geef anders ff de link waar je de mod heb gedownload, kan ik ff kijken voor je hoe of wat.. werkt ff sneller ;-)

Geplaatst: 12 jul 2006, 20:23
door desmarties

Geplaatst: 12 jul 2006, 20:30
door fulleffect

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 ;-)