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 2 [3]   Go Down

Author Topic: YabbSE Integration  (Read 33632 times)

0 Members and 1 Guest are viewing this topic.

nukeworker

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 83
  • Visit NukeWorker.com
    • Nuclear Jobs
YaBB SE SMF
« Reply #40 on: January 02, 2004, 04:39:53 am »

Will there be an SMF bridge?

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
CPG 1.2 & YaBB SE: login problem
« Reply #41 on: January 02, 2004, 11:26:27 am »

this has been asked before, the answer is: yes, we're trying to provide a bridge file for SMF.

GauGau
Logged

tlveik

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
CPG 1.2 & YaBB SE: login problem
« Reply #42 on: March 07, 2004, 09:08:39 pm »

Trying to bridge YabbSE 1.5.4 with Coppermine 1.2.1

I get this error with first running of coppermine after following bridge instructions and fresh install of coppermine:

Fatal error: Call to undefined function: database_error() in /home/tlveik/public_html/veik/cpg/bridge/yabbse.inc.php on line 74

Function database_error() is defined in errors.php but errors.php is never included as far as I can find.  Did I miss something?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
CPG 1.2 & YaBB SE: login problem
« Reply #43 on: March 07, 2004, 09:23:34 pm »

make sure to provide the correct settings for your yabbse databsse settings inside the bridge file and the error should go away.

GauGau
Logged

tlveik

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
CPG 1.2 & YaBB SE: login problem
« Reply #44 on: March 08, 2004, 12:02:07 am »

Only three lines have anything to do with whether a function is defined or not and they are all correct.

require_once("../yabbse/Settings.php");
require_once("$sourcedir/Load.php");
require_once("$sourcedir/Security.php");
Logged

jack

  • VIP
  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Posts: 279
CPG 1.2 & YaBB SE: login problem
« Reply #45 on: March 08, 2004, 01:24:44 am »

You are quite right .. database_error is not included. I'll get a new YaBB SE bridge done with a replacement for this ASAP.

It's odd that no-one else has noticed this yet, so my guess is that there's something wrong with your install also. Do Yabb SE and Coppermine both work 'standalone'? (just change the init.inc.php file to comment out the Yabbse bridge to test).
Logged
Please do not contact me for support directly - instead: post on this board!

tlveik

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
CPG 1.2 & YaBB SE: login problem
« Reply #46 on: March 08, 2004, 01:55:00 am »

Yes, both work fine stand alone.
Logged

jack

  • VIP
  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Posts: 279
CPG 1.2 & YaBB SE: login problem
« Reply #47 on: March 11, 2004, 01:45:11 am »

I have made a new YaBB SE bridge that includes a replacement database_error function.

WIth this, we should be able to see what the actual error is ;)

I have uploaded it to the 'devel' branch in CVS. It takes some time (a few hours I think) before the public CVS is synched with the development one. When that occurs, you should be able to get the file via the web access to CVS. It will be labelled as from 'Coppermine 1.3', but don't worry, the bridge files are compatible with 1.2.1.
Logged
Please do not contact me for support directly - instead: post on this board!

tlveik

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
CPG 1.2 & YaBB SE: login problem
« Reply #48 on: March 11, 2004, 04:42:35 am »

I tried the new bridge and turned on debug mode so I could see whats happening.  Now I get this:

Quote
Notice: Undefined variable: the_error in /home/tlveik/public_html/veik/cpg/bridge/yabbse.inc.php on line 95
Fatal error :

There was an error while processing a database query.
mySQL error: Table 'kueyh_cpg.yabbse_banned' doesn't exist


I have a table "cpg11d_banned" in database "kueyh_cpg".  Is that the problem?

It's not important that I get the YabbSE bridge working.  I'll be switching to SMF soon.

Tom
Logged

jack

  • VIP
  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Posts: 279
CPG 1.2 & YaBB SE: login problem
« Reply #49 on: March 11, 2004, 01:49:40 pm »

Nope, the problem is that you don't have a 'yabbse_banned' table  :wink:

That is the table used by YaBB SE to keep track of who is banned or not.

Hmm.. do Coppermine and YaBB SE use the same database?
Logged
Please do not contact me for support directly - instead: post on this board!

jack

  • VIP
  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Posts: 279
CPG 1.2 & YaBB SE: login problem
« Reply #50 on: March 11, 2004, 07:46:44 pm »

I think I've found a problem when coppermine and YaBB SE do NOT use the same DB.

tlveik, can you give this version a try please:-

http://www.haxed.co.uk/~jack/yabbse-bridge-tlveik.zip

Let me know how you get on.

Ta.[/url]
Logged
Please do not contact me for support directly - instead: post on this board!

tlveik

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
CPG 1.2 & YaBB SE: login problem
« Reply #51 on: March 12, 2004, 03:58:20 am »

Coppermine and YabbSE are not using the same database.  I could make them use the same database I suppose.  Tried the new bridge file.  Here is what happened: (I think this is correct  :wink: )

Installed new bridge.
Typed my coppermine url in browser.
Got the login screen for yabbse.
Tried logging in using a coppermine user, rejected. (normal I think)
Logged in using my yabbse username and it took me to yabbse not coppermine.
Typed my coppermine url in browser.
Got this error:
Quote
Fatal error :

There was an error while processing a database query.
mySQL error: Table 'kueyh_cpg.yabbse_members' doesn't exist


Tom
Logged

tlveik

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
CPG 1.2 & YaBB SE: login problem
« Reply #52 on: March 12, 2004, 04:04:56 am »

Ah. Now I see in the instructions:
Quote
It is also recommended that you use the same database for your board and Coppermine.


Oops  :roll:

Tom[/code]
Logged
Pages: 1 2 [3]   Go Up
 

Page created in 0.018 seconds with 18 queries.