Concrete5 (application/config/doctrine/proxies\__CG__ConcreteCoreEntitySiteType.php): failed to open stream: No such file or directory - concrete5

When installing concrete5-8.3.2 locally, after installation it shows me this error message:
require(C:/xampp/htdocs/concrete5/application/config/doctrine/proxies\__CG__ConcreteCoreEntitySiteType.php): failed to open stream: No such file or directory
The proxies directory is empty.
I don't know how to solve this.
I haved found an answer but doesn't work for me
"Go to /dashboard/system/environment/entities and click on the red "refresh entities" button".
Update: I haved install concrete5-6.3.5 locally it works perfectly but version concrete5-8.3.2 dosen't work and i don't know why.

Did you download Concrete5 from Concrete5.org or from Github? Normally if you downloaded it from Concrete5.org this should not happen.

Related

WordPress Tools import failed downloading the installation package

I tried to download a package via Tools > Import, and then underneath the WordPress I clicked the "Install Now" link, but it gave me error messages like these:
Downloading installation package from https://downloads.wordpress.org/plugin/wordpress-importer.0.8.zip…
updates.min.js?ver=6.0.2:2 The authenticity of wordpress-importer.0.8.zip could not be verified as no signature was found.
updates.min.js?ver=6.0.2:2 Unpacking the package…
updates.min.js?ver=6.0.2:2 Could not copy file. wordpress-importer/class-wp-import.php
To better understand it, see the image here:
if you notice it there are strange characters &#8230 at the end of the filename.
Does anyone know why it happens?

R package access denied installation error

Error in install.packages :
path[1]="\Users\name\Documents\R\win-library\4.1": Access is denied
I am trying to install basic r packages, and keep getting this error even though I have full permissions for this folder. I have tried different packages so it is something going on with my permissions.
Hey I figured it out using this guide I was confused because I had permissions to the document folder but because it was being backed up to the network I was getting an error. I also had to manually set permissions to the r-library files to make sure they weren't 'read only'
I have had this problem in the past. The way I fixed it was to close R, navigate to C:\Users\name\Documents in Windows Explorer, delete a file called '.Rhistory' located in that directory.
I then reopened R and then used the install.packages function as normal, and it ran with no problems.

Installing package - cannot open file - permission denied

I'm working in RStudio and am attempting to install the dplyr package. I have installed various other packages without problem but have hit a problem with this.
It seems there are various parts to the install, some of these worked but the problem happens when I get 'the dependency BH'. This is the error:
>Installing package into ‘\\xxxxxxxx.local/Desktops/jagnew/My Documents/R/win-library/3.3’
(as ‘lib’ is unspecified)
also installing the dependency ‘BH’
>trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.3/BH_1.62.0-1.zip'
Content type 'application/zip' length 16150075 bytes (15.4 MB)
downloaded 15.4 MB
>trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.3/dplyr_0.5.0.zip'
Content type 'application/zip' length 2556205 bytes (2.4 MB)
downloaded 2.4 MB
>Error in install.packages : cannot open file '\\xxxxxxx.local/Desktops/jagnew/My Documents/R/win-library/3.3/file142032c9327b/BH/include/boost/function/detail/gen_maybe_include.pl': Permission denied
I have changed the directory/libpath as it did not appear that the file was downloading to the correct folder. file142032c9327b is now in the correct path, but path specified in the error is only correct up to /boost, there is no function folder here..?
I'm not sure if this missing folder is the issue, as the error says 'Permission denied', but it seems odd.
I had the same issue. Tried doing the following and worked for me:
Run the RStudio as administrator
Under the Packages tab, click Install and change Install to Library option to C:/Program...../R/../library and select the desired package to install.
Hope it works.
I had the same problem. R gave me an error message whenever I tried to install a new, or update an existing package. I don't remember what the message said exactly, but it was saying "Cannot open file (...) access denied". I tried all the following. Not sure what exactly fixed the problem, but now I can update and/or install new packages:
Open R/RStudio as administrator;
Change the R library folder (where packages are installed) security settings, and grant full access to my computer user account. Link1, link2;
(I think this was what fixed the problem) Follow instructions on this link. It prompted me to install another package, "devtools". Then it worked.
Well, I think my problem was a special case, but it might benefit someone. I had the Windows Defender Ransomware Protection set to ON. That was blocking rsession.exe by default. Allowing rsession.exe solved the problem.
TL;DR
The "Documents" (or "My Documents") directory is a special location in Windows. I don't know if the system itself processes its permissions differently or if antiviruses target operations inside this directory more strictly, but many R users have issues installing packages in the personal library inside this folder (even if running R as administrator). Other answers haven't worked.
For me, what solved the problem was to put the personal library directly under X:\\Users\username\ instead of under Documents, which is the R default on Windows. To make it permanent, I set a user environment variable R_USER to %USERPROFILE%. Here is a nice guide of how to set environment variables in Windows.
Note: after this change, you may need to move your .Rprofile, .Renviron, etc. files from Documents to the user profile directory.
Details
The default location for R's user "home" directory on Windows is X:\\Users\username\Documents. This is because there is no concept of HOME in Windows, just of a "personal" directory (Documents): https://cran.r-project.org/bin/windows/base/rw-FAQ.html#What-are-HOME-and-working-directories_003f
Therefore, by default, the personal library location is under X:\\Users\username\Documents\R\win-library\X.Y\. You can get the exact location on your machine with this command in the R console:
Sys.getenv('R_LIBS_USER')
I was getting this same cannot open file error when trying to install or update packages, even when running as administrator. I suspected of directory permissions, checked it within the directories' "properties" without luck. Removed the whole R\win-library tree and recreated it and nothing... Finally, I tried to move the personal library location to my users' directory:
.libPaths('X://Users/username/R/win-library/X.Y/')
And it worked!
Warning in install.packages :
cannot create file '/usr/local/Cellar/r/3.6.2/lib/R/doc/html/packages.html', reason 'Permission denied'
Warning in install.packages :
cannot update HTML package index
I had the same permission issue when trying to download a pkg--ISLR. Fixed it after following the above answers.
In case, some are new to R studio like me. These were my steps to install a pkg.
Click Terminal next to Console in R studio
Type sudo r, to run r as an administrator
install.packages("ISLR") to install your package
--- Please select a CRAN mirror for use in this session ---
https://cran.rstudio.com/src/contrib/ISLR_1.2.tar.gz
Secure CRAN mirrors
1: 0-Cloud [https] 2: Australia (Canberra) [https]
3: Australia (Melbourne 1) [https] 4: Australia (Melbourne 2) [https]
Pick a number -- a mirror site, then click enter.
Voilà! Package installed.
I had faced also this issue. The one and only solution that helped me was to turn off my firewall. Then I was able to download all packages.
The problem solved for me after running R in admin mode and disabling Antivirus.
Translating #Shubham Yadav's answer to code mode would be something like this: install.packages("your_package", lib = "C:/Program Files/R/R-4.0.3/library")
It's working for me (running RStudio as admin, course).
This procedure worked for me.
Removed existing package with remove.packages()
ran RStudio as an admin
Installed by specifying the libpath: devtools::install_github('https://github.com/Rdatatable/data.table/tree/frollmax', lib=.libPaths()[2])
For me what worked was manually deleting within the library directory the folder that I had problem with updating. And then install.package() again.
I had faced the same issue.
I tried below steps to resolve this issue:
Launch RGui application.
Go to Packages section and select Install Packages.
Select the Package that you want to install from the Packages pop up window.
And click OK, that's it package will get successfully installed.
After following above steps, you can run use your package from RStudio.
I ran into this issue today where rlang couldn't install the newest version and so tidyverse wouldn't work. I tried running as admin, changing install location, running as admin, permitting rstudio through Windows Defender Randsomware Protection, and installing DevTools. The only thing that worked was to uninstall RStudio, reboot, reinstall.

Error 404: Not Found Fuseki

This is my first time using Apache Jena Fuseki 2.4.0. I'm trying to run my friend's ontology website, he said that he's using Apache Jena Fuseki so I need to install it first but, when I already installed it and then I ran a server and typed his website on address bar, I got this error
404: Error 404: Not Found Fuseki - version 2.4.0
. Here are the steps that my friend told me I need to follow.
I downloaded Apache Jena Fuseki 2.4.0
I unpacked it to directory C:\
I launched fuseki-server.bat
I went to http://localhost:3030/
I clicked Manage Datasets menu
I clicked Add New Dataset button
I typed "DOID" as Dataset Name and chose "Persisten" as Dataset Type and then I clicked Create Dataset
I clicked Upload Data and I selected doid.owl file, and then I clicked Upload Now
When the upload was successful, I ran my friend's website and got that error
Is there any wrong or missing step that I took? Please help me.
I don't know, suddenly it works! I tried to follow the set up from this site:
I downloaded some jars and then I edited fuseki-server.bat
I tried to comment and uncomment some line but, because I couldn't launch fuseki-server.bat at all after that, so I decided to undo a change on fuseki-server.bat
I launched fuseki-server.bat again but the command prompt disappear after the process has finished
I checked http://localhost:3030/ the server status was green and I tried to run my friend's website and then it worked!
I guess that the jars I've downloaded are the things that make it works.

Jupyter Notebook Extensions Fail to Load

I am running Ubuntu 14.04 in virtual box with a recent anaconda install. I installed jupyter notebooks using conda. I have followed all of the documentation that I can find online to install notebook extensions but they fail to load with the error messages listed below. The first error is from the jupyter notebook app running in a terminal and the second error is in the chrome java console. Notice that I cannot post this question with this many hyperlinks so I remove the "p" from "http" in my error messages.
[W 07:02:06.451 NotebookApp] 404 GET
/nbextensions/python-markdown.js?v=20150904070147 (127.0.0.1) 8.47ms
referer=htt://localhost:8888/notebooks/Untitled.ipynb
htt://localhost:8888/nbextensions/python-markdown.js?v=20150904070147
Failed to load resource: the server responded with a status of 404
(Not Found)
To detail my installation method: I cloned the git repository [IPython-notebook-extensions][1] and used the command jupyter-nbextension install python-markdown inside the IPython-notebook-extensions/usability/ folder. I then enabled the extension with jupyter-nbextension enable python-markdown. I ran these commands as superuser as well.
After this failed I installed this extension inside python (from the usability/ directory of the repository) using:
import notebook
notebook.install_nbextension('python-markdown',user=True)
E=notebook.nbextensions.EnableNBExtensionApp()
E.enable_nbextension('python-markdown')
I also tried this as the superuser without the parameter user=True.
I have confirmed that the files copied to both /usr/local/share/jupyter/nbextensions/python-markdown and ~/.local/share/jupyter/nbextensions/python-markdown. The extension is enabled in the ~/.jupyter/nbconfig/notebook.json file. Finally, I also deleted the chromium and mozilla cache (by deleting the folders in the ~/.cache directory) multiple times while trying this.
Solved here: https://github.com/ipython-contrib/IPython-notebook-extensions/issues/282. The ~/.jupyter/nbconfig/notebook.json file must be edited to use python-markdown/main instead of python-markdown.
More generally this kind of error can also happen after you've upgraded Jupyter/Python/etc and some of the extensions are not supported by your updates. You can then just disable them from the Nbextensions configuration tab - you may find that they're the extensions that are shown as incompatible - which can be disabled by ticking the 'disable configuration for nbextensions without explicit compatibility' checkbox.

Resources