 | |  | | | Photopost Pro Installation & Upgrades If you're having install or upgrade problems |
December 17th, 2004, 02:47 PM
|
#1 (permalink)
| | Ultimate Member Verified Customer
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.
|
| |
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.
|
| |
December 17th, 2004, 07:54 PM
|
#3 (permalink)
| | Photopost Developer Verified Customer
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.
|
| |
December 17th, 2004, 08:00 PM
|
#4 (permalink)
| | Ultimate Member Verified Customer
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.
|
| |
December 17th, 2004, 08:11 PM
|
#5 (permalink)
| | Photopost Developer Verified Customer
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
|
| |
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.
|
| |
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. |
| |
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.
|
| |
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. |
| |
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.
|
| |
December 18th, 2004, 03:08 PM
|
#11 (permalink)
| | Photopost Developer Verified Customer
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;
|
| |
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!!
|
| |
December 18th, 2004, 06:00 PM
|
#13 (permalink)
| | Member Verified Customer
Join Date: May 2004
Posts: 41
|
Thanks, that completely fixed the problem. |
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 01:55 PM. | |