[resolved] Site crashed after adding wrong code to a php file (3 posts)

  1. BullysPub
    Posted 1 year ago #

    I was trying to fix errors to my site made by a previous person editing it and mis-added a code to one of my php files.

    I now get this :

    add_action('after_setup_theme', 'Bullys'); function bullys(){ load_theme_textdomain('bullys', get_template_directory() . '/languages'); }
    Parse error: syntax error, unexpected ',' in /home/content/23/8260323/html/bullys/wp-content/themes/bordeaux/functions/bordeaux_menu.php on line 22

    everytime I try to log in the site or visit the webpage its just a white page with that error.

    Ive tried to ftp with filezilla and I keep getting a 530 Login authentication failed.

    my webpage is bullyspub.com
    so I assume my host would be http://ftp.bullyspub.com
    my user name and pass are correct.
    Any help would be greatly appreciated.. Still a bit wet behind the ears and would like to get this site back up and running!!


  2. You will need to fix the file with the parse error using ftp or your hosting panel file editor if available. You will need to contact your host for specific instructions on how to log in to ftp or if you can log in to your hosting panel it should have instructions.

    It looks like your ftp url would just be ftp://bullyspub.com which gives a username password dialog using a browser. Try using that as the url in filezilla and see what happens.

  3. BullysPub
    Posted 1 year ago #

    Thanks for answering!
    I tried to log in and im still getting 530 code.
    I'm pretty sure we are just hosted through wordpress. we have a yahoo domain but there are no tools on there for logging in :(

Topic Closed

This topic has been closed to new replies.

About this Topic