OpenCMS 8.0/9.0/9.5.2 upload error in all browsers - opencms

I have tried OpenCMS 8 to 9 versions in Glassfish server. The installation was successful. But when I try to upload any files or images using opencms workplace Upload button, It throws "No File items found in the request". Please see the attached image

Related

wkhtmltopdf Rotativa Blazor not workin in deploy IIS

I'm using wkhtmltopdf to generate PDF.
When debugging with blazor it works fine, but when I publish it on IIS, when it goes to open the PDF page an error appears:
Error
Failed to load PDF document.
How can I solve?
Resolved
Solved, thanks everyone for your advice. I found the problem, it generated the file with a different source path.

Blazor .net 5 integrity error on 3 files resource blocked

I have a simple app blazer wasm project in .net 5 hosted in IIS8.5.
The root of the problem seems to be 3 files are having the following error in console:
Failed to find a valid digest in the 'integrity' attribute for resource {offending file here} with a computed SHA-256 integrity [sha-256 number here] the resource has been blocked.
I also get Unknow error occurred while trying to verify integrity.
I have tried cash clearing, and several other remedies. the 3 files are all framework files in _framework, dotnet.wasm, dotnet.timez, icudt_EFIGS.
I tried a fresh boiler plate blazer component project and tried to post it and had the same issue. However a boiler plate ASP.NET Core Web App project seems to work fine
Also, several posts have mentioned startup.cs which my blazer projects do not produce only program.cs. Is there something I do not know about here??
The IIS server hosts rest .net5 and has net 5 hosting package and sdk applied. Also, publishing locally to my IIS produces the same result. However using IISExpress through VS2019 works fine.
I see the Loading... from index.html and get this error in Edge:
enter image description here
Thank you for your consideration.

TiddlyServer on Azure App Services not saving tiddlers and not uploading files

Inspired by the Tutorial for Running Node.js TW5 on Microsoft Azure for Free I'd like to host TiddlyServer on Azure. As a first attempt I followed the instructions in the tutorial and was successful in getting Node.js TW5 working on Azure.
I deployed TiddlyServer on my desktop without any difficulty.
Then I did the following to get TiddlyServer running on Azure, but got stuck. What am I doing wrong?
I downloaded tiddlyserver-2.2.0-alpha-3.zip and tiddlywiki-production-5.1.22.zip from TiddlyServer's Github and placed the tiddlyserver files in the wwwroot, and the tiddlywiki-production files in the tiddlywiki folder. I also created a data folder and I moved my tiddlers there.
I edited the package.json adding "scripts" to the end:
I edited the settings.json with client keys, _datafoldertarget and bindInfo
I deployed to Azure
I navigated to the web page and logged in following the TiddlyServer authentication dialogue
I opened my TiddlyWiki and got the following errors, and found this in the log:
As another test, I tried uploading a file using TiddlyServer's upload functionality but was not successful.

Creating liferay 7 plugin project

I am trying to create an liferay 7 plugin project using Ant and I am always recieving the below error, can someone help ?
it seems that the server mirrors.lax.liferay.com is down
[Console output redirected to file:/Users/yjradeh/foo/java/workspace/.metadata/.plugins/com.liferay.ide.sdk.core/sdk.log]
Buildfile: /Users/yjradeh/foo/java/liferay-plugins-sdk-7.0/portlets/build.xml
[get] Getting: http://mirrors.lax.liferay.com/cdn.repository.liferay.com/nexus/content/repositories/liferay-snapshots-ce/com/liferay/org.apache.ivy/2.4.0.LIFERAY-PATCHED-1-SNAPSHOT/org.apache.ivy-2.4.0.LIFERAY-PATCHED-1-SNAPSHOT.jar
[get] To: /Users/yjradeh/.liferay/mirrors/cdn.repository.liferay.com/nexus/content/repositories/liferay-snapshots-ce/com/liferay/org.apache.ivy/2.4.0.LIFERAY-PATCHED-1-SNAPSHOT/org.apache.ivy-2.4.0.LIFERAY-PATCHED-1-SNAPSHOT.jar
[get] Error getting http://mirrors.lax.liferay.com/cdn.repository.liferay.com/nexus/content/repositories/liferay-snapshots-ce/com/liferay/org.apache.ivy/2.4.0.LIFERAY-PATCHED-1-SNAPSHOT/org.apache.ivy-2.4.0.LIFERAY-PATCHED-1-SNAPSHOT.jar to /Users/yjradeh/.liferay/mirrors/cdn.repository.liferay.com/nexus/content/repositories/liferay-snapshots-ce/com/liferay/org.apache.ivy/2.4.0.LIFERAY-PATCHED-1-SNAPSHOT/org.apache.ivy-2.4.0.LIFERAY-PATCHED-1-SNAPSHOT.jar
[get] Getting: http://cdn.repository.liferay.com/nexus/content/repositories/liferay-snapshots-ce/com/liferay/org.apache.ivy/2.4.0.LIFERAY-PATCHED-1-SNAPSHOT/org.apache.ivy-2.4.0.LIFERAY-PATCHED-1-SNAPSHOT.jar
[get] To: /Users/yjradeh/.liferay/mirrors/cdn.repository.liferay.com/nexus/content/repositories/liferay-snapshots-ce/com/liferay/org.apache.ivy/2.4.0.LIFERAY-PATCHED-1-SNAPSHOT/org.apache.ivy-2.4.0.LIFERAY-PATCHED-1-SNAPSHOT.jar
BUILD FAILED
/Users/yjradeh/foo/java/liferay-plugins-sdk-7.0/portlets/build.xml:5: The following error occurred while executing this line:
/Users/yjradeh/foo/java/liferay-plugins-sdk-7.0/build-common-plugins.xml:5: The following error occurred while executing this line:
/Users/yjradeh/foo/java/liferay-plugins-sdk-7.0/build-common.xml:57: The following error occurred while executing this line:
/Users/yjradeh/foo/java/liferay-plugins-sdk-7.0/build-common-ivy.xml:130: The following error occurred while executing this line:
/Users/yjradeh/foo/java/liferay-plugins-sdk-7.0/build-common-ivy.xml:81: HTTP Authorization failure
Total time: 1 second
I had the same issue while trying to compile the SDK, you can try this url: https://repository.liferay.com/nexus/content/repositories/liferay-public-snapshots/com/liferay/org.apache.ivy/2.4.0.LIFERAY-PATCHED-1-SNAPSHOT/. Instead of the old one.
They apparently change the repository of Liferay, you can check it on Date Modification on :https://repository.liferay.com/nexus/content/repositories/.
Steps/Prerequisite for liferay on windows:
Firstly we need liferay IDE, which we can download from https://web.liferay.com/downloads/liferay-projects/liferay-ide , If you dont have eclipse editor select eclipse neon 2+liferay IDE. Or if you are having eclipse go for update archive file.
Second we need liferay plugin sdk here’s the link: https://www.liferay.com/downloads , under liferay portal CE(Community Edition) select plugins sdk.
Third, you need to download apache ant.
Download tomcat bundle from link provided in 2nd point.
Setup ANT_HOME, ANT_OPTS, CATLINA_HOME,JAVA_HOME,and JRE_HOME, and append their path accordingly in the Path field.
Let’s configure the sdk file before moving next. Keep the bundled tomcat and sdk extracted files at same folder location(mandatory). That is keep same extraction folder for tomcat and sdk plugins.
In plugins folder which you would extract, you’ll find build.properties. Replicate that file with build.username.properties. For example in my case it would be build.Jennis.properties, Keep in mind the case of the Username of your PC/laptop. And add the following line of code at the end of the file
app.server.dir=path_to_sdk../bundles/path_to_tomcat in
build.username.porperties. In my case the appended line would be
app.server.dir=C:\Users\Jennis\Documents\Downloads\com.liferay.portal.plugins.sdk-7.0/../bundles/tomcat-8.0.32
Create a bundles folder and keep the extracted folder other than SDK plugins in bundles folder.
Now we are ready to go with directly eclipse for liferay 7.0.2 installation in eclipse. Open Eclipse →Help →Install New Software. Locate the liferay IDE archive from browse button.
Now we need to add the server for liferay, to do so right click in servers window in eclipse and click on new select liferay →liferay7.x configure it and give path to tomcat8.0.32 bundle.
Run the server it will lead you to localhost:8080, configure it with defaults(not mandatory) for our example defaults are fine.
After eclipse installs the new software, it would restart in toolbar menu find the below icon and click new liferay plugin project!
If toolbar doesn't show than find it from Window →Appearance → Show Toolbar. Now click above icon and click new liferay plugin project!
Give your portlet a name.
Select build type as: Ant(liferay-plugins-sdk).
Select liferay MVC for sake of simplicity.
Next you will be prompted with SDK location give the location of SDK plugin extracted folder, which were kept at same folder at time of extracting it.
Project would be created and celebrate the first portlet.
I have also ran into this problem. The solution was in my case to change the ivy settings in build.properties (in plugins SDK root directory) like this:
ivy.version=2.4.0
ivy.jar.url=http://repo1.maven.org/maven2/org/apache/ivy/ivy/${ivy.version}/ivy-${ivy.version}.jar
I'm however not familiar with changes Liferay made in the PATCHET version of ivy, so it could possibly lead to some other problem. But it works for portlets apparently.

Deploy liferay 6.1 on WAS 7.0

I am trying to deploy Liferay 6.1 on WAS 7.0.
Though I have deployed it successfully with context path as "lportal", while accessing it I facing following issues
class not found
com.liferay.portal.kernel.servlet.filters.invoker.invokerfilter
exception
Which was resolved somehow by restarting the server.
Currently, I have portlet.jar, portal-service.jar, mysql.jar and hsql.jar in global path i.e
IBM/WebSphere/AppServer/lib/ext folder
Dockbar portlet is not loading up and showing only processing icon
Has anyone tried this and access liferay from WAS successfully?
Any help is appriciated.

Resources