Title: Site Error After Code Edit
Last modified: August 22, 2016

---

# Site Error After Code Edit

 *  [gareth.milne](https://wordpress.org/support/users/garethmilne/)
 * (@garethmilne)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/site-error-after-code-edit/)
 * Hi guys,
 * I was following this tip on this page [http://wordpress.org/support/topic/change-positon-of-flags-in-header](http://wordpress.org/support/topic/change-positon-of-flags-in-header)
   
   to change the size of my multilingual flags but now my site won’t load and I 
   can’t login to wordpress.
 * The last thing I did was follow this advice:
 * “I also changed the following line in the qtranslate_hooks.php file
    to have 
   a nicer appearance
 * “.qtrans_flag { height:12px; width:18px; min-height:12px; min-width:18px; display:
   inline-block }\n”; “
 * and after changing the that I updated and my site didn’t work. So I pasted the
   original code back into the php. and now my site won’t load at all and i can’t
   access the dashboard.
 * My page is [http://www.englishtarragona.com](http://www.englishtarragona.com)
   
   Any advice or help would be greatly appreciated.
 * Thanks in advance.
 * Gareth

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

 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/site-error-after-code-edit/#post-5279647)
 * Try [manually resetting your plugins](http://codex.wordpress.org/FAQ_Troubleshooting#How_to_deactivate_all_plugins_when_not_able_to_access_the_administrative_menus.3F).
   You should be able to access your site after that, so re-activate all of your
   plugins except qTranslate and then post to [http://wordpress.org/support/plugin/qtranslate](http://wordpress.org/support/plugin/qtranslate)
   for assistance with the problem.
 *  Thread Starter [gareth.milne](https://wordpress.org/support/users/garethmilne/)
 * (@garethmilne)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/site-error-after-code-edit/#post-5279718)
 * Hi MacManX,
 * Thanks for the reply.
 * Unfortunately I can’t even access dashboard anymore.
 * Any other suggestions?
 * Cheers,
 * Gareth
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/site-error-after-code-edit/#post-5279743)
 * Right, follow the guide linked to above, no Dashboard access required.

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

The topic ‘Site Error After Code Edit’ is closed to new replies.

## Tags

 * [site error](https://wordpress.org/support/topic-tag/site-error/)

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 3 replies
 * 2 participants
 * Last reply from: [James Huff](https://wordpress.org/support/users/macmanx/)
 * Last activity: [11 years, 9 months ago](https://wordpress.org/support/topic/site-error-after-code-edit/#post-5279743)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
