Blank Pages ? Search, View active topics and View unanswered

phpBB3 SEO Advanced mod Rewrite support forum.
This mods performs URL rewriting for phpBB, injecting forums and topic titles in their URLs.

Moderator: Moderators

Blank Pages ? Search, View active topics and View unanswered

Postby mrix » Sun Dec 23, 2007 3:40 pm

Hello all, since I installed the mod re-right which almost works fine apart from these pages are now just blank - Search, View active topics and View unanswered posts ?
any idea`s all
thanks for any help
mrix
mrix
 
Posts: 34
Joined: Sat Dec 22, 2007 10:02 am

Advertisement

Postby dcz » Sun Dec 23, 2007 3:41 pm

What version ?

What kind (simple mixed advanced) ?
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21219
Joined: Fri Apr 28, 2006 9:03 pm

re:

Postby mrix » Sun Dec 23, 2007 3:43 pm

Hi there sorry its the advanced version..
my site is here http://www.christchurchdorset.com/forum/
cheers
mrix
mrix
 
Posts: 34
Joined: Sat Dec 22, 2007 10:02 am

Postby dcz » Sun Dec 23, 2007 3:44 pm

Is it the 0.4.0 we just released ?
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21219
Joined: Fri Apr 28, 2006 9:03 pm

re:

Postby mrix » Sun Dec 23, 2007 3:45 pm

This is what the zip file shows

adv_phpbb3_mod_rewriteV0-4-0RC4

cheers
mrix
mrix
 
Posts: 34
Joined: Sat Dec 22, 2007 10:02 am

Postby dcz » Sun Dec 23, 2007 3:47 pm

Can you activate debugging ?

In config.php, replace :
Code: Select all
// @define('DEBUG', true);
// @define('DEBUG_EXTRA', true);


with :

Code: Select all
@define('DEBUG', true);
@define('DEBUG_EXTRA', true);
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21219
Joined: Fri Apr 28, 2006 9:03 pm

re:

Postby mrix » Sun Dec 23, 2007 3:50 pm

I have made the config changes but how would I activate debugging?
cheers
mrix
mrix
 
Posts: 34
Joined: Sat Dec 22, 2007 10:02 am

Postby dcz » Sun Dec 23, 2007 3:59 pm

That's how.

Do you see any erro message ?


What you could do is put back the original index.php, viewtopic.php and viewforum.php, one after the other to see if the problem is or not coming from these.

Then, you can do the same with the files in the includes/ dir and so on.
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21219
Joined: Fri Apr 28, 2006 9:03 pm

re:

Postby mrix » Sun Dec 23, 2007 4:02 pm

I dont see any errors but I`ll start putting the files back as you say and get back to you asap.
many thanks for your help and your time
cheers
mrix
mrix
 
Posts: 34
Joined: Sat Dec 22, 2007 10:02 am

re:

Postby mrix » Sun Dec 23, 2007 4:32 pm

Hi again I have been using the subsilver 2 skin and the code for the advanced mod re-right is not the same :( so I think thats where my problems lie... is there anywhere in these forums that has the code for the other default skin? ie the overall_header and overall_footer code
really hope so :oops:
cheers
mrix
mrix
 
Posts: 34
Joined: Sat Dec 22, 2007 10:02 am

Postby dcz » Sun Dec 23, 2007 4:36 pm

You mean, the blank page was not fully blank, but rather unstyled ?

What didn't you find in these code changes ?
Code: Select all
#
#-----[ OPEN ]------------------------------------------
#

styles/subsilver2/template/overall_header.html

#
#-----[ FIND ]------------------------------------------
#

<head>

#
#-----[ AFTER, ADD ]------------------------------------------
#

{SEO_BASE_HREF}

#
#-----[ FIND ]------------------------------------------
#

function jumpto()
{
   var page = prompt('{LA_JUMP_PAGE}:', '{ON_PAGE}');
   var perpage = '{PER_PAGE}';
   var base_url = '{A_BASE_URL}';

   if (page !== null && !isNaN(page) && page > 0)
   {
      document.location.href = base_url.replace(/&amp;/g, '&') + '&start=' + ((page - 1) * perpage);
   }
}

#
#-----[ REPLACE WITH ]------------------------------------------
#

// www.phpBB-SEO.com SEO TOOLKIT BEGIN
function jumpto()
{
   var page = prompt('{LA_JUMP_PAGE}:', '{ON_PAGE}');
   var perpage = '{PER_PAGE}';
   var base_url = '{A_BASE_URL}';
   var seo_delim_start = '{SEO_START_DELIM}';
   var seo_static_pagination = '{SEO_SATIC_PAGE}';
   var seo_ext_pagination = '{SEO_EXT_PAGE}';

   if (page !== null && !isNaN(page) && page > 0) {
      var seo_page = (page - 1) * per_page;
      if ( base_url.indexOf('?') >= 0 ) {
         document.location.href = base_url.replace(/&amp;/g, '&') + '&start=' + seo_page;
      } else if ( seo_page > 0 ) {
         var seo_type1 = base_url.match(/\.[a-z0-9]+$/i);
         if (seo_type1 !== null) {
            document.location.href = base_url.replace(/\.[a-z0-9]+$/i, '') + seo_delim_start + seo_page + seo_type1;
         }
         var seo_type2 = base_url.match(/\/$/);
         if (seo_type2 !== null) {
            document.location.href = base_url + seo_static_pagination + seo_page + seo_ext_pagination;
         }
      } else {
         document.location.href = base_url;
      }
   }
}
// www.phpBB-SEO.com SEO TOOLKIT END

#
#-----[ OPEN ]------------------------------------------
#

styles/subsilver2/template/viewtopic_body.html

#
#-----[ FIND ]------------------------------------------
#

<a href="#wrapheader">

#
#-----[ REPLACE WITH ]------------------------------------------
#

<a href="{U_VIEW_TOPIC}#wrapheader">


The first one being the one that could explain an unstyled output with the virtual folder option, if missing of course.

A link to your forum would definitely help now.
++
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21219
Joined: Fri Apr 28, 2006 9:03 pm

re:

Postby mrix » Sun Dec 23, 2007 4:48 pm

Hello I didnt have that code at all so was feeling very hopefull unfortunately it didnt work :cry:
could the htacces file cause a problem like this if something is wrong?
cheers
mrix
http://www.christchurchdorset.com/forum/
mrix
 
Posts: 34
Joined: Sat Dec 22, 2007 10:02 am

Postby dcz » Sun Dec 23, 2007 4:54 pm

I'm lost here, it looks like perfectly working or am I missing something ?

Your style seems based on subsilver2, and there is just no way you are not able to perform the first code change in this file, there must be a head in the html !!

Anyway, this is far from a blank page, so I do not understand what happened really , sorry.
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21219
Joined: Fri Apr 28, 2006 9:03 pm

re:

Postby mrix » Sun Dec 23, 2007 4:56 pm

Are you saying you can see a page when you click on the search button and new posts button at the top of the index page?
I mean the forum index page
cheers
mrix
mrix
 
Posts: 34
Joined: Sat Dec 22, 2007 10:02 am

Postby dcz » Sun Dec 23, 2007 5:04 pm

New topic and reply gives me a login form, but there could be a blank page further.
I saw the one on search.php.

So at least this is giving us a better hint on where to search for the error.

These two could be caused by typos in search.php and includes/functions_posting.php, the code change are not this many, please double check and make sure another mod is not requiring some code there.

++
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21219
Joined: Fri Apr 28, 2006 9:03 pm

Next

Return to Advanced SEO URL

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 3 guests