Blank Pages After Upgrading »  Show posts from    to     

Icy Phoenix


Old Docs - Blank Pages After Upgrading



Lucky [ Thu 24 Aug, 2006 10:07 ]
Post subject: Blank Pages After Upgrading
Help !

Yesterday, after the sending of a message on my phpbbxs2 Build 049 website, the website was disappeared.

Now, if you click HERE, you can see that appear only a blank page.

I have also tried to see inside the index.php but it seems to be the same of original file inside the package of Build 049 Full, the only strange thing is that I have tried to upload also the original index.php file on the server and I have seen that the two files have different sizes, my index.php have 8859 Bytes and the original file have approximately 9000 bytes ... but if I rename the my index.php and use the original index.php, the problem doens't change ... I still to have blanck page.

The website can be viewed by ftp and also the db.

The hosting support has confirmed that there is not problem on the server.

Another very strange thing is that I have also received an email from an user because he says to have seen an aller message about a Trojan after the clicking on three links on internal pages.

Help me, please !!!


Lucky [ Thu 24 Aug, 2006 10:28 ]
Post subject: Re: Help ! WebSite Doesn't Appear, Black Page. (Trojan ?)
I have also deleted all the files inside the cache directory.

I have tried another time to call the home page but nothing is changed.

But inside the cache directory are re-appeared the following files after the call of home page :

attach_config.php
sql_149.............php
sql_197.............php
sql_1ac.............php

Why ? It cold be a sign that some codes are been executed when I have typed the home page address ? some thing seems to work ? or not ?


Lucky [ Thu 24 Aug, 2006 11:09 ]
Post subject: Re: Help ! WebSite Doesn't Appear, Black Page. (Trojan ?)
From some weeks I have the CrakerTracker message with 7 attacks.

You can see the log file HERE, could be helpful this information to understand the problem ?


difus [ Thu 24 Aug, 2006 11:14 ]
Post subject: Re: Help ! WebSite Doesn't Appear, Black Page. (Trojan ?)
try it

make copy of your root
then in root replace all your files with original files without install and contrib
leave old config
see result


difus [ Thu 24 Aug, 2006 11:27 ]
Post subject: Re: Help ! WebSite Doesn't Appear, Black Page. (Trojan ?)
and more

go to sql [phpmyadmin]

in database do search ,containing e-mail text

clear it


Lucky [ Thu 24 Aug, 2006 11:57 ]
Post subject: Re: Help ! WebSite Doesn't Appear, Black Page. (Trojan ?)
difus wrote: [View Post]
and more

go to sql [phpmyadmin]

in database do search ,containing e-mail text

clear it


thank you difus for your help.

I don't understand what I need to search.


Lucky [ Thu 24 Aug, 2006 12:03 ]
Post subject: Re: Help ! WebSite Doesn't Appear, Black Page. (Trojan ?)
difus wrote: [View Post]
try it

make copy of your root

Done !
difus wrote: [View Post]

then in root replace all your files with original files without install and contrib

all the original files inside the full package 049 ? and the patches that I have updated before about 049 bugs ? and after this operation can I update to build 058 ?
difus wrote: [View Post]

leave old config
see result


OK !


difus [ Thu 24 Aug, 2006 12:21 ]
Post subject: Re: Help ! WebSite Doesn't Appear, Black Page. (Trojan ?)
Lucky wrote: [View Post]
difus wrote: [View Post]
and more

go to sql [phpmyadmin]

in database do search ,containing e-mail text

clear it


thank you difus for your help.

I don't understand what I need to search.



If your board will sending e-mails about trojan
the text is in your sql tables


difus [ Thu 24 Aug, 2006 12:26 ]
Post subject: Re: Help ! WebSite Doesn't Appear, Black Page. (Trojan ?)
Quote:
all the original files inside the full package 049 ? and the patches that I have updated before about 049 bugs ? and after this operation can I update to build 058 ?


you are doing the test only to find your problem is

root or sql

replace only original full package 049


Lucky [ Thu 24 Aug, 2006 12:53 ]
Post subject: Re: Help ! WebSite Doesn't Appear, Black Page. (Trojan ?)
About the root, I have copied all the files, directories and the DB in a new domain.

I have tried to execute the home page but the blank page appear, it's the same.

Now, I have done as you have suggest, I have copied files and directories of 049 full package without install and contrib directories and without config.php ... but nothing is changed ! I still to have blank page on screen.

About DB I'm not able to search what you have suggest to search, I don't know what is the exacly text that I need to search inside the db. Sorry. . I have tried to type inside the search field the my email address selecting all the tables. The result is anly one corrispondence to phpbb_users table.



m740 [ Thu 24 Aug, 2006 14:53 ]
Post subject: Respuesta: Help ! WebSite Doesn't Appear, Black Page. (Troja
1.

open "includes/functions_categories_hierarchy.PHP"

Find:

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


replace:

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


2.

replace: includes/def_themes.php, includes/def_tree.php, includes/def_words.php by the originals files.

3.

Delete cache files.


Lucky [ Thu 24 Aug, 2006 15:20 ]
Post subject: Re: Help ! WebSite Doesn't Appear, Black Page. (Trojan ?)
GREAT M740 !!!!!!!!!!!!!!!!!!!!!



How you know what I would must do ? Did you have the same problem ?

What was the problem ? A trojan ?

Can I modify the functions_categories_hierarchy.PHP re-changing the codes as was before ? or I need to leave so the codes changed ?


m740 [ Thu 24 Aug, 2006 15:31 ]
Post subject: Re: Help ! WebSite Doesn't Appear, Black Page. (Trojan ?)
Lucky wrote: [View Post]
GREAT M740 !!!!!!!!!!!!!!!!!!!!!



How you know what I would must do ? Did you have the same problem ?

What was the problem ? A trojan ?

Can I modify the functions_categories_hierarchy.PHP re-changing the codes as was before ? or I need to leave so the codes changed ?


I have the same problem.

I don't know what it is the problem

A trojan? No, sure. Is a server or a code problem.


Lucky [ Thu 24 Aug, 2006 15:39 ]
Post subject: Re: Help ! WebSite Doesn't Appear, Black Page. (Trojan ?)
There is a problem ! There is not a lot of subforums ! where are they ? is changed the db ? what's happened ?


Lucky [ Thu 24 Aug, 2006 15:45 ]
Post subject: Re: Help ! WebSite Doesn't Appear, Black Page. (Trojan ?)
I have also found a new forums area with the name "Forums restored" (I'm not sure about the translation from Italian "Forums ripristinati") where there is two subforums ... but all the other forums are disappeared !!!


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