Page 1 of 1

Problem [solved]

Posted: 09 Sep 2011, 21:48
by Nully
Hello,
I installed this Mod locally, but it does not work :o

May be I made mistakes in the path.

-http://localhost/board2011/viewtopic.php?f=99

In the file htaccess I have :

Code: Select all

ErrorDocument 404 /error.php?mode=404
In error.php I did not change anything :

Code: Select all

case '404':
		page_header($user->lang['ERROR_TITLE404']);
		$template->set_filenames(array(
			'body' => 'error/404_body.html')
		);
	break;
and in overhall_header there is :

Code: Select all

<base href="{U_FORUM_BASE}" />
When I try making a 404 error the result is the basic fonction of phpBB (I think) :(

Problem

Posted: 09 Sep 2011, 23:47
by juango
i think you have to change the htaccess to this

Code: Select all

ErrorDocument 404 /board2011/error.php?mode=404
give that a try!

Problem

Posted: 10 Sep 2011, 11:39
by Nully
Thanks juango.
I tryed several things, but no one is good.
I'm sure my mistake is a stupid thing. For today I give up.

Problem

Posted: 10 Sep 2011, 13:25
by martin123456
Put this in your browser to test it error page http://localhost/board2011/home.php

you should then be looking at a page like this (theme may differ)
2011-09-10_122446.png
I made no edits when i installed it on my localhost automod installed

Also just a side note whats this http://localhost/board2011/viewtopic.php?f=99 ??

Only you can access localhost so none of your links will work for us.

Problem

Posted: 10 Sep 2011, 16:08
by Nully
Yes I know you cannot access in my home 8-)
I tried to test as you wrote, I have this type of error :
The requested URL /board2011/home.php was not found on this server.
I do not try on my forum online because I have another mod (th23).

Anyway, I think I'll delete the t23, because phpBB has already this kind of fonction for error 404.
Sorry for my bad english.

PS
I'll insert the link towards my forum in my profile.

Problem

Posted: 10 Sep 2011, 16:44
by martin123456
unistall the error mod from stokers site refresh your cache via acp also in your browser

then install it again no edits needed via auto mod refresh cache via acp also in your browser

I'm going to say you have a browser issue so you need to clear the browser many ppl forget to clear this part after installing any mods.

Problem

Posted: 11 Sep 2011, 10:08
by Nully
Hello,
things are going better :thumb:

The 404 result is :
Hello Anonymous

The requested resource could not be found but may be available again in the future.
And there is the avatar of the Welcome Mod !

Edit
It works on line. :thumb: (Please do not try!)

Edit 2
Just a last question :

I have the style Prosilver_SE and Prosilver. Is it necessary to have the file /template/error in both ?

Problem

Posted: 11 Sep 2011, 12:52
by martin123456
You have prosilver installed so there for any other prosilver based theme's should use any file from prosilver if it needs it.

my prosilver_se theme does not have any of the error page files within it and it works on all my prosilver based themes.

change to prosilver_se theme and try it

Problem

Posted: 11 Sep 2011, 15:43
by Nully
Thanks martin123456,
my main theme is Prosilver_SE.
I deleted the file "error" from /template/prosilver_se. It is only in template/prosilver.
I kept the code in both overall_header

The test is ok.
(I only tryed error 404, I don't know how to try the other errors).

Problem [solved]

Posted: 17 Sep 2011, 18:02
by Nully
Hi,
unfortunately it does'nt work with Error 500. I think it is normal. :(

My forum was down because I had made a mistake in a htacces file.