Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: [Fixed] Parse error: parse error in /apache/galerija/phpbb.i  (Read 3574 times)

0 Members and 1 Guest are viewing this topic.

Iceman

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
[Fixed] Parse error: parse error in /apache/galerija/phpbb.i
« on: April 09, 2004, 02:36:50 pm »

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:
Logged

Nibbler

  • Guest
[Fixed] Parse error: parse error in /apache/galerija/phpbb.i
« Reply #1 on: April 09, 2004, 02:43:56 pm »

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:

Code: [Select]

// 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
Logged

Iceman

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
re
« Reply #2 on: April 09, 2004, 02:57:18 pm »

Code: [Select]
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:

Code: [Select]
<?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);

?>
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
[Fixed] Parse error: parse error in /apache/galerija/phpbb.i
« Reply #3 on: April 09, 2004, 03:54:57 pm »

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
Logged

Iceman

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
[Fixed] Parse error: parse error in /apache/galerija/phpbb.i
« Reply #4 on: April 09, 2004, 05:32:53 pm »

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 ?
Logged

Nibbler

  • Guest
[Fixed] Parse error: parse error in /apache/galerija/phpbb.i
« Reply #5 on: April 09, 2004, 06:21:28 pm »

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.
Logged

Iceman

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
[Fixed] Parse error: parse error in /apache/galerija/phpbb.i
« Reply #6 on: April 09, 2004, 07:00:35 pm »

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?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
[Fixed] Parse error: parse error in /apache/galerija/phpbb.i
« Reply #7 on: April 09, 2004, 08:05:50 pm »

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

GauGau
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 19 queries.