Problem [solved]

Download and support for PhpBB3 Error Pages
Locked
User avatar
Nully
Donator
Donator
Posts: 258
Joined: 15 Mar 2010, 00:03
BBCodes: 10
Favourite MOD: Radios
Location: France > Bulgaria
Contact:

Problem [solved]

Post 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) :(
Last edited by Nully on 11 Sep 2011, 15:44, edited 1 time in total.
juango
BBCoder II
BBCoder II
Posts: 34
Joined: 30 May 2011, 20:44

Problem

Post 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!
User avatar
Nully
Donator
Donator
Posts: 258
Joined: 15 Mar 2010, 00:03
BBCodes: 10
Favourite MOD: Radios
Location: France > Bulgaria
Contact:

Problem

Post 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.
User avatar
martin123456
BBCoder VI
BBCoder VI
Posts: 765
Joined: 25 Jul 2011, 13:29
BBCodes: 34
Favourite MOD: Ban button
Location: Down south!
Contact:

Problem

Post 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.
User avatar
Nully
Donator
Donator
Posts: 258
Joined: 15 Mar 2010, 00:03
BBCodes: 10
Favourite MOD: Radios
Location: France > Bulgaria
Contact:

Problem

Post 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.
User avatar
martin123456
BBCoder VI
BBCoder VI
Posts: 765
Joined: 25 Jul 2011, 13:29
BBCodes: 34
Favourite MOD: Ban button
Location: Down south!
Contact:

Problem

Post 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.
User avatar
Nully
Donator
Donator
Posts: 258
Joined: 15 Mar 2010, 00:03
BBCodes: 10
Favourite MOD: Radios
Location: France > Bulgaria
Contact:

Problem

Post 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 ?
User avatar
martin123456
BBCoder VI
BBCoder VI
Posts: 765
Joined: 25 Jul 2011, 13:29
BBCodes: 34
Favourite MOD: Ban button
Location: Down south!
Contact:

Problem

Post 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
User avatar
Nully
Donator
Donator
Posts: 258
Joined: 15 Mar 2010, 00:03
BBCodes: 10
Favourite MOD: Radios
Location: France > Bulgaria
Contact:

Problem

Post 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).
User avatar
Nully
Donator
Donator
Posts: 258
Joined: 15 Mar 2010, 00:03
BBCodes: 10
Favourite MOD: Radios
Location: France > Bulgaria
Contact:

Problem [solved]

Post 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.
Locked