WordPress.org

Ready to get started?Download WordPress

Forums

Wont let me upload pdf file or HTML file (19 posts)

  1. Actorjohnking
    Member
    Posted 1 year ago #

    I'm a actor and I was trying to upload my Resume and my "Resume" page that I created, it was working fine before but then out of no where it just stopped showing up and now whenever I try to upload anything it just says

    Catchable fatal error: Object of class WP_Error could not be converted to string in /home/johnking/public_html/wp-content/themes/responsive/includes/functions.php on line 388

    Listen I'm new to this whole website creating thing so I don't know what went wrong, can someone please help me with this problem.

  2. Andrew Nevins
    Barrel Rider, Spam Zapper & Volunteer Moderator
    Posted 1 year ago #

    Can you just re-download & upload the theme again?

  3. Actorjohnking
    Member
    Posted 1 year ago #

    Yea probably but won't I lose all my content? I created an entire bio, custom widgets, picture galleries, it took alot of time, and I don't want to upload the theme again then have to start over.

  4. Andrew Nevins
    Barrel Rider, Spam Zapper & Volunteer Moderator
    Posted 1 year ago #

    You won't lose your content because you made changes in a Child Theme; an external directory that inherits the functionality of your theme, rather than changing the theme's files.

  5. Actorjohnking
    Member
    Posted 1 year ago #

    Oh ok I'll try re-uploading the responsive theme now and see if it works, thanks.

  6. Allen Moore
    Member
    Posted 1 year ago #

    John, you shouldn't lose the content as it is stored in the database. If you are worried about losing that info, you could always backup your database first. Most hosting companies provide a way to do so in their control panel.

    You could also navigate to Tools>Export from the Dashboard and export an xml file of your website.

    Did you recently upgrade to WP 3.5? There could be an issue with the Responsive Theme and WP 3.5.

  7. Actorjohnking
    Member
    Posted 1 year ago #

    I don't know how to re-upload the same theme, I went to Dashboard>Appearances>Themes and when I typed in Responsive it said already installed. Also yes I always update, I thought it was a good thing, but I've been having a problem uploading files since 2 updates ago, it only shows pictures in my media files when I click "View"

  8. Allen Moore
    Member
    Posted 1 year ago #

    John, you could re-upload using FTP. Manually download the theme from http://wordpress.org/extend/themes/responsive. Once you have done that, upload it using FTP to wp-content>themes.

    If you are not sure how to use FTP for your hosting, consult their documentation.

  9. Actorjohnking
    Member
    Posted 1 year ago #

    Ok I clicked on that link I download the zip folder then tried to upload the zip folder and it said...

    Unpacking the package…

    Installing the theme…

    Destination folder already exists. /home/johnking/public_html/wp-content/themes/responsive/

    Theme install failed.

  10. Allen Moore
    Member
    Posted 1 year ago #

    John. Do you have FTP access? That's going to be your best option here.

  11. Actorjohnking
    Member
    Posted 1 year ago #

    I don't know what FTP access means, I'm new to this whole thing, my hosting is Hostgator.

  12. Allen Moore
    Member
    Posted 1 year ago #

  13. Allen Moore
    Member
    Posted 1 year ago #

    FileZilla is a great free FTP client.

    http://filezilla-project.org/

  14. Actorjohnking
    Member
    Posted 1 year ago #

    Ok I'll try thanks

  15. Actorjohnking
    Member
    Posted 1 year ago #

    Ok I did everything I can and even did a live chat with some from Hostgator. And all we been able to discover is that it's the responsive theme that has all the problems. I activated another theme, then uploaded my PDF file and it was viewable and everything was working fine, then I left it that way and then activated the responsive them again and it didn't work, I got the same error message as before. I even deleted the responsive theme off my wordpress, then I re-uploaded it then activated it and nothing worked. So my only options now is to contact the theme's owner or change my theme. Which I don't wanna do because I like the responsive theme. Smh I thought creating a website on WordPress was suppose to be simple.

  16. Andrew Nevins
    Barrel Rider, Spam Zapper & Volunteer Moderator
    Posted 1 year ago #

    I would post a topic on this in Responsive theme's forums http://themeid.com/forum/

  17. Allen Moore
    Member
    Posted 1 year ago #

    I agree with Andrew on that. If there is a bug, they need to know about it. The Responsive theme is widely used.

  18. Actorjohnking
    Member
    Posted 1 year ago #

    I just did that. Thank you guys for all your help I really appreciate it. I will post in here if this problem gets resolved so if anyone else is having this problem they will know what to do.

  19. Emil Uzelac
    Theme Review Admin
    Posted 1 year ago #

    Hi @Actorjohnking,

    First the error:

    Catchable fatal error: Object of class WP_Error could not be converted to string in /home/johnking/public_html/wp-content/themes/responsive/includes/functions.php on line 388

    On the line 388 seems like the breadcrumb lists are modified. Please note that Themes should not be edited directly, WordPress recommends a Child Theme and if needed we have a sample here:

    Second error:

    Destination folder already exists. /home/johnking/public_html/wp-content/themes/responsive/

    That means that Theme is still installed and already exist in your directory, to override you will need to delete Responsive completely.

    As far as the PDF or HTML I cannot reproduce and they work as usual, please see my demo test here: http://themeid.com/demo/test/2013/01/02/pdf-test/ this is basic PDF upload via "Add Media" button.

    If there's anything else please let me know and I will do my best to assist as much as I know and can. And we can continue on http://themeid.com/forum/ if the question was posted there as well :)

    Happy New Year!
    Emil

Topic Closed

This topic has been closed to new replies.

About this Topic