GetSimple Support Forum
PROBLEM Page Not Found Error - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16)
+--- Thread: PROBLEM Page Not Found Error (/showthread.php?tid=6775)



Page Not Found Error - ckwimberly - 2014-09-27

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/css/slideshow.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/js/jquery.slideviewer.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


RE: Page Not Found Error - shawn_a - 2014-09-27

I can tell you one thing , this is not coming from gs.


RE: Page Not Found Error - ckwimberly - 2014-09-28

(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
.


RE: Page Not Found Error - ckwimberly - 2014-09-28

(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');

?>


RE: Page Not Found Error - shawn_a - 2014-09-28

something is probably wrong with your paths, is your siteurl in settings corect?


RE: Page Not Found Error - ckwimberly - 2014-09-29

(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.


RE: Page Not Found Error - ckwimberly - 2014-10-02

(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?


RE: Page Not Found Error - ckwimberly - 2014-10-02

(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


RE: Page Not Found Error - shawn_a - 2014-10-02

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.


RE: Page Not Found Error - ckwimberly - 2014-10-04

Thanks, I appreciate you taking the time to respond.

Craig


RE: Page Not Found Error - shawn_a - 2014-10-04

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.


RE: Page Not Found Error - Carlos - 2014-10-04

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)