I despaired!!!

This is where youll find security related information.
Discuss Integramod/phpbb security issues here.

Moderator: Integra Moderator

I despaired!!!

PostAuthor: Rabi » Thu Aug 31, 2006 2:41 am

english:

I installed all security patches!

But if I open my URL, I have a blank white Screen. No Error Message.

:ra: http://www.club-search.de habe ich eine weisse Seite ohne Fehlermeldung. Unten im Fenster erscheint nur "Fertig" bzw. "Ready".

Ich habe auf meinem Server nachgesehen, es scheint nichts gelÃÂÂ ¶scht zu sein. Beim betrachten von index.php, portal.php und config.php und .htaccess habe ich nichts erkennen kÃÂÂ ¶nnen, was auf einen Fehler hinweist.

Was kann das sein? Wieso geht nichts mehr?

Kann mir bitte jemand weiterhelfen? / Please can someone help me?
Last edited by Rabi on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

Rabi
Members
Members
 
Posts: 49
Likes: 0 post
Liked in: 0 post
Joined: Mon Apr 24, 2006 1:30 am
Cash on hand: 0.00

PostAuthor: Michaelo » Thu Aug 31, 2006 3:35 am

Undo the edits, check to see if your site works... Then add the edits 'one at a time' and check you site. If the problems comes back, you should know which edit causes the problem...Report back... Pay special attention to the edits for functions.php...

The only time this happened to me I got an edit wrong <img>
Mike
Last edited by Michaelo on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
Kiss Portal Engine phpbbireland (status: Released)
User avatar
Michaelo
Administrator
Administrator
 
Posts: 1646
Likes: 0 post
Liked in: 0 post
Joined: Sat Mar 11, 2006 5:14 pm
Cash on hand: 0.00
Location: Dublin, Ireland

Re: I despaired!!!

PostAuthor: Helter » Thu Aug 31, 2006 3:28 pm

have you added any additional mods to your forum?
Last edited by Helter on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
Always use Protection
Image


Please do not PM for support
User avatar
Helter
Administrator
Administrator
 
Posts: 4168
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat Mar 11, 2006 3:46 pm
Cash on hand: 187.60
Location: Seattle Wa
IntegraMOD version: IM 3

Re: I despaired!!!

PostAuthor: Rabi » Sat Sep 02, 2006 9:01 am

"HelterSkelter";p="14672" wrote:have you added any additional mods to your forum?


Yes,

I added:

Activity Mod
Referral Mod
Smilies Album
Blog Mod
Country Flag (IP)
Cash Mod
Atlas Mod (User Map)
Last edited by Rabi on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

Rabi
Members
Members
 
Posts: 49
Likes: 0 post
Liked in: 0 post
Joined: Mon Apr 24, 2006 1:30 am
Cash on hand: 0.00

Re: I despaired!!!

PostAuthor: Drop-Forged » Sat Sep 02, 2006 11:30 am

I had the problem like many others with my site going blank after upgrade from 1.3.2 to 1.4.0.

My solution until recently was a includes/def_tree.php file with all of the definition calls locked at cmod 644. <img> (might want to upload fresh file, make sure cmod 666, if you edited this file, that could be the problem.)

I ended up loosing that file with the recent site hack, and through some trial, and error figured out that the problem was originating from my auth_access table.

By replacing this table with a fresh one, I fixed the issue on my site.


I wish I could tell you that I knew if you were having the same problem or not, but if you have phpMyAdmin you could find out in about three minutes if you would like to give this solution a whirl.


Log into phpMyAdmin, and select your database.

Click SQL to run a query (Assuming your version is similar to the one I use)

In the query field insert:


Code: Select all
 -- -- Table structure for table `test_auth_access`--  CREATE TABLE `test_auth_access` (   `group_id` mediumint(8) NOT NULL default '0',   `forum_id` smallint(5) unsigned NOT NULL default '0',   `auth_view` tinyint(1) NOT NULL default '0',   `auth_read` tinyint(1) NOT NULL default '0',   `auth_post` tinyint(1) NOT NULL default '0',   `auth_reply` tinyint(1) NOT NULL default '0',   `auth_edit` tinyint(1) NOT NULL default '0',   `auth_delete` tinyint(1) NOT NULL default '0',   `auth_sticky` tinyint(1) NOT NULL default '0',   `auth_announce` tinyint(1) NOT NULL default '0',   `auth_global_announce` tinyint(1) NOT NULL default '0',   `auth_vote` tinyint(1) NOT NULL default '0',   `auth_pollcreate` tinyint(1) NOT NULL default '0',   `auth_attachments` tinyint(1) NOT NULL default '0',   `auth_mod` tinyint(1) NOT NULL default '0',   `auth_download` tinyint(1) NOT NULL default '0',   `auth_news` tinyint(1) NOT NULL default '0',   `auth_cal` tinyint(1) NOT NULL default '0',   `auth_ban` tinyint(1) NOT NULL default '0',   `auth_greencard` tinyint(1) NOT NULL default '0',   `auth_bluecard` tinyint(1) NOT NULL default '0',   `auth_delayedpost` tinyint(4) NOT NULL default '3',   KEY `group_id` (`group_id`),   KEY `forum_id` (`forum_id`)) ENGINE=MyISAM DEFAULT CHARSET=latin1;  -- -- Dumping data for table `test_auth_access`--  INSERT INTO `test_auth_access` (`group_id`, `forum_id`, `auth_view`, `auth_read`, `auth_post`, `auth_reply`, `auth_edit`, `auth_delete`, `auth_sticky`, `auth_announce`, `auth_global_announce`, `auth_vote`, `auth_pollcreate`, `auth_attachments`, `auth_mod`, `auth_download`, `auth_news`, `auth_cal`, `auth_ban`, `auth_greencard`, `auth_bluecard`, `auth_delayedpost`) VALUES (4, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 0, 0, 0, 3);INSERT INTO `test_auth_access` (`group_id`, `forum_id`, `auth_view`, `auth_read`, `auth_post`, `auth_reply`, `auth_edit`, `auth_delete`, `auth_sticky`, `auth_announce`, `auth_global_announce`, `auth_vote`, `auth_pollcreate`, `auth_attachments`, `auth_mod`, `auth_download`, `auth_news`, `auth_cal`, `auth_ban`, `auth_greencard`, `auth_bluecard`, `auth_delayedpost`) VALUES (435, 3, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 0, 0, 0, 3);INSERT INTO `test_auth_access` (`group_id`, `forum_id`, `auth_view`, `auth_read`, `auth_post`, `auth_reply`, `auth_edit`, `auth_delete`, `auth_sticky`, `auth_announce`, `auth_global_announce`, `auth_vote`, `auth_pollcreate`, `auth_attachments`, `auth_mod`, `auth_download`, `auth_news`, `auth_cal`, `auth_ban`, `auth_greencard`, `auth_bluecard`, `auth_delayedpost`) VALUES (298, 3, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 0, 0, 0, 3);INSERT INTO `test_auth_access` (`group_id`, `forum_id`, `auth_view`, `auth_read`, `auth_post`, `auth_reply`, `auth_edit`, `auth_delete`, `auth_sticky`, `auth_announce`, `auth_global_announce`, `auth_vote`, `auth_pollcreate`, `auth_attachments`, `auth_mod`, `auth_download`, `auth_news`, `auth_cal`, `auth_ban`, `auth_greencard`, `auth_bluecard`, `auth_delayedpost`) VALUES (298, 4, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 0, 0, 0, 3);




You can replace test with anything, as long as it doesnt already exist in your database.



Then open includes/constants.php (keep a backup of original)

Find


Code: Select all
define('AUTH_ACCESS_TABLE', $table_prefix.'auth_access');



and replace with


Code: Select all
define('AUTH_ACCESS_TABLE', 'test_auth_access');



(if you changed test in database change it here too)


save and upload.



Now if this fixes the problem, you will need to re-distribute any permissions that you may have given out, except to Admins.


If it doesnt work, re-upload original constants.php, and if you like drop the test_auth_access tables in database that you inserted.
Last edited by Drop-Forged on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
[url=http][img=left]http://www.christiansoldiers.com/Sig/sig.png[/img][/url]
[url=http]Free IntegraMod 141 Themes at webhutch.net[/url]

Drop-Forged
Integra Member
Integra Member
 
Posts: 167
Likes: 0 post
Liked in: 0 post
Joined: Sat Apr 08, 2006 7:07 pm
Cash on hand: 0.00

Re: I despaired!!!

PostAuthor: Rabi » Thu Sep 07, 2006 1:21 am

I give up! <img>

I tried everything. Nothing helps!

I made this:

"Fubie";p="14973" wrote:I tried this http://integramod.com/forum/viewtopic.php?t=1979 on a backed up IM140 phpbb2.0.17 forum and it worked very well. The forum updated to IM 1.40 phpbb 2.0.21 with Rev5 update patches.


But I always get a white page, if I adjust something in the ACP.

I continue to point no longer…

I love integramod, but I must probably look around after alternative.

I am very sad, because I invested much work into my Website.
Last edited by Rabi on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

Rabi
Members
Members
 
Posts: 49
Likes: 0 post
Liked in: 0 post
Joined: Mon Apr 24, 2006 1:30 am
Cash on hand: 0.00

PostAuthor: Michaelo » Thu Sep 07, 2006 3:17 am

Rabi, your problem is probably related to one of the additional mods you have installed. You should check the install procedures for all of these and see if they modify functions.php or functions_portal.php and if so you will need to install the additional edits....

Your added Mods...
Activity Mod
Referral Mod
Smilies Album
Blog Mod
Country Flag (IP)
Cash Mod
Atlas Mod (User Map)

From the current error on your site I can tell your the functions.php file is not correct... Do you have a copy of this file prior to the site being hacked? If so, zip it up and post a link here...
Mike
Last edited by Michaelo on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
Kiss Portal Engine phpbbireland (status: Released)
User avatar
Michaelo
Administrator
Administrator
 
Posts: 1646
Likes: 0 post
Liked in: 0 post
Joined: Sat Mar 11, 2006 5:14 pm
Cash on hand: 0.00
Location: Dublin, Ireland

Re: I despaired!!!

PostAuthor: Rabi » Thu Sep 07, 2006 11:04 am

Thanks Mike.

Here my functions.php (before crashed)! <img>

[url=http]functions.zip[/url]
Last edited by Rabi on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

Rabi
Members
Members
 
Posts: 49
Likes: 0 post
Liked in: 0 post
Joined: Mon Apr 24, 2006 1:30 am
Cash on hand: 0.00

PostAuthor: Michaelo » Thu Sep 07, 2006 8:35 pm

Rabi, will have a look and get back to you. <img>

Try this file now... some updates but you may require others to more files...

Mike
Attachments
functions.rar
Rabi only...
Functions_Updated
(17.87 KiB) Downloaded 217 times
Last edited by Michaelo on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
Kiss Portal Engine phpbbireland (status: Released)
User avatar
Michaelo
Administrator
Administrator
 
Posts: 1646
Likes: 0 post
Liked in: 0 post
Joined: Sat Mar 11, 2006 5:14 pm
Cash on hand: 0.00
Location: Dublin, Ireland

Re: I despaired!!!

PostAuthor: Rabi » Thu Sep 07, 2006 11:21 pm

Thanks Mike...

I get however the following error message.

phpBB : Critical Error

Could not get theme data for themes_id [2]
Last edited by Rabi on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

Rabi
Members
Members
 
Posts: 49
Likes: 0 post
Liked in: 0 post
Joined: Mon Apr 24, 2006 1:30 am
Cash on hand: 0.00

PostAuthor: Michaelo » Thu Sep 07, 2006 11:59 pm

OK... What or how many themes have you installed...
Last edited by Michaelo on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
Kiss Portal Engine phpbbireland (status: Released)
User avatar
Michaelo
Administrator
Administrator
 
Posts: 1646
Likes: 0 post
Liked in: 0 post
Joined: Sat Mar 11, 2006 5:14 pm
Cash on hand: 0.00
Location: Dublin, Ireland

PostAuthor: Rabi » Fri Sep 08, 2006 1:47 am

"Michaelo";p="15101" wrote:OK... What or how many themes have you installed...


I installed only one Theme (fisubice)!
Last edited by Rabi on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

Rabi
Members
Members
 
Posts: 49
Likes: 0 post
Liked in: 0 post
Joined: Mon Apr 24, 2006 1:30 am
Cash on hand: 0.00

Re: I despaired!!!

PostAuthor: IntegraMOD » Fri Sep 08, 2006 3:07 pm

Try this. (HAVE A BACKUP FIRST)

Goto your phpmyadmin and look in your IM database for phpbb_themes see what themes are in there they will be numbered 1, 2 and so on.

As you say you have only the default theme installed it should show only number 1 with fisubice next to it. If not make a note of that number.

Then goto phpbb_config and look for default style change this to the number in yoru phpbb_themes shoulb be 1.

Then you need to look for overide users style and set that to a 1
Last edited by IntegraMOD on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
Image
Please do not PM for support
User avatar
IntegraMOD
Administrator
Administrator
 
Posts: 459
Likes: 0 post
Liked in: 0 post
Joined: Sat Mar 11, 2006 3:46 pm
Cash on hand: 0.00
Bank: 100.00
Location: Seattle Wa

PostAuthor: Michaelo » Fri Sep 08, 2006 9:22 pm

Delete you cookies.... they store references to older themes... This is an old one...

Could not get theme data for themes_id [2]

The only way your system can try to set theme ID to 2 is if you had a theme installed with ID 2 at some point in the past and a cookie (which saves theme id numbers) still exists...

Mike
Last edited by Michaelo on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
Kiss Portal Engine phpbbireland (status: Released)
User avatar
Michaelo
Administrator
Administrator
 
Posts: 1646
Likes: 0 post
Liked in: 0 post
Joined: Sat Mar 11, 2006 5:14 pm
Cash on hand: 0.00
Location: Dublin, Ireland

Re: I despaired!!!

PostAuthor: Rabi » Mon Sep 11, 2006 2:46 am

OK....

In phpmyadmin I found this:

phpBB_themes:

themes_id template_name style_name head_stylesheet

2 fisubice FI Subice fisubice.css

1 fisubice FI Subice fisubice.css

3 fisubice FI Subice Grey fisub_grey.css

4 fisubice FI Subice Orange fisub_orange.css


In phpBB_config I change the default_style from 2 to 1.

Now, I don`t have a error message.

But, I have the same Problem, if I work in ACP! If I make some changes and klick on submit, I get the "white Page".
Last edited by Rabi on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

Rabi
Members
Members
 
Posts: 49
Likes: 0 post
Liked in: 0 post
Joined: Mon Apr 24, 2006 1:30 am
Cash on hand: 0.00

Next

Return to Forum Security

Who is online

Registered users: Bing [Bot], Helter, Majestic-12 [Bot]