vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   I cant see my forums... (https://vborg.vbsupport.ru/showthread.php?t=193470)

R.Solutions 10-12-2008 11:01 PM

I cant see my forums...
 
My forums got hacked which i dont know how they managed to do so by going and editing my template.

So i went into phpmyadmin and deleted it, but now i can even view my forums

www.centexracingscene.com/forums

It just comes up blank, any help please.

thanks

SEOvB 10-12-2008 11:27 PM

You should never make any changes to vBulletin's database with phpmyadmin.

Can you tell us what exactly you did to remove their "hacking job"

Judging from that error you either need to disable plugins with the config.php file edit or reupload the original files.

R.Solutions 10-13-2008 09:37 AM

yes, i just found the template file in phpmhyadmin, and deleted it.

Max Kwiatkowski 10-13-2008 11:11 AM

Try to change the default style forum.
Code:

UPDATE user SET styleid=1
Next you should disable/remove from code all the modifications in relation to the postbit and add them again. To disable all plugins, edit your config.php and add this code right under <?php
Code:

define('DISABLE_HOOKS', true);
... and reupload all script files.

R.Solutions 10-13-2008 04:41 PM

Hmmn okay. I get this error now.


Code:

Parse error: syntax error, unexpected T_STRING in /home/centexra/public_html/forums/index.php(539) : eval()'d code on line 2

Max Kwiatkowski 10-13-2008 09:11 PM

This error means that you have a typo in index.php on or before line 2. You need to find and fix this typo. It's most likely a missing ' or ; somewhere or extra space.

nbaphenom 10-13-2008 11:09 PM

Try reuploading index.php .

R.Solutions 10-14-2008 05:21 PM

Yea, i was going to give that a try.

I'll see if that works.

--------------- Added [DATE]1224010140[/DATE] at [TIME]1224010140[/TIME] ---------------

just reuploaded it and the same thing

nbaphenom 10-14-2008 07:18 PM

Bump hope you get some help =) .

Lynne 10-14-2008 07:50 PM

index.php line 565 is:
eval('print_output("' . fetch_template('FORUMHOME') . '");');

So, it sounds like you have a problem with your template.

I don't understand what all you have done at this point. Are you using a backup database? Was the backup make for the same version of vb that you just uploaded the files for? Did you upload all totally default files that you downloaded from vb.com?


Picking a forum at random, I went to http://www.centexracingscene.com/for...isplay.php?f=5 and can see the page. However, there is no style to the page.

What do you have access to? Can you get into the admin cp?

R.Solutions 10-15-2008 01:16 AM

Yes, i have a template problem, just tried to fix it lol.

Basically, i just tried to upload the index.php file from the same version of vb on the board.

Just the index, nothing else.

And, im the admin for the board, i have access to everything, admin cp, which i can login into.

Please help, thanks a lot.

Lynne 10-15-2008 01:21 AM

Try this - Create a new style with no parent - Styles & Templates > Style Manager > Add New Style > no parent - then browse the site using that totally default vbulletin style - does the site work now?

R.Solutions 10-15-2008 01:25 AM

Okay i did it. but i get this on the index.php page.

Code:

Parse error: syntax error, unexpected T_STRING in /home/centexra/public_html/forums/index.php(565) : eval()'d code on line 2
It did work when i visited the link you posted to one of the forums. so it doesn work.

Lynne 10-15-2008 01:32 AM

OK, at least we have a working style for now.

Now go and edit your config.php file and add this line right under <?php

PHP Code:

define('DISABLE_HOOKS'true); 


R.Solutions 10-15-2008 01:47 AM

strange, i get the same thing.

Lynne 10-15-2008 01:57 AM

You already reuploaded a new index.php page, right? What is on line 565 of that file? And you are still using the default style, correct?

R.Solutions 10-15-2008 02:08 AM

Yes new default style is up. And this is on line 565

if (fetch_online_status($loggedin))
this line --> {

MysCha 10-15-2008 02:11 AM

Parse error: syntax error, unexpected T_STRING in /home/centexra/public_html/forums/index.php(565) : eval()'d code on line 2

new error ?

PHP Code:

<?php
/*======================================================================*\

do u using vbadvanced or portal software ?

R.Solutions 10-15-2008 02:17 AM

No i dont use either.

MysCha 10-15-2008 02:20 AM

ur error message just

Parse error: syntax error, unexpected T_STRING in /home/centexra/public_html/forums/index.php(565) : eval()'d code on line 2

i think have conflict with mods/plugin
if u remember what a latest plugin ur import on forum
delet all file this plugin on ur forum file


and disable all plugin via config.php


if isnt work :D
i dont know more
complicated

R.Solutions 10-15-2008 02:23 AM

if you read above, i've already disable all plugins via config.php

MysCha 10-15-2008 02:24 AM

are u already delet latest plugin file on ur forum ?

R.Solutions 10-15-2008 02:29 AM

okay this is something im sure is really simple which doesnt look like it.

But, this all had to do with a simple template edit i did.

I havent installed a plugin for like 5 months.

Lynne 10-15-2008 03:41 AM

I thought this was all caused because you got hacked? If it was just a template edit, then that would come out of the equation when you installed a new default style because all those templates are default vbulletin ones - they have nothing to do with anything you have done.

Besides reuploading the index.php page, did you also reupload all other files from a new download from vb.com?

If you go into your new style, do you have a template for FORUMHOME?

Also, can you explain more about what you did here :
Quote:

Originally Posted by R.Solutions (Post 1643972)
yes, i just found the template file in phpmhyadmin, and deleted it.


R.Solutions 10-15-2008 03:53 AM

No this has nothing to do with new plugins. Its because i was hacked.

I saw in the phpmyadmin, did a search and saw it was in my template table.

I just deleted it, wasnt thinking.

and in the new style, i do have FORUMHOME.

Dismounted 10-15-2008 06:15 AM

Upload tools.php and run "Import Style from XML", then create a new style with no parent set.

R.Solutions 10-15-2008 08:43 PM

is that all? just upload tools.php. Do i go to that link?

Also, import style, then create a new style okay.

I give it a try.

Dismounted 10-16-2008 04:49 AM

You upload tools.php, open the file and run "Import Style from XML"....

R.Solutions 10-16-2008 06:29 AM

Okay i will do so and update.

Thanks for the help.

--------------- Added [DATE]1224143935[/DATE] at [TIME]1224143935[/TIME] ---------------

I just upgraded my version to the latest and i can now view my forums again.

Thanks yall.


All times are GMT. The time now is 04:54 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01202 seconds
  • Memory Usage 1,775KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (2)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (29)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete