you can try to disable this part of code for a while.
i’ll look for another way to sanitize input.
<?php // only highlighting //if (isset($_GET)) { // foreach ($_GET as $v) { // if (!is_numeric($v)) { // $v = filter_var($v, FILTER_SANITIZE_STRING); // } // } //}
@volodka,
the last revision includes the Fancybox 1.3.1
http://arslantic.co.id/evo/assets/libs/fancybox/
« MODx Parse Error »
MODx encountered the following error while attempting to parse the requested resource:
« PHP Parse Error »
PHP error debug
Error: set_time_limit() has been disabled for security reasons
Error type/ Nr.: Warning - 2
File: /home/u58441/kristallov.net/www/assets/modules/easy2/includes/classes/e2g.snippet.class.php
Line: 1014
Line 1014 source: set_time_limit(0);
Parser timing
MySQL: 0.0035 s (0 Requests)
PHP: 0.0232 s
Total: 0.0266 s
you can disable Line 1014 source: // set_time_limit(0);
one downside is the you will often have a blank white page, when you synchronize a lot of images.
my suggestion:
move to a better hosting who enable the set_time_limit();

<script type="text/javascript" src="js/jquery-1.3.2.min.js"></script> <script type="text/javascript" src="js/jquery.easing.1.3.js"></script> <script type="text/javascript" src="js/jquery.fancybox-1.2.1.js"></script> <script type="text/javascript" src="js/jquery.fancybox-1.2.1.pack.js"></script>
<?php // highlighting
,'fancybox' => array (
'alias' => 'fancybox 1.3.1 (jq)'
, 'regClient' => array (
'CSS' => array ( 'screen' => array (
MODX_BASE_URL . 'assets/libs/fancybox/jquery.fancybox-1.3.1.css'
)
)
, 'JS' => array (
"http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"
, MODX_BASE_URL . 'assets/libs/fancybox/jquery.fancybox-1.3.1.pack.js'
, MODX_BASE_URL . 'assets/libs/fancybox/jquery.easing-1.3.pack.js'
, MODX_BASE_URL . 'assets/libs/fancybox/jquery.mousewheel-3.0.2.pack.js'
, MODX_BASE_URL . 'assets/libs/fancybox/e2g.fancybox.js'
)
[!easy2?gid=7&limit=4!]