var goto = {}; /** Преобразовать все span в ссылки*/ $("span.jsGoto").each(function(){ var attr_array = ["id","rel","target","class","itempro","data-href","data-id","stype","alt"]; var attr_str = ''; var idspan = $(this).attr("data-span"); var key = 'link'+idspan; var id = $(this).attr("id"); var rel = $(this).attr("rel"); var target = $(this).attr("target"); var clas = $(this).attr("class"); var itemprop = $(this).attr("itemprop"); var href = goto[key]; var dataid = $(this).attr("data-id"); var style = $(this).attr("style"); var alt = $(this).attr("alt"); if (id!=undefined) { attr_str = attr_str+' id="'+id+'"';} if (rel!=undefined) { attr_str = attr_str+' rel="'+rel+'"';} if (target!=undefined) { attr_str = attr_str+' target="'+target+'"';} if (clas!=undefined) { attr_str = attr_str+' class="'+clas+'"';} if (itemprop!=undefined) { attr_str = attr_str+' itemprop="'+itemprop+'"';} if (dataid!=undefined) { attr_str = attr_str+' data-id="'+dataid+'"';} if (style!=undefined) { attr_str = attr_str+' style="'+style+'"';} if (alt!=undefined) { attr_str = attr_str+' alt="'+alt+'"';} if (href!=undefined) { attr_str = attr_str+' href="'+href+'"';} $(this).replaceWith(""+$(this).html()+""); });
Fatal error: Uncaught exception 'ErrorException' with message 'file_put_contents(): Only 0 of 202 bytes written, possibly out of free disk space' in /var/www/2b2c/system/classes/kohana/log/file.php:91 Stack trace: #0 [internal function]: Kohana_Core::error_handler(2, 'file_put_conten...', '/var/www/2b2c/s...', 91, Array) #1 /var/www/2b2c/system/classes/kohana/log/file.php(91): file_put_contents('/var/www/2b2c/a...', '\n2025-03-16 07:...', 8) #2 /var/www/2b2c/system/classes/kohana/log.php(183): Kohana_Log_File->write(Array) #3 /var/www/2b2c/system/classes/kohana/session.php(371): Kohana_Log->write() #4 [internal function]: Kohana_Session->write() #5 {main} thrown in /var/www/2b2c/system/classes/kohana/log/file.php on line 91