coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 (BBS) Integration / Bridging => Topic started by: aducrejr on December 28, 2004, 03:36:07 PM

Title: Newbie Coppermine integration and SMF
Post by: aducrejr on December 28, 2004, 03:36:07 PM
I have givien up on phpbb

what are the steps intergrating SMF
I read the methohology thread and just got lost

I have Coppermine working fine and SMF

whats Next?
Title: Re: Newbie Coppermine integration and SMF
Post by: Joachim Müller on December 28, 2004, 04:14:21 PM
Refer to the integration section in the documentation, the methodology thread is only "dev talk".

Joachim
Title: Re: Newbie Coppermine integration and SMF
Post by: aducrejr on December 28, 2004, 09:41:08 PM
$path = '../smf';

How should my path look if I use
www.aducrejr.com/forum  SMF
www.aducrejr.com/gallery  Coppermine

Title: Re: Newbie Coppermine integration and SMF
Post by: kegobeer on December 28, 2004, 09:48:50 PM
You don't have to change anything in the smf bridge file.  You can change $path="../forum", but the bridge file looks thru several possible locations of the smf forum $possible_paths = array($path, '..', '../forum', '../forums',
'../community', '../yabbse', '../smf');
It will find your smf location.
Title: Re: Newbie Coppermine integration and SMF
Post by: aducrejr on December 28, 2004, 11:17:35 PM
when I changed the // define('UDB_INTEGRATION', 'smf');
by removing the //
I am not able to see www.aducrejr.com/gallery the page shows blank

Is there a step that I am missing?
Title: Re: Newbie Coppermine integration and SMF
Post by: kegobeer on December 28, 2004, 11:19:38 PM
I don't know.  Did you follow the integration instructions in the documentation?
Title: Re: Newbie Coppermine integration and SMF
Post by: aducrejr on December 28, 2004, 11:32:36 PM
The documentation doesn't give any specifics for SMF

1. I went to the bridge directory and changed smf.inc.php
// Set this to the location of your Settings file:
$path = '../forum';

2. include/init.inc.php

Changed the define settings to:
define('UDB_INTEGRATION', 'smf');

Seems like I am missing something, because when I change step 2. I can't load gallery in browser but I can login/out of SMF
Title: Re: Newbie Coppermine integration and SMF
Post by: kegobeer on December 28, 2004, 11:38:18 PM
Post a test user login/pass so we can take a look.  Also, what version of php are you running?
Title: Re: Newbie Coppermine integration and SMF
Post by: aducrejr on December 28, 2004, 11:48:25 PM
for gallery and SMF
www.aducrejr.com/gallery
www.aducrejr.com/forum

user: test
Paswword: password

PHP Version 4.3.6

thanks for your interest in helping
Title: Re: Newbie Coppermine integration and SMF
Post by: kegobeer on December 29, 2004, 02:31:49 PM
Do you have Coppermine and SMF sharing the same database?
Title: Re: Newbie Coppermine integration and SMF
Post by: aducrejr on December 29, 2004, 05:31:27 PM
they are both on the same database I can login/out of SMF
But Coppermine shows a blank page when I goto it
www.aducrejr.com/gallery
www.aducrejr.com.forum
Title: Re: Newbie Coppermine integration and SMF
Post by: Nibbler on December 29, 2004, 05:47:13 PM
You probably have display_errors disabled in php.ini, which is not very helpful for debugging.
Title: Re: Newbie Coppermine integration and SMF
Post by: aducrejr on December 30, 2004, 01:40:29 AM
how do I enable it?
Title: Re: Newbie Coppermine integration and SMF
Post by: CapriSkye on December 30, 2004, 02:32:00 AM
in your php.ini search for display_errors and set it to ON
Title: Re: Newbie Coppermine integration and SMF
Post by: aducrejr on December 30, 2004, 08:47:09 AM
I search my computer before posting this question

Where is the php.ini flie located
Title: Re: Newbie Coppermine integration and SMF
Post by: CapriSkye on December 30, 2004, 12:36:19 PM
it depends on your server setup, but you don't know where to find it probably means you're not self hosting, therefore you can't change it, you'll have to ask your server admin to do it for you.
Title: Re: Newbie Coppermine integration and SMF
Post by: aducrejr on December 30, 2004, 04:16:57 PM
Yahoo is my host so I don't know how much luck I going to have in them changing that file

Are the any other areas I can troubleshoot?

Again main problem SMF works fine whenI try to intergration. Gallery site becomes blank until I reverse
define('UDB_INTEGRATION', 'smf');


Title: Re: Newbie Coppermine integration and SMF
Post by: kegobeer on December 30, 2004, 04:31:19 PM
You might want to ask Yahoo if there's something they can do.  It may be something they've configured to prevent including files from a different main directory.
Title: Re: Newbie Coppermine integration and SMF
Post by: aducrejr on January 03, 2005, 04:16:36 AM
Here is the response I recieved from Yahoo after asking for help. Does this seem like it is a valid workaround

QuoteDear Yahoo! Customer,

Thank you for contacting us.

We're sorry, the feature you are mentioning is not currently available through Yahoo! Web Hosting and we do not have an estimated date as to when or if it will be available. However, we'll pass your comments on to our Development team for further consideration.

FYI, here is one workaround:

1). Create a 'includes' subdirectory under web site root directory

2). Create a common_header.inc file with the following code:

<?
ini_set('display_errors', "1");
error_reporting(E_PARSE);
?>

3). Add the following line to your PHP file:

include ("/includes/common_header.inc");

Please do not hesitate to reply if you need further assistance.

Regards,

Edwin

Yahoo! Customer Care

For assistance with all Yahoo! services please visit:
   
   http://help.yahoo.com/



Original Message Follows:
-------------------------

How do I change the display_errors to (on/enable) in the php.ini file



I am having problems integrating a forum in to a photo gallery and the developers of the photo gallery suggested that I change those properties



"in your php.ini search for display_errors and set it to ON"



http://forum.coppermine-gallery.net/index.php?topic=13016.0
Title: Re: Newbie Coppermine integration and SMF
Post by: Joachim Müller on January 03, 2005, 09:42:26 AM
creating a separate dir/file that only enables the error reporting you need is overkill, just add <?
ini_set('display_errors', "1");
error_reporting(E_PARSE);
?>
to coppermine's code.

Joachim
Title: Re: Newbie Coppermine integration and SMF
Post by: aducrejr on January 03, 2005, 10:25:06 AM
Quote from: GauGau on January 03, 2005, 09:42:26 AM
creating a separate dir/file that only enables the error reporting you need is overkill, just add <?
ini_set('display_errors', "1");
error_reporting(E_PARSE);
?>
to coppermine's code.

Joachim

Where should I input that code?
Which file?
Title: Re: Newbie Coppermine integration and SMF
Post by: Joachim Müller on January 03, 2005, 10:29:40 AM
search include/init.inc.php for error_reportingand edit accordingly. If you have no idea about PHP at all, this task may be too hard for you though.

Joachim
Title: Re: Newbie Coppermine integration and SMF
Post by: aducrejr on January 03, 2005, 02:56:38 PM
I finally have it working thanks for the help

My new problem is that I can see new groups made in SMF in Coppermine, but I cant see them in SMF neither the users

thanks for getting me this far
Title: Re: Newbie Coppermine integration and SMF
Post by: Joachim Müller on January 04, 2005, 06:09:00 AM
1) We have a "One question per thread" policy you accepted to respect when signing up for your account on this forum!
2) What do you mean by saying "I cant see them in SMF neither the users" - you can't see the SMF user groups in your SMF control panel? That doesn't sound very plausible for me.

I suggest you reply to this thread with "original issue/question solved" and start a new thread about the new issue you appear to be facing (with a link to your page, a test user account and a screenshot attached to your posting that illustrates what you mean).

Joachim
Title: Re: Newbie Coppermine integration and SMF
Post by: aducrejr on January 04, 2005, 09:41:20 AM
Sorry about the double question.

My orginal problem is solved. I will start another thread

Again thanks for the help