PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro Installation & Upgrades

Photopost Pro Installation & Upgrades If you're having install or upgrade problems

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old December 17th, 2004, 02:47 PM   #1 (permalink)
Ultimate Member
Verified Customer
 
ConqSoft's Avatar
 
Join Date: Nov 2003
Location: Raleigh, NC
Posts: 1,417
4.8.5 - Photopost Open/Closed

The "closed" setting I had in my config file from before seems to be overriding my Open setting I have in the database. Once I changed it in the config file, it let users in.

Should I remove my old config file after upgrading? I didn't see it mentioned, but I might have missed that.
ConqSoft is offline   Reply With Quote
Old December 17th, 2004, 05:09 PM   #2 (permalink)
Member
Verified Customer
 
Join Date: May 2004
Posts: 41
I have this same sort of problem too. Even after replacing the old config-inc.php with the new one, my gallery seems to be stuck on open. It changes in the db but doesn't seem to really make a difference.
bajabob is offline   Reply With Quote
Old December 17th, 2004, 07:54 PM   #3 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,802
You might try saving the config and the new values will replace your old config so it should not be there after saving.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old December 17th, 2004, 08:00 PM   #4 (permalink)
Ultimate Member
Verified Customer
 
ConqSoft's Avatar
 
Join Date: Nov 2003
Location: Raleigh, NC
Posts: 1,417
Saving the values now saves those into the database, so the config file never gets updated with the change. But, PhotoPost still seems to be looking to that config file for its open/closed status.
ConqSoft is offline   Reply With Quote
Old December 17th, 2004, 08:11 PM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,802
delete the variable from the config but the config file should be getting saved correctly if you have it set to 666 like it should be
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old December 17th, 2004, 08:22 PM   #6 (permalink)
Member
Verified Customer
 
Join Date: May 2004
Posts: 41
My config file gets updated, but the gallery won't change status from open to closed. When I change it to closed, and look in the db, the change is recognized there, but when visiting the gallery as a guest it's still very much open.

I am able to actually close it only when I add these lines below from the old config file to the new config file:

// Are the Galleries OPEN or CLOSED?
// set this to "closed" if you want your gallery to be offline
$ppboards="closed";

// Display message when closed
$closedmsg = "The boards are temporarily down for maintainence.";

But updating the status within the admin cp still won't work. So for some reason it appears that the gallery status is looking at the config file and not the db to tell whether it's open or not. I think it's the problem CongSoft is having too.

Last edited by bajabob; December 17th, 2004 at 08:25 PM.
bajabob is offline   Reply With Quote
Old December 18th, 2004, 12:21 AM   #7 (permalink)
PhotoPost Developer
Verified Customer
 
Join Date: Jan 2002
Posts: 11,858
In the Admin, choose Edit Config... and Save... It will write a new config-inc.php with the old values removed; this solved the issue for me.
__________________
Please do not PM me for support or sales questions. Thank you for your understanding.
Michael P is offline   Reply With Quote
Old December 18th, 2004, 01:22 AM   #8 (permalink)
Member
Verified Customer
 
Join Date: May 2004
Posts: 41
I can get it to write the config file with no problem. I just can't get it to change from being opened to closed. I even tried a fresh install on a different site with a brand new db, and when I closed that one, logged out, and went to gallery home, I could still surf it as a guest. It just seems that it's not looking at the db to tell it whether it's open or closed. I can't figure out what could be causing it. Please see if you can recreate that by closing a gallery and going to as a guest. If not, I can let you have a look at two of mine if you'd like.

Last edited by bajabob; December 18th, 2004 at 01:47 AM.
bajabob is offline   Reply With Quote
Old December 18th, 2004, 10:28 AM   #9 (permalink)
PhotoPost Developer
Verified Customer
 
Join Date: Jan 2002
Posts: 11,858
I did create it, until I edit'd my config file and it removed the $ppboards reference contained in the config-inc.php. If it isn't in the config-inc.php; the only place it can come from is the db, right?
__________________
Please do not PM me for support or sales questions. Thank you for your understanding.
Michael P is offline   Reply With Quote
Old December 18th, 2004, 03:01 PM   #10 (permalink)
Junior Member
Verified Customer
 
Join Date: Aug 2002
Posts: 22
Quote:
Originally Posted by bajabob
I can get it to write the config file with no problem. I just can't get it to change from being opened to closed. I even tried a fresh install on a different site with a brand new db, and when I closed that one, logged out, and went to gallery home, I could still surf it as a guest. It just seems that it's not looking at the db to tell it whether it's open or closed. I can't figure out what could be causing it. Please see if you can recreate that by closing a gallery and going to as a guest. If not, I can let you have a look at two of mine if you'd like.
I'm having the same issue with my site. I upgraded from 4.8.2 if that makes a difference.

Thanks.
tester3 is offline   Reply With Quote
Old December 18th, 2004, 03:08 PM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,802
Cookie for You

First official bug reported I assume here

Open pp-inc.php and delete these two lines

$Globals['ppboards'] = $ppboards;
$Globals['closedmsg'] = $closedmsg;
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old December 18th, 2004, 03:17 PM   #12 (permalink)
Junior Member
Verified Customer
 
Join Date: Aug 2002
Posts: 22
Quote:
Originally Posted by omegatron
Cookie for You

First official bug reported I assume here

Open pp-inc.php and delete these two lines

$Globals['ppboards'] = $ppboards;
$Globals['closedmsg'] = $closedmsg;
Excellent. Works great now!

Thanks!!
tester3 is offline   Reply With Quote
Old December 18th, 2004, 06:00 PM   #13 (permalink)
Member
Verified Customer
 
Join Date: May 2004
Posts: 41
Thanks, that completely fixed the problem.
bajabob 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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Photopostdev.com closed? vissa Before You Buy 7 November 10th, 2005 10:42 AM
Closed Showcase Galleris and open User Gallery imported_Odysseus How Do I? - vBulletin 3.5.X 2 October 26th, 2005 06:53 PM
3.01 closed message(FIXED) sbb ReviewPost Bug Reports 2 September 27th, 2005 05:31 PM
Is PhotoPost 100% open source? cachinese Before You Buy 1 April 29th, 2005 04:09 PM


All times are GMT -5. The time now is 01:55 PM.

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