Pagina 1 van 1

premodded??

Geplaatst: 12 jun 2003, 15:40
door MeDieViL
ik heb juist een prmodded phpbb forum geinstalleert en krijg dit
General Error

Could not obtain buddys information.

DEBUG MODE

SQL Error : 1146 Table 'plusbase.phpbb_buddy' doesn't exist

SELECT * FROM phpbb_buddy WHERE user_id=2 and buddy_id in (2)

Line : 229
File : /mnt/datadisk/users/webs/tdrbase.breezeland.com/forum/includes/page_header.php



Geplaatst: 12 jun 2003, 15:41
door mouse
dan bestaat die tabel dus nog niet... Welke premod is het (url)?

Geplaatst: 12 jun 2003, 15:43
door mouse
o en trouwens, ik denk ik kijk ff naar je probleem en klik op de url in je footer, wat ben jij een idioot zeg... :?

Geplaatst: 12 jun 2003, 15:45
door MeDieViL
#
#-----[ COPY ]------------------------------------------
#
Just run the following
test.php
test2.php

and add the following to your sql database (use phpmyadmin)
sorry would not know how to write this in the install script
I have managed to add all the sql install commands into 2 install files
test.php is the main one and should be run first (same with the comand down below.
test2.php is for the Knoledge Base and should be run second
Enjoy!

CREATE TABLE phpbb_buddy (
user_id mediumint(8) NOT NULL default '0',
buddy_id mediumint(8) NOT NULL default '0',
buddy_ignore tinyint(1) NOT NULL default '0',
buddy_visible tinyint(1) NOT NULL default '0',
PRIMARY KEY (user_id, buddy_id)
) TYPE=MyISAM;

Then you will have to manually install the templates

oh and to get portal.php to load do the following
create an index.html file a put this code in it
<html>
<head>
<title>Redirecting...</title>
<script language="JavaScript">
self.location.href='portal.php';
</script>
</head>
<body>
</body>
</html>

or

<html>
<head>
<title>Redirecting...</title>
<script language="JavaScript">
self.location.href='/forum/portal.php';
</script>
</head>
<body>
</body>
</html>

##################################################################################################
# CONFIGURATION FOR ezPortal
#
# OPEN: portal.php
#
# FIND:

//
// Set configuration for ezPortal
//

// Welcome Text: note that we are in PHP file, so use \' instead of ' and use \\ instead of \ (HTML enabled)
$CFG['welcome_text'] = 'Welcome to <b>My Community</b><br /><br />Thanks for using ezPortal,<br /><br />Have a good time! ^_^';

// Number of news on portal
$CFG['number_of_news'] = '5';

// Length of news
$CFG['news_length'] = '200';

// News Forum ID: separate by comma for multi-forums, eg. '1,2,5'
$CFG['news_forum'] = '1';

// Poll Forum ID: separate by comma for multi-forums, eg. '3,8,14'
$CFG['poll_forum'] = '1';

//
// END configuration
// --------------------------------------------------------
#
# Adjust the above values in portal.php
#


#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM

Many thanks to the authors of the mod's! If you would like your mod removed please email me!
dat zit er bij in een text file maar weet niet goed hoe ik dat in die database moet aanpassen

Geplaatst: 12 jun 2003, 15:46
door MeDieViL

Geplaatst: 12 jun 2003, 15:47
door mouse
haal ff die url uit je sig please...

Of je moet test.php en test2.php vanaf de server draaien, of je moet dat in je database zetten met bijv. PHPMyAdmin (zoek op sourceforge).

Geplaatst: 12 jun 2003, 15:49
door MeDieViL
heb test en test2 gedraaid en heb nog hetzelfde probleem

Geplaatst: 12 jun 2003, 15:53
door mouse
phpmyadmin installeren > http://prdownloads.sourceforge.net/phpm ... p?download

ff in de config je goede connectiegegevens opschrijven. Let me know when its up...

Geplaatst: 12 jun 2003, 16:01
door Leipo
Zoiezo doe ff smilies uit en post hem opnieuw.. creer daarna de table die er staat.. en haal ook ff http://www.feetman.com weg ja..

Geplaatst: 12 jun 2003, 16:11
door MeDieViL
ik snap helemaal niets van die database je moet een hoop gegevens invoeren waar ik helemaal niets van snap

Veld Type
[Documentatie] Lengte/Waardes* Attributen Null Standaardwaarde** Extra Primaire sleutel .......

:oops:

Geplaatst: 12 jun 2003, 16:25
door mouse
je kan gewoon klikken op het tabblad SQL en daar in dat invoerveld die code copypasten!

Code: Selecteer alles

CREATE TABLE phpbb_buddy ( 
user_id mediumint( NOT NULL default '0', 
buddy_id mediumint( NOT NULL default '0', 
buddy_ignore tinyint(1) NOT NULL default '0', 
buddy_visible tinyint(1) NOT NULL default '0', 
PRIMARY KEY (user_id, buddy_id) 
) TYPE=MyISAM; 

Geplaatst: 12 jun 2003, 16:25
door mouse
o en thanx voor het verwijderen van die site, ik had vensters openstaan waar ik belangrijke dingen in aan het doen was, die moest ik noodgedwongen allemaal sluiten door die site...