• I thought I was doing the right thing by trying to add “Google Analytics” code in application: application_options.php where it said “You can enter your Google Analytics code in this box.”

    I messed up everything and get a Parse error. i can get back to the editing page via the back button but can’t even get to the dashboard otherwise.

    Does anyone have the original code from that page so I can copy paste and (hopefully) fix it without starting over? Thank you greatly for your help.

Viewing 6 replies - 1 through 6 (of 6 total)
  • are you sure about ‘twenty ten’?

    your site behind your user name shows ‘application’ as the theme:

    http://wordpress.org/extend/themes/application

    one possibility:
    unzip the download, extract the file and ftp it into the same location within the theme files on the server

    other possibility:
    rename the ‘application’ theme folder (using ftp or cpanel) – that should activate the default theme, and allow you back into the dashboard.

    btw: twenty ten does not have any ‘application_options.php’ template.

    Thread Starter Pig N Bull BBQ

    (@pig-n-bull-bbq)

    The app options was in the Dashboard. I DLed that zip and found the exact file and copied it in there but still getting the Parse error…

    Parse error: syntax error, unexpected T_STRING, expecting ‘)’ in /home2/premiuq6/public_html/pignbullbbq/wp-content/themes/application/panel/application_options.php on line 63

    Looking at the code in Notepad it shows exactly how it had originally looked. Not sure why it wouldn’t work?

    Thanks

    Try deleting (or renaming) the wp-content\themes\application directory, and re-uploading a fresh, unmodified copy of the Theme.

    Then, assuming the Theme is working properly again, go to:

    Dashboard -> Appearance -> Theme Options (or however it is named for your given Theme)

    Add your Google Analytics code in the appropriate form field.

    the error could be initiated somewhere far before the error line – have you checked the full code from the first line to the error?

    you can always try and download and upload a fresh copy of that file.

    Thread Starter Pig N Bull BBQ

    (@pig-n-bull-bbq)

    I DLed the file listed above and found the application_options.php file. Opened it with Notepad and it looked exactly as the original code had in that options screen on the Dashboard. I copied it and replaced the entire page but still get the error? Yes, if you haven’t guessed by now, I am very new to this.

    Thanks

    That’s why I recommend that you re-install a fresh copy of the Theme. It is possible that something else, somewhere else, was modified.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘"Twenty Ten" help please’ is closed to new replies.