PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Classifieds Bug Reports (http://www.photopost.com/forum/classifieds-bug-reports/)
-   -   Scan Db and Announcement box (http://www.photopost.com/forum/classifieds-bug-reports/145208-scan-db-announcement-box.html)

Geiri January 28th, 2011 05:45 AM

Scan Db and Announcement box
 
My Cp hangs and gives error 500 if I try to rebuild all preview images.
But recreating thumbnails works and sending in new photos

And
Contents of the Announcement box is not shown after saving. It's empty

Also searching for lang strings is not working if you use special characters it gives all strings as results
Frí gives all
fri gives right output

Chuck S January 28th, 2011 05:55 AM

I would suspect a server timeout memory issue trying to process all those preview images. what is your php memory set to? There are tutorials here on using ini_set to raise php memory that may help that issue.

The lang search is built to return all results LIKE what you type not an exact result. It is case sensitive though.

am I right to say your searching for Fri versus fri? I am not sure there are any phrases like that in our default code.

I can do an example here. If I search for upl I return 4 pages of results any string with upload in it thats correct. If I type Upl I get one page of results which are all strings with Upload in it.

Geiri January 28th, 2011 06:10 AM

My memory is
memory_limit 60M 256M

I have around 70 preview photos

This are Icelandic letters
If I search for words like Niðurstöður I get 108 pages

If I search for the English word Results I get only 1 Result (after translation there was only one of this word)

So you see how this can be hard to work with if you need to edit your translation afterwards.

Chuck S January 28th, 2011 06:15 AM

Try in adm-lang.php commenting out this line

Code:

Content visible to verified customers only.

Geiri January 28th, 2011 06:32 AM

That works... :)

And now it seams that all images have been resized even if the 500 error showed...

What about the Contents of the Announcement box is not shown after saving?

I remember we had similar issues with ReviewPost something with htmlentities

Chuck S January 28th, 2011 09:28 AM

Code:

Content visible to verified customers only.
maybe comment out that line


All times are GMT -5. The time now is 10:50 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