Custom Query (311 matches)


Show under each result:

Results (46 - 48 of 311)

Ticket Resolution Summary Owner Reporter
#102 fixed Segmentation fault with xcache.var_size=16K and small array moo blueyed

I wanted to store just a small array and therefor have set xcache.var_size to 16K.

Unfortunately this resulted in a segmentation fault, either because of xcache_get() or xcache_set() - I have not investigated further.

After setting xcache.var_size to 512K it worked and the size of the data itself (an array) gets displayed as "482.00 b" in the XCache admin.

#103 fixed Admin: edit.php throws warning and seems to be unable to edit array values moo blueyed

I've seen the following warning when trying to edit/view the value of a stored array: Warning: htmlspecialchars() expects parameter 1 to be string, array given in /X/xcache-admin/edit.tpl.php on line 4

It seems like edit.php should be able to display (and set) arrays using var_export().

#104 fixed Remove magic quotes when saving a value [patch] moo blueyed

When you edit a value in the XCache admin, magic quotes (inserted by PHP) do not get removed.

Therefor, with magic_quotes_gpc=pn a value like "'foo'" will get saved as "\'foo\'" by xcache.

I'll attach a patch with fixes this, by dynamically defining a remove_magic_quotes() function to handle this.

Note: See TracQuery for help on using queries.