• vincentleleux

    (@vincentleleux)


    Hello,
    I get an error when I try to login to one of my websites
    (the website is accessible though):

    Parse error: syntax error, unexpected T_STRING …

    First it was in a file in a plugin, so via FTP I changed the name of the plugin folder to deactivate it,
    then it was with another plugin, so I changed the names of the plugins folder altogether,

    it then made the same error with my theme,
    I then changed the name of my theme folder,
    then the page is totally blank

    I restored the database from 10 days ago: still the same
    I uploaded the latest version of wordpress : still the same

    Could you help me?
    I have no idea what was done to the website to make these errors…

    Thanks for your help
    Vincent

Viewing 15 replies - 1 through 15 (of 23 total)
  • esmi

    (@esmi)

    Site url?

    healthable

    (@healthable)

    Are you sure it’s not a plugin problem

    Thread Starter vincentleleux

    (@vincentleleux)

    The url is http://healingcreativity.com/
    the site itself works properly, it’s only the admin that bugs…

    I changed the name of the plugins folder, it seems to me it would deactivate all plugins…

    but then as I said it makes the same error with the themes:

    Parse error: syntax error, unexpected T_STRING in /home4/julietjc/public_html/healingcreativity.com/wp-content/themes/HealingCreativityChildTheme/lib/admin/theme-settings.php on line 457

    esmi

    (@esmi)

    The issue is definitely in your theme. Were did you download it from?

    Thread Starter vincentleleux

    (@vincentleleux)

    I made a child theme from a child theme of genesis.

    It has been working perfectly for such a long time.

    Only modified the sidebar width before this error appeared

    esmi

    (@esmi)

    What happens when you use the parent theme?

    Thread Starter vincentleleux

    (@vincentleleux)

    I tried to deactivate the child theme, but the page is then blank

    esmi

    (@esmi)

    Are you activating the parent theme? Or the default Twenty Twelve theme?

    Thread Starter vincentleleux

    (@vincentleleux)

    How can I activate the theme of my choice since I cannot access the admin, I guess I can do it in phpmyadmin, but some guidance would be appreaciated

    esmi

    (@esmi)

    Try switching to the default theme by renaming your current theme’s folder inside wp-content/themes and adding “-old” to the end of the folder name using FTP or whatever file management application your host provides.

    Thread Starter vincentleleux

    (@vincentleleux)

    I have done that already, and the page is then totally blank

    esmi

    (@esmi)

    Re-upload a fresh, unpacked, copy of the Twenty Twelve folder to wp-content/themes using FTP or whatever file management application your host provides.
    http://ww.wp.xz.cn/extend/themes/twentytwelve

    Thread Starter vincentleleux

    (@vincentleleux)

    I did re-uploaded TwentyTwelve but it doesn’t get better at all.

    pdobariya

    (@pdobariya)

    hi vincentleleux your wp-admin is redirecting to this url http://healingcreativity.com/healingcreativity.com/wp-admin/ after going to healingcreativity.com/wp-admin. it may be problem in siteurl or homeurl

    pdobariya

    (@pdobariya)

    make sure your siteurl and homeurl is correct.

Viewing 15 replies - 1 through 15 (of 23 total)

The topic ‘Can't login in admin: Parse error: syntax error, unexpected T_STRING’ is closed to new replies.