News:

Wondering if this will always be free?  See why free is better.

Main Menu

i'am not able to Access Themes and Currente

Started by forumnepali, May 04, 2010, 05:59:29 AM

Previous topic - Next topic

forumnepali

i'am getting this Error

Current Them Error

Parse error: syntax error, unexpected T_STRING in /home/forumnep/public_html/Sources/Themes.php on line 2443


Themes and layout Error



Parse error: syntax error, unexpected T_STRING in /home/forumnep/public_html/Sources/Themes.php on line 2443


and my site Also Running Very Slow need your help

CapadY

Is this error with the default theme ?

If not contact the theme author
Please, don't PM me for support unless invited.
If you don't understand this, you will be blacklisted.

forumnepali

Quote from: capady on May 04, 2010, 07:04:00 AM
Is this error with the default theme ?

If not contact the theme author

yes it's default theme

CapadY

Any MOD's ?

If not, try to replace Themes.php with a fresh downloaded version

Or just attach your Themes.php right here.
In my editor line 2443 is an empty line.
Please, don't PM me for support unless invited.
If you don't understand this, you will be blacklisted.

forumnepali


Drakmyr

Avira is giving me a virus alert on that php file.... Could that be the cause of your errors?

forumnepali

Quote from: Drakmyr on May 04, 2010, 11:32:22 AM
Avira is giving me a virus alert on that php file.... Could that be the cause of your errors?

here is my Error  logs in server


[Tue May 04 21:07:29 2010] [error] [client 119.226.163.67] File does not exist: /home/forumnep/public_html/404.shtml, referer: http://forumnepali.com/index.php?action=forum
[Tue May 04 21:07:29 2010] [error] [client 119.226.163.67] File does not exist: /home/forumnep/public_html/undefined, referer: http://forumnepali.com/index.php?action=forum
[Tue May 04 21:03:18 2010] [error] [client 119.226.163.67] File does not exist: /home/forumnep/public_html/404.shtml, referer: http://forumnepali.com/index.php?action=forum
[Tue May 04 21:03:18 2010] [error] [client 119.226.163.67] File does not exist: /home/forumnep/public_html/undefined, referer: http://forumnepali.com/index.php?action=forum
[Tue May 04 21:02:28 2010] [error] [client 119.63.193.56] File does not exist: /home/forumnep/public_html/404.shtml
[Tue May 04 21:02:28 2010] [error] [client 119.63.193.56] File does not exist: /home/forumnep/public_html/robots.txt
[Tue May 04 21:00:24 2010] [error] [client 75.101.193.184] File does not exist: /home/forumnep/public_html/404.shtml
[Tue May 04 21:00:24 2010] [error] [client 75.101.193.184] File does not exist: /home/forumnep/public_html/robots.txt
[Tue May 04 20:58:53 2010] [error] [client 67.218.116.165] File does not exist: /home/forumnep/public_html/404.shtml
[Tue May 04 20:58:53 2010] [error] [client 67.218.116.165] File does not exist: /home/forumnep/public_html/robots.txt
[Tue May 04 20:57:07 2010] [error] [client 119.226.163.67] File does not exist: /home/forumnep/public_html/404.shtml, referer: http://forumnepali.com/index.php?action=forum
[Tue May 04 20:57:07 2010] [error] [client 119.226.163.67] File does not exist: /home/forumnep/public_html/undefined, referer: http://forumnepali.com/index.php?action=forum
[Tue May 04 20:52:45 2010] [error] [client 119.226.163.67] File does not exist: /home/forumnep/public_html/404.shtml, referer: http://forumnepali.com/index.php?action=forum
[Tue May 04 20:52:45 2010] [error] [client 119.226.163.67] File does not exist: /home/forumnep/public_html/undefined, referer: http://forumnepali.com/index.php?action=forum
[Tue May 04 20:51:42 2010] [error] [client 119.226.163.67] File does not exist: /home/forumnep/public_html/404.shtml, referer: http://forumnepali.com/index.php
[Tue May 04 20:51:42 2010] [error] [client 119.226.163.67] File does not exist: /home/forumnep/public_html/adkportal/js/ncode.js, referer: http://forumnepali.com/index.php
[Tue May 04 20:50:56 2010] [error] [client 119.226.163.67] File does not exist: /home/forumnep/public_html/404.shtml, referer: http://forumnepali.com/index.php
[Tue May 04 20:50:56 2010] [error] [client 119.226.163.67] File does not exist: /home/forumnep/public_html/adkportal/js/ncode.js, referer: http://forumnepali.com/index.php
[Tue May 04 20:49:19 2010] [error] [client 119.226.163.67] File does not exist: /home/forumnep/public_html/404.shtml, referer: http://forumnepali.com/index.php?action=forum
[Tue May 04 20:49:19 2010] [error] [client 119.226.163.67] File does not exist: /home/forumnep/public_html/undefined, referer: http://forumnepali.com/index.php?action=forum
[Tue May 04 20:48:19 2010] [error] [client 119.226.163.67] File does not exist: /home/forumnep/public_html/404.shtml, referer: http://forumnepali.com/
[Tue May 04 20:48:19 2010] [error] [client 119.226.163.67] File does not exist: /home/forumnep/public_html/adkportal/js/ncode.js, referer: http://forumnepali.com/
[Tue May 04 20:46:36 2010] [error] [client 67.218.116.134] File does not exist: /home/forumnep/public_html/photo/404.shtml
[Tue May 04 20:46:36 2010] [error] [client 67.218.116.134] File does not exist: /home/forumnep/public_html/photo/robots.txt
[Tue May 04 20:32:02 2010] [error] [client 59.98.192.67] File does not exist: /home/forumnep/public_html/404.shtml
[Tue May 04 20:32:01 2010] [error] [client 59.98.192.67] File does not exist: /home/forumnep/public_html/favicon.ico
[Tue May 04 20:31:51 2010] [error] [client 59.98.192.67] File does not exist: /home/forumnep/public_html/404.shtml, referer: http://forumnepali.com/
[Tue May 04 20:31:51 2010] [error] [client 59.98.192.67] File does not exist: /home/forumnep/public_html/adkportal/js/ncode.js, referer: http://forumnepali.com/
[Tue May 04 20:30:13 2010] [error] [client 59.98.192.65] File does not exist: /home/forumnep/public_html/404.shtml, referer: http://forumnepali.com/
[Tue May 04 20:30:13 2010] [error] [client 59.98.192.65] File does not exist: /home/forumnep/public_html/adkportal/js/ncode.js, referer: http://forumnepali.com/
[Tue May 04 20:29:44 2010] [error] [client 113.199.201.217] File does not exist: /home/forumnep/public_html/photo/404.shtml
[Tue May 04 20:29:44 2010] [error] [client 113.199.201.217] File does not exist: /home/forumnep/public_html/photo/favicon.ico
[Tue May 04 20:29:44 2010] [error] [client 113.199.201.217] File does not exist: /home/forumnep/public_html/photo/404.shtml
[Tue May 04 20:29:44 2010] [error] [client 113.199.201.217] File does not exist: /home/forumnep/public_html/photo/favicon.ico
[Tue May 04 20:28:47 2010] [error] [client 59.98.192.65] File does not exist: /home/forumnep/public_html/404.shtml, referer: http://forumnepali.com/
[Tue May 04 20:28:47 2010] [error] [client 59.98.192.65] File does not exist: /home/forumnep/public_html/adkportal/js/ncode.js, referer: http://forumnepali.com/
[Tue May 04 19:26:11 2010] [error] [client 78.101.110.81] File does not exist: /home/forumnep/public_html/404.shtml
[Tue May 04 19:26:11 2010] [error] [client 78.101.110.81] File does not exist: /home/forumnep/public_html/favicon.ico


and my forum also to slow please help me guys


Antechinus

Quote from: Drakmyr on May 04, 2010, 11:32:22 AM
Avira is giving me a virus alert on that php file.... Could that be the cause of your errors?

Kaspersky gives me a warning on it too. I'd say there might be a hack involved here. Either that or the OP's computer is infected with a trojan.

forumnepali, start by uploading a fresh copy of the file. You can extract one from the SMF installation pack and FTP it into place.

I would also advise checking security on your desktop as you may have picked up something nasty.

CapadY

It's for sure your forum is infected, starting at line 2442 in the Themes.php file.
It is also very convincingly more files are infected.

So, do what  Antechinus says, download a fresh copy and replace this file.

Or even better, make a backup of your database, make a copy of settings.php, remove all files, and do a completely fresh install.
That's the only way to be sure there are no infected files leaved. After the reinstall you can put back the database copy.
Please, don't PM me for support unless invited.
If you don't understand this, you will be blacklisted.

Antechinus

I wouldn't worry about an actual reinstallation yet. A simple file replacement would be a better place to start IMO. :)

Note that your proposed option is functionally identical to a file replacement. If you are going to replace files and create a new db, then restore the existing db to that, you might as well not bother messing with the db.


forumnepali

I have repaired it three times but virus did not deleted. Now I wish to provide you Admin ID & password on
temporay basis so that you can remove the virus completely.Please either reinstall or repair the entire web site.
I am unabble to do all of the things to rectify the fault.
Hope to hear from you.

JBlaze

Yea, you're going to need to clean out Load.php, Subs.php, Subs-Auth.php, Themes.php and any other file that outputs HTML to the footer of your forum.

This hack is from a virus on your computer, which then logs your FTP login via a keylogger, then uses it against you. You will need to clean your computer first before you do anything to your site.
Jason Clemons
Former Team Member 2009 - 2012

forumnepali

Quote from: JBlaze on May 05, 2010, 07:48:11 AM
Yea, you're going to need to clean out Load.php, Subs.php, Subs-Auth.php, Themes.php and any other file that outputs HTML to the footer of your forum.

This hack is from a virus on your computer, which then logs your FTP login via a keylogger, then uses it against you. You will need to clean your computer first before you do anything to your site.

I have fully scanned the system & deleted all virus contents. Now no virus remains.
Now repair or reinstall the web site & resolve my concern.

rd

Reupload all the files that you found the virus on. For better results (if any), you can reinstall the site and restore from backup.

Make sure the virus in your computer is gone and also run a virus scan from your Cpanel on all of your files, just to be in the safe side :) It seems your FTP details have been comprimised... change password.

forumnepali

I have repaired it  tow three times, But virus did not deleted.
i will be share my ftp user name and passowrd  for temporay basis so that you can remove and reupload all  Virus files.
Hope you all guys Understand my bad English

forumnepali

and i'am getting this Error again and again and i contect my host team he said now problem in our end please check you
Application.


There has been a problem with the database!

This is a notice email to let you know that SMF could not connect to the database, contact your host if this continues.

CapadY

Check the parameters for database connectionss in Settings.php (in de forum root)
Please, don't PM me for support unless invited.
If you don't understand this, you will be blacklisted.

forumnepali

Quote from: capady on May 05, 2010, 12:12:47 PM
Check the parameters for database connectionss in Settings.php (in de forum root)



i hve checkd evry think but didin't find anythink need your help any you need ftp access i will provid you.

forumnepali


forumnepali

Quote from: capady on May 05, 2010, 12:12:47 PM
Check the parameters for database connectionss in Settings.php (in de forum root)

my probelm sloved Thank you Capady

Advertisement: