I have a freshly installed laragon and it's giving me an error when I'm accessing localhost/phpmyadmin/
Fatal error: Unparenthesized `a ? b : c ? d : e` is not supported. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in C:\laragon\etc\apps\phpMyAdmin\libraries\classes\DatabaseInterface.php on line 615
I tried first to install it with the quick installer and then manually after deleting the old phpMyAdmin folder in C:\laragon\etc\apps. I still have the same message.
I downloaded the last version of phpMyAdmin directly on their website and unzip it following the thousands of web's tutos...
Config :
Windows 10 pro 21H2
Laragon 5.0.0 210523
PHP 8.1.10
Apache 2.4.47
MySQL 5.7.33
Please, does someone could help me to fix this issue ? :)
Thanks !
Related
I'm trying to install some packages within Rstudio on my windows computer but I encounter some problems.
When I type in:
install.packages("dplyr")
I get the following error:
Warning in install.packages :
unable to access index for repository https://cran.rstudio.com/src/contrib:
internet routines cannot be loaded
Warning in install.packages :
unable to access index for repository https://cran.rstudio.com/src/contrib:
internet routines cannot be loaded
Warning in install.packages :
package ‘dplyr’ is not available for this version of R
A version of this package for your version of R might be available elsewhere,
see the ideas at
https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages
Warning in install.packages :
unable to access index for repository https://cran.rstudio.com/bin/windows/contrib/4.0:
internet routines cannot be loaded
Warning: unable to access index for repository https://cran.rstudio.com/src/contrib:
internet routines cannot be loaded
I've also tried to install packages in the following way:
> install.packages("C:/Users/NLFERM/Downloads/dplyr_1.0.4.tar.gz", repos = NULL, type = "source")
But here I also get an error:
ERROR: dependencies 'ellipsis', 'generics', 'glue', 'lifecycle', 'magrittr', 'R6', 'rlang', 'tibble', 'tidyselect', 'vctrs' are not available for package 'dplyr'
* removing 'C:/Users/NLFERM/Documents/R/R-4.0.4/library/dplyr'
Warning in install.packages :
installation of package ‘C:/Users/NLFERM/Downloads/dplyr_1.0.4.tar.gz’ had non-zero exit status
I already reinstalled R studio and made sure that I have the newest version of R on my computer. Does anyone know how to fix this problem?
Kind regards
Does this work in your R base?
Otherwise are you connected to internet? Or over an enterprise network where cran websites are not accessible?
I just downloaded XAMPP Portable from this site, and installed it on my USB flash drive.
https://sourceforge.net/projects/xampp/files/XAMPP%20Windows/5.6.20/
When im running my web it shows error like this:
A PHP Error was encountered
Severity: Notice
Message: Only variable references should be returned by reference
Filename: core/Common.php
Line Number: 257
But when im running it with normal XAMPP (that is installed on my hard drive) it's running fine. Any help is very much appreciated, thanks!
You need to change on eline in your system/core/Common.php
from
return $_config[0] =& $config;
to
$_config[0] =& $config;
return $_config[0];
I have problem using g-wan. When try to download large file, I got this error message :
Signal : 11:Unknown SIGSEGV problem
Signal src : 128:.
errno : 0
Thread : 1
Code Pointer: 0000004081a8 (module:gwan, function:??, line:0)
Access Address: 000000000000
Registers : EAX=7f1dbc0afa4e CS=00000033 EIP=0000004081a8 EFLGS=000000010287
EBX=7f1dc24af000 SS=d5ab0400 ESP=7f1dd59acd30 EBP=7f1dbc0afa4e
ECX=ffe3e5a1746a4230 DS=d5ab0400 ESI=1c997c47a33a4e FS=00000033
EDX=1c1a5e8b984000 ES=d5ab0400 EDI=7f1dbc0afa3e CS=00000033
Module :Function :Line # PgrmCntr(EIP) RetAddress FramePtr(EBP)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Segmentation fault
I tried to use centos 7 (64 bit),6.5 (64 bit),ubuntu 10.04 (64 bit) but still got this error.
I used 1GB RAM with 1 core.
Anybody know how to solve this issue ?
Thanks for all
Anybody know how to solve this issue ?
Yes, upgrade to a more recent version. Yours in almost 2 years old and newer versions work fine.
I installed sp and automap libraries to my R 3.0.1 64-bit under Windows 7 (via install.packages command). Installation of them did not display any error and library(sp) works fine however when I try to execute library(automap) I get the following error:
> library(automap)
Error in gzfile(file, "rb") : cannot open the connection
In addition: Warning messages:
1: In read.dcf(file.path(p, "DESCRIPTION"), c("Package", "Version")) :
cannot open compressed file 'C:/Program Files/R/R-3.0.1/library/sp/DESCRIPTION', probable reason 'No such file or directory'
2: In gzfile(file, "rb") :
cannot open compressed file '', probable reason 'Invalid argument'
I looked from the path and indeed there is no DESCRIPTION file (or folder) in that path. However there is just libs folder under which folder x64 and inside it file sp.dll
Any idea what could cause this?
I would definitely try to run R as administrator, both for installing the packages and loading them. This could solve your problem.
This probably has to do with file permissions. When you install the packages as admin in a location where only admin can read/write, running R as a normal user means you do not have the file permissions needed to load the package. Running R as admin will solve this, as admin does have the correct permissions.
Alternatively, you could install your R packages in a location where a normal user has read/write persmissions, e.g. C:/Users/UserName (or something like that, I do not have my windows machine accesible right now).
I have installed ezpublish, and ezcomponent placed in lib/ezc.
*Now, i want to install ez find. i have followed 3 steps according to install.txt (that present in ezfind folder)
In the fourth step i given like follows,
php d:/wamp/www/epub/bin/php/ezpgenerateautoloads.php
when the following error occurs.
PHP Warning: require(Base/src/base.php): failed to open stream: No such fil directory in D:\wamp\www\epub\bin\php\ezpgenerateautoloads.php on line 48
Please help me
You need to run this script from the root of your eZ Publish installation, which would be in your case, if I am not mistaken :
cd d:/wamp/www/epub/
php bin/php/ezpgenerateautoloads.php