I want to create VM theme in liferay 7. I made the changes in package.json and changed the templateLanguage to vm. Next I changed liferay-look-and-feel.xml and changed tag value to cm and did gulp build. The vm files are created, but when i Deploy it to the server, I get this warning:
09:53:24,368 WARN [Refresh Thread: Equinox Container: a046c07b-9d60-0017-134e-c4d1864b896c][ThemeHotDeployListener:129] Support of Velocity is deprecated. Update theme testTheme to use FreeMarker for forward compatibility.
Also in the browser, the control panel and header tabs are not displayed and instead a warning is displayed as below:
An app that can VIEW com.liferay.admin.kernel.util.PortalProductNavigationControlMenuApplicationType$ProductNavigationControlMenu belongs here. Please contact the portal administrator or install such an app from the Liferay Marketplace.
Below is the link of how the warning on browser is displayed: Image of Warning Message
What can be the issue?
I was facing the same problem when i migrated the application from 6.2 to 7. Liferay 7 supports freemarker template language. When I used Velocity i used to get blank page and page not used to get displayed. I advice you to use freemarker.
Related
ISPConfig (Management Panel)
We have two versions of PHP: 7.2 and 7.4. They work properly. However, in the site edit form, in the PHP version selection list, option 7.4 is always displayed. Even if version 7.2 is set, re-entering the form shows version 7.4. In this case, the website works properly on version 7.2. The error of displaying the PHP version in the form is bothersome, because every time you change the site, you have to be careful to change the PHP version as well. Sometimes, unfortunately, you just have to find what version it is.
How can this error be fixed?
Other than the tag, your question does not clearly indicate which software you are using.
Luckily I know ISPConfig so your text was hinting to the question being about that and the tag confirmed it.
I suspect you are editing the site as a client, not a admin, and you have Client protection enabled in the main config. Either edit the site as admin, or disable client protection (Login as admin, go to System, Main config, Client protection).
There was an error in the working CMS and I can not even enter management panel. I did not update PHP on the server, nothing changed in the configuration, and yet I can't enter the administration panel or display the WWW page.
When I try to get on administration panel or on website there is a message like this:
PHP Runtime Notice: Declaration of tx_ttnews_catmenu::wrapTitle() should be compatible with t3lib_treeView::wrapTitle($title, $row, $bank = 0) in /home2/izbampro/public_html/typo3/typo3conf/ext/tt_news/class.tx_ttnews_catmenu.php line 56
Is this a bug related to a too old version of PHP, or could someone break into the server and change the configuration?I have no idea what could have happened, everything worked well several days ago. Please help me with this error.
what do you mean with the administration panel?
in TYPO3 you have the BackEnd where you can do the normal administration and editorial tasks.
it is called normally with domain.tld/typo3/
the other area for administrative tasks is the Install Tool
which is called with domain.tld/typo3/install/
While the Backendneeds a running TYPO3 instance the InstallTool should be callable even if there is no configuration (e.g. database).
regarding your TYPO3 version:
we can guess a little bit with your data:
PHP 5.6.26 will let run TYPO3 only until version 7.6
the function reference t3lib_treeView::wrapTitle will restrict the version in the same way as the classname was available in core up to 4.7. for later version there existed an compatibility extension, first in core, later from TER.
if you have a look onto your server we might have further restrictions.
I will not exclude the usage of older versions up to 4.7:
these versions can be identified by files typo3conf/localconf.php, while since 6.0 the files are named typo3conf/LocalConfiguration.php.
In the same way there is a break in the storing which extensions are active in your installation:
up to 4.7 it was one line in typo3conf/localconf.php, since 6.0 it is an own file typo3conf/PackageStates.php.
You should be able to call the install tool, which will show the version (a screenshot from the appearance after the Install Tool login might help. But first we need to make you accessing the Install Tool.
Are you able to login to the install tool?
the TYPO3 version will decide about the next steps
I've installed the com.fatwire.EclipseCSDT_11.1.1.v8_0_r181775.zip (CSDT) plugin to eclipse (mars) for webcenter sites.
But when I click on create new template or any CSDT buttons it shows below error in error log window.
If I open it, it shows as below:
Can someone please help to resolve it.
Found user configured for webcenter sites was not assigned in the REST Security group.
Assign the User to the REST Security group and restart your eclipse.
It will start working :)
Happy coding!!
While setting up the dashboard widgets on SonarQube 5.6.6 to display results from OWASP Dependency Check & ZAP and Xanitizer I encounter the following error message:
An error occurred while trying to display the widget "xanitizer". Please contact the administrator.
I have SonarQube running on a Windows 2008 Server R2 as a test instance.
What I did so far:
Installed the relevant plugins
Configured the plugin POM file with Windows paths (like: C:\Program Files (x86)\Jenkins\workspace\ZAP-Scanning\reports)
Created a reports either by a Jenkins job (for OWASP stuff) or by Xanitizer app.
Pointed SonarQube to the absolute path of Xanitizer report file in SonarQube GIU
Created each a SonarQube project manually
Linked the projects to the corresponding widget
The result is always the error message you can find above.
As a workaround I contacted Steve Springet directly. He pointed me to some GitHub pages, which did not help.
As I am not a developer: Is there any tutorial that might help?
Implementing Checkmarx plugin took some minutes to have scan results displayed.
Apparently I got stuck somewhere in the sonar.property files or the bridge between Windows and Linux syntax...
If helpful I can share the property and POM files with you.
This was a bug in the Xanitizer plugin. It has been fixed with version 1.4.0 of the plugin.
I just started to get my head around AEM 6.0 . Installed an app with 'mvn clean install -Pauto-dev-deploy'. I can see the app in CRXDE and the packages are visible in the packagemanager. It does not however show up in the touchUI. Is it possible to run a preview of this site and how to do it?
In Adobe Experience Manager your application (app) and your content are to different things. Your application contains templates and components with which you build your content.
Deploying your app therefore means that you don't necessarily will have content. Without having a look at your source it is hard to see how and where you can create content. Usually your apps templates and components only work in certain content paths. This is usually defined in /etc/designs/<your-project-name>
If you are running AEM 6.2 I suggest that you have a look at the new We Retail demo application and demo content. The source of which can be found on Github: https://github.com/Adobe-Marketing-Cloud/aem-sample-we-retail