Joomla 404 and 500 error - Joomla! Forum - community, help and support
i turning on sef, sef_rewrite, sef_suffix, , unicodeslugs, after renamed htaccess.text .htaccess started getting 404 error on front end , 500 error after loging on end...
so far have: (from other posts have fond via google issues)
1 reset file permissions 755 folders , 644 files
2 tried disabling sef, sef_rewrite, sef_suffix, , unicodeslugs via configuration.php
3 changed name on htaccess while above set 0
4 removed jos_session records db (this got me admin login page after login getting 500 error again) (and did not remove table)
5 removed jos_redirect_links records (i did notice entry /index.php checkparams.com)
6 changed , unchanged $log , $temp
7 turned on debug got this:
8. added .htaccess , got download file called "download" contents:
9: commented out , #options +followsymlinks sef, sef_rewrite, sef_suffix, , unicodeslugs on , off
10. checked error logs: found this:
file not exist: /home/[user]/public_html/404.shtml+
this site on cpanel host , 4 other installs of joomla working fine
the extensions have installed are:
bfjoomlaforms (there framwork , ajax it)
jce
x-map
akeeba
i using artisteer template
i lost , want fixed have been working on 2 days , not getting anywhere
side note dont know if related... rebuildng site moving 1 host doing scratch , there major upgrade (joomla change) anyways changed nameservers site , on new site when out of blue directed old site... flushing dns did not , when pinging getting ip new server
so far have: (from other posts have fond via google issues)
1 reset file permissions 755 folders , 644 files
2 tried disabling sef, sef_rewrite, sef_suffix, , unicodeslugs via configuration.php
3 changed name on htaccess while above set 0
4 removed jos_session records db (this got me admin login page after login getting 500 error again) (and did not remove table)
5 removed jos_redirect_links records (i did notice entry /index.php checkparams.com)
6 changed , unchanged $log , $temp
7 turned on debug got this:
code: select all
component not found
call stack
# function location
1 jsite->dispatch() /home/crestcom/public_html/index.php:42
2 jcomponenthelper::rendercomponent() /home/crestcom/public_html/includes/application.php:197
3 jerror::raiseerror() /home/crestcom/public_html/libraries/joomla/application/component/helper.php:337
4 jerror::raise() /home/crestcom/public_html/libraries/joomla/error/error.php:2518. added
code: select all
addhandler application/x-httpd-php51 .php .php3 .php4 .php5 .phtmlcode: select all
<?php
/**
* @package joomla.site
* @copyright copyright (c) 2005 - 2012 open source matters, inc. rights reserved.
* @license gnu general public license version 2 or later; see license.txt
*/
// set flag parent file.
define('_jexec', 1);
define('ds', directory_separator);
if (file_exists(dirname(__file__) . '/defines.php')) {
include_once dirname(__file__) . '/defines.php';
}
if (!defined('_jdefines')) {
define('jpath_base', dirname(__file__));
require_once jpath_base.'/includes/defines.php';
}
require_once jpath_base.'/includes/framework.php';
// mark afterload in profiler.
jdebug ? $_profiler->mark('afterload') : null;
// instantiate application.
$app = jfactory::getapplication('site');
// initialise application.
$app->initialise();
// mark afterintialise in profiler.
jdebug ? $_profiler->mark('afterinitialise') : null;
// route application.
$app->route();
// mark afterroute in profiler.
jdebug ? $_profiler->mark('afterroute') : null;
// dispatch application.
$app->dispatch();
// mark afterdispatch in profiler.
jdebug ? $_profiler->mark('afterdispatch') : null;
// render application.
$app->render();
// mark afterrender in profiler.
jdebug ? $_profiler->mark('afterrender') : null;
// return response.
echo $app;
9: commented out , #options +followsymlinks sef, sef_rewrite, sef_suffix, , unicodeslugs on , off
10. checked error logs: found this:
file not exist: /home/[user]/public_html/404.shtml+
this site on cpanel host , 4 other installs of joomla working fine
the extensions have installed are:
bfjoomlaforms (there framwork , ajax it)
jce
x-map
akeeba
i using artisteer template
i lost , want fixed have been working on 2 days , not getting anywhere
side note dont know if related... rebuildng site moving 1 host doing scratch , there major upgrade (joomla change) anyways changed nameservers site , on new site when out of blue directed old site... flushing dns did not , when pinging getting ip new server
this .htaccess
code: select all
addhandler application/x-httpd-php51 .php .php3 .php4 .php5 .phtml
##
# @package joomla
# @copyright copyright (c) 2005 - 2012 open source matters. rights reserved.
# @license gnu general public license version 2 or later; see license.txt
##
##
# read if choose use file!
#
# line below section: 'options +followsymlinks' may cause problems
# server configurations. required use of mod_rewrite, may already
# set server administrator in way dissallows changing in
# .htaccess file. if using causes server error out, comment out (add # to
# beginning of line), reload site in browser , test sef url's. if work,
# has been set server administrator , not need set here.
##
## can commented out if causes errors, see notes above.
#options +followsymlinks
## mod_rewrite in use.
rewriteengine on
## begin - rewrite rules block out common exploits.
# if experience problems on site block out operations listed below
# attempts block common type of exploit `attempts` joomla!
#
# block out script trying base64_encode data within url.
rewritecond %{query_string} base64_encode[^(]*\([^)]*\) [or]
# block out script includes <script> tag in url.
rewritecond %{query_string} (<|%3c)([^s]*s)+cript.*(>|%3e) [nc,or]
# block out script trying set php globals variable via url.
rewritecond %{query_string} globals(=|\[|\%[0-9a-z]{0,2}) [or]
# block out script trying modify _request variable via url.
rewritecond %{query_string} _request(=|\[|\%[0-9a-z]{0,2})
# return 403 forbidden header , show content of root homepage
rewriterule .* index.php [f]
#
## end - rewrite rules block out common exploits.
## begin - custom redirects
#
# if need redirect pages, or set canonical non-www to
# www redirect (or vice versa), place code here. ensure those
# redirects use correct rewriterule syntax , [r=301,l] flags.
#
## end - custom redirects
##
# uncomment following line if webserver's url
# not directly related physical file paths.
# update joomla! directory (just / root).
##
# rewritebase /
## begin - joomla! core sef section.
#
rewriterule .* - [e=http_authorization:%{http:authorization}]
#
# if requested path , file not /index.php , request
# has not been internally rewritten index.php script
rewritecond %{request_uri} !^/index\.php
# , request within component folder,
# or site root, or extensionless url, or the
# requested url ends 1 of listed extensions
rewritecond %{request_uri} /component/|(/[^.]*|\.(php|html?|feed|pdf|vcf|raw))$ [nc]
# , requested path , file doesn't directly match physical file
rewritecond %{request_filename} !-f
# , requested path , file doesn't directly match physical folder
rewritecond %{request_filename} !-d
# internally rewrite request index.php script
rewriterule .* index.php [l]
#
## end - joomla! core sef section.
Comments
Post a Comment