where are the mycpg_* db functions defined and is it my fault they can't be foun where are the mycpg_* db functions defined and is it my fault they can't be foun
 

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

where are the mycpg_* db functions defined and is it my fault they can't be foun

Started by joesp, April 07, 2006, 05:11:51 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

joesp

I have the following issue when trying to bridge coppermine and minibb (which was bridged itself with gnuboard  -- http://sir.co.kr/bbs/board.php?bo_table=g4_pds&wr_id=1673  ):
[error message here]  Fatal error: Call to undefined function mycpg_sql_connect() in /var/myowndictionary/current/cpg_include/functions.inc.php on line 215

Coppermine install: http://www.myowndictionary.com/index.php?cfile=cpg_index.php
Forum install: http://www.myowndictionary.com/index.php?cfile=bb_index.php
Coppermine version: cpg1.4.4
Forum version: minibb
Test user account: irrelevant

BridgeManager settings: enabled, or disabled.... same result.


i am trying to include the gallery in the middle of an existing page by wrapping it inside my other existing code, as opposed to the opposite.
i am trying to code it all by hand.  So, I copied a file in cpg_bridge directory and renamed it minibb.inc.php and made the changes in table names, and also changed my existing g4_member table to include fields which were not present. 
then, i ran the dbmanager script as said in the documentation and told it to use minibb and it found the file "minibb.inc.php" .
( after that, though, the cpg_bridge database table is still empty )
continuing in my quest, I moved all files from /cpg/ to /cpg_* (renaming them) and substituting all file names with cpg_* in all the files with an SED script
(I did this to eleminiate problems with including and directory paths AND keep files separate in my main directory by giving groups of files similar prefixes.)
by eliminating the @ sign in the function mycpg_db_connect I get the error above.
i get the above error.
i cannot find the function definition for it.  where are these functions defined? 
i don't know what is mycpg_fetch_array functions....  and why it doesn't find them anymore.


joesp


oh, nevermind, my mistake.  I AM SOOO SORRY ............!!!!!!!!!!!  I fubarred the file in the replacement.

thx 4 the software.

Joachim Müller

You might want to share the custom bridge file that you have come up with for the benefit of the community.