function touchCache() in lib/clicompatbase.inc.php updated e.g. cache_desc.last_modified in the same statement with an access to caches table. As the cacheDescAfterUpdate trigger updates caches.listing_last_modified, the read & write access to caches table collided. function touchCache() is obsolete, as touching on status change is done by triggers for all depending tables (via SQL function sp_touch_cache).
33 lines
882 B
PHP
33 lines
882 B
PHP
<?php
|
|
/***************************************************************************
|
|
* For license information see doc/license.txt
|
|
*
|
|
* Unicode Reminder メモ
|
|
***************************************************************************/
|
|
|
|
$rootpath = '../../';
|
|
header('Content-type: text/html; charset=utf-8');
|
|
require_once($rootpath . 'lib/common.inc.php');
|
|
|
|
$wp = isset($_REQUEST['wp']) ? $_REQUEST['wp'] : '';
|
|
|
|
if (isset($_REQUEST['post']))
|
|
{
|
|
sql("UPDATE `caches` SET `status`=3 WHERE `wp_oc`='&1'", $wp);
|
|
}
|
|
?>
|
|
<html>
|
|
<head>
|
|
<script type="text/javascript">
|
|
<!--
|
|
function load(wp)
|
|
{
|
|
parent.frames['viewcache'].location.href = '<?php echo $absolute_server_URI; ?>viewcache.php?popup=y&wp=' + wp;
|
|
}
|
|
//-->
|
|
</script>
|
|
</head>
|
|
<body onload="load('<?php echo $wp; ?>')">
|
|
<a href="top.php?post=1&wp=<?php echo $wp; ?>">Archivieren</a>
|
|
</body>
|
|
</html>
|