| Author |
Message |
speedracer
Beginner


Joined: Sep 25, 2005 Posts: 14
|
Posted: Sun Sep 25, 2005 4:10 am Post subject: Incorrect Forum Index |
|
|
The "Forum Index" points to the root directory where it should point to the phpbb path. Site admin points to /phpbb2/ ACP. The albums have an X since their relative path points to /phpbb2/v/ALBUM
Setup:
/root/phpbb2
/root/gallery2
Gallery 2 Integration Settings
/home/www/test/gallery2/
URL to the gallery2.php file:
/phpbb2/gallery2.php
URL path from you webroot to gallery2.php: /phpbb2/
Relative file path to your Gallery 2 directory: ../gallery2/
URL to your login.php file: /phpbb2/login.php
Cookie path: /gallery2/
Active User ID: 0
Did I set up the path incorrectly or did i not install Gallery 2 correctly?
**
Side note - Server might have been busy but it took 4 registration attemps to get a verification email |
|
| Back to top |
|
|
AdBot
|
| Post subject: Incorrect Forum Index |
|
|
|
|
|
| Back to top |
|
 |
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6274 Location: Washington Township, NJ, USA
|
Posted: Mon Sep 26, 2005 11:29 am Post subject: Re: Incorrect Forum Index |
|
|
/phpbb2/v/ALBUM is using the embedded rewrites, as gallery2 does not support that kind of direct URL.
I cannot attest to the integration working when you have gallery2 installed outside of the phpbb2 directory...this is on my todo list though. _________________
 |
|
| Back to top |
|
|
speedracer
Beginner


Joined: Sep 25, 2005 Posts: 14
|
Posted: Tue Sep 27, 2005 1:49 am Post subject: Re: Incorrect Forum Index |
|
|
Thanks. Makes sense now  |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6274 Location: Washington Township, NJ, USA
|
Posted: Tue Sep 27, 2005 9:42 am Post subject: Re: Incorrect Forum Index |
|
|
ok, i've got a dev site setup with phpBB2 in one directory, and gallery2 in another directory (not inside the phpBB2 directory). here is my config:
 _________________
 |
|
| Back to top |
|
|
joe7
User


Joined: Apr 21, 2004 Posts: 39
|
Posted: Mon Oct 03, 2005 4:56 am Post subject: Re: Incorrect Forum Index |
|
|
| for me it works only when setting relative path to y g2 dir: as ../weburl.of.g2s.stanadalone |
|
| Back to top |
|
|
pestilence
Novice


Joined: Oct 03, 2005 Posts: 25
|
Posted: Mon Oct 03, 2005 5:03 am Post subject: Re: Incorrect Forum Index |
|
|
I have gallery2 outside of my phpbb directory.
my folder structure:
site.com
site.com/forum <-phpbb2
site.com/gallery2 <-gallery2
here is my config:
hope that helps. it took me 30 minutes to go thru trial and error to see which way works best. |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6274 Location: Washington Township, NJ, USA
|
Posted: Mon Oct 03, 2005 6:29 am Post subject: Re: Incorrect Forum Index |
|
|
your URL path from webroot to gallery2.php should probably be /forum/ , and your relative file path should probably be ../gallery2 _________________
 |
|
| Back to top |
|
|
speedracer
Beginner


Joined: Sep 25, 2005 Posts: 14
|
Posted: Mon Oct 03, 2005 4:05 pm Post subject: Re: Incorrect Forum Index |
|
|
Thanks. I got busy and haven;thad the chance to post:
pestilence has it correct Thanks. My Problem wasn't so much the path as with mod_rewrite interfering so when I did put the correct path - nothing showed up correct.
****
Suppliment guide
based on:phpBB2.zip 26-Sep-2005 04:00 35K
Your results will vary. Note your relative path must reflect under the configurations of admin_gallery2.php
For those running Apache
** When I point out enable or disable for mod_rewrite this is in reference to gallery2 using mod_rewrite not apache configuration **
(1) mod_rewrite enable ** not suggested ** Odd things happen.
Install place gallery2 inside the forum index
eg: phpbb2/gallery2
Note: It kinda works. Not fully supported and it gets ugly when you click on nested albums/
(2) mod_rewrite disabled (use this for now)
gallery2 folder can be outside the phpbb2 index root but watch out for relative path reference. NOTE: mod_rewrite is not enabled under the gallery 2 admin panel.
You will need to use "../[path]"
My Suggestion if you do not want to deal with paths is to install as the authror has done.
Eg:
/phpBB2/ --> phpbb
/phpBB2/gallery2 --> gallery2 module |
|
| Back to top |
|
|
|
|
|
|
|