Bitcoin Forum
May 30, 2024, 12:20:25 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Need help. Got answers?  (Read 774 times)
xXBEVOXx (OP)
Full Member
***
Offline Offline

Activity: 266
Merit: 100


https://cryptassist.io


View Profile
October 05, 2014, 11:01:31 PM
Last edit: October 09, 2014, 06:17:58 AM by xXBEVOXx
 #1

I was editing my functions.php file on my site and something went wrong. Now it just brings back a syntax error. See for yourself. Does anyone know how to fix this, as I can no longer access my /wp-admin page.


EDIT: problem solved, thanks to all outs those who offered the great advice.

BaltimoreJoe
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile WWW
October 05, 2014, 11:22:33 PM
 #2

Can you paste 10 lines before and after line 204 of /home/pieceofbit/public_html/wp-content/themes/minamaze/functions.php ?
Anduck
Legendary
*
Offline Offline

Activity: 1511
Merit: 1072


quack


View Profile
October 05, 2014, 11:24:32 PM
 #3

You're probably missing a '$' there.

SpiderLegion
Newbie
*
Offline Offline

Activity: 15
Merit: 0


View Profile
October 06, 2014, 12:12:21 AM
 #4

Yeah we can't really help you with your problems since PHP is server side code.  Paste the lines around 204 and then we'll talk.  In all likelyhood, you probably forget the $ though.
xXBEVOXx (OP)
Full Member
***
Offline Offline

Activity: 266
Merit: 100


https://cryptassist.io


View Profile
October 06, 2014, 12:15:13 AM
 #5

Can you paste 10 lines before and after line 204 of /home/pieceofbit/public_html/wp-content/themes/minamaze/functions.php ?
I don't know how I would edit this. When I try to log in to my admin where I would make these edits, it seems me this error.

BaltimoreJoe
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile WWW
October 06, 2014, 12:44:41 AM
 #6

Can you ssh the server?
Vod
Legendary
*
Offline Offline

Activity: 3724
Merit: 3085


Licking my boob since 1970


View Profile WWW
October 06, 2014, 01:59:03 AM
 #7

Can you paste 10 lines before and after line 204 of /home/pieceofbit/public_html/wp-content/themes/minamaze/functions.php ?
I don't know how I would edit this. When I try to log in to my admin where I would make these edits, it seems me this error.

Open the file in Notepad or some other text editor.  (Assuming you are using Windows)

https://nastyscam.com - landing page up     https://vod.fan - advanced image hosting - coming soonish!
OGNasty has early onset dementia; keep this in mind when discussing his past actions.
BaltimoreJoe
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile WWW
October 06, 2014, 03:37:16 AM
Last edit: October 06, 2014, 05:30:56 PM by BaltimoreJoe
 #8

Run this command on the server to get the context off the error ( lines 194 to 214 ) and past it here

sed -n '194,214p' /home/pieceofbit/public_html/wp-content/themes/minamaze/functions.php

Still see error when you try to log in:  "When I try to log in to my admin where I would make these edits, it seems me this error"?
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!