Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PROBLEM Page Not Found Error
#1
My site is currently pointing to an 'under construction' index.html, however, when I go into my site directly via the admin panel or even when it was live, I am/was getting the following message repeatedly:

This is an automated message from your website...

A 'page not found' error was encountered on the sixthgrace.org domain

DETAILS:
----------------------------------------------------------------------
When: Fri Sep 26 2014 2:51:34 pm CDT
Who: 65.55.218.47
Failed Page: http://sixthgrace.org/theme/SixthGrace/c...deshow.css
Referrer: http://www.sixthgrace.org/index.php?id=come-visit-us
Browser: msie 9.0



another one:

This is an automated message from your website...

A 'page not found' error was encountered on the sixthgrace.org domain

DETAILS:
----------------------------------------------------------------------
When: Fri Sep 26 2014 7:15:57 am CDT
Who: 24.12.195.240
Failed Page: http://sixthgrace.org/theme/SixthGrace/j...wer.1.2.js
Referrer: http://sixthgrace.org/index.php?id=our-mission
Browser: safari 9537.53



Do you think that my site has been hacked or is this a real problem?

website: sixthgrace.org
Reply
#2
I can tell you one thing , this is not coming from gs.
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#3
(2014-09-27, 12:52:09)shawn_a Wrote: I can tell you one thing , this is not coming from gs.

Thanks, I will follow up with a question to my host, JustHost
.
Reply
#4
(2014-09-27, 12:52:09)shawn_a Wrote: I can tell you one thing , this is not coming from gs.

Shawn, do you have an opinion on the following index.php file - is there 'extra' code that may be causing the problem? (I'm new to using getsimple)

Index.php:
<?php

/****************************************************

*
* @File: index.php
* @Package: GetSimple
* @Action: Where it all starts.
*

*****************************************************/

// Setup inclusions

$load['plugin'] = true;

// Relative

$relative = '';
$admin_relative = 'admin/inc/';
$lang_relative = 'admin/';
$base = true;

// Include common.php

include('admin/inc/common.php');

// get page id (url slug) that is being passed via .htaccess mod_rewrite

if (isset($_GET['id'])){

$id = str_replace ('..','',$_GET['id']);

$id = str_replace ('/','',$id);

$id = strtolower($id);

} else {

$id = "index";
}

// define page, spit out 404 if it doesn't exist

// it was a long night and I accidently set the 404 error as 403. Forgive me

$file = "data/pages/". $id .".xml";

$file_404 = "data/other/403.xml";

if (! file_exists($file))

{
if (file_exists($file_404))

{

$file = $file_404;
include($admin_relative. '404-mailer.php');
}

}

// get data from page

$data_index = getXML($file);

$title = $data_index->title;
$date = $data_index->pubDate;
$metak = $data_index->meta;
$metad = $data_index->metad;
$url = $data_index->url;
$content = $data_index->content;
$parent = $data_index->parent;
$template_file = $data_index->template;
$private = $data_index->private;

if ($private == 'Y') {

header('Location: 403');
exit;
}

if ($url == '403') {

header('HTTP/1.0 404 Not Found');
}

// include the functions.php page if it exists within the theme

if ( file_exists("theme/".$TEMPLATE."/functions.php") )

{
include("theme/".$TEMPLATE."/functions.php");
}

// call pretemplate Hook

exec_action('index-pretemplate');

// include the template and template file set within theme.php and each page

if ( (!file_exists("theme/".$TEMPLATE."/".$template_file)) || ($template_file == '') ) { $template_file = "template.php"; }

include("theme/".$TEMPLATE."/".$template_file);

// call posttemplate Hook

exec_action('index-posttemplate');

?>
Reply
#5
something is probably wrong with your paths, is your siteurl in settings corect?
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#6
(2014-09-28, 01:56:15)shawn_a Wrote: something is probably wrong with your paths, is your siteurl in settings corect?
Will check this out. Thanks for the timely responses.
Reply
#7
(2014-09-28, 01:56:15)shawn_a Wrote: something is probably wrong with your paths, is your siteurl in settings corect?

Last question: can you point me to where there are instructions on how to 1) back up my content, 2) re-install getsimple, then 3) restore my content?
Reply
#8
(2014-09-28, 01:56:15)shawn_a Wrote: something is probably wrong with your paths, is your siteurl in settings corect?
BTW - the email with the error messages are coming from: noreply@get-simple.info
Reply
#9
getsimple does not send those kinds of emails, so either its a plugin or you have some script using GS without your control. Meaning yes hacked.
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#10
Thanks, I appreciate you taking the time to respond.

Craig
Reply
#11
wtf is this?
$file = $file_404;
include($admin_relative. '404-mailer.php');
}

what version of gs are you running?

You should have said you were not using the stable release.
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#12
That include was in GS 2.0 and 2.01
(I think that 2.03 removed that. It sent mails for reporting 404 errors in those 2 versions mentioned)
Reply




Users browsing this thread: 1 Guest(s)