View Full Version : Scan Db and Announcement box
January 28th, 2011, 05:45 AM
My Cp hangs and gives error 500 if I try to rebuild all preview images.
But recreating thumbnails works and sending in new photos
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
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.
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.
January 28th, 2011, 06:15 AM
Try in adm-lang.php commenting out this line
$getstring = htmlentities($getstring, ENT_QUOTES,$Globals['charset']);
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
January 28th, 2011, 09:28 AM
if ($id == "203")
$setting = htmlentities($setting, ENT_QUOTES,$Globals['charset']);
maybe comment out that line
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.