Blank Pages After Upgrading »  Show posts from    to     

Icy Phoenix


Old Docs - Blank Pages After Upgrading



Lucky [ Thu 24 Aug, 2006 15:58 ]
Post subject: Re: Help ! WebSite Doesn't Appear, Black Page. (Trojan ?)
Another thing, I have seen on the principal page of ACP that I have all messages and all the topics !!! The numbers are correct, so it mean that I still to have all the data about the forums in DB !!! but why I have another view on the forums ? In ACP it says that I have all messages but in the portal/forum I see only the principal forums but not a lot of subforums.


Lucky [ Thu 24 Aug, 2006 20:06 ]
Post subject: Re: Help ! WebSite Doesn't Appear, Blank Page. (Trojan ?)
Thanks to Italian Support on phpbbplus.it I have discovered that I have not lost subforums and messages. I have created a trial forum and after this I have seen all subforums and subsubforums (not in order) inside a principal forum area created by the system with the name "forums restored". Now I need only to have a lot of patient to change the position.


Tom [ Thu 24 Aug, 2006 20:23 ]
Post subject: Re: Help ! WebSite Doesn't Appear, Blank Page. (Trojan ?)
m740 wrote: [View Post]
A trojan? No, sure. Is a server or a code problem.
This looks very much like a server problem. Are the permissions correct on the files?


m740 [ Thu 24 Aug, 2006 20:33 ]
Post subject: Re: Help ! WebSite Doesn't Appear, Blank Page. (Trojan ?)
Tom wrote: [View Post]
m740 wrote: [View Post]
A trojan? No, sure. Is a server or a code problem.
This looks very much like a server problem. Are the permissions correct on the files?



Yes the permissions are OK.


Lucky [ Thu 24 Aug, 2006 20:39 ]
Post subject: Re: Help ! WebSite Doesn't Appear, Blank Page. (Trojan ?)
Tom wrote: [View Post]
m740 wrote: [View Post]
A trojan? No, sure. Is a server or a code problem.
This looks very much like a server problem. Are the permissions correct on the files?


I don't know. I know only these things :

1) The forum is online for 5 months without this kind of problem.

2) The Hosting Company has sent a reply where it explains that it's not a server problem, the server and the node seems to work correctly.

3) Seems that the problem appeared after I have changed the Forums permissions. The only strange changing that I have done was the permission to some forums, that had subforums with messages, changed in "nothing" to all sets except "view" and "read" sets.

4) Antonio in Italian Support have suggest to me to make chmod 666 to def_tree.php, def_words.php and def_themes.php. But I don't know the way.

Sorry if I repeat the same thing, but it's strange that in the same time one of our user has sent an email where he asks helps about a Trojan worning message that has appeared on the screen when he has entered into my website internal pages.


Huzzah [ Thu 24 Aug, 2006 20:54 ]
Post subject: Re: Help ! WebSite Doesn't Appear, Blank Page. (Trojan ?)
I seem to get blank pages some times and on other sites using php portals. I believe mine might be due to a DNS problem ether with Zone alarm security or my ISP. However thank you for that question, I was wondering about that area my self.


difus [ Thu 24 Aug, 2006 22:44 ]
Post subject: Re: Help ! WebSite Doesn't Appear, Blank Page. (Trojan ?)
you have backups and can do some tests with permissions

Quote:
Sorry if I repeat the same thing, but it's strange that in the same time one of our user has sent an email where he asks helps about a Trojan worning message that has appeared on the screen when he has entered into my website internal pages.


I have had like this . forum was phpbb
It was user's problem
ask for other users


Tom [ Fri 25 Aug, 2006 09:35 ]
Post subject: Re: Help ! WebSite Doesn't Appear, Blank Page. (Trojan ?)
Lucky wrote: [View Post]
Tom wrote: [View Post]
This looks very much like a server problem. Are the permissions correct on the files?

4) Antonio in Italian Support have suggest to me to make chmod 666 to def_tree.php, def_words.php and def_themes.php. But I don't know the way.
There we go. You can set these permissions with your FTP programm.
However, you must have changed permissions before, otherwise the board would throw alot of error messages. The following permissions need to be set on the file system:

Set the permissions to CHMOD 777 to the following folders:
album_mod/upload
album_mod/upload/cache
album_mod/upload/med_cache
album_mod/upload/wm_cache
cache
ctracker/logs/counter.txt
ctracker/logs/logfile_flood.txt
ctracker/logs/logfile_proxy.txt
ctracker/logs/logfile_worms.txt
errors/log/errors.txt
files
files/thumbs
images/avatars
pafiledb/uploads
pafiledb/cache
pafiledb/cache/templates
pafiledb/cache/templates/ca_aphrodite


Set the permission to CHMOD 666 to the following files:
includes/def_themes.php
includes/def_tree.php
includes/def_words.php


Look for "PERMISSIONS" or something similar in your FTP programm and then you should be able to set those permissions.


Tom [ Fri 25 Aug, 2006 09:41 ]
Post subject: Re: Help ! WebSite Doesn't Appear, Blank Page. (Trojan ?)
If you want to know more about CHMOD, what it is and how it works, take a look at this site:
http://www.catcode.com/teachmod/index.html


Lucky [ Fri 25 Aug, 2006 13:45 ]
Post subject: Re: Help ! WebSite Doesn't Appear, Blank Page. (Trojan ?)
Thank you Tom for your information.

I have seen that all my permissions of those directories and files are wrong !! Very Strange ! In fact the website has run well for three or four months ! without any kind of critical problems, I remember to have made chmod during the first installation as instruction suggests. Why now I have all permissions wrong ?

PS: I have not found error directory, I have build 049 installed, may be your list if for build 058 ?


ganesh [ Fri 25 Aug, 2006 13:52 ]
Post subject: Re: Help ! WebSite Doesn't Appear, Blank Page. (Trojan ?)
Yes, error directory is in 058 only.


Lucky [ Fri 25 Aug, 2006 14:07 ]
Post subject: Re: Help ! WebSite Doesn't Appear, Blank Page. (Trojan ?)
And about includes/functions_categories_hierarchy.PHP

I must came back with this codes

Code: [Hide]
  1. define('CACHE_TREE', true);  
  2. //define('CACHE_WORDS', true);  
  3. define('CACHE_THEMES', true);  
  4.  


... or I must still to use this codes modified as suggested ?


Code: [Hide]
  1. //define('CACHE_TREE', true);  
  2. //define('CACHE_WORDS', true);  
  3. //define('CACHE_THEMES', true);  
  4.  


Tom [ Fri 25 Aug, 2006 15:13 ]
Post subject: Re: Help ! WebSite Doesn't Appear, Blank Page. (Trojan ?)
Lucky wrote: [View Post]
I have seen that all my permissions of those directories and files are wrong !! Very Strange ! In fact the website has run well for three or four months ! without any kind of critical problems, I remember to have made chmod during the first installation as instruction suggests. Why now I have all permissions wrong ?
Sometimes if files are replaced, permissions are reset to default. That could be the reason, why the permissions where wrong.


Lucky wrote: [View Post]
And about includes/functions_categories_hierarchy.PHP
If the permissions are correct you should use the regular code:
Code: [Hide]
  1. define('CACHE_TREE', true);  
  2. //define('CACHE_WORDS', true);  
  3. define('CACHE_THEMES', true); 


m740 [ Fri 25 Aug, 2006 15:20 ]
Post subject: Re: Help ! WebSite Doesn't Appear, Blank Page. (Trojan ?)
Tom wrote: [View Post]
Lucky wrote: [View Post]
I have seen that all my permissions of those directories and files are wrong !! Very Strange ! In fact the website has run well for three or four months ! without any kind of critical problems, I remember to have made chmod during the first installation as instruction suggests. Why now I have all permissions wrong ?
Sometimes if files are replaced, permissions are reset to default. That could be the reason, why the permissions where wrong.


Lucky wrote: [View Post]
And about includes/functions_categories_hierarchy.PHP
If the permissions are correct you should use the regular code:
Code: [Hide]
  1. define('CACHE_TREE', true);  
  2. //define('CACHE_WORDS', true);  
  3. define('CACHE_THEMES', true); 


the permissions in my Web are correct, but under it works it with this code:

Code: [Hide] [Select]
//define('CACHE_TREE', true);
//define('CACHE_WORDS', true);
//define('CACHE_THEMES', true);


Tom [ Fri 25 Aug, 2006 15:24 ]
Post subject: Re: Help ! WebSite Doesn't Appear, Blank Page. (Trojan ?)
What errors do you get with the regular code?


m740 [ Fri 25 Aug, 2006 15:25 ]
Post subject: Re: Help ! WebSite Doesn't Appear, Blank Page. (Trojan ?)
Tom wrote: [View Post]
What errors do you get with the regular code?


No errors, only blank page.


Tom [ Fri 25 Aug, 2006 15:27 ]
Post subject: Re: Help ! WebSite Doesn't Appear, Blank Page. (Trojan ?)
Weird.
Do you have a screenshot of the file permissions?

Do you use PHP5?


m740 [ Fri 25 Aug, 2006 15:53 ]
Post subject: Respuesta: Help ! WebSite Doesn't Appear, Blank Page. (Troja
SOLVED SOLVED SOLVED SOLVED

The problem is the following:

This is the code off def_themes.php generated in my Web:
Code: [Hide] [Select]
<?php
<!-- template .//includes/cache_tpls/def_themes_def.tpl start -->/***************************************************************************
* def_themes_def.php
* ------------------
* begin : 12/11/2003
* copyright : Ptirhiik
* email : admin@rpgnet-fr.com
*
* version : 1.0.0 - 12/11/2003
*
* last update : 2006-08-23 08:03:21 (GMT) by m740 *
***************************************************************************/

/***************************************************************************
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
*
***************************************************************************/

if ( !defined('IN_PHPBB') )
{
die('Hacking attempt');
exit;
}

//--------------------------------------------------------------------------------------------------
//
// $themes_style : templates
// --------------
//--------------------------------------------------------------------------------------------------

$themes_style = array(
1 => array('themes_id' => '1', 'template_name' => 'ca_aphrodite', 'style_name' => 'Aphrodite', 'head_stylesheet' => 'style_blue.css', 'body_background' => 'blue', 'body_bgcolor' => '', 'body_text' => '', 'body_link' => '', 'body_vlink' => '', 'body_alink' => '', 'body_hlink' => '', 'tr_color1' => '', 'tr_color2' => '', 'tr_color3' => '', 'tr_class1' => '', 'tr_class2' => '', 'tr_class3' => '', 'th_color1' => '', 'th_color2' => '', 'th_color3' => '', 'th_class1' => '', 'th_class2' => '', 'th_class3' => '', 'td_color1' => '', 'td_color2' => '', 'td_color3' => '', 'td_class1' => 'row1', 'td_class2' => 'row2', 'td_class3' => '', 'fontface1' => '', 'fontface2' => '', 'fontface3' => '', 'fontsize1' => '10', 'fontsize2' => '11', 'fontsize3' => '12', 'fontcolor1' => '', 'fontcolor2' => '18C935', 'fontcolor3' => 'E61A1A', 'span_class1' => '', 'span_class2' => '', 'span_class3' => '', 'img_size_poll' => '0', 'img_size_privmsg' => '0', 'online_color' => '008500', 'offline_color' => 'DF0000', 'hidden_color' => 'EBD400'),
2 => array('themes_id' => '2', 'template_name' => 'ca_aphrodite', 'style_name' => 'Aphrodite Black', 'head_stylesheet' => 'style_black.css', 'body_background' => 'black', 'body_bgcolor' => '', 'body_text' => '', 'body_link' => '', 'body_vlink' => '', 'body_alink' => '', 'body_hlink' => '', 'tr_color1' => '', 'tr_color2' => '', 'tr_color3' => '', 'tr_class1' => '', 'tr_class2' => '', 'tr_class3' => '', 'th_color1' => '', 'th_color2' => '', 'th_color3' => '', 'th_class1' => '', 'th_class2' => '', 'th_class3' => '', 'td_color1' => '', 'td_color2' => '', 'td_color3' => '', 'td_class1' => 'row1', 'td_class2' => 'row2', 'td_class3' => '', 'fontface1' => '', 'fontface2' => '', 'fontface3' => '', 'fontsize1' => '10', 'fontsize2' => '11', 'fontsize3' => '12', 'fontcolor1' => '', 'fontcolor2' => '', 'fontcolor3' => '', 'span_class1' => '', 'span_class2' => '', 'span_class3' => '', 'img_size_poll' => '0', 'img_size_privmsg' => '0', 'online_color' => '', 'offline_color' => '', 'hidden_color' => ''),
3 => array('themes_id' => '3', 'template_name' => 'ca_aphrodite', 'style_name' => 'Aphrodite Black Yellow', 'head_stylesheet' => 'style_black_yellow.css', 'body_background' => 'black_yellow', 'body_bgcolor' => '', 'body_text' => '', 'body_link' => '', 'body_vlink' => '', 'body_alink' => '', 'body_hlink' => '', 'tr_color1' => '', 'tr_color2' => '', 'tr_color3' => '', 'tr_class1' => '', 'tr_class2' => '', 'tr_class3' => '', 'th_color1' => '', 'th_color2' => '', 'th_color3' => '', 'th_class1' => '', 'th_class2' => '', 'th_class3' => '', 'td_color1' => '', 'td_color2' => '', 'td_color3' => '', 'td_class1' => 'row1', 'td_class2' => 'row2', 'td_class3' => '', 'fontface1' => '', 'fontface2' => '', 'fontface3' => '', 'fontsize1' => '10', 'fontsize2' => '11', 'fontsize3' => '12', 'fontcolor1' => '', 'fontcolor2' => '22CC33', 'fontcolor3' => 'EE2222', 'span_class1' => '', 'span_class2' => '', 'span_class3' => '', 'img_size_poll' => '0', 'img_size_privmsg' => '0', 'online_color' => '', 'offline_color' => '', 'hidden_color' => ''),
4 => array('themes_id' => '4', 'template_name' => 'ca_aphrodite', 'style_name' => 'Aphrodite Cyan', 'head_stylesheet' => 'style_cyan.css', 'body_background' => 'cyan', 'body_bgcolor' => '', 'body_text' => '', 'body_link' => '', 'body_vlink' => '', 'body_alink' => '', 'body_hlink' => '', 'tr_color1' => '', 'tr_color2' => '', 'tr_color3' => '', 'tr_class1' => '', 'tr_class2' => '', 'tr_class3' => '', 'th_color1' => '', 'th_color2' => '', 'th_color3' => '', 'th_class1' => '', 'th_class2' => '', 'th_class3' => '', 'td_color1' => '', 'td_color2' => '', 'td_color3' => '', 'td_class1' => 'row1', 'td_class2' => 'row2', 'td_class3' => '', 'fontface1' => '', 'fontface2' => '', 'fontface3' => '', 'fontsize1' => '10', 'fontsize2' => '11', 'fontsize3' => '12', 'fontcolor1' => '', 'fontcolor2' => '18C935', 'fontcolor3' => 'E61A1A', 'span_class1' => '', 'span_class2' => '', 'span_class3' => '', 'img_size_poll' => '0', 'img_size_privmsg' => '0', 'online_color' => '', 'offline_color' => '', 'hidden_color' => ''),
5 => array('themes_id' => '5', 'template_name' => 'ca_aphrodite', 'style_name' => 'Aphrodite Dark Green', 'head_stylesheet' => 'style_dark_green.css', 'body_background' => 'dark_green', 'body_bgcolor' => '', 'body_text' => '', 'body_link' => '', 'body_vlink' => '', 'body_alink' => '', 'body_hlink' => '', 'tr_color1' => '', 'tr_color2' => '', 'tr_color3' => '', 'tr_class1' => '', 'tr_class2' => '', 'tr_class3' => '', 'th_color1' => '', 'th_color2' => '', 'th_color3' => '', 'th_class1' => '', 'th_class2' => '', 'th_class3' => '', 'td_color1' => '', 'td_color2' => '', 'td_color3' => '', 'td_class1' => 'row1', 'td_class2' => 'row2', 'td_class3' => '', 'fontface1' => '', 'fontface2' => '', 'fontface3' => '', 'fontsize1' => '10', 'fontsize2' => '11', 'fontsize3' => '12', 'fontcolor1' => '', 'fontcolor2' => '3FB753', 'fontcolor3' => 'E87B12', 'span_class1' => '', 'span_class2' => '', 'span_class3' => '', 'img_size_poll' => '0', 'img_size_privmsg' => '0', 'online_color' => '', 'offline_color' => '', 'hidden_color' => ''),
6 => array('themes_id' => '6', 'template_name' => 'ca_aphrodite', 'style_name' => 'Aphrodite Green', 'head_stylesheet' => 'style_green.css', 'body_background' => 'green', 'body_bgcolor' => '', 'body_text' => '', 'body_link' => '', 'body_vlink' => '', 'body_alink' => '', 'body_hlink' => '', 'tr_color1' => '', 'tr_color2' => '', 'tr_color3' => '', 'tr_class1' => '', 'tr_class2' => '', 'tr_class3' => '', 'th_color1' => '', 'th_color2' => '', 'th_color3' => '', 'th_class1' => '', 'th_class2' => '', 'th_class3' => '', 'td_color1' => '', 'td_color2' => '', 'td_color3' => '', 'td_class1' => 'row1', 'td_class2' => 'row2', 'td_class3' => '', 'fontface1' => '', 'fontface2' => '', 'fontface3' => '', 'fontsize1' => '10', 'fontsize2' => '11', 'fontsize3' => '12', 'fontcolor1' => '', 'fontcolor2' => '18C935', 'fontcolor3' => 'E61A1A', 'span_class1' => '', 'span_class2' => '', 'span_class3' => '', 'img_size_poll' => '0', 'img_size_privmsg' => '0', 'online_color' => '', 'offline_color' => '', 'hidden_color' => ''),
7 => array('themes_id' => '7', 'template_name' => 'ca_aphrodite', 'style_name' => 'Aphrodite Lite Blue', 'head_stylesheet' => 'style_lite_blue.css', 'body_background' => 'lite_blue', 'body_bgcolor' => '', 'body_text' => '', 'body_link' => '', 'body_vlink' => '', 'body_alink' => '', 'body_hlink' => '', 'tr_color1' => '', 'tr_color2' => '', 'tr_color3' => '', 'tr_class1' => '', 'tr_class2' => '', 'tr_class3' => '', 'th_color1' => '', 'th_color2' => '', 'th_color3' => '', 'th_class1' => '', 'th_class2' => '', 'th_class3' => '', 'td_color1' => '', 'td_color2' => '', 'td_color3' => '', 'td_class1' => 'row1', 'td_class2' => 'row2', 'td_class3' => '', 'fontface1' => '', 'fontface2' => '', 'fontface3' => '', 'fontsize1' => '10', 'fontsize2' => '11', 'fontsize3' => '12', 'fontcolor1' => '', 'fontcolor2' => '18C935', 'fontcolor3' => 'E61A1A', 'span_class1' => '', 'span_class2' => '', 'span_class3' => '', 'img_size_poll' => '0', 'img_size_privmsg' => '0', 'online_color' => '', 'offline_color' => '', 'hidden_color' => ''),
8 => array('themes_id' => '8', 'template_name' => 'ca_aphrodite', 'style_name' => 'Aphrodite Steel Blue', 'head_stylesheet' => 'style_sblue.css', 'body_background' => 'sblue', 'body_bgcolor' => '', 'body_text' => '', 'body_link' => '', 'body_vlink' => '', 'body_alink' => '', 'body_hlink' => '', 'tr_color1' => '', 'tr_color2' => '', 'tr_color3' => '', 'tr_class1' => '', 'tr_class2' => '', 'tr_class3' => '', 'th_color1' => '', 'th_color2' => '', 'th_color3' => '', 'th_class1' => '', 'th_class2' => '', 'th_class3' => '', 'td_color1' => '', 'td_color2' => '', 'td_color3' => '', 'td_class1' => 'row1', 'td_class2' => 'row2', 'td_class3' => '', 'fontface1' => '', 'fontface2' => '', 'fontface3' => '', 'fontsize1' => '10', 'fontsize2' => '11', 'fontsize3' => '12', 'fontcolor1' => '', 'fontcolor2' => '3FB753', 'fontcolor3' => 'E87B12', 'span_class1' => '', 'span_class2' => '', 'span_class3' => '', 'img_size_poll' => '0', 'img_size_privmsg' => '0', 'online_color' => '', 'offline_color' => '', 'hidden_color' => ''),
9 => array('themes_id' => '9', 'template_name' => 'ca_aphrodite', 'style_name' => 'Aphrodite Steel Green', 'head_stylesheet' => 'style_sgreen.css', 'body_background' => 'sgreen', 'body_bgcolor' => '', 'body_text' => '', 'body_link' => '', 'body_vlink' => '', 'body_alink' => '', 'body_hlink' => '', 'tr_color1' => '', 'tr_color2' => '', 'tr_color3' => '', 'tr_class1' => '', 'tr_class2' => '', 'tr_class3' => '', 'th_color1' => '', 'th_color2' => '', 'th_color3' => '', 'th_class1' => '', 'th_class2' => '', 'th_class3' => '', 'td_color1' => '', 'td_color2' => '', 'td_color3' => '', 'td_class1' => 'row1', 'td_class2' => 'row2', 'td_class3' => '', 'fontface1' => '', 'fontface2' => '', 'fontface3' => '', 'fontsize1' => '10', 'fontsize2' => '11', 'fontsize3' => '12', 'fontcolor1' => '', 'fontcolor2' => '3FB753', 'fontcolor3' => 'E87B12', 'span_class1' => '', 'span_class2' => '', 'span_class3' => '', 'img_size_poll' => '0', 'img_size_privmsg' => '0', 'online_color' => '', 'offline_color' => '', 'hidden_color' => ''),
10 => array('themes_id' => '10', 'template_name' => 'ca_aphrodite', 'style_name' => 'Aphrodite Violet', 'head_stylesheet' => 'style_violet.css', 'body_background' => 'violet', 'body_bgcolor' => '', 'body_text' => '', 'body_link' => '', 'body_vlink' => '', 'body_alink' => '', 'body_hlink' => '', 'tr_color1' => '', 'tr_color2' => '', 'tr_color3' => '', 'tr_class1' => '', 'tr_class2' => '', 'tr_class3' => '', 'th_color1' => '', 'th_color2' => '', 'th_color3' => '', 'th_class1' => '', 'th_class2' => '', 'th_class3' => '', 'td_color1' => '', 'td_color2' => '', 'td_color3' => '', 'td_class1' => 'row1', 'td_class2' => 'row2', 'td_class3' => '', 'fontface1' => '', 'fontface2' => '', 'fontface3' => '', 'fontsize1' => '10', 'fontsize2' => '11', 'fontsize3' => '12', 'fontcolor1' => '', 'fontcolor2' => '3FB753', 'fontcolor3' => 'E87B12', 'span_class1' => '', 'span_class2' => '', 'span_class3' => '', 'img_size_poll' => '0', 'img_size_privmsg' => '0', 'online_color' => '', 'offline_color' => '', 'hidden_color' => ''),
);<!-- template .//includes/cache_tpls/def_themes_def.tpl end -->
?>


The last line is a error line: <!-- template .//includes/cache_tpls/def_themes_def.tpl end -->

This problem is the same that this:

RSS and GOOGLE sitemap
http://www.phpbb-es.com/foro/viewtopic.php?p=31778#31778

I just apply this solution and the web, rss and sitemap are correct.


OPEN includes/template.PHP
FIND
Code: [Hide] [Select]

/**
* includes file or executes code
*/
function execute($filename, $code, $handle)
{
global $lang, $theme, $board_config;
$template = $theme['template_name'];
global $$template;
$theme_info = &$$template;
if($board_config['xs_add_comments'] && $handle)
{
echo '<!-- template ', $this->files[$handle], ' start -->';
}
if($filename)
{
include($filename);
}
else
{
eval($code);
}
if($board_config['xs_add_comments'] && $handle)
{
echo '<!-- template ', $this->files[$handle], ' end -->';
}
return true;
}

REPLACE WITH
Code: [Hide] [Select]

/**
* includes file or executes code
*/
function execute($filename, $code, $handle)
{
global $lang, $theme, $board_config;
$template = $theme['template_name'];
global $$template;
$theme_info = &$$template;
if($board_config['xs_add_comments'] && $handle)
{
#echo '<!-- template ', $this->files[$handle], ' start -->';
}
if($filename)
{
include($filename);
}
else
{
eval($code);
}
if($board_config['xs_add_comments'] && $handle)
{
#echo '<!-- template ', $this->files[$handle], ' end -->';
}
return true;
}



And replace includes/def_themes.php by the original.


Lucky [ Fri 25 Aug, 2006 16:09 ]
Post subject: Re: Help ! WebSite Doesn't Appear, Blank Page. (Trojan ?)
M740, have you Build 058 installed ? or Build 049 ?

I have Build 049 and I have resolved the blank page problem modifing the functions_categories_hierachy.php and coping def_tree def_themes and def_words original files in the server.

Now the problem is that I have discovered all subforums and subsubforums in a new area "forum restore", all under one of these subforum ... without a sense ... and every time that I try to move these subforums from "forum restored" to under the correct forum and I execute DB Maintance ".... post and topics" I receive error message about category wrong !


m740 [ Fri 25 Aug, 2006 16:13 ]
Post subject: Re: Help ! WebSite Doesn't Appear, Blank Page. (Trojan ?)
Lucky wrote: [View Post]
M740, have you Build 058 installed ? or Build 049 ?

I have Build 049 and I have resolved the blank page problem modifing the functions_categories_hierachy.php and coping def_tree def_themes and def_words original files in the server.

Now the problem is that I have discovered all subforums and subsubforums in a new area "forum restore", all under one of these subforum ... without a sense ... and every time that I try to move these subforums from "forum restored" to under the correct forum and I execute DB Maintance ".... post and topics" I receive error message about category wrong !


058.


Tom [ Sat 26 Aug, 2006 02:43 ]
Post subject: Re: Help ! WebSite Doesn't Appear, Blank Page. (Trojan ?)
Interesting... this might be another bug.


Lucky [ Sat 26 Aug, 2006 13:02 ]
Post subject: Re: Help ! WebSite Doesn't Appear, Blank Page. (Trojan ?)
In my case, I'm sure that what has "blocked" my website viewing a blank page was the file def_tree.php, in fact, I'm able to activate the web site only uploading the original def_tree.php ! without the needing to modify functions_categories_hierarchy.PHP and uploading def_words.php and def_theme.php.

The cause of my problem was been the function "verify posts and topics" in Maintenance DB. It has viewed a not-corrispondece with the category (not valid) for a lot of my forums putting all of them in "forums restored" and after the sending of a message or something like this ... the website has went in blank page !!! Leave at the moment the trojan message of my user when he has linked on internal pages of my web site ... The Problem appear also in a Build 058 !!!

A practical example :

1) Click HERE

2) You can see a Build 058. Enter with the username prova and the password prova

3) There is "Test Category 1" with inside "Test Forum 1" and "Test Forum 2". Try to see the parameters about these two forums, they are normal.

4) Now try to go in ACP / Forum / Sincronization / Test Forum 2 and create a subforum inside

5) Now go to ACP / Maintenance DB / Maintenance DB / Verify tables post and topics and execute it. This verification can generate a message about a problem of category in the subforum that you have generated (?) and have put it inside a new category with the name "Forums Restored".

6) Going to ACP / Forum / Management and after also in ACP / Forum / Sincronization seems that nothing is chaged and the "Forums Restored" doesn't wxist !!! It's a ghost ?

7) But when you go to modify the name of subforum ... it disappears from his forum "Test Forum 2" and go inside the "Forums Restored" that has appeared.

8 ) Now delete subforum and category "Forums Restored" and try to repeat the before steps controlling the tables phpbb_forum and phpbb_category with the phpbbsqladmin at every step !

Seems to be a strange consideration of value cat_id in table phpbb_forum by the maintenance db function ... or not ?


Lucky [ Sat 26 Aug, 2006 17:19 ]
Post subject: Re: Help ! WebSite Doesn't Appear, Blank Page. (Bug ?)
I have seen in Haks & Mods List of Build 058 there is Category Hierarchy 2.0.4 but in THIS Link I see a new version 2.1.6 ... could be a bug of this MOD that must be updated ? Or is Hacks & Mods List to be not updated ?


Mighty Gorgon [ Sun 27 Aug, 2006 22:33 ]
Post subject: Re: Help ! WebSite Doesn't Appear, Blank Page. (Bug ?)
It's not a bug...

The problem is one or a combination of the following:
  • Wrong CHMOD
  • Overwritten DEF_ files with empty ones
  • Corrupted THEMES table
  • Corrupted Cache


Usually these problems may be solved by:
  • Replacing DEF_ files with fresh ones
  • Applying correct CHMOD permissions
  • Synchronizing FORUMS
  • Uninstalling all styles and install them from scratch
  • Empty the CACHE


There is only one problem... if is the DEF_AUTH being corrupted... then the only solution is to reset the AUTH table. This can happen when upgrading from some old phpBB version with corrupted AUTH table or with some incorrectly deleted users.

This is an Important discussion... I'll move it to Docs section.

Thank you all.


m740 [ Sun 27 Aug, 2006 22:48 ]
Post subject: Respuesta: Blank Pages After Upgrading
Thanks, MG.

In my case I think that the problem is a old files or data in DB of Minerva.


Mighty Gorgon [ Mon 28 Aug, 2006 12:29 ]
Post subject: Re: Blank Pages After Upgrading
m740 wrote: [View Post]
In my case I think that the problem is a old files or data in DB of Minerva.

This demonstrates this one:

Mighty Gorgon wrote: [View Post]
This can happen when upgrading from some old phpBB version with corrupted AUTH table or with some incorrectly deleted users.




Glad you solved anyway...




Powered by Icy Phoenix