| :: |
| Author |
Message |
sansar

Joined: 16 Mar 2008 Posts: 16
|
Posted: Fri Mar 28, 2008 5:38 pm Post subject: white page |
|
|
| hi, i installed this mod over the seo mod, but when i click a forum or subforum, i see a white page! what is the problem? and solution? |
|
|
| Back to top |
|
 |
|
 |
MathieuM. phpBB SEO Team


Joined: 10 Feb 2008 Posts: 444 Location: Rhône-Alpes
|
|
| Back to top |
|
 |
sansar

Joined: 16 Mar 2008 Posts: 16
|
Posted: Sat Mar 29, 2008 9:08 am Post subject: Re: white page |
|
|
| Klipton, but i didnt upload files with mod because white page error. so you cant see the error |
|
|
| Back to top |
|
 |
sansar

Joined: 16 Mar 2008 Posts: 16
|
Posted: Sat Mar 29, 2008 9:42 am Post subject: Re: white page |
|
|
also my htaccess file:
php_flag output_buffering on
# Lines That should already be in your .htacess
<Files "config.php">
Order Allow,Deny
Deny from All
</Files>
<Files "common.php">
Order Allow,Deny
Deny from All
</Files>
# You may need to un-comment the following line
# Options +FollowSymlinks
# REMEBER YOU ONLY NEED TO STARD MOD REWRITE ONCE
RewriteEngine On
# REWRITE BASE
RewriteBase /
# HERE IS A GOOD PLACE TO ADD THE WWW PREFIXE REDIRECTION
#####################################################
# PHPBB SEO REWRITE RULES - ADVANCED
#####################################################
# AUTHOR : dcz www.phpbb-seo.com
# STARTED : 01/2006
#################################
# FORUMS PAGES
###############
# FORUM INDEX REWRITERULE WOULD STAND HERE IF USED. 'forum' REQUIRES TO BE SET AS FORUM INDEX
# RewriteRule ^forum/forum\.html$ /forum/index.php [QSA,L,NC]
# FORUM
RewriteRule ^forum/[a-z0-9_-]*-f([0-9]+)/?(page([0-9]+)\.html)?$ /forum/viewforum.php?f=$1&start=$3 [QSA,L,NC]
# TOPIC WITH VIRTUAL FOLDER
RewriteRule ^forum/[a-z0-9_-]*-f([0-9]+)/[a-z0-9_-]*-t([0-9]+)(-([0-9]+))?\.html$ /forum/viewtopic.php?f=$1&t=$2&start=$4 [QSA,L,NC]
# GLOBAL ANNOUNCES WITH VIRTUAL FOLDER
RewriteRule ^forum/announces/[a-z0-9_-]*-t([0-9]+)(-([0-9]+))?\.html$ /forum/viewtopic.php?t=$1&start=$3 [QSA,L,NC]
# TOPIC WITHOUT FORUM ID & DELIM
RewriteRule ^forum/[a-z0-9_-]*/?[a-z0-9_-]*-t([0-9]+)(-([0-9]+))?\.html$ /forum/viewtopic.php?t=$1&start=$3 [QSA,L,NC]
# PROFILES THROUGH USERNAME
RewriteRule ^forum/member/([^/]+)/?$ /forum/memberlist.php?mode=viewprofile&un=$1 [QSA,L,NC]
# USER MESSAGES THROUGH USERNAME
RewriteRule ^forum/messages/([^/]+)/?(page([0-9]+)\.html)?$ /forum/search.php?author=$1&sr=posts&start=$3 [QSA,L,NC]
# GROUPS ADVANCED
RewriteRule ^forum/[a-z0-9_-]*-g([0-9]+)(-([0-9]+))?\.html$ /forum/memberlist.php?mode=group&g=$1&start=$3 [QSA,L,NC]
# POST
RewriteRule ^forum/post([0-9]+)\.html$ /forum/viewtopic.php?p=$1 [QSA,L,NC]
# THE TEAM
RewriteRule ^forum/the-team\.html$ /forum/memberlist.php?mode=leaders [QSA,L,NC]
# HERE IS A GOOD PLACE TO ADD OTHER PHPBB RELATED REWRITERULES
# FORUM WITHOUT ID & DELIM
# THESE FOUR LINES MUST BE LOCATED AT THE END OF YOUR HTACCESS TO WORK PROPERLY
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ^forum/[a-z0-9_-]+/?(page([0-9]+)\.html)?$ /forum/viewforum.php?start=$2 [QSA,L,NC]
# END PHPBB PAGES
##################################################### |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 13354
|
|
| Back to top |
|
 |
sansar

Joined: 16 Mar 2008 Posts: 16
|
Posted: Sat Mar 29, 2008 11:30 am Post subject: Re: white page |
|
|
how can activate debug mod?
my config.php is like that:
| Code: | <?php
$dbms = '';
$dbhost = '';
$dbport = '';
$dbname = '';
$dbuser = '';
$dbpasswd = '';
$table_prefix = '';
$acm_type = 'file';
$load_extensions = '';
@define('PHPBB_INSTALLED', true);
// @define('DEBUG', true);
// @define('DEBUG_EXTRA', true);
?> |
|
|
|
| Back to top |
|
 |
MathieuM. phpBB SEO Team


Joined: 10 Feb 2008 Posts: 444 Location: Rhône-Alpes
|
|
| Back to top |
|
 |
sansar

Joined: 16 Mar 2008 Posts: 16
|
Posted: Sat Mar 29, 2008 4:08 pm Post subject: Re: white page |
|
|
i activated it, "Time : 0.204s | 20 Queries | GZIP : On | Memory Usage: 1.08 MB " added bottom of the page, and same white page error continue. Just white page without any error message when you click a forum
I controlled files with zero dup.mod, there is no error. Also i use nv recent topics mod, and i click a topic its ok, but when i click a forum, just white page |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 13354
|
Posted: Sat Mar 29, 2008 5:31 pm Post subject: Re: white page |
|
|
All right, a blank page with no error message despite the debug mode activated is likely to mean that you mistaken with the language files.
Could come from another mod than the zero duplicate. When exactly do you get an blank page ?
The forum blank page you describe suggests an error in viewforum.php and / or includes/functions_display.php. Please confirm that you get it with the zero duplicate mod installed.
Now if you only get a white page when following a redirected link, such as the nv recent topics mod ones, and do not get any when you load the rewritten urls with the zero duplicate installed and activated, it could be the redirect itself to cause trouble, in case the header where sent before the redirect (which should no occur).
Could be a white space in the php files (before or after the <?php and ?>), like viewforum.php or a language file.
As well, would be interesting to know if everything works fine when you only deactivate (in acp) the zero dupe rather than uninstalling it totally.
++ |
_________________ Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________
Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche |
|
| Back to top |
|
 |
sansar

Joined: 16 Mar 2008 Posts: 16
|
Posted: Sun Mar 30, 2008 10:15 am Post subject: Re: white page |
|
|
| its too interesting that if i activate the mod or not, i get white blank page without error message. i just upload index.php with mod, the main page cant open and white page, or only upload viewforum.php than forums and subforums cant open and white page. i controlled the files must be edited in the mod, there is no mistake. |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 13354
|
|
| Back to top |
|
 |
sansar

Joined: 16 Mar 2008 Posts: 16
|
Posted: Thu Apr 03, 2008 1:14 pm Post subject: Re: white page |
|
|
| Quote: | Dumb check : you do upload as well the modified phpbb_seo_class.php right ?
Upload the modified phpbb_seo_class.php first, and tell me if you get errors, and then, index.php and so on.
++ |
When i upload the modified phpbb_seo_class.php first, there is no error. But when i upload the whatever one of the files (index, memberlist, search, viewforum, viewtopic php files) than there is error. |
|
|
| Back to top |
|
 |
sansar

Joined: 16 Mar 2008 Posts: 16
|
Posted: Sat Apr 12, 2008 8:30 am Post subject: Re: white page |
|
|
| any solution? |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 13354
|
Posted: Wed Apr 16, 2008 8:35 am Post subject: Re: white page |
|
|
| dcz wrote: | All right, a blank page with no error message despite the debug mode activated is likely to mean that you mistaken with the language files.
|
Make sure you modded all your language packs properly if you use more than french and english.
Then, if the error still occurs with the zero dupe deactivated in acp, it most likely means that you did something wrong during the install, I'm sorry, but there is not much to do than double checking every modded file.
++ |
_________________ Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________
Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche |
|
| Back to top |
|
 |
|
|