|
Page 3 of 3
|
m740 
Joined: August 2006
Posts: 84
Location:  Mollet del Valles, Catalonia, Spain
|
 Re: Help ! WebSite Doesn't Appear, Blank Page. (Trojan ?)
What errors do you get with the regular code?
No errors, only blank page.
____________ www.todoPVR.com IP 2.0.0.86 DVB-T PVR's
|
#31 Fri 25 Aug, 2006 15:25 |
|
Sponsors

|
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.
|
|
Tom 
Joined: August 2006
Posts: 230
Location:  Dresden
|
 Re: Help ! WebSite Doesn't Appear, Blank Page. (Trojan ?)
Weird.
Do you have a screenshot of the file permissions?
Do you use PHP5?
____________ No support via PM or E-Mail!
FAP 3, yeah baby, yeah!
|
#32 Fri 25 Aug, 2006 15:27 |
|
m740 
Joined: August 2006
Posts: 84
Location:  Mollet del Valles, Catalonia, Spain
|
 Respuesta: Help ! WebSite Doesn't Appear, Blank Page. (Troja
The problem is the following:
This is the code off def_themes.php generated in my Web:
<?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
/**
* 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
/**
* 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.
____________ www.todoPVR.com IP 2.0.0.86 DVB-T PVR's
|
#33 Fri 25 Aug, 2006 15:53 |
|
Lucky 
Joined: August 2006
Posts: 106
|
 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 !
|
#34 Fri 25 Aug, 2006 16:09 |
|
m740 
Joined: August 2006
Posts: 84
Location:  Mollet del Valles, Catalonia, Spain
|
 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 !
058.
____________ www.todoPVR.com IP 2.0.0.86 DVB-T PVR's
|
#35 Fri 25 Aug, 2006 16:13 |
|
Tom 
Joined: August 2006
Posts: 230
Location:  Dresden
|
 Re: Help ! WebSite Doesn't Appear, Blank Page. (Trojan ?)
Interesting... this might be another bug.
____________ No support via PM or E-Mail!
FAP 3, yeah baby, yeah!
|
#36 Sat 26 Aug, 2006 02:43 |
|
Lucky 
Joined: August 2006
Posts: 106
|
 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 ?
|
#37 Sat 26 Aug, 2006 13:02 |
|
Lucky 
Joined: August 2006
Posts: 106
|
 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 ?
|
#38 Sat 26 Aug, 2006 17:19 |
|
Mighty Gorgon 
Luca Libralato
Joined: August 2006
Posts: 7192
Location:  Borgo San Michele
|
 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.
____________ Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
|
#39 Sun 27 Aug, 2006 22:33 |
|
m740 
Joined: August 2006
Posts: 84
Location:  Mollet del Valles, Catalonia, Spain
|
 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.
____________ www.todoPVR.com IP 2.0.0.86 DVB-T PVR's
|
#40 Sun 27 Aug, 2006 22:48 |
|
Mighty Gorgon 
Luca Libralato
Joined: August 2006
Posts: 7192
Location:  Borgo San Michele
|
 Re: Blank Pages After Upgrading
In my case I think that the problem is a old files or data in DB of Minerva.
This demonstrates this one:
This can happen when upgrading from some old phpBB version with corrupted AUTH table or with some incorrectly deleted users.
Glad you solved anyway...
____________ Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
|
#41 Mon 28 Aug, 2006 12:29 |
|
|
Page 3 of 3
|
Was this topic useful?
Was this topic useful?
Link this topic |
URL |
|
BBCode |
|
HTML |
|
You cannot post new topics You cannot reply to topics You cannot edit your posts You cannot delete your posts You cannot vote in polls You cannot attach files You can download files You cannot post calendar events
|
|
|
|