How did this error occur?
Did you make a change to the theme?
Did you install a new theme or plugin?
Whatever you did last, just un-do it and that should fix it.
Otherwise, try deactivating all of your plugins and then reactivate them one by one.
i edited the wp comfig sample php file
Parse error: syntax error, unexpected $end in /home/a2681243/public_html/wordpress/wp-admin/includes/media.php on line 1185
thats the full thing im starting a new site but already have a theme and a couple of pluigns in the files where they go
If all you did was make change to the wp-config-sample.php file, then I’m guessing you haven’t installed WordPress yet?
Normally that file is edited at the beginning during installation.
I would try to do a manual re-install of WordPress and see if the error goes away.