PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |
Old June 7th, 2005, 01:14 AM   #1 (permalink)
Member
 
Join Date: Jan 2005
Posts: 32
Installing gallery script on separate site

I purchased the gallery a few days ago and just installed it on my main site, which is separate from my forum, although both are on the same server. (forum has its own subdomain).

At first the gallery gave me a blank page, then I added the full path to the two requires below:

require_once('./global.php');
require_once('./includes/functions_gallery.php');

in the gallery_global.php and the gallery is now working.

Is that the only place I need to put the full path to those two files for the gallery to work? Just want to make sure...

PS: Some of the images don't show up though for my main style, like the /images/misc/ images and images from the /images/buttons/ but I fixed this easily by editing the stylevars images paths for the forum style to use full URL. had this problem for the local install of the gallery too. The images showed up ok for my other styles.
HappyPike is offline   Reply With Quote
Old June 7th, 2005, 01:26 AM   #2 (permalink)
Member
 
Join Date: Jan 2005
Posts: 32
Re: Installing gallery script on separate site

ack! When I tried to login, it took me to /gallery/login.php which doesn't exists....
HappyPike is offline   Reply With Quote
Old June 7th, 2005, 10:24 AM   #3 (permalink)
Brian
Guest
 
Posts: n/a
Re: Installing gallery script on separate site

There's no reason you should touch those two require() statements. If you enter the correct path in your gallery_config.php file then that should be all that's needed.
For the images, go to your Style Manager in your Admin CP and select 'All Style Options' from the select box next to that style. On that page you will see a section dealing with image paths. Make sure each is set to the full URL to those folders.
  Reply With Quote
Old June 7th, 2005, 09:18 PM   #4 (permalink)
Member
 
Join Date: Jan 2005
Posts: 32
Re: Installing gallery script on separate site

Quote:
Originally Posted by Brian
There's no reason you should touch those two require() statements. If you enter the correct path in your gallery_config.php file then that should be all that's needed.
Ok, I unedited those 2 requires and no longer get a blank page.

I still get the wrong URL for the login.php though. Also when I try to upload an image, it gives me an "Invalid File Type" error. I tried both GIF and JPG files.

I didn't have this upload error on my local machine.

EDIT: PMed you some info about the settings I am using.
HappyPike is offline   Reply With Quote
Old June 8th, 2005, 10:59 AM   #5 (permalink)
Brian
Guest
 
Posts: n/a
Re: Installing gallery script on separate site

For the login link, it looks like the replacement options are not working properly. Edit your settings for the gallery and make sure that login.php is listed in your 'Navbar Replacements' option. Even if it is, go ahead and save your options to make sure that the cache is updated.
For the uploading problem, is your server running in safe mode? If you're not sure, check the 'View PHP info' link under 'Import & Maintenance' in your admin cp.
  Reply With Quote
Old June 8th, 2005, 03:11 PM   #6 (permalink)
Member
 
Join Date: Jan 2005
Posts: 32
Re: Installing gallery script on separate site

I asked my host and he said safe_mode is Off and file_uploads is On.
HappyPike is offline   Reply With Quote
Old June 8th, 2005, 03:24 PM   #7 (permalink)
Member
 
Join Date: Jan 2005
Posts: 32
Re: Installing gallery script on separate site

Ok, I got the upload problem fixed now. It turns out the tmpdir in Apache was not set for my main site... just the forums.

So the only problem remaining is the wrong navbar links and wrong login.php link...

Brian, would a temp forum admin account be enough for u to fix this problem. As mentioned in other thread, the version I installed does not have the "Header Replacements, Navbar Replacements, Footer Replacements" options in the gallery admin.

If it's easy to fix this, you can just post some intructions in here...
HappyPike is offline   Reply With Quote
Old June 8th, 2005, 04:30 PM   #8 (permalink)
Brian
Guest
 
Posts: n/a
Re: Installing gallery script on separate site

Since I'm sure a few other people are going to have the same problem, I went ahead and updated the install file on here to include an option to re-install just these settings. If you download the package from here again, upload the vbagallery_install.php file to your admincp directory, and go to this url it should take care of the problem:

http://yoursite.com/forum/admincp/vb...globalsettings
  Reply With Quote
Old June 8th, 2005, 04:50 PM   #9 (permalink)
Member
 
Join Date: Jan 2005
Posts: 32
Re: Installing gallery script on separate site

Cool, that fixed the problem, though I had to go to the gallery admin and re-save the setting options for it to work.

One little thing: when I login from the gallery, I get redirected to my forum page. Is this normal?
HappyPike is offline   Reply With Quote
Old June 8th, 2005, 05:26 PM   #10 (permalink)
Brian
Guest
 
Posts: n/a
Re: Installing gallery script on separate site

Weird, I'm getting the 'POST requests from foreign hosts are not allowed.' error when I try to login from the gallery. If you apply the fix in the thread below that should take care of the problem, and maybe yours as well.

http://www.vbadvanced.com/forum/showthread.php?t=7277
  Reply With Quote
Old June 9th, 2005, 05:33 PM   #11 (permalink)
Member
 
Join Date: Jan 2005
Posts: 32
Re: Installing gallery script on separate site

I tried that fix and it still forward me to the forum main page...

It's no big deal though...
HappyPike is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
empty site in gallery TraumTeam How Do I? - vBulletin 3.5.X 4 October 12th, 2005 06:22 PM
after installing the Gallery Nautiqeman Installs and Upgrade - vBulletin 3.0.X 5 June 5th, 2005 06:46 PM
Separate server for Gallery freakystuff Before You Buy 6 May 9th, 2005 12:47 PM
Installing VB gallery on Free USB 4.8 ?? imported_Darkside Installs and Upgrade - vBulletin 3.0.X 24 February 25th, 2005 02:36 PM
Installing a random banner script? dropmachine Photopost Pro Installation & Upgrades 3 July 23rd, 2004 01:05 PM


All times are GMT -5. The time now is 02:07 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0