[Fixed] Parse error: parse error in /apache/galerija/phpbb.i [Fixed] Parse error: parse error in /apache/galerija/phpbb.i
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

[Fixed] Parse error: parse error in /apache/galerija/phpbb.i

Started by Iceman, April 09, 2004, 02:36:50 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Iceman

Parse error: parse error in /apache/galerija/bridge/phpbb.inc.php on line 26

Fatal error: Call to undefined function: udb_authenticate() in /apache/galerija/include/init.inc.php on line 182

;( I maked it so ass it says in the manual..?!

help  :cry:

Nibbler

Looks like you messed up in the database config part, it should look simliar to below, ensure you have single quotes around the names. and a semicolon at the end of each line:


// database configuration
define('PHPBB_DB_NAME', 'phpBB'); // The name of the database used by the board
define('PHPBB_BD_HOST', 'localhost'); // The name of the database server
define('PHPBB_DB_USERNAME', 'username'); // The username to use to connect to the database
define('PHPBB_DB_PASSWORD', 'password'); // The password to use to connect to the database

Iceman

define('PHPBB_DB_NAME', 'slosmucisca'); // The name of the database used
by the board
define('PHPBB_BD_HOST', 'localhost'); // The name of the database server
define('PHPBB_DB_USERNAME', 'slosmucisca'); // The username to use to
connect to the database
define('PHPBB_DB_PASSWORD', 'mypass'); // The password to use to connect to the database


hmm.. Thats my config whats wrong in it?

in my phpbb forum config file i added it so:

<?php


// phpBB 2.x auto-generated config file
// Do not change anything in this file!

$dbms 'mysql4';

$dbhost 'localhost';
$dbname 'slosmucisca';
$dbuser 'slosmucisca';
$dbpasswd 'mypass';

$table_prefix 'phpbb_';

define('PHPBB_INSTALLED'true);

?>

Joachim Müller

try to re-upload you bridge file. Check if you used the proper ftp mode to upload. If this still doesn't solve the issue, post your complete bridge file here (replace the password with xxx).

GauGau

Iceman

hmm.. ? how do u mean to upload the bridge file? u mean phpbb.inc.php? I make this gallery on the shell so i dont have to upload anythink ?

Nibbler

It looks like 'by the board' and 'connect to the database' are on a diferent line to the rest of the comment, try removing all the comments see if that solves the problem. It might just be how the board formats the text, but it should be all on one line like mine.

Iceman

NO same shit ;((... thats now my config:

// database configuration
define('PHPBB_DB_NAME', 'slosmucisca');
define('PHPBB_BD_HOST', 'localhost');
define('PHPBB_DB_USERNAME', 'slosmucisca');
define('PHPBB_DB_PASSWORD', 'moirewt5');

// The web path to your phpBB directory
// If your URL to your board is for example
'http://travca.info/slosmucisca/',
// you'll have to set the below var to '/slosmucisca/'.
define('PHPBB_WEB_PATH', '/slosmucisca/');
// Logout Flag
// the value of this boolean constant depends on your phpBB version:
// If your version of phpBB is 2.0.4 or lower - change the value to FALSE;
// if your version of phpBB is 2.0.5 or newer - leave it as TRUE
define('PHPBB_LOGOUT_GET', TRUE);


shall i maybe make another database for the gallery?

Joachim Müller

Quote from: "Iceman"shall i maybe make another database for the gallery?
No, leave phpbb and coppermine on the same database...

GauGau