 | |  | | | Photopost Pro Installation & Upgrades If you're having install or upgrade problems |
June 13th, 2005, 02:44 PM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Aug 2004
Posts: 77
| Can't minimize categories after 5.11 upgrade
After upgrading from 5.1 to 5.11 seems users can't minimize the categories on the index page anymore. When they do it gives an error. Has happened on multiple sites but here is one. www.cocoabeachphotos.com |
| |
June 13th, 2005, 05:55 PM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,070
|
in misc.php add the code in bold
typecast($_REQUEST, array('whoami' => STRING,'do' => STRING, 'action' => STRING, 'photo' => INT, 'cat' => STRING, 'report' => INT,
|
| |
June 13th, 2005, 08:14 PM
|
#3 (permalink)
| | Member Verified Customer
Join Date: Aug 2004
Posts: 77
|
Didn't work. This is what I have. typecast($_REQUEST, array('whoami' => STRING,'do' => STRING, 'action' => STRING, 'photo' => INT, 'cat' => STRING, 'report' => INT,
'sub' => INT, 'thumb' => INT, 'sort' => INT, 'sl' => STRING, 's' => STRING,
'si' => STRING, 'name' => STRING, 'cat' => STRING, 'catp' => STRING, 'page' => INT,
'ppuser' => INT, 'what' => STRING, 'when' => STRING, 'sorttime' => INT, 'perpage' => INT,
'limit' => STRING,'way' => STRING,'sortby' => STRING,
'implode' => INT, 'expand' => INT, 'pid' => INT, 'login' => STRING));
Last edited by atlantic2; June 13th, 2005 at 08:21 PM.
|
| |
June 13th, 2005, 08:51 PM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,070
|
In index.php as well add this after this line
typecast($_REQUEST, array('page' => INT, 'cat' => INT));
ADD THIS BELOW
typecast($_COOKIE, array('ppcollapse' => STRING));
Then back in misc.php add to the $cookie line in bold
typecast($_COOKIE, array('ppcollapse' => STRING,'printphotos', STRING, 'ppperpage' => INT));
Last edited by Chuck S; June 13th, 2005 at 09:53 PM.
|
| |
June 14th, 2005, 06:58 AM
|
#5 (permalink)
| | Member Verified Customer
Join Date: Aug 2004
Posts: 77
|
Getting closer. When you try to collapse it still gives a error screen but when you go back to the site it's collapsed.
Last edited by atlantic2; June 14th, 2005 at 07:18 AM.
|
| |
June 14th, 2005, 07:22 AM
|
#6 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,070
|
I think you have not done all THREE edits then. Lets go through them again
in misc.php add the code in bold
typecast($_REQUEST, array('whoami' => STRING,'do' => STRING, 'action' => STRING, 'photo' => INT, 'cat' => STRING, 'report' => INT,
typecast($_COOKIE, array('ppcollapse' => STRING,'printphotos', STRING, 'ppperpage' => INT));
In index.php as well add this after this line
typecast($_REQUEST, array('page' => INT, 'cat' => INT));
ADD THIS BELOW typecast($_COOKIE, array('ppcollapse' => STRING)); |
| |
June 14th, 2005, 07:41 AM
|
#7 (permalink)
| | Member Verified Customer
Join Date: Aug 2004
Posts: 77
|
That got it. Working with another file that didn't have the step from yesterday.
Thanks
|
| |
June 14th, 2005, 07:56 AM
|
#8 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,070
|
No problem know the fix was right |
| |
June 16th, 2005, 09:37 PM
|
#9 (permalink)
| | Member Verified Customer
Join Date: Apr 2004
Posts: 47
|
I'm running the latest build, downloaded this evening. I noticed that I could not collapse or expand my catagories. I remembered reading this thread and made the changes prescribed and now it works.
Is this something that only happens on certain systems or with certain settings or was the fix just not implemented into the current build?
|
| |
June 17th, 2005, 08:23 AM
|
#10 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,070
|
Just because I post a fix does not mean it goes right into the build. I send these to the developer and he includes them. Sometimes that can take a bit.
|
| |
June 17th, 2005, 08:28 AM
|
#11 (permalink)
| | Member Verified Customer
Join Date: Apr 2004
Posts: 47
|
Hey, after looking at the dates I see I was a bit fast on the draw. I was thinking I had read this thread a couple of weeks ago. The dates indicate a couple of days ago. My bad |
| | |
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 02:01 PM. | |