Hola. verán recurro a ustedes por esto:
"Yo vine una vez pidiendo ayudacon SQL, el problema es simple... ¡La tabla SQL estába creada! Ahora lo dificil de entender, en el install.xml, me pide editar algo que NO EXISTE, lo puse en el ·PasteBin· Para que ustedes mismos lo comprueven, al abrir el ACP o Cualquier tema salta esto:
Estoy en el entendimiento que el Root/Includes/acp/acp_main.php es el que debo editar, pero... ¿Dónde está? ahí lo raro, no lo encuentro.Error General
Cannot find module ./../includes/acp/acp_main.php
Por favor notifíca al administrador del Sitio o webmaster: email@example.com
Aquí subí al PasteBin el archivo que DEBO EDITAR (Acp_main.php) está en este enlace. y ahora os digo lo que no encuentro, es:
Find
Tip: This may be a partial find and not the whole line.
Código: Seleccionar todo
case 'purge_cache':
$confirm = true;
$confirm_lang = 'PURGE_CACHE_CONFIRM';
break;
Tip: Add these lines on a new blank line after the preceding line(s) to find.
Código: Seleccionar todo
// idiotnesia wuz here
case 'thanks':
$confirm = true;
$confirm_lang = 'RESYNC_THANKSCOUNTS_CONFIRM';
break;
// end -- thanks first post

Find
Tip: This may be a partial find and not the whole line.
Código: Seleccionar todo
add_log('admin', 'LOG_PURGE_CACHE');
break;
Add after
Tip: Add these lines on a new blank line after the preceding line(s) to find.
Código: Seleccionar todo
// idiotnesia wuz here
case 'thanks':
if (!$auth->acl_get('a_board'))
{
trigger_error($user->lang['NO_AUTH_OPERATION'] . adm_back_link($this->u_action), E_USER_WARNING);
}
$sql = 'SELECT COUNT(p.post_thanked) AS num_thanks, u.user_id
FROM ' . USERS_TABLE . ' u
LEFT JOIN ' . POSTS_TABLE . ' p ON (u.user_id = p.poster_id AND p.post_thanked > 0)
GROUP BY u.user_id';
$result = $db->sql_query($sql);
while ($row = $db->sql_fetchrow($result))
{
$db->sql_query('UPDATE ' . USERS_TABLE . " SET user_thanks_post = {$row['num_thanks']} WHERE user_id = {$row['user_id']}");
}
$db->sql_freeresult($result);
$sql = 'SELECT COUNT(t.thanks_from) AS num_thanks_from, u.user_id
FROM ' . USERS_TABLE . ' u
LEFT JOIN ' . THANKS_TABLE . ' t ON (u.user_id = t.thanks_from)
GROUP BY u.user_id';
$result = $db->sql_query($sql);
while ($row = $db->sql_fetchrow($result))
{
$db->sql_query('UPDATE ' . USERS_TABLE . " SET user_thanks = {$row['num_thanks_from']} WHERE user_id = {$row['user_id']}");
}
$db->sql_freeresult($result);
$sql = 'SELECT COUNT(t.thanks_to) AS num_thanks_to, u.user_id
FROM ' . USERS_TABLE . ' u
LEFT JOIN ' . THANKS_TABLE . ' t ON (u.user_id = t.thanks_to)
GROUP BY u.user_id';
$result = $db->sql_query($sql);
while ($row = $db->sql_fetchrow($result))
{
$db->sql_query('UPDATE ' . USERS_TABLE . " SET user_thanked = {$row['num_thanks_to']} WHERE user_id = {$row['user_id']}");
}
$db->sql_freeresult($result);
add_log('admin', 'LOG_RESYNC_THANKSCOUNTS');
break;
// end -- thanks first post
¿Alguien sería tan amable de ayudarme con mi problema? Os lo pido de rodillas si es preciso.. Llevo tres dias sin poder entrar al ACP ni ver ningún tema, ni yo ni nadie. Gracias''