Projekt

Obecné

Profil

Chyba #801 » log.html

Michal Kliment, 2013-10-07 15:44

 
<html><body><h1>Chyba nahlasena z: . members_fees/add/521 (file: 818, line: 818)</h1><p>FreenetIS verze: 1.1.0~beta1</p><p>PHP verze: 5.3.3-7+squeeze17</p><p>Nahlasil: Michal Kliment</p><p>Popis: Nejde pridat tarif, chyba ve validatoru.</p><h2>Neznama chyba</h2><p>9</p><p class="message">date() expects parameter 2 to be long, string given</p><p class="detail">Chyba se vyskytla na <strong>radku 818</strong> souboru <strong>application/controllers/members_fees.php</strong>.</p><div><ul class="backtrace"><li><strong>application/controllers/members_fees.php [818]:</strong><pre>date( Y-m-d )</pre></li>
<li><pre>Members_fees_Controller->valid_to( Form_Date Object
(
[data:protected] => Array
(
[name] => to
[class] => date
[value] =>
[label] => Datum do:
)

[protect:protected] => Array
(
[0] => type
)

[parts:protected] => Array
(
[day] => Array
(
)

[month] => Array
(
)

[year] => Array
(
)

)

[method] => post
[rules:protected] => Array
(
)

[matches:protected] => Array
(
)

[callbacks:protected] => Array
(
[0] => Array
(
[0] => Members_fees_Controller Object
(
[arr] =>
[settings] => Settings Object
(
)

[popup] => 0
[dialog] => 0
[noredirect] =>
[user_has_voip] => 1
[ip_address_span] => 10.143.122.254
[unread_user_mails] => 0
[count_of_unclosed_logged_errors] => 0
[devices_down_count] => 0
[user_favourites_pages] => Mysql_Result Object
(
[fetch_type:protected] => mysql_fetch_object
[return_type:protected] => stdClass
[result:protected] => Resource id #59
[insert_id:protected] =>
[sql:protected] =>
SELECT * FROM user_favourite_pages
WHERE user_id = '634'
ORDER BY `title` asc
LIMIT 0, 50
[current_row:protected] => 0
[total_rows:protected] => 3
)

[axo_doc_access] => 1
[member_id:protected] => 634
[user_id:protected] => 634
[member_account_id:protected] => 644
[session:protected] => Session Object
(
[input:protected] => Input Object
(
[use_xss_clean:protected] =>
[ip_address] =>
[user_agent] =>
)

)

[groups_aro_map:Controller:private] => Groups_aro_map_Model Object
(
[table_names_plural:protected] =>
[has_one:protected] => Array
(
)

[belongs_to:protected] => Array
(
)

[has_many:protected] => Array
(
)

[has_and_belongs_to_many:protected] => Array
(
)

[load_with:protected] => Array
(
)

[object:protected] => Array
(
[group_id] => 0
[aro_id] => 0
)

[changed:protected] => Array
(
)

[related:protected] => Array
(
)

[loaded:protected] =>
[saved:protected] =>
[sorting:protected] => Array
(
[id] => asc
)

[object_relations:protected] => Array
(
)

[changed_relations:protected] => Array
(
)

[object_name:protected] => groups_aro_map
[object_plural:protected] => groups_aro_maps
[table_name:protected] => groups_aro_map
[table_columns:protected] => Array
(
[group_id] => Array
(
[type] => int
[max] => 2147483647
[unsigned] =>
)

[aro_id] => Array
(
[type] => int
[max] => 2147483647
[unsigned] =>
)

)

[ignored_columns:protected] =>
[primary_key:protected] => id
[primary_val:protected] => name
[foreign_key:protected] => Array
(
)

[reload_on_wakeup:protected] => 1
[db:protected] => Database Object
(
[config:protected] => Array
(
[benchmark] =>
[persistent] =>
[connection] => Array
(
[type] => mysql
[user] => freenetis
[pass] =>
[host] => localhost
[port] =>
[socket] =>
[database] => freenetis
)

[character_set] => utf8
[table_prefix] =>
[object] => 1
[cache] =>
[escape] => 1
)

[driver:protected] => Database_Mysql_Driver Object
(
[link:protected] => Resource id #31
[db_config:protected] => Array
(
[benchmark] =>
[persistent] =>
[connection] => Array
(
[type] => mysql
[user] => freenetis
[pass] =>
[host] => localhost
[port] =>
[socket] =>
[database] => freenetis
)

[character_set] => utf8
[table_prefix] =>
[object] => 1
[cache] =>
[escape] => 1
)

[query_cache:protected] =>
)

[link:protected] => Resource id #31
[select:protected] => Array
(
)

[set:protected] => Array
(
)

[from:protected] => Array
(
)

[join:protected] => Array
(
)

[where:protected] => Array
(
)

[orderby:protected] => Array
(
)

[order:protected] => Array
(
)

[groupby:protected] => Array
(
)

[having:protected] => Array
(
)

[distinct:protected] =>
[limit:protected] =>
[offset:protected] =>
[last_query:protected] =>
SELECT *
FROM members_fees
LEFT JOIN fees ON members_fees.fee_id = fees.id
WHERE member_id = 521 AND fees.type_id = 35 AND
(
(
'2013-10-01' BETWEEN activation_date AND deactivation_date OR
'2111-12-31' BETWEEN activation_date AND deactivation_date
) OR (
activation_date BETWEEN '2013-10-01' AND '2111-12-31' AND deactivation_date BETWEEN '2013-10-01' AND '2111-12-31'
)
) AND priority = 1
[query_history:protected] => Array
(
)

)

[db_applied:protected] => Array
(
[where] => where
[select] => select
[orderby] => orderby
)

[with_applied:protected] => Array
(
)

[is_in_transaction:protected] =>
[is_logger_on:protected] => Array
(
[add] => 1
[update] => 1
[delete] => 1
)

)

[load] => Loader Object
(
)

[uri] => URI Object
(
)

[input] => Input Object
(
[use_xss_clean:protected] =>
[ip_address] =>
[user_agent] =>
)

[is_favourite] =>
)

[1] => valid_to
)

)

[is_valid:protected] =>
[errors:protected] => Array
(
)

[error_messages:protected] => Array
(
)

)
)</pre></li>
<li><strong>application/libraries/forge/Form_Input.php [676]:</strong><pre>call_user_func( Array
(
[0] => Members_fees_Controller Object
(
[arr] =>
[settings] => Settings Object
(
)

[popup] => 0
[dialog] => 0
[noredirect] =>
[user_has_voip] => 1
[ip_address_span] => 10.143.122.254
[unread_user_mails] => 0
[count_of_unclosed_logged_errors] => 0
[devices_down_count] => 0
[user_favourites_pages] => Mysql_Result Object
(
[fetch_type:protected] => mysql_fetch_object
[return_type:protected] => stdClass
[result:protected] => Resource id #59
[insert_id:protected] =>
[sql:protected] =>
SELECT * FROM user_favourite_pages
WHERE user_id = '634'
ORDER BY `title` asc
LIMIT 0, 50
[current_row:protected] => 0
[total_rows:protected] => 3
)

[axo_doc_access] => 1
[member_id:protected] => 634
[user_id:protected] => 634
[member_account_id:protected] => 644
[session:protected] => Session Object
(
[input:protected] => Input Object
(
[use_xss_clean:protected] =>
[ip_address] =>
[user_agent] =>
)

)

[groups_aro_map:Controller:private] => Groups_aro_map_Model Object
(
[table_names_plural:protected] =>
[has_one:protected] => Array
(
)

[belongs_to:protected] => Array
(
)

[has_many:protected] => Array
(
)

[has_and_belongs_to_many:protected] => Array
(
)

[load_with:protected] => Array
(
)

[object:protected] => Array
(
[group_id] => 0
[aro_id] => 0
)

[changed:protected] => Array
(
)

[related:protected] => Array
(
)

[loaded:protected] =>
[saved:protected] =>
[sorting:protected] => Array
(
[id] => asc
)

[object_relations:protected] => Array
(
)

[changed_relations:protected] => Array
(
)

[object_name:protected] => groups_aro_map
[object_plural:protected] => groups_aro_maps
[table_name:protected] => groups_aro_map
[table_columns:protected] => Array
(
[group_id] => Array
(
[type] => int
[max] => 2147483647
[unsigned] =>
)

[aro_id] => Array
(
[type] => int
[max] => 2147483647
[unsigned] =>
)

)

[ignored_columns:protected] =>
[primary_key:protected] => id
[primary_val:protected] => name
[foreign_key:protected] => Array
(
)

[reload_on_wakeup:protected] => 1
[db:protected] => Database Object
(
[config:protected] => Array
(
[benchmark] =>
[persistent] =>
[connection] => Array
(
[type] => mysql
[user] => freenetis
[pass] =>
[host] => localhost
[port] =>
[socket] =>
[database] => freenetis
)

[character_set] => utf8
[table_prefix] =>
[object] => 1
[cache] =>
[escape] => 1
)

[driver:protected] => Database_Mysql_Driver Object
(
[link:protected] => Resource id #31
[db_config:protected] => Array
(
[benchmark] =>
[persistent] =>
[connection] => Array
(
[type] => mysql
[user] => freenetis
[pass] =>
[host] => localhost
[port] =>
[socket] =>
[database] => freenetis
)

[character_set] => utf8
[table_prefix] =>
[object] => 1
[cache] =>
[escape] => 1
)

[query_cache:protected] =>
)

[link:protected] => Resource id #31
[select:protected] => Array
(
)

[set:protected] => Array
(
)

[from:protected] => Array
(
)

[join:protected] => Array
(
)

[where:protected] => Array
(
)

[orderby:protected] => Array
(
)

[order:protected] => Array
(
)

[groupby:protected] => Array
(
)

[having:protected] => Array
(
)

[distinct:protected] =>
[limit:protected] =>
[offset:protected] =>
[last_query:protected] =>
SELECT *
FROM members_fees
LEFT JOIN fees ON members_fees.fee_id = fees.id
WHERE member_id = 521 AND fees.type_id = 35 AND
(
(
'2013-10-01' BETWEEN activation_date AND deactivation_date OR
'2111-12-31' BETWEEN activation_date AND deactivation_date
) OR (
activation_date BETWEEN '2013-10-01' AND '2111-12-31' AND deactivation_date BETWEEN '2013-10-01' AND '2111-12-31'
)
) AND priority = 1
[query_history:protected] => Array
(
)

)

[db_applied:protected] => Array
(
[where] => where
[select] => select
[orderby] => orderby
)

[with_applied:protected] => Array
(
)

[is_in_transaction:protected] =>
[is_logger_on:protected] => Array
(
[add] => 1
[update] => 1
[delete] => 1
)

)

[load] => Loader Object
(
)

[uri] => URI Object
(
)

[input] => Input Object
(
[use_xss_clean:protected] =>
[ip_address] =>
[user_agent] =>
)

[is_favourite] =>
)

[1] => valid_to
)
, Form_Date Object
(
[data:protected] => Array
(
[name] => to
[class] => date
[value] =>
[label] => Datum do:
)

[protect:protected] => Array
(
[0] => type
)

[parts:protected] => Array
(
[day] => Array
(
)

[month] => Array
(
)

[year] => Array
(
)

)

[method] => post
[rules:protected] => Array
(
)

[matches:protected] => Array
(
)

[callbacks:protected] => Array
(
[0] => Array
(
[0] => Members_fees_Controller Object
(
[arr] =>
[settings] => Settings Object
(
)

[popup] => 0
[dialog] => 0
[noredirect] =>
[user_has_voip] => 1
[ip_address_span] => 10.143.122.254
[unread_user_mails] => 0
[count_of_unclosed_logged_errors] => 0
[devices_down_count] => 0
[user_favourites_pages] => Mysql_Result Object
(
[fetch_type:protected] => mysql_fetch_object
[return_type:protected] => stdClass
[result:protected] => Resource id #59
[insert_id:protected] =>
[sql:protected] =>
SELECT * FROM user_favourite_pages
WHERE user_id = '634'
ORDER BY `title` asc
LIMIT 0, 50
[current_row:protected] => 0
[total_rows:protected] => 3
)

[axo_doc_access] => 1
[member_id:protected] => 634
[user_id:protected] => 634
[member_account_id:protected] => 644
[session:protected] => Session Object
(
[input:protected] => Input Object
(
[use_xss_clean:protected] =>
[ip_address] =>
[user_agent] =>
)

)

[groups_aro_map:Controller:private] => Groups_aro_map_Model Object
(
[table_names_plural:protected] =>
[has_one:protected] => Array
(
)

[belongs_to:protected] => Array
(
)

[has_many:protected] => Array
(
)

[has_and_belongs_to_many:protected] => Array
(
)

[load_with:protected] => Array
(
)

[object:protected] => Array
(
[group_id] => 0
[aro_id] => 0
)

[changed:protected] => Array
(
)

[related:protected] => Array
(
)

[loaded:protected] =>
[saved:protected] =>
[sorting:protected] => Array
(
[id] => asc
)

[object_relations:protected] => Array
(
)

[changed_relations:protected] => Array
(
)

[object_name:protected] => groups_aro_map
[object_plural:protected] => groups_aro_maps
[table_name:protected] => groups_aro_map
[table_columns:protected] => Array
(
[group_id] => Array
(
[type] => int
[max] => 2147483647
[unsigned] =>
)

[aro_id] => Array
(
[type] => int
[max] => 2147483647
[unsigned] =>
)

)

[ignored_columns:protected] =>
[primary_key:protected] => id
[primary_val:protected] => name
[foreign_key:protected] => Array
(
)

[reload_on_wakeup:protected] => 1
[db:protected] => Database Object
(
[config:protected] => Array
(
[benchmark] =>
[persistent] =>
[connection] => Array
(
[type] => mysql
[user] => freenetis
[pass] =>
[host] => localhost
[port] =>
[socket] =>
[database] => freenetis
)

[character_set] => utf8
[table_prefix] =>
[object] => 1
[cache] =>
[escape] => 1
)

[driver:protected] => Database_Mysql_Driver Object
(
[link:protected] => Resource id #31
[db_config:protected] => Array
(
[benchmark] =>
[persistent] =>
[connection] => Array
(
[type] => mysql
[user] => freenetis
[pass] =>
[host] => localhost
[port] =>
[socket] =>
[database] => freenetis
)

[character_set] => utf8
[table_prefix] =>
[object] => 1
[cache] =>
[escape] => 1
)

[query_cache:protected] =>
)

[link:protected] => Resource id #31
[select:protected] => Array
(
)

[set:protected] => Array
(
)

[from:protected] => Array
(
)

[join:protected] => Array
(
)

[where:protected] => Array
(
)

[orderby:protected] => Array
(
)

[order:protected] => Array
(
)

[groupby:protected] => Array
(
)

[having:protected] => Array
(
)

[distinct:protected] =>
[limit:protected] =>
[offset:protected] =>
[last_query:protected] =>
SELECT *
FROM members_fees
LEFT JOIN fees ON members_fees.fee_id = fees.id
WHERE member_id = 521 AND fees.type_id = 35 AND
(
(
'2013-10-01' BETWEEN activation_date AND deactivation_date OR
'2111-12-31' BETWEEN activation_date AND deactivation_date
) OR (
activation_date BETWEEN '2013-10-01' AND '2111-12-31' AND deactivation_date BETWEEN '2013-10-01' AND '2111-12-31'
)
) AND priority = 1
[query_history:protected] => Array
(
)

)

[db_applied:protected] => Array
(
[where] => where
[select] => select
[orderby] => orderby
)

[with_applied:protected] => Array
(
)

[is_in_transaction:protected] =>
[is_logger_on:protected] => Array
(
[add] => 1
[update] => 1
[delete] => 1
)

)

[load] => Loader Object
(
)

[uri] => URI Object
(
)

[input] => Input Object
(
[use_xss_clean:protected] =>
[ip_address] =>
[user_agent] =>
)

[is_favourite] =>
)

[1] => valid_to
)

)

[is_valid:protected] =>
[errors:protected] => Array
(
)

[error_messages:protected] => Array
(
)

)
)</pre></li>
<li><strong>application/libraries/Forge.php [227]:</strong><pre>Form_Input->validate( )</pre></li>
<li><strong>application/controllers/members_fees.php [426]:</strong><pre>Forge->validate( )</pre></li>
<li><strong>system/core/Kohana.php [350]:</strong><pre>Members_fees_Controller->add( 521 )</pre></li>
<li><pre>Kohana::instance( )</pre></li>
<li><strong>system/core/Event.php [217]:</strong><pre>call_user_func( Array
(
[0] => Kohana
[1] => instance
)
)</pre></li>
<li><strong>system/core/Bootstrap.php [55]:</strong><pre>Event::run( system.execute )</pre></li>
<li><strong>index.php [112]:</strong><pre>require( system/core/Bootstrap.php )</pre></li></ul></div></body></html>
    (1-1/1)