Follow us on Twitter
Welcome, Guest
Please Login or Register.    Lost Password?
JoomAce Support
AceSEF
General Support
Solved Issues
Forum is locked
Custom 404 Page not loaded... Forum is locked
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Custom 404 Page not loaded...
#16442
Custom 404 Page not loaded... 2 Weeks ago  
AceSEF doesnt seem to intercept J!'s 404 handling. I keep getting:

404 - Article #182 not found

...on a standard J! backdrop.
Hari Karam Singh
PRO Customer
Posts: 8
graphgraph
Click here to see the profile of this user
The topic has been locked.
 
#16463
Re: Custom 404 Page not loaded... 1 Week, 6 Days ago  
goto sef url and find 404 (sometime on firt) and edit itemid to your article content of 404
Trung Tan Le
Non-Customer
Posts: 7
graphgraph
Click here to see the profile of this user
The topic has been locked.
 
#16469
Re: Custom 404 Page not loaded... 1 Week, 6 Days ago  
I've discovered the problem...

When you do a custom 404 through AceSEF's admin, it actually creates a J! article called "404". I accidently trashed this article. Ace still finds it but joomla fails to load it.

It comes down to the lines ~1100, particularly 1111 in comp/library/uri.php:

Code:

if ($this->AcesefConfig->page404 == 'custom') {
$_404 = '404'.$this->AcesefConfig->url_suffix;
if (($url_real = AceDatabase::loadResult("SELECT url_real FROM #__acesef_urls WHERE url_sef = '{$_404}'"))) {
$url_real = str_replace('&', '&', $url_real);
$QUERY_STRING = str_replace('index.php?', '', $url_real);
parse_str($QUERY_STRING, $vars);

if (!empty($vars['Itemid'])) {
AcesefUtility::getMenu()->setActive($vars['Itemid']);
}
} elseif (($id = AceDatabase::loadResult("SELECT id FROM #__content WHERE title = '404'"))) {
$vars['option'] = 'com_content';
$vars['view'] = 'article';
$vars['id'] = $id;
$vars['Itemid'] = 99999;
} else {
die(JText::_('ERROR_DEFAULT_404').'FILE NOT FOUND: '.$route."
URI:".$_SERVER['REQUEST_URI']);
}



There probably should be a check that it actually exists untrashed and published... Or saving the AceSEF settings untrashes/publishes it...
Hari Karam Singh
PRO Customer
Posts: 8
graphgraph
Click here to see the profile of this user
The topic has been locked.
 
#16478
Re: Custom 404 Page not loaded... 1 Week, 6 Days ago  
Issue confirmed and reported to the technical team.
Ahmet
Moderator
Posts: 21
graphgraph
Click here to see the profile of this user
The topic has been locked.
 
Go to topPage: 1
JoomAce Support
AceSEF
General Support
Solved Issues
Forum is locked
Powered by Kunenaget the latest posts directly to your desktop