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 Bug Reports

Photopost Pro Bug Reports Post post installation PhotoPost Pro problems here.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old May 30th, 2005, 02:54 PM   #1 (permalink)
Junior Member
 
Join Date: Sep 2004
Posts: 5
Delleting all user photos error (fixed)

I'm gettin this error when trying to dellete all a user photos
Code:
Content visible to verified customers only.
I have download the latest build and replaced adm_cats.php and adm_misc.php but didn't fixed it.

Any idea?
Elmer is offline   Reply With Quote
Old May 30th, 2005, 03:38 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
Line 24 of adm-cats.php should be this

typecast($_REQUEST, array('sort' => INT, 'catid' => INT, 'ppaction' => STR, 'customid' => INT, 'uid' => INT));

missing the uid on the request line
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old May 30th, 2005, 07:18 PM   #3 (permalink)
Junior Member
 
Join Date: Sep 2004
Posts: 5
Did not work. I'm geting the same error.
http://www.marcianos.org/fotos/adm-c...photos&uid=196
Elmer is offline   Reply With Quote
Old May 30th, 2005, 09:06 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
Okay replace both lines 24 and 25

typecast($_REQUEST, array('sort' => INT, 'catid' => INT, 'ppaction' => STRING, 'customid' => INT, 'uid' => INT));
typecast($_POST, array('do' => STRING, 'catname' => STRING, 'catdesc' => STRING, 'myheader' => STRING, 'myfooter' => STRING, 'mytags' => STRING, 'mypassword' => STRING, 'mywater' => STRING, 'ratingtype' => INT,'ismember' => INT, 'maximages' => INT, 'nextpage' => STRING, 'isdelete' => STRING, 'dochildren' => INT, 'backcat' => INT));
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old May 30th, 2005, 09:26 PM   #5 (permalink)
Registered User
 
Join Date: Apr 2005
Posts: 148
Scroll the code bar to the right, looking for the red...
Code:
Content visible to verified customers only.
Note uid via GET is wiped by typecast POST, so keep 'uid' => INT in typecast REQUEST and remove 'uid' => INT from typecast POST.

EDIT: omegatron was faster to the solution.

Last edited by Frost; May 30th, 2005 at 09:36 PM.
Frost is offline   Reply With Quote
Old May 30th, 2005, 10:21 PM   #6 (permalink)
Junior Member
 
Join Date: Sep 2004
Posts: 5
Thanks! that made it.
Elmer 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
Changing unregistered user english var bug(FIXED) Johnny Doomo Photopost Pro Bug Reports 11 November 2nd, 2005 02:18 PM
5.2 bug: user galleries disappeared (fixed) RCA Photopost Pro Bug Reports 6 September 27th, 2005 07:40 PM
User Upload problem?(FIXED) redback Photopost Pro Bug Reports 6 August 11th, 2005 11:04 PM


All times are GMT -5. The time now is 03:52 PM.

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