• Resolved MattDeanDrum

    (@mattdeandrum)


    Hi,

    I have been searching forums for about an hour but am giving up and begging for help.

    My site displays correctly but when I log in and try to access admin I get the message, “
    Fatal error: Call to undefined function wp_json_encode() in /home/onlinese/public_html/wp-admin/includes/misc.php on line 668\.”

    I have just recently updated versions and when I tried to restore an old version or back up the new version I get this within cpanel, “The following errors were found : ◾Extracted file /home/onlinese/public_html/wp-content/plugins/simple-share-buttons-adder/images/simplesharebuttons.png does not have the correct file size ‘25476’ (26640 expected). Archive may be corrupted.
    ◾There was some error while unzipping the backup files”

    Following a piece of forum thread advice I went into Phpadmin and deactivated all plugins. I also changes stylesheet and template to default. That didn’t help and actually stopped my site appearing altogether so I reverted to Graphene theme.

    I pretty web influent and in need of a solution explained in layman’s terms but if anyone can help I will be very grateful. Thank you.

Viewing 15 replies - 1 through 15 (of 20 total)
  • Hi, mattdeandrum, & welcome. First, sorry this is happening. 2nd, we really appreciate the detailed explanations you gave, including error msgs–it helps greatly. I wish everyone did that! We could help far more folks far more quickly.

    Looks as though you’ve got a corrupted installation. The error specifically points to misc.php in your wp-admin/includes directory. Perhaps simply reuploading that particular file will work, but my own suggestion is that you consider reuploading WordPress, either via FTP (& hopefully secure FTP) or your hosting control panel, as the odds are that if 1 file is corrupted, others will likely be also.

    Do you know how to do that?

    Thread Starter MattDeanDrum

    (@mattdeandrum)

    Hello Jackie McBride.
    Thanks so much for getting back to me. I’m a novice to say the least so I will do whatever you suggest.

    If I reupload WordPress do I have to start the site from scratch or will it remember all pages, posts, images, etc?

    I don’t think I know how to do it. Is it easy for you to explain in simple steps to me, or is the process explained elsewhere that you could point me to?

    Thanks again for your response.
    Matt

    Matt, first of all, pages, posts, etc., are actually stored in a database as opposed to WordPress files, so your site should be just fine.

    Could you please tell us what operating system you use so we can provide you w/appropriate information?

    Thread Starter MattDeanDrum

    (@mattdeandrum)

    Ok great Jackie McBride. I’m using Windows 7.
    Matt

    Sorry for the delay, Matt. W/Christmas being so close, it’s jus hectic. Every year around this time I wish I could just check out from my life for a week or 2 lol. I’m a pastor’s wife, so perhaps you can imagine.

    The link to download WordPress is:
    http://wordpress.org/wordpress-4.1.zip
    Please *save* the file to your computer in a convenient place where you can easily locate it–unlike my convenient places where I so carefully put stuff never to see it again.

    This zip file is designed to extract WordPress into its own folder called none other than wordpress. However, it appears you’ve installed WordPress into the web root as opposed to a separate folder, so we’re going to have to do some things a bit differently so that the files will be uploaded to the root of your server as opposed to a separate folder.

    Once the file is downloaded, Please right-click it & choose ‘Extract All’ from the popup menu.
    Browse to where you wish to extract the files, i.e., My Documents, & please leave the ‘Show Extracted Files’ box checked. then click the ‘Extract’ button.

    At this point, you’ll see you’re in a folder called wordpress. The actual path, if you extracted it to My Documents, is c:\users\yourusername\my documents\wordpress\wordpress. Please double-click the folder.

    Next, please click ‘Edit > Select All’ (or if you’re like me, just press control a).
    Please next click ‘Edit > Cut’ or press control x.
    Now, please press your backspace key;
    click ‘Edit > Paste’ or control v.

    You can now safely delete the wordpress folder as it’s empty. The new path is my documents\wordpress.

    Now you can either use FTP (hopefully secure FTP) or your hosting control panel file manager. Make certain you’re in your web root folder, i.e., looks like yours is public_html. Choose upload from the options, browse to the wordpress folder on your computer, that you extracted the files to, select it, & go have multiple coffees–it’ll likely take awhile.

    Let’s see if that doesn’t help, & please do let us know, ok? Also, if my instructions weren’t clear (& they might not be–my brain’s mush–don’t hesitate to ask me to clarify.

    Thread Starter MattDeanDrum

    (@mattdeandrum)

    Hi Jackie McBride. Please don’t apologise – I’m incredibly grateful that you’re taking the time to respond.

    I have followed your steps but have become stuck. When I do the upload part it won’t let me upload the folder. It wants to open the folder which has several folders as well as several files within it. I can then just select a single file at a time to upload.

    Am I doing something quite stupid?

    Matt

    What are you using, Mat–an FTP client or the file manager component of your host control panel? We need the information to better assist. Thanks. & thanks for being understanding regarding my hectic life. I know it’s disconcerting when your website doesn’t work, so I’ll try to be as prompt as possible for as long as possible.

    Thread Starter MattDeanDrum

    (@mattdeandrum)

    Hi Jackie. I don’t actually know what an FTP client is or how to use one. I went into my cpanel and into file manager and found the directory that you had mentioned..

    Is that wrong? If so could you point me in the right direction for the FTP client and pls excuse my lack of knowledge!

    Matt

    Matt, I really think at this point you’ll be better off w/an FTP client.

    You can get one from:
    filezilla.org
    or
    winscp.net

    I don’t know whom you host with so I can’t help you set it up for secure FTP. Ports for that are nonstandard–many are 22, some are 2222, & some are something else altogether. Often you can find out by googling hostname secure ftp, where hostname is the name of your hosting provider. Most hosts also have knowledge bases that contain this information, or a call or email to them will almost certainly get you what you want. There are still a few holdouts that don’t support secure FTP–if that’s the case, then my advice is simply get another host.

    No matter which FTP client you get, the interface should be fairly intuitive, i.e., they have typical Windows Explorer panels.

    Once you’ve gotten & installed an FTP client, please let us know which 1, & whether you need help using it.

    Matt, I just reread your last post again & realized I probably should’ve explained a few things to you. Please forgive my oversight. My radiology professor always used to say he made the most mistakes when he was in a hurry. I think he was right.

    FTP stands for “file transfer protocol”. We use it when we want to transfer files, in this case from your computer to your website. Plain FTP occurs on port 21–it’s standard. Secure FTP, which encrypts communications to & from the client & server, is a better choice, & the ports are not standardized. Both Filezilla & WinSCP support secure FTP.

    Please don’t be ashamed about not knowing something. We’re all in that boat about a lot of things. By time we’re done, you’ll have learned a few things about administering your website, & will also have another tool you can use in your webmaster arsenal.

    BTW, you’ll want to download the Filezilla client, not the server, if you choose to go with Filezilla.

    Thread Starter MattDeanDrum

    (@mattdeandrum)

    Hi Jackie,
    Yes you are right that we can’t know everything and it’s good to be learning and increasing knowledge of this web world.

    My host is 5quidhost. I have downloaded filezilla and am trying to connect with it but am having problems. I’ve tried a few different ports and some look more promising than others. But even the ones that say they are connecting seem to immediately say I’m timed out.

    But overall is seems to say can’t connect to server (as seen below in some of the messages I’m seeing within Filezilla.

    Am I doing something wrong?

    Response: fzSftp started
    Command: open “onlinese@ftp.onlinesessiondrum.com” 21
    Error: Connection timed out
    Error: Could not connect to server
    Status: Connecting to http://ftp.onlinesessiondrum.com:8366…
    Response: fzSftp started
    Command: open “onlinese@ftp.onlinesessiondrum.com” 8366
    Error: Connection timed out
    Error: Could not connect to server
    Status: Waiting to retry…
    Status: Connecting to http://ftp.onlinesessiondrum.com:8366…
    Response: fzSftp started
    Command: open “onlinese@ftp.onlinesessiondrum.com” 8366
    Error: Connection timed out
    Error: Could not connect to server
    Status: Selected port usually in use by a different protocol.
    Status: Connecting to http://ftp.onlinesessiondrum.com:21…
    Response: fzSftp started

    Matt, I’m sorry for the delay. It is now Dec. 25, & if you celebrate Christmas, may it be a blessed one for you & yours. If not, may it be a blessed day nonetheless.

    I’m not going to say a lot–I’m runnin around, hoppin’ & fetchin, like my head was on fire & the other end catchin today.

    Your detailed error msgs & explanations of the difficulties you’re experiencing really help, &, no–it’s not anything you’re doing wrong.

    Could you please tell me what security software you have running on your machine? We’re now getting into network connectivity issues, which can be a real bear-&-a-half to troubleshoot. I’ll also be doing some research regarding your host’s settings, but it won’t be till tomorrow.

    Also, do you know if you have or can get shell access on your server? I’ll be looking into that as well. I suspect that might be an unfamiliar term to you.

    Meanwhile, any information you can provide about security programs on your system could prove very beneficial.

    Thread Starter MattDeanDrum

    (@mattdeandrum)

    Hello Jackie, Sorry I’ve been so slow getting back to you. I was side tracked by the usual over indulgence and family activities and was banned from any work related activity until today.

    Thanks again for your response.
    The security software that I have running here is Avast.

    And I’m afraid I don’t know what shell is in the website world.

    So do you think Avast is playing it’s part in this not working?

    Matt, that is entirely possible, but I have 1 more question–aren’t you sick of me & my constant questions yet? I’m so sorry–it’s just there are so many variables here, & when you’re working w/unfamiliar systems & unfamiliar hosting providers, it’s just hard. If everyone hosted w/me, I’d know all the settings, etc., not to speak of being quite monitarily secure. Since it’s far from that, I’ve gotta ask a lot of questions lololol.

    It looks as though you can have shell access w/5quidhost. They don’t have much of a knowledge base, so precisely how to set that up w/them I’m uncertain. They seem to like email exchanges best. Also, I looked at the error message, & it looks like you’re trying to run secure ftp on a port designed for nonsecure communications. You might try changing the port from 21 to 22, if that’s what 5quidhost port is. I actually tried to locate that information w/o success, so you might wish to eamiil them, querying what port they use for secure ftp.

    Meanwhile, is your Avast paid or free? If paid, then it likely comes w/a firewall, which could indeed be interfering w/what we’re trying to do here. If that is in fact the case, sometimes going into the settings & allowing certain programs &/or ports can fix the problem.

    Let’s try a few things:
    Please email 5quidhost & request their secure ftp port. Alternatively, while waiting to hear back from them, you could try port 22.
    In Filezilla, please click ‘edit’, then ‘Network Configuration’. Make sure that ‘Passive Mode’ is enabled.

    If it wasn’t, try reconnecting. If it was, then please return to Filezilla’s Network Configuration & check the button to get an IP address from an external website & try reconnecting again.

    Lastly, I hope you & your family had a wonderful time together & that family bonds were strengthened by the time spent enjoying one another’s company.

    I’ll keep my eye out for any replies from you throughout the day. I feel really bad this is taking so long to resolve–I know it’s really frustrating for you.

    Thread Starter MattDeanDrum

    (@mattdeandrum)

    Hello Jackie, ha, Are you sick of helping me yet? And it’s me that feels bad that I’ve somehow ended up using your time so much this week!

    I’ve emailed 5quidhost and will let you know when they respond.

    I also tried what you suggested in Filezilla. It took me through a network configuration wizard and didn’t seem to work. It always seemed to time out, even though it was only active for several seconds. Does any of this help you?

    IP 81.110.20.138 ib-bba-ca-bdi
    Response: 200 OK
    PREP 58633
    Response: 200 Using port 58633, data token 290283367
    PORT 81,110,20,138,229,9
    Connection timed out.
    Connection closed

Viewing 15 replies - 1 through 15 (of 20 total)
  • The topic ‘Dashboard white screen’ is closed to new replies.