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 > ReviewPost Pro Support Forums > ReviewPost Installation & Upgrades

ReviewPost Installation & Upgrades If you're having problems getting ReviewPost Pro to work or receiving errors while running RP, seek help here.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old November 18th, 2005, 06:15 PM   #1 (permalink)
WB
Member
Verified Customer
 
Join Date: Jan 2002
Posts: 265
RP 3.11 Upload Issue

We're testing out the RP 3.11 upgrade on our test install (going from 3.1 to 3.11) and have encountered an odd error.

After uploading the files, when we try to upload a product on step 2:

Step 2 of 3
Choose the category you wish to place your product:

the category selection pulldown is empty and grayed out so we can't select a category.

I double checked and we have uploaded all of the changed files.

Where does that pulldown get its data from and any thoughts about where to look to see what the issue is?

In other places, like the search page, in the admin interface, etc. the categories all show up fine as far as we can tell.

Thanks.
WB is offline   Reply With Quote
Old November 18th, 2005, 06:26 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,807
How about your cat move box is that filled out?

That box is filled out by what you have set in categories editor UPLOAD PERMISSIONS for usergroups. Each category you select which templates the categories use and in template types in admin you select the active templates. By default the normal template is selected and you can also select the customer service template as well

I dont show any issues with 3.11 in this respect. Try rebuilding your cache by setting it to 0 after going to admin and checking all your cat upload permissions in edit categories
You can try my install
__________________
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 November 18th, 2005, 06:50 PM   #3 (permalink)
WB
Member
Verified Customer
 
Join Date: Jan 2002
Posts: 265
Yes, cat move box is filled out.

I think it may be a bug with the cache.

If I cut the cache off, I can see the categories and it works fine.

If I cut the cache on (with any value), the issue returns.

Are there separate code segments for pulling in the categories on that page based on whether the cache is on or not? That might explain the differences if there is an issue in one segment when the cache is on (might even be an interaction with another setting which would explain why it might not show up under all installs).

We do have the customer service template active and all categories are using it so perhaps that is another difference.

Thanks.
WB is offline   Reply With Quote
Old November 18th, 2005, 06:59 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,807
I am using the cache and my cats list fine on the uploads page.

I think your issue might have to do with not having the default template active is that your case?
__________________
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 November 19th, 2005, 08:02 AM   #5 (permalink)
WB
Member
Verified Customer
 
Join Date: Jan 2002
Posts: 265
Yes, I think you've hit the nail on the head.

The default template is enabled but isn't in use for any category.

If I cut the cache on and then make a new test category that uses the regular template, the categories show up as intended.

If I switch that new category to using the customer service template so that all categories are using it again, with the cache on, no categories in the pulldown.

So it appears that the values in the pulldown are dependent on the regular template being used in a category which I assume shouldn't be the case as some sites will have it enabled but not in use.
WB is offline   Reply With Quote
Old November 19th, 2005, 08:47 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,807
Well if your selecting the regular template on upload but have no cats using it and the cats box is empty well this isnt a bug. Thats just the way you have it set up. Yes depending on your answer on the first step it pulls the cats assigned to that template type and is exactly why there is this step on upload
__________________
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 November 19th, 2005, 09:06 AM   #7 (permalink)
WB
Member
Verified Customer
 
Join Date: Jan 2002
Posts: 265
Chuck:

Thanks. I think there is a bug. Just to be explicit about what I was referring to in my last post:

If there are no categories using the regular template, then no categories show for the customer service template when the cache is enabled, so that's where the bug lies. I wouldn't expect any categories to show for the regular templates since there are none that use it but the categories that use the customer service template should show when it is selected.

If one category has the regular template and the others have the customer service, then both show as intended when the cache is on.

But if no categories have the regular template and all have the customer service template, then no categories show for the customer service template.

Last edited by WB; November 19th, 2005 at 09:08 AM.
WB is offline   Reply With Quote
Old November 19th, 2005, 09:12 AM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,807
Well you will need to post a test login account and url for me to look as your post above sounded like your talking about no cats showing when you select regular

On my install where I use the cache I have regular and customer service categories and depending on what I select on the first step the proper cats appear.
__________________
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 November 19th, 2005, 10:42 AM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,807
Try this in uploadproduct.php

list( $pptemplate, $reviewtype ) = mysql_fetch_row($reviewtypes);

$Globals['cattemp'] = $pptemplate;
}
else {
$Globals['cattemp'] = $pptemplate;
$cat = 0;
}

htmlspecialchars was the cause
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.

Last edited by Chuck S; November 19th, 2005 at 10:57 AM.
Chuck S is online now   Reply With Quote
Old November 19th, 2005, 10:53 AM   #10 (permalink)
WB
Member
Verified Customer
 
Join Date: Jan 2002
Posts: 265
Yes, that's exactly what I see. In our case we don't want any to be the main template, hence the issue.

For now we've cut the cache off.
WB is offline   Reply With Quote
Old November 19th, 2005, 11:04 AM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,807
try what is posted above we where posting at the same time when I was editing my post with a fix
__________________
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 November 21st, 2005, 04:27 PM   #12 (permalink)
WB
Member
Verified Customer
 
Join Date: Jan 2002
Posts: 265
Thanks. I'll try that out.
WB is offline   Reply With Quote
Old November 22nd, 2005, 03:29 PM   #13 (permalink)
WB
Member
Verified Customer
 
Join Date: Jan 2002
Posts: 265
Thanks, works as expected now after applying the fix.
WB 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
upload issue query chirp Photopost Pro Installation & Upgrades 8 November 7th, 2005 12:59 PM
upload issue Devboy Photopost Pro Installation & Upgrades 1 October 10th, 2005 08:05 PM
New Install upload Issue bigfoilin Photopost Pro Installation & Upgrades 12 August 28th, 2005 01:09 AM
Upload issue Alteczen Classifieds Installation & Upgrades 9 August 6th, 2004 11:04 AM


All times are GMT -5. The time now is 04:27 PM.

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