'pimcore.registerNS is not a function' in admin after fresh pimcore installation - pimcore

Fresh Pimcore installation. Front end works fine, but the admin page is blank and I see some errors in browser console:
startup.js?_dc=4104:748 Uncaught TypeError: pimcore.registerNS is not a function
at startup.js?_dc=4104:748
I have installed my copy of pimcore followed the instructions: https://hostpresto.com/community/tutorials/how-to-install-pimcore-cms-on-ubuntu-16-04/
I use Ubuntu 16.04 / PHP 7.0.22 / Nginx 1.10.3 / Pimcore 4.6.2.
Any ideas?

That most certainly means that one of the JSON responses has an uncaught Exception message in there. Open developer tools and check all responses under Network and look for any weird error messages in there.

I cleared the cache and it worked.
Execute this command in the CLI:
php pimcore/cli/console.php cache:clear

Related

NopCommerce error SevenSpikes.Nop.Plugins.Core.dll' is denied

I got this error continually on my nopCommerce website.
Application startup exception:
System.Exception: Plugin 'Seven Spikes Core'.
Access to the path
'C:\Inetpub\wwwroot\mywebsite\Plugins\bin\SevenSpikes.Nop.Plugins.Core.dll' is denied.
I have tried disabling overlapped recycle in the application pool and still, I still get the same error occasionally. What's the permanent fix?
I'm using nopCommerce version 4.20 version.
It is because of the shadow copy of plugin which is resolved at the nopCommerce4.2. To resolve the error you need to follow below steps
You need to stop app_pool and the website.
Remove the all .dll from the plugin bin folder(your website==>Plugins==>bin)
At the appsetting.json(root directory of the website) change "UsePluginsShadowCopy" :
true to "UsePluginsShadowCopy": false
Start the app_pool first then website.
It should resolved the error. I faced same problem and get solution by following the above steps. You do not need to disable overlapped recycle.
After I copied the site folder to a new folder I gave this folder the APP-POOL permisions:
'IIS APPPOOL\My-IIS-Site-Name' then - restart IIS.

Ubuntu 14.04 mod_mono error 503

I can't seem to get an asp site to run with ISPCONFIG3 at all. I am getting errors in the apache error.log like this:
Not running mod-mono-server.exe because no MonoApplications, MonoApplicationsConfigFile or MonoApplicationConfigDir specified.
Failed to connect to mod-mono-server after several attempts to spawn the process.
I think it has to do with my configuration somehow but I can't seem to figure out where. Thoughts?
Encountered this error today after installing apache2, mod-mono, etc in Ubuntu 19.04 on my laptop. Having just done it successfully on an AWS instance running Ubuntu 18.04, I was surprised that it didn't work here. By trial and error tweaking the mono-server config, apache2 config, the ASP.NET web app folder (with a simple index.aspx in it), and looking at the apache2 error logs after each change (after stopping/restarting apache2 each time!), I discovered that, in my case at least, this error was caused by the absence of a web.config file in the web app root folder; as soon as I created a simple skeleton web.config file, this error message went away.
Worth noting in passing is that the error message contains a typo: there should be an "s" for "Applications" in the keyword MonoApplicationConfigDir, like the other two keywords have. One of the things I tried was to alter the MonoApplicationsConfigDir statement that was present by default in my mono-server4-hosts.conf file by removing the "s" to match the error message, but that generated a different, fatal error that prevented apache2 from starting: systemctl status apache2.service showed "Invalid command 'MonoApplicationConfigDir'".

Setting up Bonobo 5.0.0 with Windows authentication

I'm trying to install Bonobo 5.0.0 on Windows 7 + IIS 7.5 with Windows authentication.
When I go to the homepage (http://domain/bonobo), I'm prompted for my Windows username/password and after that it redirects back to the root to look for a route called windowsAuthCallback:
http://domain/windowsAuthCallback?id=xxx
Obviously this gives me a 404 error.
I have authentication set to 'anonymous' in IIS and 'Windows' in the Bonobo web.config and I'm not sure what I'm doing wrong.
UPDATE
Not sure if this is related... I have an existing Bonobo installation on the same server and I'm installing Bonobo 5 fresh as a new application. After running into the issue I described, trying to open the original Bonobo app gives me the following error:
Unable to find an entry point named 'sqlite3_open_interop' in DLL 'SQLite.Interop.dll'.
Restarting IIS resolves the issue and I can access my old Bonobo app again.
This commit should resolve the windowsAuthCallback redirecting to root: https://github.com/jakubgarfield/Bonobo-Git-Server/commit/852563e2e1f969abca008b8be798c265a52f4d81
A workaround for this issue along with a link to the commit that resolves it can be found on the following page:
https://github.com/jakubgarfield/Bonobo-Git-Server/issues/333

PhpMyAdmin 3.5.6 gives HTTP Error 403 in Windows Server 2003 with IIS 6

I have setup new server with following configuration.
Windows Server 2003 with IIS 6 / PHP 5.2.17 / MySQL 5.0.51a / PhpMyAdmin 3.5.6
PHP working fine as phpinfo is displaying fine in browser.
MySQL is installed properly.
But PhpMyAdmin 3.5.6 gives HTTP Error 403 when try to access it in browser by following way.
http://localhost/phpmyadmin356
OR
http://192.168.11.22/phpmyadmin356
phpmyadmin356 folder is under inetput >> wwwroot.
Please help me to resolve this issue.
I went through this guide. http://dpotter.net/technical/2009/03/installing-phpmyadmin-on-windows-and-iis-60/
Thank you,
Probably your permissions aren't set correctly for the phpmyadmin356 directory and/or files within that folder. You probably need, at a minimum, read permissions for IUSR and IIS_USERS.

MODx 500 Server Error When Trying to Edit a Resource in Manager

I'm running MODx Revolution 2.0.8-pl (traditional) and get a blank page (500 Server Error) when trying to edit most resources in the Manager. The frontend and other Manager functions are all working fine.
I first noticed the issue after adding ~600 new resources to the site. (Unfortunately, I get the error on both new and old resources)
You should really just post this on the MODX forum... I bet there's more people with knowledge there, lol.
Server 500 errors are often caused by wrong permissions, for example files that are set to 777 while your server set up only allows 755.
Just faced this same issue and it ended up being that I uninstalled TinyMCE but the plugin file was still enabled.
I had to re-install TinyMCE in the most recent version after my MODX upgrade.
I increased the PHP memory limit to 64MB and the problem disappeared.
In my case, my MODX website works but /manager throws a 500 error.
It happened after I've removed /www/core/cache/*
First of all, I check logs:
sudo tail -100 /var/log/apache2/error.log
I see this error:
Smarty: unable to create directory /var/www/html/core/cache/mgr/smarty/default
So to fix this I added permissions:
sudo chown -R www-data:www-data /var/www/*

Resources