- Desde
- 10 Abr 2010
- Mensajes
- 1.211
Por favor, ten en cuenta 📝 que si deseas hacer un trato 🤝 con este usuario, está baneado 🔒.
No se que pasa que el blog al intentar abrirlo me da éste error:
Parse error: syntax error, unexpected T_VARIABLE in /home/nova/public_html/wp-includes/functions.php on line 193
Y es que no tengo ni idea de que hacer.La parte del archivo es la siguiente:
function size_format( $bytes, $decimals = 0 ) {
$quant = array(
// ========================= Origin ====
'TB' => 1099511627776, // pow( 1024, 4)
'GB' => 1073741824, // pow( 1024, 3)
'MB' => 1048576, // pow( 1024, 2)
'kB' => 1024, // pow( 1024, 1)
'B ' => 1, // pow( 1024, 0)
);
foreach ( $quant as $unit => $mag )
if ( doubl// Mysql string Year
$mm = substr( $mysqlstring, 8, 2 ); // Mysql string Month
$md = substr( $mysqlstring, 5, 2 ); // Mysql string day
$day = mktime( 0, 0, 0, $md, $mm, $my ); // The timestamp for mysqlstring day.
$weekday = date( 'w', $day ); // The day of the week from the timestamp
La linea marcada en rojo es la 193, yo no veo nada, pero es logico, no entiendo nada de php ;-P
Parse error: syntax error, unexpected T_VARIABLE in /home/nova/public_html/wp-includes/functions.php on line 193
Y es que no tengo ni idea de que hacer.La parte del archivo es la siguiente:
function size_format( $bytes, $decimals = 0 ) {
$quant = array(
// ========================= Origin ====
'TB' => 1099511627776, // pow( 1024, 4)
'GB' => 1073741824, // pow( 1024, 3)
'MB' => 1048576, // pow( 1024, 2)
'kB' => 1024, // pow( 1024, 1)
'B ' => 1, // pow( 1024, 0)
);
foreach ( $quant as $unit => $mag )
if ( doubl// Mysql string Year
$mm = substr( $mysqlstring, 8, 2 ); // Mysql string Month
$md = substr( $mysqlstring, 5, 2 ); // Mysql string day
$day = mktime( 0, 0, 0, $md, $mm, $my ); // The timestamp for mysqlstring day.
$weekday = date( 'w', $day ); // The day of the week from the timestamp
La linea marcada en rojo es la 193, yo no veo nada, pero es logico, no entiendo nada de php ;-P