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?
Refer to the integration section in the documentation, the methodology thread is only "dev talk".
Joachim
$path = '../smf';
How should my path look if I use
www.aducrejr.com/forum SMF
www.aducrejr.com/gallery Coppermine
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.
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?
I don't know. Did you follow the integration instructions in the documentation?
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
Post a test user login/pass so we can take a look. Also, what version of php are you running?
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
Do you have Coppermine and SMF sharing the same database?
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
You probably have display_errors disabled in php.ini, which is not very helpful for debugging.
how do I enable it?
in your php.ini search for display_errors and set it to ON
I search my computer before posting this question
Where is the php.ini flie located
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.
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');
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.
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
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
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?
search include/init.inc.php for error_reporting
and edit accordingly. If you have no idea about PHP at all, this task may be too hard for you though.
Joachim
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
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
Sorry about the double question.
My orginal problem is solved. I will start another thread
Again thanks for the help