PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   ReviewPost Installation & Upgrades (http://www.photopost.com/forum/reviewpost-installation-upgrades/)
-   -   Weird behavior after upgrading PHP to 5.2.2 (http://www.photopost.com/forum/reviewpost-installation-upgrades/131754-weird-behavior-after-upgrading-php-5-2-2-a.html)

Zigw May 7th, 2007 08:48 PM

Weird behavior after upgrading PHP to 5.2.2
 
2 Attachment(s)
We're running RP 3.32, and after upgrading PHP from 5.2.1 to 5.2.2, I can no longer see the category list when I try to upload new products. Attached is a pic showing the categories in the category editor, and another pic showing the empty category pull-down menu. Please advise on what to do next.

Chuck S May 8th, 2007 07:38 AM

I only see something like that when you select a template type you have no categories set to

at any rate this is not something you can merely post pictures of please post a url and test user login and recheck your cats to determine if they are set to an a template type thats active and in the template manager turn off any template types that are not in use

Zigw May 8th, 2007 08:02 AM

Thanks Chuck. We had one unused product type (both had empty pull-downs). After turning off the unused template in Edit Product Types, the list of categories now appears in uploadproduct.php. We've never had to do that before AFAIK. I'll let you know if I run into any other problems with PHP 5.2.2.


Quote:

Originally Posted by Chuck S (Post 1195932)
I only see something like that when you select a template type you have no categories set to

at any rate this is not something you can merely post pictures of please post a url and test user login and recheck your cats to determine if they are set to an a template type thats active and in the template manager turn off any template types that are not in use


Zigw May 8th, 2007 08:14 AM

Next issue: when trying to upload a product we already have uploaded on our live site running RP 3.3 with PHP 5.2.1, our test site running RP 3.32 with PHP 5.2.2 reports this error:

Unable to read the format of file: /var/www/html/reviews/data/13/nikon18-200f35-56.jpg

Any idea what is happening here? I've tried a bunch of other jpegs, but got the same error.

You can see the same file on our live site here: http://www.slrgear.com/reviews/showp...uct/250/cat/13

Thanks.

Quote:

Originally Posted by Zigw (Post 1195938)
Thanks Chuck. We had one unused product type (both had empty pull-downs). After turning off the unused template in Edit Product Types, the list of categories now appears in uploadproduct.php. We've never had to do that before AFAIK. I'll let you know if I run into any other problems with PHP 5.2.2.


Zigw May 9th, 2007 07:21 AM

Nevermind about this jpeg issue. Our admins had made some server configuration changes that caused it.

Thanks,
Zig

Quote:

Originally Posted by Zigw (Post 1195939)
Next issue: when trying to upload a product we already have uploaded on our live site running RP 3.3 with PHP 5.2.1, our test site running RP 3.32 with PHP 5.2.2 reports this error:

Unable to read the format of file: /var/www/html/reviews/data/13/nikon18-200f35-56.jpg

Any idea what is happening here? I've tried a bunch of other jpegs, but got the same error.

You can see the same file on our live site here: http://www.slrgear.com/reviews/showp...uct/250/cat/13

Thanks.


Chuck S May 9th, 2007 08:31 AM

Yep permissions permissions permissions ;)

Zigw May 9th, 2007 09:20 AM

I think it was a missing addtype or something like that.

BTW, is there a way to get a subcategory to appear after the category index in showcat.php without a hack? There doesn't seem to be an option to change the subcategory from appearing first, or is there?

For example, I'd like this hierarchy:

Lenses
-Canon
-- Current Prime Lenses
---Discontinued Prime Lenses
-- Current Zoom Lenses
---Discontinued Zoom Lenses

The Current categories have products, but I like to keep all the discontinued products in a subcategory. Problem is, the Discontinued subcat is listed before the index of Current products, and sort order only seems to work at a given level.

Thanks!


Quote:

Originally Posted by Chuck S (Post 1195998)
Yep permissions permissions permissions ;)


Chuck S May 9th, 2007 10:34 AM

showcat shows a specific category so no you can not. If a category has subcats then the script that shows that cat is index.php so not sure what you mean here

Zigw May 9th, 2007 10:48 AM

1 Attachment(s)
What I'd like to do is to move the subcat below the index of products, as shown in the attached pic.


Quote:

Originally Posted by Chuck S (Post 1196015)
showcat shows a specific category so no you can not. If a category has subcats then the script that shows that cat is index.php so not sure what you mean here


Chuck S May 9th, 2007 11:55 AM

Modify your template and move that box ;)

A url is much more helpful then a picture thanks

Zigw May 9th, 2007 01:21 PM

Yeah, that's what I thought. Just trying to avoid more modifications if possible, as they are a pain whenever we upgrade to the latest version.

The screen shot is from our backup test site. It's in a protected realm, and I didn't want to experiment with our live site.

Quote:

Originally Posted by Chuck S (Post 1196021)
Modify your template and move that box ;)

A url is much more helpful then a picture thanks


Chuck S May 9th, 2007 02:43 PM

All there is to it moving that include lower down


All times are GMT -5. The time now is 06:42 PM.

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


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97