WordPress Media Library not refreshing with new upload

when we upload a file to the Media Library at
https://OurSite.org/wp-admin/upload.php the file doesn’t show up onscreen immediately. It looks like nothing has happened. But when we refresh the browser, the file appears.

We thought perhaps this was a SiteGround caching issue, so added wp-admin/ to the exclusion list and used the Supercacher testing tool to confirm that
https://OurSite.org/wp-admin/upload.php was now excluded.

We also purged the SiteGround cache, but still the Media Library does not dynamically refresh when uploading a file. WordPress version is 4.7.2 and CiviCRM version is 4.7.13

We have the same WordPress version installed on a different host and it is working properly. We confirmed that it is caused by CiviCRM when we disabled the CiviCRM wordpress plugin. We looked for possible collisions of libraries, but it is not evident why CiviCRM is affecting any of the output on that page. We’re looking for insights from someone with additional WordPress expertise.

How to upload sketch from flash memory of nodemcu-V1.0?

I’m working with esp8266 nodemcu-v1.0 .Now we are using OTA but the module may be disconnected from wifi so we need to use 2G by GSM Module(using beside nodemcu) to receive our new sketch to be uploaded to nodemcu.
We will receive new sketch by GSM and save it in nodemcu flash memory using serial.
But here is the problem:
How can we upload the new sketch (saved in nodemcu flash memory) to nodemcu as its new firmware????

Unable to upload my photo while applying for an Indian e-Visa. What am I doing wrong?

Anyone know which browser or what to do to upload the photo in the India e-visa process? In the form, the popup to upload the photo is working but after it closed the main form is not showing the photo and I can’t continue the application.

I’ve tried with latest Chrome, Firefox and Microsoft Edge, but nothing is working. I tried to reach help desk information (from the website) without success.

SharePoint Document Center upload error

I have:

  • SharePoint 2010 SP1 instance.
  • Microsoft Office Professional Plus 2010
  • Windows Server 2008 R2 Standard

The issue is that any uploads from within office (e.g. Save As or Save and Send) that try to save to SharePoint go through the Upload Center. The upload center fails with the message “Your changes were saved but could not be uploaded because of an error…”

This is consistent for all documents (even .txt) uploaded through Office or SharePoint Workspace. Direct uploads from the site are fine, as is the webdav interface.

There are no errors in the SharePoint logs.

What is the likely cause for this failure?

Update:

Further investigation led to the SharePoint server logs, not the client. The error there was…

WebHost failed to process a request.
Sender Information: System.ServiceModel.ServiceHostingEnvironment+HostingManager/41149443
Exception: System.ServiceModel.ServiceActivationException: The service '/_vti_bin/cellstorage.svc' cannot be activated due to an exception during compilation.  The exception message is: Service 'Microsoft.SharePoint.SoapServer.CellStorages' has zero application (non-infrastructure) endpoints. This might be because no configuration file was found for your application, or because no service element matching the service name could be found in the configuration file, or because no endpoints were defined in the service element.. ---> System.InvalidOperationException: Service 'Microsoft.SharePoint.SoapServer.CellStorages' has zero application (non-infrastructure) endpoints. This might be because no configuration file was found for your application, or because no service element matching the service name could be found in the configuration file, or because no endpoints were defined in the service element.
   at System.ServiceModel.Description.DispatcherBuilder.EnsureThereAreNonMexEndpoints(ServiceDescription description)
   at System.ServiceModel.Description.DispatcherBuilder.InitializeServiceHost(ServiceDescription description, ServiceHostBase serviceHost)
   at System.ServiceModel.ServiceHostBase.InitializeRuntime()
   at System.ServiceModel.ServiceHostBase.OnOpen(TimeSpan timeout)
   at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
   at System.ServiceModel.ServiceHostingEnvironment.HostingManager.ActivateService(String normalizedVirtualPath)
   at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath)
   --- End of inner exception stack trace ---
   at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath)
   at System.ServiceModel.ServiceHostingEnvironment.EnsureServiceAvailableFast(String relativeVirtualPath)
Process Name: w3wp
Process ID: 2172

Which, it turns out, is just a wordy way of saying that something terminally messed with your web.config and you should restore the CellStorage service information.

Upload specific Chef cookbook version with knife?

Is it possible to upload an exact version of a Chef cookbook via knife? All I’ve seen is that knife will upload the latest version it can find.

Is it possible to upload a specific version? Downloading examples show:

$ knife cookbook download COOKBOOK_NAME [COOKBOOK_VERSION] (options)

Is there a way to do this with the upload command?

File upload issue with TYPO3 after upgrade to TYPO3 8 LTS

I have seminar extension and it have two fields to browse file. check the TCA configuration below:

Field Image:

'image' => [
    'exclude' => 1,
    'label' => 'LLL:EXT:seminars/Resources/Private/Language/locallang_db.xlf:
         tx_seminars_seminars.image',
    'config' => [
        'type' => 'group',
        'internal_type' => 'file',
        'allowed' => 'gif,png,jpeg,jpg',
        'max_size' => 4096,
        'uploadfolder' => 'uploads/tx_seminars',
        'size' => 1,
        'minitems' => 0,
        'maxitems' => 1,
    ],
],

Field attached_files:

'attached_files' => [
    'exclude' => 1,
    'label' => 'LLL:EXT:seminars/Resources/Private/Language/locallang_db.xlf:tx_seminars_seminars.attached_files',
    'config' => [
        'type' => 'group',
        'internal_type' => 'file',
        'allowed' => 'jpg,jpeg,png,bmp,gif,tiff,tif,' . 'txt,pdf,ps,' .
            'svg,' . 'doc,docx,sxw,odt,' . 'xls,xlsx,sxc,ods,' .
            'ppt,pptx,sxi,odp,' . 'html,htm,css,js,xml,xsd,' .
            'zip,rar,gz,tgz,tar,bz2,tbz,tbz2',
        'max_size' => 4096,
        'uploadfolder' => 'uploads/tx_seminars/',
        'size' => 5,
        'maxitems' => 200,
        'minitems' => 0,
        'autoSizeMax' => 40,
    ],
],

After upgrade from TYPO3 6.x to 8 LTS record does not save due to file upload field. If I remove one of the field it’s working properly.
Can anyone help me with this?

Thanks an advance!

USBasp problem: could not upload sketches to Arduino clone with PL2303 USB-to-UART chip

I’m trying to upload sketch to a Gizduino board (these boards have PL2303 chip for USB-to-Serial communication; other than that they are entirely similar with Arduino Uno).

I have installed the driver for it and can verify that the board associates to a COM Port whenever the board is connected to my PC (Win10) via USB. But everytime I try to upload a sketch, IDE (tried with 1.8.2 and 1.6.9) throws the error below, with or without the PL2303 driver installed on my PC.

avrdude: error: could not find USB device with vid=0x16c0 pid=0x5dc vendor='www.fischl.de' product='USBasp'

I’m certain that I have selected the right board from the Boards List.

So my intuition was that the PL2303 driver is not working the way it should be. I’ve been trying to get more information about avrdude and USBasp but so far was not able to find anything remotely similar to my case.

UPDATE: Realized that all I needed to do is install the driver for USBasp (whihch I’m having trouble doing); this post could be off-topic. But I’m urged to raise another question: Which programmer should I select from the programmer list? Currently its “AVRISP mkII”. In fact it doesn’t matter which one I use. Same error about USBasp occurs with any of them selected.

Como fazer o upload de imagem usando Spring Boot?

Estou aprendendo a usar o Spring Boot e preciso criar um campo no formulário que carregue a imagem a ser utilizada. Como faço para mapear o diretório e salvar em uma determinada pasta do projeto?

Por favor, Antes de saírem negativando minha pergunta, vi algumas respostas, até aqui no stackoverflow, mas ainda estou com dúvidas de como proceder dentro das classes de domínio. Exemplo:

Observação: estou utilizando MySQL.

package com.ptestes.models;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;

@Entity
public class HotSite implements Serializable{

    private static final long serialVersionUID = 1L;

    @Id
    @GeneratedValue(strategy=GenerationType.IDENTITY)
    private Long id;

    private String pageTitle;

    @?????
    private  img;

    /*Getters and Setters*/
}

Desde já, muito obrigada! ^_^