ZipArchive::close(): Failure to create temporary file: No error - phpexcel

I'm using Yii2 - phpExcel to export data. But only in my localhost (Windows - XAMPP - PHP7), there is an error: **
ZipArchive::close(): Failure to create temporary file: No error
**
This screenshoot is my test code and it returned the same error. My Xampp Setting is default. I can't find anythings helpful in internet. Please Help me. Thank you so much.

Related

After installed horizon (Openstack Train), When access http://controller_ip/dashboard, Got error “/auth/login/ was not found on this server”

I installed the Openstack horizon(Train version) by followed guide, no error showing in my install steps. After finished install, I access "http://controller_ip/dashboard", and got an error:
The requested URL /auth/login/ was not found on this server.
Can anyone help?
this
https://bugs.launchpad.net/horizon/+bug/1853651
By adding the following to the config file (and restarting httpd), the horizon dashboard then loads without issue:
WEBROOT = '/dashboard'

Error when launching Kibana : cannot execute binary file - undefined error 0

I'm very new to the ELK stack and was trying to add some security settings (username and password) to access Kibana following the instructions from the link below:
https://www.elastic.co/blog/getting-started-with-elasticsearch-security
At Step 4: Security in Kibana, once the yml file modified, I try to launch Kibana from the terminal with the command ./bin/kibana but it displays the following errors :
./bin/kibana: line 24: /usr/local/var/homebrew/linked/kibana-7.6.2-linux-x86_64/bin/../node/bin/node: cannot execute binary file
./bin/kibana: line 24: /usr/local/var/homebrew/linked/kibana-7.6.2-linux-x86_64/bin/../node/bin/node: Undefined error: 0
I think I've followed all the previous steps carefully and everything else worked so far.
I'm using a Mac and the error seems to be very basic. Any clue?
Thanks for the help.
Looks like you've downloaded the wrong architecture (Linux) of Kibana on your Mac.
This generally happens when the architecture is not compatible with system architecture or running a 64 bits on 32 bits machine.
Simple solution:
Download the mac version of Kibana from here - https://www.elastic.co/downloads/kibana
Once downloaded, run ./bin/kibana in Kibana directory.
This will successfully start local server of Kibana on localhost:5601

Installing a package from private GitLab server on Windows

I am struggling with installing a package from a GitLab repository on a Windows computer.
I found different hints but still have problems to install my package from GitLab. First of all, I generated a public and private key with puttygen.exe. The files need to be changed afterwards, I had to remove comments and stuff so they look like my the file on my Unix system. So now, both public and private key files have just a single line.
I tried to install my package via devtools::install_git which takes very long and I get the error message
Error: Failed to install 'unknown package' from Git:
Error in 'git2r_remote_ls': Failed to authenticate SSH session: Unable to send userauth-publickey request
And with devtools::install_gitlab I get a different error message and I somehow have the feeling, the link which gets generated doesn't fit to my GitLab server.
Error: Failed to install 'unknown package' from GitLab:
cannot open URL 'https://gitlab.rlp.net/api/v4/projects/madejung%2FMQqueue.git/repository/files/DESCRIPTION/raw?ref=master'
My complete code to test at the moment is
creds <- git2r::cred_ssh_key(publickey="~/.ssh/id_rsa_gitlab.pub",
privatekey="~/.ssh/id_rsa_gitlab")
devtools::install_git(
url='git#gitlab.rlp.net:madejung/MQqueue.git',
quiet=FALSE,
credentials=creds)
devtools::install_gitlab(
repo='madejung/MQqueue.git',
host='gitlab.rlp.net',
quiet=FALSE,
credentials=creds
)
My id_rsa_gitlab.pub file looks like this and is just a single line:
ssh-rsa AAAA....fiwbw== rsa-key-20200121
The id_rsa_gitlab file has just the code:
AAABA.....3WNSIAGE=
Update
On my Mac system it works as expected after installing the libssh2 library via homebrew and and recompiling git2r with install.packages("git2r", type = "source").
So the working code on my machine is:
creds <- git2r::cred_ssh_key(publickey="~/.ssh/id_rsa_gitlab.rlp.net.pub",
privatekey="~/.ssh/id_rsa_gitlab.rlp.net")
devtools::install_git(
url='git#gitlab.rlp.net:madejung/MQqueue.git',
quiet=FALSE,
credentials=creds
)
For some strange reason, the devtools::install_git call needs about a minute to fail in the end. I have no idea where the problem here is.
After struggling for almost a day, I found a solution I can live with...
I first created a PAT (Personal Access Token) in my gitlab account and granted full API access. For some reason the read_only access didn't worked and I am now tired to figure out what the problem is.
After this I had still problems to install my package and for some reason, the wininet setting for downloading doesn't work.
I used the command capabilities("libcurl") to check if libcurl is available on my windows, which was and tried to overwrite wininet to libcurl by using method='libcurl' in the install function. Somehow, this was not enough so I overwrote the options variable download.file.method directly.
options("download.file.method"='libcurl')
devtools::install_gitlab(
repo='madejung/MQqueue',
auth_token='Ho...SOMETHING...xugzb',
host='gitlab.rlp.net',
quiet=FALSE, force=TRUE
)

JBoss 6 Starrtup failed : HSQLDB - out of memory issue

Please explain why I am not able to start JBoss server if I am adding any EAR file. While starting I am getting an error like this:
Deployment
"vfs:///D:/Servers/jboss-6.0.0.Final/server/all/deploy/hsqldb-ds.xml"
is in error due to the following reason(s): java.sql.SQLException: Out
of Memory
Please help me.
Thanks in advance.
Finally I was able to find out the issue. The localDB.backup, localDB.data, localDB.lck, localDB.log,localDB.properties and localDB.script file will be saved in jboss6/server/all/data/hypersonic data. So delete all those files and restart the server. It will be perfect. The reason is that whenever we try to start the server it ll check this folder and try to load the previous deployed info from this backup files. So if any incomplete deployment will corrupt these files.

Error in drupal-commons installation

i´ve got drupal 7 installed on my pc running on localhost from Acquia Dev stack. Now i tried to installed Drupal-Commonns, but i got this error when the Install Profile stage is running:
An AJAX HTTP error occurred. HTTP Result Code: 200 Debugging information follows.
Path:
.......
siteChoose site color paletteEnter Homepage welcome textCreate the first groupFinished
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'dc.watchdog' doesn't exist
what might it be?
thanks
You need to enable Database logging module.
This module will create watchdog table.
After that this error will go away.
Hope this will help. :)

Resources