Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: [Solved]: Problem bridging phpbb3 with coppermine  (Read 5216 times)

0 Members and 1 Guest are viewing this topic.

willemc

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
[Solved]: Problem bridging phpbb3 with coppermine
« on: May 05, 2009, 09:57:47 am »

Hi all,

I tried to bridge phpbb3 with coppermine, but i got one question.
my forum is located in http://forum.xxxxx.com and the coppermine photo gallery is located in http://forum.xxxxx.com/gallery

I assumed that this wouldn't be a problem?

Now I went to 'run' the bridge and had to insert some different values.

Forum url: http://forum.xxxxx.com
Relative path to BSS configuration file:  ?
Cookie prefix: quolibetgallery

What should I add into the relative path? When I insert ../ it doesn't work, / also not etc etc. In the next screen it says that the file is located as forum.xxxxx.com/gallery//bridgemgr.php . So what should I insert to get this worked?

I searched this forum and phpbb3 bridging topics but I couldn't find something like this anywhere.

Thanks in advance
« Last Edit: May 05, 2009, 12:31:55 pm by Phill Luckhurst »
Logged

willemc

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Problem bridging phpbb3 with coppermine
« Reply #1 on: May 05, 2009, 11:23:55 am »

Well, I solved this part.

Now I got the following problem, which I see in this forum also a few time.
I only can't find the answer, each time it's solved without giving the answer.

I believe it has to do something with the Cookie_prefix

What name should I insert here? I really don't mind what the cookie_prefix is, but it isn't allowed to be the same as the forum cookie_prefix?

Logged

willemc

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Problem bridging phpbb3 with coppermine
« Reply #2 on: May 05, 2009, 11:43:06 am »

Oops, would be handy to say which problem  ::)

When I click on Login, I'm redirected to my forum, where I'm allready loged in. So I can't login into the photo gallery.
Logged

willemc

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Problem bridging phpbb3 with coppermine
« Reply #3 on: May 05, 2009, 12:19:33 pm »

SOLVED !!

I went looking in my phpbb admin what the cookie-name was for the forum, I inserted this cookiename and all seems to work now!
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: Problem bridging phpbb3 with coppermine
« Reply #4 on: May 05, 2009, 12:31:43 pm »

Thanks for coming back and resolving your problem.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

willemc

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: [Solved]: Problem bridging phpbb3 with coppermine
« Reply #5 on: May 05, 2009, 06:05:06 pm »

Well, just found out my photogallery still doesn't work properly.
I get this hughe error:

Code: [Select]
USER:
------------------
Array
(
    [ID] => 27d4174862cedf10ef90db16cedbf781
    [am] => 1
    [lang] => dutch
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 2
    [user_name] => XXXX
    [groups] => Array
        (
            [0] => 105
        )

    [disk_max] => 0
    [disk_min] => 0
    [can_rate_pictures] => 0
    [can_send_ecards] => 0
    [ufc_max] => 0
    [ufc_min] => 0
    [custom_user_upload] => 0
    [num_file_upload] => 1
    [num_URI_upload] => 0
    [can_post_comments] => 0
    [can_upload_pictures] => 0
    [can_create_albums] => 1
    [has_admin_access] => 1
    [pub_upl_need_approval] => 1
    [priv_upl_need_approval] => 1
    [group_name] => ADMINISTRATORS
    [upload_form_config] => 0
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 105
)

==========================
Queries:
------------------
Array
(
    [0] => SELECT extension, mime, content, player FROM cpg14x_filetypes; (0s)
    [1] => select * from cpg14x_plugins order by priority asc; (0s)
    [2] => SELECT * FROM cpg14x_bridge (0s)
    [3] => SELECT user_id, user_password FROM `phpBB_`.phpbb3_sessions INNER JOIN `phpBB_`.phpbb3_users ON session_user_id = user_id WHERE session_id='497b41c89ebe418b3db0e637549a33db'; (0.001s)
    [4] => SELECT u.user_id AS id, u.username AS username, u.user_password AS password, u.group_id+100 AS group_id FROM `phpBB_`.phpbb3_users AS u INNER JOIN `phpBB_`.phpbb3_groups AS g ON u.group_id=g.group_id WHERE u.user_id='2' (0s)
    [5] => SELECT MAX(group_quota) as disk_max, MIN(group_quota) as disk_min, MAX(can_rate_pictures) as can_rate_pictures, MAX(can_send_ecards) as can_send_ecards, MAX(upload_form_config) as ufc_max, MIN(upload_form_config) as ufc_min, MAX(custom_user_upload) as custom_user_upload, MAX(num_file_upload) as num_file_upload, MAX(num_URI_upload) as num_URI_upload, MAX(can_post_comments) as can_post_comments, MAX(can_upload_pictures) as can_upload_pictures, MAX(can_create_albums) as can_create_albums, MAX(has_admin_access) as has_admin_access, MIN(pub_upl_need_approval) as pub_upl_need_approval, MIN( priv_upl_need_approval) as  priv_upl_need_approval FROM cpg14x_usergroups WHERE group_id in (105) (0s)
    [6] => SELECT group_name FROM  cpg14x_usergroups WHERE group_id= 105 (0s)
    [7] => SELECT user_favpics FROM cpg14x_favpics WHERE user_id = 2 (0s)
    [8] => DELETE FROM cpg14x_banned WHERE expiry < '2009-05-05 18:00:58' (0s)
    [9] => SELECT * FROM cpg14x_banned WHERE (ip_addr='90.145.25.80' OR ip_addr='90.145.25.80' OR user_id=2) AND brute_force=0 (0s)
    [10] => SELECT aid, title FROM cpg14x_albums WHERE 1 (0s)
    [11] => SELECT COUNT(*) FROM cpg14x_pictures WHERE approved = 'NO' (0s)
)

==========================
GET :
------------------
Array
(
)

==========================
POST :
------------------
Array
(
)

==========================
VERSION INFO :
------------------
PHP version: 5.1.6 - OK
------------------
mySQL version: 5.0.27
------------------
Coppermine version: 1.4.22(stable)
==========================
Module: GD
------------------
GD Version: bundled (2.0.28 compatible)
FreeType Support: 1
FreeType Linkage: with freetype
T1Lib Support:
GIF Read Support: 1
GIF Create Support: 1
JPG Support: 1
PNG Support: 1
WBMP Support: 1
XPM Support:
XBM Support: 1
JIS-mapped Japanese Font Support:

==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 2
Client API version 5.0.27
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib64/mysql -lmysqlclient 
==========================
Module: zlib
------------------
ZLib Support enabled
Stream Wrapper support compress.zlib://
Stream Filter support zlib.inflate, zlib.deflate
Compiled Version 1.2.3
Linked Version 1.2.3
==========================
Server restrictions (safe mode)?
------------------
Directive | Local Value | Master Value
safe_mode | Off | Off
safe_mode_exec_dir | no value | no value
safe_mode_gid | Off | Off
safe_mode_include_dir | no value | no value
safe_mode_exec_dir | no value | no value
sql.safe_mode | Off | Off
disable_functions | no value | no value
file_uploads | On | On
include_path | .:.:.: | .:.:.:
open_basedir | /var/www/vhosts/xxxxx.com/subdomains/forum/httpdocs:/tmp | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | no value | no value
sendmail_path | /usr/sbin/sendmail -t -i | /usr/sbin/sendmail -t -i
SMTP | localhost | localhost
smtp_port | 25 | 25
==========================
Size and Time
------------------
Directive | Local Value | Master Value
max_execution_time | 30 | 30
max_input_time | 60 | 60
upload_max_filesize | 32M | 32M
post_max_size | 32M | 32M
==========================
Page generated in 0.303 seconds - 12 queries in 0.001 seconds - Album set : ; Meta set: ;


I really don't know what I have to do with this, but at the moment I don't get it how anyone has to upload pictures, without direct access to my ftp account (so this would mean, users can't upload anything)

If it has to, I'll open a new topic for this, but I don't know if this is caused by something I did with the former problems?

Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: [Solved]: Problem bridging phpbb3 with coppermine
« Reply #6 on: May 05, 2009, 06:12:46 pm »

Ok, start a new thread in the uploading section with all the details requested in the docs and we can take a look.

http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_support
Logged
It is a mistake to think you can solve any major problems just with potatoes.
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 19 queries.