Newbie Coppermine integration and SMF Newbie Coppermine integration and SMF
 

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]

Main Menu

Newbie Coppermine integration and SMF

Started by aducrejr, December 28, 2004, 03:36:07 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

aducrejr

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?
www.aducrejr.com/gallery
personal Gallery

Joachim Müller

Refer to the integration section in the documentation, the methodology thread is only "dev talk".

Joachim

aducrejr

$path = '../smf';

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

www.aducrejr.com/gallery
personal Gallery

kegobeer

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.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

aducrejr

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?
www.aducrejr.com/gallery
personal Gallery

kegobeer

I don't know.  Did you follow the integration instructions in the documentation?
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

aducrejr

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
www.aducrejr.com/gallery
personal Gallery

kegobeer

Post a test user login/pass so we can take a look.  Also, what version of php are you running?
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

aducrejr

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
www.aducrejr.com/gallery
personal Gallery

kegobeer

Do you have Coppermine and SMF sharing the same database?
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

aducrejr

#10
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
www.aducrejr.com/gallery
personal Gallery

Nibbler

You probably have display_errors disabled in php.ini, which is not very helpful for debugging.

aducrejr

www.aducrejr.com/gallery
personal Gallery

CapriSkye

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

aducrejr

I search my computer before posting this question

Where is the php.ini flie located
www.aducrejr.com/gallery
personal Gallery

CapriSkye

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.

aducrejr

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');


www.aducrejr.com/gallery
personal Gallery

kegobeer

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.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

aducrejr

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
www.aducrejr.com/gallery
personal Gallery

Joachim Müller

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