• Resolved lm2940

    (@lm2940)


    Hello Dear Colleagues,
    I am new to wordpress and your help will be highly appreciated: I am experiencing problems trying to upload or see themes available wp-admin/theme-install.php I am having the following error:

    “An unexpected error occurred. Something may be wrong with www.ads-software.com or this server’s configuration. If you continue to have problems, please try the support forums.”

    FQDN for my Website: tolgak.tk
    I am using a DigitalOcean VPS, SSL enabled using Let’s encrypt. I have two websites running on this server Fast-CGI enabled. I get no certification errors trying to connect to website or move in the webpages (its a bit slow tho)
    the link for the other website under same server: trufflex.tk

    I am using a LEMP stack configured. Did not touch config files about the upload limits. This problem seems more like my website cannot establish a connection to www.ads-software.com servers.

    I am not using FTP. (I don’t know if you should install it or not) using SFTP instead for file transfer.

    Please help me, your experience and guidance are highly appreciated.
    Respectfully yours,
    Tolga K.

    • This topic was modified 7 years, 11 months ago by Jan Dembowski.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello,

    LEMP stack is great, i use it for years on one of my server with Ubuntu.
    Then, the issue is, if well setup it’s very closed to any outgoing / incoming data out of the classic web (80) port.

    First, you don’t need to allow automatic updates, you can just work manually, because in WordPress every theme and plugin can be just updated simply by overwrithing files.

    I wrote a huge thing, but i will tell you from experience, if your project is big, work with someone who made at least 5/6 WP sites or many others, a coder/IT guy.

    To allow automatic updates is a project in itself, in AWS i abandoned because AWS servers are not meant to receive any trafic.

    Though, I will work for a great brand soon.

    The official WordPress docs is nice, but don’t for all.

    Hope it helps,

    Thread Starter lm2940

    (@lm2940)

    Thank you very much for your fast and kind reply. So what you basically mean is, as long as my sites work, I can just upload any theme under e.g. /var/www/html/…./themes and ill be doing fine right?

    Now I will try pushing a theme in and try if it can be seen on the list https:…../wp-admin/themes to activate.

    Thank you in advance,
    Sincerely,
    Tolga

    Thread Starter lm2940

    (@lm2940)

    I have pushed an example theme on /html/wp-content/themes and it wasnot present at the list to activate ?? I am making some googling. But if anybody could advise, of course that’d be faster and easier for me ??

    UPDATE: Trying to upload a theme gives out “ERROR 413 Request Entity Too Large”
    Love the community,
    Peace & Merry Christmas to all

    • This reply was modified 7 years, 11 months ago by lm2940.
    Thread Starter lm2940

    (@lm2940)

    This is what I did so far:

    “nginx.conf
    add/increase client_max_body_size in the nginx configuration file http area/section:
    http {
    client_max_body_size 32m;
    (other lines will also be here)
    }

    reference:
    https://wiki.nginx.org/HttpCoreModule#client_max_body_size

    php.ini
    Check and/or increase the following:
    upload_max_filesize = 32M
    post_max_size = 32M

    Optionally increase:
    max_execution_time =300
    max_input_time=300
    memory_limit =128M

    Restart nginx or your server for the changes to take effect after applying changes. The default client_max_body_size is 1 megabyte so most likely your theme is larger than 1 mb and you need to increase it to an amount larger than the size of the theme you are trying to install.

    Otherwise, you could most likely upload your theme by ftp instead if it’s available.

    Additionally you can set the above examples to suit your needs.”

    -digitalocean.com support forums

    Thread Starter lm2940

    (@lm2940)

    UPDATE: Came to the point that I think I have something wrong with the read/write permissions.
    ERRORS: The uploaded file could not be moved to wp-content/uploads/2016/12.
    ERROR: “Unable to Create Directory wp-content/uploads. Is its Parent Directory Writable by the Server”

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Error while trying to see www.ads-software.com themes’ is closed to new replies.