Uutiset:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu
Advertisement:

Most recent ERRORS in the Errors Log

Aloittaja CWFBoardsManager, kesäkuu 22, 2011, 04:27:53 AP

« edellinen - seuraava »

CWFBoardsManager

We accesed the Raw Access logs for our Forums and found these most errors errors there.

Since we all are not software savvy we do not comprehend what they say. Could some one guide please?


The issue we are facing is that we cannot access the ADMIN area nor the profile pages.

We suspect there has been some hacking. How do we set things right?


[Wed Jun 22 01:11:20 2011] [error] [client 119.73.69.99] Premature end of script headers: /home/commi11/public_html/Forums/Sources/Subs-GlobalAnnouncementsAdmin.php
SoftException in Application.cpp:256: File "/home/commi11/public_html/Forums/Sources/Subs-GlobalAnnouncementsAdmin.php" is writeable by group
[Wed Jun 22 01:08:32 2011] [error] [client 119.73.69.99] File does not exist: /home/commi11/public_html/favicon.ico
[Wed Jun 22 01:07:48 2011] [error] [client 119.73.69.99] Premature end of script headers: /home/commi11/public_html/Forums/Sources/GlobalAnnouncementsAdmin.php
SoftException in Application.cpp:256: File "/home/commi11/public_html/Forums/Sources/GlobalAnnouncementsAdmin.php" is writeable by group
[Wed Jun 22 01:06:48 2011] [error] [client 119.73.69.99] Premature end of script headers: /home/commi11/public_html/Forums/Sources/GlobalAnnouncements.php
SoftException in Application.cpp:256: File "/home/commi11/public_html/Forums/Sources/GlobalAnnouncements.php" is writeable by group
[Wed Jun 22 01:05:19 2011] [error] [client 119.73.69.99] File does not exist: /home/commi11/public_html/favicon.ico
[Wed Jun 22 01:02:24 2011] [error] [client 208.115.111.70] File does not exist: /home/commi11/public_html/robots.txt
[Wed Jun 22 01:02:07 2011] [error] [client 119.73.69.99] File does not exist: /home/commi11/public_html/favicon.ico
[Wed Jun 22 00:46:52 2011] [error] [client 210.101.131.231] script not found or unable to stat: /home/commi11/public_html/cgi-bin/nph-xauth
[Wed Jun 22 00:46:29 2011] [error] [client 81.25.60.106] script not found or unable to stat: /home/commi11/public_html/cgi-bin/nph-xauth
[Wed Jun 22 00:46:24 2011] [error] [client 210.101.131.231] script not found or unable to stat: /home/commi11/public_html/cgi-bin/nph-xauth
[Wed Jun 22 00:44:21 2011] [error] [client 211.101.61.231] script not found or unable to stat: /home/commi11/public_html/cgi-bin/nph-xauth
[Wed Jun 22 00:44:02 2011] [error] [client 77.247.181.162] script not found or unable to stat: /home/commi11/public_html/cgi-bin/nph-xauth
[Wed Jun 22 00:43:31 2011] [error] [client 195.138.88.105] script not found or unable to stat: /home/commi11/public_html/cgi-bin/nph-xauth
[Wed Jun 22 00:43:30 2011] [error] [client 217.196.235.17] script not found or unable to stat: /home/commi11/public_html/cgi-bin/nph-xauth
[Wed Jun 22 00:43:28 2011] [error] [client 125.75.204.22] script not found or unable to stat: /home/commi11/public_html/cgi-bin/nph-xauth
[Wed Jun 22 00:41:10 2011] [error] [client 59.49.19.39] script not found or unable to stat: /home/commi11/public_html/cgi-bin/nph-xauth
[Wed Jun 22 00:40:33 2011] [error] [client 93.182.37.1] script not found or unable to stat: /home/commi11/public_html/cgi-bin/nph-xauth
[Wed Jun 22 00:40:29 2011] [error] [client 188.142.49.254] script not found or unable to stat: /home/commi11/public_html/cgi-bin/nph-xauth
[Wed Jun 22 00:40:27 2011] [error] [client 190.202.87.131] script not found or unable to stat: /home/commi11/public_html/cgi-bin/nph-xauth
[Wed Jun 22 00:35:14 2011] [error] [client 119.73.69.99] File does not exist: /home/commi11/public_html/favicon.ico
[Wed Jun 22 00:35:14 2011] [error] [client 119.73.69.99] File does not exist: /home/commi11/public_html/favicon.ico
[Wed Jun 22 00:34:36 2011] [error] [client 119.73.69.99] File does not exist: /home/commi11/public_html/favicon.ico
[Wed Jun 22 00:34:36 2011] [error] [client 119.73.69.99] File does not exist: /home/commi11/public_html/favicon.ico
[Wed Jun 22 00:31:03 2011] [error] [client 174.129.237.157] File does not exist: /home/commi11/public_html/robots.txt
[Wed Jun 22 00:29:33 2011] [error] [client 122.164.172.229] File does not exist: /home/commi11/public_html/favicon.ico
[Wed Jun 22 00:09:41 2011] [error] [client 207.46.13.97] File does not exist: /home/commi11/public_html/robots.txt
[Wed Jun 22 00:09:27 2011] [error] [client 207.46.199.251] File does not exist: /home/commi11/public_html/robots.txt
[Tue Jun 21 23:57:42 2011] [error] [client 66.64.26.49] File does not exist: /home/commi11/public_html/index.php+++++++++++++++++++Result:+chosen+nickname+"smealiaplenna";+captcha+recognized;+registered+(registering+only+mode+is+ON);
[Tue Jun 21 23:57:42 2011] [error] [client 66.64.26.49] File does not exist: /home/commi11/public_html/Forums/index.php+++++++++++++++++++Result:+chosen+nickname+"smealiaplenna";+captcha+recognized;+registered+(registering+only+mode+is+ON);
[Tue Jun 21 23:57:38 2011] [error] [client 66.64.26.49] File does not exist: /home/commi11/public_html/Forums/index.php+++++++++++++++++++Result:+chosen+nickname+"smealiaplenna";+captcha+recognized;+registered+(registering+only+mode+is+ON);
[Tue Jun 21 23:22:08 2011] [error] [client 174.129.171.219] File does not exist: /home/commi11/public_html/robots.txt
[Tue Jun 21 23:11:28 2011] [error] [client 124.115.6.12] File does not exist: /home/commi11/public_html/robots.txt
[Tue Jun 21 23:10:55 2011] [error] [client 207.46.204.38] File does not exist: /home/commi11/public_html/robots.txt
[Tue Jun 21 23:04:28 2011] [error] [client 67.195.111.155] File does not exist: /home/commi11/public_html/robots.txt
[Tue Jun 21 22:52:35 2011] [error] [client 202.58.86.15] File does not exist: /home/commi11/public_html/favicon.ico
[Tue Jun 21 22:52:35 2011] [error] [client 202.58.86.15] File does not exist: /home/commi11/public_html/favicon.ico
[Tue Jun 21 22:52:34 2011] [error] [client 202.58.86.15] File does not exist: /home/commi11/public_html/favicon.ico
[Tue Jun 21 22:42:55 2011] [error] [client 93.184.35.45] File does not exist: /home/commi11/public_html/favicon.ico
[Tue Jun 21 22:32:17 2011] [error] [client 207.46.199.44] File does not exist: /home/commi11/public_html/robots.txt
[Tue Jun 21 22:26:21 2011] [error] [client 207.46.204.37] File does not exist: /home/commi11/public_html/robots.txt
[Tue Jun 21 22:14:40 2011] [error] [client 119.152.37.235] File does not exist: /home/commi11/public_html/favicon.ico
[Tue Jun 21 22:03:48 2011] [error] [client 207.46.13.46] File does not exist: /home/commi11/public_html/robots.txt
[Tue Jun 21 21:22:36 2011] [error] [client 207.46.194.94] File does not exist: /home/commi11/public_html/robots.txt
[Tue Jun 21 21:09:25 2011] [error] [client 207.34.25.76] File does not exist: /home/commi11/public_html/robots.txt
[Tue Jun 21 21:01:18 2011] [error] [client 77.88.27.25] File does not exist: /home/commi11/public_html/robots.txt
[Tue Jun 21 21:00:27 2011] [error] [client 208.115.111.70] File does not exist: /home/commi11/public_html/robots.txt
[Tue Jun 21 20:54:37 2011] [error] [client 209.249.53.32] File does not exist: /home/commi11/public_html/robots.txt
[Tue Jun 21 20:48:25 2011] [error] [client 203.87.193.118] File does not exist: /home/commi11/public_html/favicon.ico
[Tue Jun 21 20:23:39 2011] [error] [client 123.126.50.73] File does not exist: /home/commi11/public_html/robots.txt
[Tue Jun 21 20:03:47 2011] [error] [client 182.177.125.69] File does not exist: /home/commi11/public_html/favicon.ico
[Tue Jun 21 20:03:46 2011] [error] [client 182.177.125.69] File does not exist: /home/commi11/public_html/favicon.ico
[Tue Jun 21 19:49:56 2011] [error] [client 207.46.204.193] File does not exist: /home/commi11/public_html/robots.txt
[Tue Jun 21 19:41:43 2011] [error] [client 207.46.204.136] File does not exist: /home/commi11/public_html/robots.txt





All help will be appreciated.

lorth

i think the error is in this file: Sources/Subs-GlobalAnnouncementsAdmin.php
it would help if you could attach it to a posting so someone can take a look at it.

CWFBoardsManager

#2


Sources/Subs-GlobalAnnouncementsAdmin.php is as under:


<?php
// This was taken off from Subs-Post.php and edited a bit.
// Prints a post box.  Used everywhere you post or send.
function theme_postbox2($msg)
{
global $txt$modSettings$db_prefix;
global $context$settings$user_info;

// Switch between default images and back... mostly in case you don't have an PersonalMessage template, but do ahve a Post template.
if (isset($settings['use_default_images']) && $settings['use_default_images'] == 'defaults' && isset($settings['default_template']))
{
$temp1 $settings['theme_url'];
$settings['theme_url'] = $settings['default_theme_url'];

$temp2 $settings['images_url'];
$settings['images_url'] = $settings['default_images_url'];

$temp3 $settings['theme_dir'];
$settings['theme_dir'] = $settings['default_theme_dir'];
}

// Load the Post template and language file.
loadLanguage('Post');
loadTemplate('GlobalAnnouncementsAdmin');

// Initialize smiley array...
$context['smileys'] = array(
'postform' => array(),
'popup' => array(),
);

// Load smileys - don't bother to run a query if we're not using the database's ones anyhow.
if (empty($modSettings['smiley_enable']) && $user_info['smiley_set'] != 'none')
$context['smileys']['postform'][] = array(
'smileys' => array(
array('code' => ':)''filename' => 'smiley.gif''description' => $txt[287]),
array('code' => ';)''filename' => 'wink.gif''description' => $txt[292]),
array('code' => ':D''filename' => 'cheesy.gif''description' => $txt[289]),
array('code' => ';D''filename' => 'grin.gif''description' => $txt[293]),
array('code' => '>:(''filename' => 'angry.gif''description' => $txt[288]),
array('code' => ':(''filename' => 'sad.gif''description' => $txt[291]),
array('code' => ':o''filename' => 'shocked.gif''description' => $txt[294]),
array('code' => '8)''filename' => 'cool.gif''description' => $txt[295]),
array('code' => '???''filename' => 'huh.gif''description' => $txt[296]),
array('code' => '::)''filename' => 'rolleyes.gif''description' => $txt[450]),
array('code' => ':P''filename' => 'tongue.gif''description' => $txt[451]),
array('code' => ':-[''filename' => 'embarrassed.gif''description' => $txt[526]),
array('code' => ':-X''filename' => 'lipsrsealed.gif''description' => $txt[527]),
array('code' => ':-\\''filename' => 'undecided.gif''description' => $txt[528]),
array('code' => ':-*''filename' => 'kiss.gif''description' => $txt[529]),
array('code' => ':\'(''filename' => 'cry.gif''description' => $txt[530])
),
'last' => true,
);
elseif ($user_info['smiley_set'] != 'none')
{
if (($temp cache_get_data('posting_smileys'480)) == null)
{
$request db_query("
SELECT code, filename, description, smileyRow, hidden
FROM 
{$db_prefix}smileys
WHERE hidden IN (0, 2)
ORDER BY smileyRow, smileyOrder"
__FILE____LINE__);
while ($row mysql_fetch_assoc($request))
{
$row['code'] = htmlspecialchars($row['code']);
$row['filename'] = htmlspecialchars($row['filename']);
$row['description'] = htmlspecialchars($row['description']);

$context['smileys'][empty($row['hidden']) ? 'postform' 'popup'][$row['smileyRow']]['smileys'][] = $row;
}
mysql_free_result($request);

cache_put_data('posting_smileys'$context['smileys'], 480);
}
else
$context['smileys'] = $temp;
}

// Clean house... add slashes to the code for javascript.
foreach (array_keys($context['smileys']) as $location)
{
foreach ($context['smileys'][$location] as $j => $row)
{
$n count($context['smileys'][$location][$j]['smileys']);
for ($i 0$i $n$i++)
{
$context['smileys'][$location][$j]['smileys'][$i]['code'] = addslashes($context['smileys'][$location][$j]['smileys'][$i]['code']);
$context['smileys'][$location][$j]['smileys'][$i]['js_description'] = addslashes($context['smileys'][$location][$j]['smileys'][$i]['description']);
}

$context['smileys'][$location][$j]['smileys'][$n 1]['last'] = true;
}
if (!empty($context['smileys'][$location]))
$context['smileys'][$location][count($context['smileys'][$location]) - 1]['last'] = true;
}
$settings['smileys_url'] = $modSettings['smileys_url'] . '/' $user_info['smiley_set'];

// Allow for things to be overridden.
if (!isset($context['post_box_columns']))
$context['post_box_columns'] = 60;
if (!isset($context['post_box_rows']))
$context['post_box_rows'] = 12;
if (!isset($context['post_box_name']))
$context['post_box_name'] = 'message';
if (!isset($context['post_form']))
$context['post_form'] = 'postmodify';

// Set a flag so the sub template knows what to do...
$context['show_bbc'] = !empty($modSettings['enableBBC']) && !empty($settings['show_bbc']);

// Generate a list of buttons that shouldn't be shown - this should be the fastest way to do this.
if (!empty($modSettings['disabledBBC']))
{
$disabled_tags explode(','$modSettings['disabledBBC']);
foreach ($disabled_tags as $tag)
$context['disabled_tags'][trim($tag)] = true;
}

// Go!  Supa-sub-template-smash!
template_postbox2($msg);

// Switch the URLs back... now we're back to whatever the main sub template is.  (like folder in PersonalMessage.)
if (isset($settings['use_default_images']) && $settings['use_default_images'] == 'defaults' && isset($settings['default_template']))
{
$settings['theme_url'] = $temp1;
$settings['images_url'] = $temp2;
$settings['theme_dir'] = $temp3;
}
}


// This was taken from Post.php
function messageIconArray()
{
global $context$txt$settings;

// Load the Post.english.php language file.
loadlanguage('Post');

// Array of icons
$context['icons'] = array(
array('value' => 'xx''name' => $txt[281]),
array('value' => 'thumbup''name' => $txt[282]),
array('value' => 'thumbdown''name' => $txt[283]),
array('value' => 'exclamation''name' => $txt[284]),
array('value' => 'question''name' => $txt[285]),
array('value' => 'lamp''name' => $txt[286]),
array('value' => 'smiley''name' => $txt[287]),
array('value' => 'angry''name' => $txt[288]),
array('value' => 'cheesy''name' => $txt[289]),
array('value' => 'grin''name' => $txt[293]),
array('value' => 'sad''name' => $txt[291]),
array('value' => 'wink''name' => $txt[292])
);

foreach ($context['icons'] as $k => $dummy)
{
$context['icons'][$k]['url'] = $settings['images_url'] . '/post/' $dummy['value'] . '.gif';
$context['icons'][$k]['is_last'] = false;
}

$context['icon_url'] = $settings['images_url'] . '/post/' $context['icons'][0]['value'] . '.gif';

}
?>


lorth

looks good to me, dont have a clue whats wrong here.

hopefully someone else can help out.

Aleksi "Lex" Kilpinen

Lainaa
File "/home/commi11/public_html/Forums/Sources/Subs-GlobalAnnouncementsAdmin.php" is writeable by group

Make sure the file is not chmodded 777 or "writable to all" but instead 755 or lower.
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

CWFBoardsManager

^


We are not software savvy at all. Kindly explain how we should do what you have said





Illori


CWFBoardsManager



We have edited the file and set the permissions to 644 but still cannot access the Admin area. We logged out from SMF and re-logged in but we cannot access the Admin area.

Illori

sounds like the mod did not install correctly or more then one mod and there may be conflicts in the code causing issues. do you get any errors on the page or just a white page? do you have a recent file backup?

CWFBoardsManager



8: Undefined index: global_announcements_mods
File: /home/commi11/public_html/Forums/Sources/Subs.php
Line: 2864

We get the above error message on an otherwise blank white page when we click ADMIN


8: Undefined index: stars
File: /home/commi11/public_html/Forums/Themes/default/languages/Who.english-utf8.php (eval?)
Line: 120
^

We get this when we click a Member'sprofile. The profile page is thrown up truncated, showing user name, number of posts, position, and then the above error message. We cannot track the user, the user's IP etc. User stats are displayed.



8: Undefined index: enh_stats_title
File: /home/commi11/public_html/Forums/Themes/default/Stats.template.php (eval?)
Line: 179

We have the detailed statistics enabled, but when we click the more stats button we get the above error.



Illori

admin -> server settings check disable evaluation of templates save the page and report back any errors without eval in them.

CWFBoardsManager

^

Do you want me to do the above via the cPanel X?  I cannot access the ADMIN area in our Forums.



I also need to be guided about what


Hacking attempt...


means.

Whenever I click our Forums' URL after clicking any file in /public_html/Forums/Sources/ a new window opens which has the above message.


CWFBoardsManager



What's the scene if we delete these Forums altogether? Is there any chance we can use the databases for these Forums to set up new Forums with a different name?

Illori

if you remove all files BUT settings.php and settings_bak.php you can upload all the files from the large upgrade pack and have your forum back to normal. you could also try restoring a backup from http://www.simplemachines.org/community/index.php?topic=400356.0

lorth

or kill everything but the database, install into another database (or with another db_prefix if you only have one db) and then use the repair_setting.php from http://download.simplemachines.org/?tools to set the forum to use the old db.

Illori

that would take even more work then the suggestion i made above.

CWFBoardsManager


Where do we find that large upgrade pack?

CWFBoardsManager







We don't mind doing any amount of work as long as we can recover control of the Forums, and be reasonably sure we haven't left room for such a screw-up again.




Illori

assuming you are using 1.1.14 http://download.simplemachines.org/?archive;version=62

and remember to do file backups before applying ANY mods. as well as database.

CWFBoardsManager



We are using 1.1.14


. . . and well, we certainly are not software savvy, but we never get our fingers burned from the same skillet twice




Advertisement: