[OBSOLETE] How to Integrate Coppermine with SMF

Started by dtm.exe, July 09, 2005, 04:59:26 PM

Previous topic - Next topic

JayBachatero

Quote from: panter011 on September 27, 2005, 08:39:28 PM
My question is:

After integration, which of the themes is beign loaded? --  I mean, I would like to have coppermine to use the smf theme not the coppermine theme, is that possbile? --  Or they have to load their own themes and I need to customize both to make them similar?


Thanks

No this is not possible.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

dtm.exe

Quote from: panter011 on September 27, 2005, 08:39:28 PM
My question is:

After integration, which of the themes is beign loaded? --  I mean, I would like to have coppermine to use the smf theme not the coppermine theme, is that possbile? --  Or they have to load their own themes and I need to customize both to make them similar?


Thanks

Though integrated, they are two completely separate applications.  Coppermine themes will not work with SMF, and SMF themes will not work with Coppermine, I'm afraid.

L.G.S

I downloaded the 1.3.5 version, uploaded all the files, then did the changes to init.inc.php and smf.inc.php.

I then went to install it, and all I get is:

Fatal error: Call to undefined function: cache_get_data() in /home/hwwepa08/public_html/gallery/bridge/smf.inc.php(127) : eval()'d code on line 10

Line 10 is just the license argreement and what not
Any help?
FREE and LIVE World Cup + Premier League football streams:

www.gamesandgoals.com


snork13

Quote from: The Outsider on October 09, 2005, 03:28:03 PM
I downloaded the 1.3.5 version, uploaded all the files, then did the changes to init.inc.php and smf.inc.php.

I then went to install it, and all I get is:

Fatal error: Call to undefined function: cache_get_data() in /home/hwwepa08/public_html/gallery/bridge/smf.inc.php(127) : eval()'d code on line 10

Line 10 is just the license argreement and what not
Any help?

you have to install coppermine and smf as standalone installs first...in the same database...make sure both installs work...then merge

-snork13
Mods
Please DO NOT PM me with requests for individual support, but post your questions and concerns in the appropriate section of the forum where other users can benefit from them as well. Thank you.
I have been super busy as of late. Working on updates to all my modifications for 2.0.1

L.G.S

FREE and LIVE World Cup + Premier League football streams:

www.gamesandgoals.com


L.G.S

OK I did that all, now I get this

Fatal error: Call to undefined function: cache_get_data() in /home/hwwepa08/public_html/gallery/bridge/smf.inc.php(127) : eval()'d code on line 10

When I go to /gallery, it shows that.

when I go to /gallery/install.php, it shows fine.

I enter the same smf database, username and password, and then I get this:

The following errors were encountered and need to be corrected first:

mySQL Error: Table 'cpg135_albums' already existson query ' CREATE TABLE cpg135_albums ( aid int(11) NOT NULL auto_increment, title varchar(255) NOT NULL default '', description text NOT NULL, visibility int(11) NOT NULL default '0', uploads enum('YES','NO') NOT NULL default 'NO', comments enum('YES','NO') NOT NULL default 'YES', votes enum('YES','NO') NOT NULL default 'YES', pos int(11) NOT NULL default '0', category int(11) NOT NULL default '0', pic_count int(11) NOT NULL default '0', thumb int(11) NOT NULL default '0', last_addition datetime NOT NULL default '0000-00-00 00:00:00', stat_uptodate enum('YES','NO') NOT NULL default 'NO', keyword VARCHAR( 50 ), PRIMARY KEY (aid), KEY alb_category (category) ) TYPE=MyISAM'
FREE and LIVE World Cup + Premier League football streams:

www.gamesandgoals.com


Aravot


L.G.S

I am using
1.1 RC1

I have checked that topic out, but it doesn't really make sense to me because I'm only an amateur with PHP..
FREE and LIVE World Cup + Premier League football streams:

www.gamesandgoals.com


Aravot

In coppermine find /bridge/smf.inc.php

search for
cm_include_smf_funcs("$sourcedir/Load.php", array("reloadSettings", "md5_hmac", "loadUserSettings"));

replace with
cm_include_smf_funcs("$sourcedir/Load.php", array("cache_get_data", "reloadSettings", "md5_hmac", "loadUserSettings"));

L.G.S

OK I tried that, but I now get this

Fatal error: Call to undefined function: forum_time() in /home/hwwepa08/public_html/gallery/bridge/smf.inc.php(127) : eval()'d code on line 176

When trying to use the install, I still get:

mySQL Error: Table 'cpg135_albums' already existson query ' CREATE TABLE cpg135_albums ( aid int(11) NOT NULL auto_increment, title varchar(255) NOT NULL default '', description text NOT NULL, visibility int(11) NOT NULL default '0', uploads enum('YES','NO') NOT NULL default 'NO', comments enum('YES','NO') NOT NULL default 'YES', votes enum('YES','NO') NOT NULL default 'YES', pos int(11) NOT NULL default '0', category int(11) NOT NULL default '0', pic_count int(11) NOT NULL default '0', thumb int(11) NOT NULL default '0', last_addition datetime NOT NULL default '0000-00-00 00:00:00', stat_uptodate enum('YES','NO') NOT NULL default 'NO', keyword VARCHAR( 50 ), PRIMARY KEY (aid), KEY alb_category (category) ) TYPE=MyISAM'
FREE and LIVE World Cup + Premier League football streams:

www.gamesandgoals.com


Aravot

You have not installed CPG yet? First make sure SMF and CPG are working as standalone than try to bridge.

L.G.S

Yes I install it,

then I edited the files and tried to run it, to which I got that error.

Isn't it because It's ALREADY installed that I get the already created error?
FREE and LIVE World Cup + Premier League football streams:

www.gamesandgoals.com


Aravot

I don't know why the second error, if you are starting fresh without any albums and photos try CPG 1.4.1 but make sure it's the latest from CVS.

Do you have a URL

one more thing try running update.php 'gallery/update.php'

L.G.S

FREE and LIVE World Cup + Premier League football streams:

www.gamesandgoals.com


Aravot

Seems to be working you get SSI error which I have no clue

QuoteNotice: SSI.php was unable to load a session! This may cause problems with logout and other functions - please make sure SSI.php is included before *anything* else in all your scripts! in /home/hwwepa08/public_html/board/SSI.php on line 158

for CVS check here
http://cpg-contrib.org/index.php?file=minicms/cms&id=21

L.G.S

#175
hmm the only reason it shows me the error is because Im logged in, logged out it doesnt



Man, that link sure is confusing :(

isnt there someway someone could have a look for me?
FREE and LIVE World Cup + Premier League football streams:

www.gamesandgoals.com


Aravot

Do you have a test account if not may I create one.

If you are interested in CPG 1.4.1 I can send you a zip file.

L.G.S

Username: Avarot
Password: Avarot

Just to double check, you mean a forum account don't you?
FREE and LIVE World Cup + Premier League football streams:

www.gamesandgoals.com


Aravot


L.G.S

ok this one is tried and tested:

WARNED
smfsmfsmf
FREE and LIVE World Cup + Premier League football streams:

www.gamesandgoals.com


Advertisement: