Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 15 of 15
  1. #1
    New Coder
    Join Date
    Sep 2013
    Posts
    29
    Thanks
    1
    Thanked 1 Time in 1 Post

    Parse error/syntax error after uploading purchased theme?

    Hi,

    I just purchased and uploaded a new theme from Smthemes.com, and now I can't access my theme or even my Wordpress administration panel!? Every time I try to go to my Wordpress account or my website it gives me the message
    " Parse error: syntax error, unexpected $end in /home4/ivy/public_html/wp-content/themes/mymemories/inc/library.php on line 78"

    I emailed support and he sent me the message "For quick fix I can suggest you to replace your theme files with files of activated theme. In this case don't need to activate the theme through admin panel. You can replace only files in folders inc, and js, and bottom.php to save your changes in the theme. However I would suggest you to make a backup before replacing files. If you are satisfied with this solution you can find an archive of the activated theme in the attachment to the letter. Sorry for inconvenience."

    The problem is I can't replace the old theme file with the newly activated one, because I can't access my Wordpress Administration panel

    I would be sooooo grateful to anyone who can help me with this!

  • #2
    Regular Coder
    Join Date
    Mar 2013
    Posts
    262
    Thanks
    4
    Thanked 67 Times in 67 Posts
    Not sure what that support email is trying to say. Lol.

    Anyway, do you have access to your cpanel or database...possibly through phpmyadmin?
    My signature :)

  • #3
    Senior Coder
    Join Date
    Sep 2010
    Posts
    2,187
    Thanks
    15
    Thanked 253 Times in 253 Posts
    Do you not have an FTP client and know how to use it ? Many people use Filezilla, I use the Firefox addon FireFTP, both excellent clients. I very rarely use use any control panel. Find out what your FTP password and username are for the account, or sign up for an FTP account at your site, install a client, then you can access your files.
    Welcome to http://www.myphotowizard.net

    where you can edit images, make a photo calendar, add text to images, and do much more.


    When you know what you're doing it's called Engineering, when you don't know, it's called Research and Development. And you can always charge more for Research and Development.

  • #4
    Master Coder
    Join Date
    Jun 2003
    Location
    Cottage Grove, Minnesota
    Posts
    9,509
    Thanks
    8
    Thanked 1,090 Times in 1,081 Posts
    When you first started this, was your wordpress website working perfectly using the default theme that comes with wordpress?

  • #5
    Senior Coder
    Join Date
    Apr 2010
    Posts
    1,467
    Thanks
    71
    Thanked 104 Times in 103 Posts
    Sounds like a missing closing bracket
    Been a sign maker for 7 years. My business:
    American Made Signs

  • #6
    New Coder
    Join Date
    Sep 2013
    Posts
    29
    Thanks
    1
    Thanked 1 Time in 1 Post
    Thank you all for your responses! So much better than Smthemes lousy confusing advice

    Yes, my site was working perfectly with the free version of the theme I purchased, but showed the message and stopped working immediately after I entered the activation key. I don't know if this is relevant, but the only difference between the free version of this theme and the purchased version is that it removes the footer links in the free version.

    I don't have an FTP client? Will that allow me to access my themes code even though I can't access my WordPress administration panel?

    I do have access to my cPanel account through Hostgator? Can I access the code of my theme through that?

    This is my first ever site, so I am definitely new to all of this, but I'm hoping to figure it all out soon!

    Thanks guys for all the help

  • #7
    New Coder
    Join Date
    Sep 2013
    Posts
    29
    Thanks
    1
    Thanked 1 Time in 1 Post

    Update

    Ok, I tried creating an FTP client through my Hostgator account, but every time I try to open the file I get the message

    "XML Parsing Error: XML declaration not well-formed
    Location: file:///C:/Users/CHANTE~1/AppData/Local/Temp/Secure%20Ftp%20ivy@throughtheivy.com-1.xml
    Line Number 1, Column 50:<?xml version="1.0" encoding="UTF-8" standalone="true"?>
    -------------------------------------------------^"

    So I'm thinking that it probably can't access the site because of the stupid coding error in the theme Isn't this why you buy themes, and not create them yourself??? so you don't have to go through this crap *fumes*

  • #8
    Master Coder
    Join Date
    Jun 2003
    Location
    Cottage Grove, Minnesota
    Posts
    9,509
    Thanks
    8
    Thanked 1,090 Times in 1,081 Posts
    Download filezilla, which is free, and let us know if you can see your website files when you access your website via FTP.

    With filezilla, you will need to enter ftp info ...
    Host
    username
    Password

    Those are setup with your control panel 'ftp users'

    Google filezilla to get the official download of the filezilla ftp client.

    Let us know when or if you get that far.

  • #9
    New Coder
    Join Date
    Sep 2013
    Posts
    29
    Thanks
    1
    Thanked 1 Time in 1 Post
    ok I downloaded Filezilla, and then filled in the server address(192.185.52.227), port(14147) , and the administration password I use for my Hostgator cPanel, and it says connecting... unable to connect. Not sure if I'm doing something wrong, or if it's because the theme is all screwed up???

  • #10
    New Coder
    Join Date
    Sep 2013
    Posts
    29
    Thanks
    1
    Thanked 1 Time in 1 Post
    I also tried using different ports (22,21) as well as different passwords to see if I was just putting in the wrong information, and it still won't work.

  • #11
    New Coder
    Join Date
    Sep 2013
    Posts
    29
    Thanks
    1
    Thanked 1 Time in 1 Post
    I uninstalled WordPress, thinking it might just be able to start from scratch, and tried to re-upload it but it says that it already exists even though I uninstalled it. I don't mind starting from scratch if it will solve this, but I just can't figure out how???

  • #12
    Regular Coder
    Join Date
    Mar 2013
    Posts
    262
    Thanks
    4
    Thanked 67 Times in 67 Posts
    You didn't need to start from scratch. You can just log into your cpanel, go to file manager, locate the theme that's causing the problem, and delete that folder. Deleting the folder will remove that theme and WordPress will default back to whatever the default theme is.

    You can do the same by using filezilla. When filling out the login credentials, this will usually work.

    Host = yourdomain.com
    User = Username
    Pass = Password

    Leave port empty.
    My signature :)

  • Users who have thanked ttkim for this post:

    Throughtheivy (09-24-2013)

  • #13
    New Coder
    Join Date
    Sep 2013
    Posts
    29
    Thanks
    1
    Thanked 1 Time in 1 Post
    Oh thank you so much! I really wish someone would have just told me to do that to begin with!! Much thanks to you kind sir

    The only problem now is that I can't get WordPress back on my site?? When I try to re-upload it, it says that the files are already present. But when I go to my site its just some generic Hostgator page??

  • #14
    New Coder
    Join Date
    Sep 2013
    Posts
    29
    Thanks
    1
    Thanked 1 Time in 1 Post

    Resolved

    Thank you so much everyone for all of your advice, and thank you TTkim for helping me to finally resolve the issue! It would have saved alot of hassle if I had just done what you said to begin with LOL

    I ended up deleting all of my WordPress files, (didn't have much on them anyways) as well as the broken theme through my cPanel and re-uploading WordPress with the fixed theme So it's all good now!

  • #15
    Master Coder
    Join Date
    Jun 2003
    Location
    Cottage Grove, Minnesota
    Posts
    9,509
    Thanks
    8
    Thanked 1,090 Times in 1,081 Posts
    And look again at filezilla. That is the best FTP client to use for dealing with website files/folders. It opens your PC harddrive on the left, and your website files on the right. You then drag them back and forth to move/copy files. Then you can use Notepad++ (also free) to edit files easily.


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •