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   Go Down

Author Topic: Newbie Coppermine integration and SMF  (Read 12431 times)

0 Members and 1 Guest are viewing this topic.

aducrejr

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 27
Newbie Coppermine integration and SMF
« 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?
« Last Edit: January 05, 2005, 01:09:11 am by GauGau »
Logged
www.aducrejr.com/gallery
personal Gallery

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Newbie Coppermine integration and SMF
« Reply #1 on: December 28, 2004, 04:14:21 pm »

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

Joachim
Logged

aducrejr

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 27
Re: Newbie Coppermine integration and SMF
« Reply #2 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

Logged
www.aducrejr.com/gallery
personal Gallery

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Newbie Coppermine integration and SMF
« Reply #3 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
Code: [Select]
$possible_paths = array($path, '..', '../forum', '../forums',
'../community', '../yabbse', '../smf');
It will find your smf location.
Logged
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

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 27
Re: Newbie Coppermine integration and SMF
« Reply #4 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?
Logged
www.aducrejr.com/gallery
personal Gallery

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Newbie Coppermine integration and SMF
« Reply #5 on: December 28, 2004, 11:19:38 pm »

I don't know.  Did you follow the integration instructions in the documentation?
Logged
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

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 27
Re: Newbie Coppermine integration and SMF
« Reply #6 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
Logged
www.aducrejr.com/gallery
personal Gallery

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Newbie Coppermine integration and SMF
« Reply #7 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?
Logged
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

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 27
Re: Newbie Coppermine integration and SMF
« Reply #8 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
Logged
www.aducrejr.com/gallery
personal Gallery

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Newbie Coppermine integration and SMF
« Reply #9 on: December 29, 2004, 02:31:49 pm »

Do you have Coppermine and SMF sharing the same database?
Logged
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

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 27
Re: Newbie Coppermine integration and SMF
« Reply #10 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
« Last Edit: December 30, 2004, 01:54:19 am by aducrejr »
Logged
www.aducrejr.com/gallery
personal Gallery

Nibbler

  • Guest
Re: Newbie Coppermine integration and SMF
« Reply #11 on: December 29, 2004, 05:47:13 pm »

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

aducrejr

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 27
Re: Newbie Coppermine integration and SMF
« Reply #12 on: December 30, 2004, 01:40:29 am »

how do I enable it?
Logged
www.aducrejr.com/gallery
personal Gallery

CapriSkye

  • Translator
  • Coppermine frequent poster
  • **
  • Offline Offline
  • Posts: 126
    • 森林之原
Re: Newbie Coppermine integration and SMF
« Reply #13 on: December 30, 2004, 02:32:00 am »

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

aducrejr

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 27
Re: Newbie Coppermine integration and SMF
« Reply #14 on: December 30, 2004, 08:47:09 am »

I search my computer before posting this question

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

CapriSkye

  • Translator
  • Coppermine frequent poster
  • **
  • Offline Offline
  • Posts: 126
    • 森林之原
Re: Newbie Coppermine integration and SMF
« Reply #15 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.
Logged

aducrejr

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 27
Re: Newbie Coppermine integration and SMF
« Reply #16 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');


Logged
www.aducrejr.com/gallery
personal Gallery

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Newbie Coppermine integration and SMF
« Reply #17 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.
Logged
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

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 27
Re: Newbie Coppermine integration and SMF
« Reply #18 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

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

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Newbie Coppermine integration and SMF
« Reply #19 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
Code: [Select]
<?
ini_set('display_errors', "1");
error_reporting(E_PARSE);
?>
to coppermine's code.

Joachim
Logged
Pages: [1] 2   Go Up
 

Page created in 0.022 seconds with 15 queries.