constant 404 error

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
davemof

constant 404 error

Post by davemof »

Hi All,

Having a wierd issue where all of the frontend site results in 404 errors, but the admin panel is completely visable. See:

www.barrysheerman.org.uk - 404 error
www.barrysheerman.org.uk/admin - fine

After some basic hunting the site seems to stop working after the @ob_start(); call on line 79 of index.php. I thought it might be a php5.5 issue and upgraded to the latest version of cmsms, but I'm still getting the same error.

It's starting to drive me a little bit mental, if anybody can help shed some light on this, it would be much appreciated.

Many thanks

David
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: constant 404 error

Post by Rolf »

default page is disabled?
wrong redirect somewhere?
.htaccess settings?
config.php path settings changed?
System Information?
...

grtz. Rolf :)
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
davemof

Re: constant 404 error

Post by davemof »

Hi Rolf,

Thanks for the suggestions. I've checked all the points and heres what I have so far:

1.) Default page enabled
2.) htaccess remains unchanged but just incase I have something wrong it contains : SetEnv DEFAULT_PHP_VERSION 5
RLimitMem 128000000
3.) All config.php paths are correct
4.) System info is as follows:

----------------------------------------------

Cms Version: 1.9.4.2

Installed Modules:

CMSMailer: 2.0.1
FileManager: 1.1.0
MenuManager: 1.7.6
ModuleManager: 1.4.2
News: 2.11.3
nuSOAP: 1.0.2
Printing: 1.1.2
Search: 1.6.10
ThemeManager: 1.1.4
TinyMCE: 2.8.4
AjaxMadeSimple: 0.1.6
Polls: 0.2.2
CodePress: 0.1.2
TemplateExternalizer: 1.2
FormBuilder: 0.5.11
GoogleMaps: 0.1.6


Config Information:

php_memory_limit:
process_whole_template: false
output_compression: false
max_upload_size: 20000000
default_upload_permission: 664
url_rewriting: none
page_extension:
query_var: page
image_manipulation_prog: GD
auto_alias_content: true
locale:
default_encoding: utf-8
admin_encoding: utf-8
set_names: false


Php Information:

phpversion: 5.3.5
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 0
E_DEPRECATED: 0
memory_limit: 64M
max_execution_time: 30
output_buffering: On
safe_mode: Off (False)
file_uploads: On (True)
post_max_size: 8M
upload_max_filesize: 5M
session_save_path: /tmp (1777)
session_use_cookies: On (True)
xml_function: On (True)


Server Information:

Server Api: cgi-fcgi
Server Db Type: MySQL (mysql)
Server Db Version: 5.0.92


----------------------------------------------


I can't spot anything wrong in there either. It's really making me pull my hair out. DO you have any thoughts on the above or any orther ideas.

Many thanks

David
fredp
Forum Members
Forum Members
Posts: 218
Joined: Sun Jul 27, 2008 1:36 am

Re: constant 404 error

Post by fredp »

Hi,

Here are a couple of other things you might try:
1) check the file permissions of the installed files.

2) verify the install from Site_Admin->System_Verification, or run the standalone cmschecksum.php script (from the install directory), to check for file corruptions.

3) verify you have write access to your session_save_path: /tmp

Hope this helps,
fredp
Nearly all men can stand adversity, but if you want to test a man's character, give him power.
- Abraham Lincoln
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: constant 404 error

Post by Rolf »

fredp wrote:2) verify the install from Site_Admin->System_Verification, or run the standalone cmschecksum.php script (from the install directory), to check for file corruptions.
Might be a good suggestion. Starts to look like a hacked website... :(

<edit>
Is the index.php still there? In the root of the website I mean.
And is the content changed?

url_rewriting: none

When I google your website I get urls like: .../index.php/news/72/51/Lloyds-jobs-cut
This combination isn't possible :-\
</edit>
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
User avatar
paulbaker
Dev Team Member
Dev Team Member
Posts: 1465
Joined: Sat Apr 18, 2009 10:09 pm
Contact:

Re: constant 404 error

Post by paulbaker »

It's back. :) What was it? Might help others with similar problems.
Locked

Return to “CMSMS Core”