Shazwazza / Articulate

A wonderful Blog engine built on Umbraco
MIT License
211 stars 106 forks source link

Articulate Data Installer articulateDataInstallerBaseUrl #350

Open darkbenonator1992 opened 3 years ago

darkbenonator1992 commented 3 years ago

Hi,

Sorry if this is a known issue, I have tried looking around a bit and trying to figure it out but not having any look. I have installed the package using Nuget and when clicking to install the doc types on the Articulate Data Installer page it errors with 'articulateDataInstallerBaseUrl' of undefined in the console. Not sure if I have missed a step or something?

Umbraco version: 8.7.0

error

Thanks!

Shazwazza commented 3 years ago

hrm, i'll have to have a look. Is this on a vanilla install of Umbraco?

darkbenonator1992 commented 3 years ago

Fairly Vanilla, it is a new install but does have a few packages. Umbraco related ones are uSync, DocTypeGrid Editor, Umbraco forms and Skybrud redirects. Not sure if uSync might interfere with the import but I am just guessing

`

`

MrMattTaylor commented 3 years ago

It won't work for me either. I've installed a brand new empty version of Umbraco 8.11.1 via nuget https://our.umbraco.com/documentation/Getting-Started/Setup/Install/install-umbraco-with-nuget

Then installed Articulate via nuget and that's it. The Install button spins but nothing is installed.

Articulate

Shazwazza commented 3 years ago

Ill give it a go tomorrow and see what's up. Can you try installing via nuget?

Shazwazza commented 3 years ago

Doh! Sorry, that's what you did 🤦‍♂️ no worries, I'll check tomorrow

MrMattTaylor commented 3 years ago

Doh! Sorry, that's what you did 🤦‍♂️ no worries, I'll check tomorrow

Yes, got it installed via Umbraco's Install Package feature in the back-end but nuget would be my preferred way.

Shazwazza commented 3 years ago

Hi, I cannot replicate this error.

Umbraco.Sys.ServerVariables.articulate seems to be missing in your JS. This value is dynamically created by Articulates DLL.

Perhaps your install didn't work correctly? Do you have the correct .NET Framework version being used in your project? You need net 4.7.2

Maybe try re-installing: Update-Package Articulate -reinstall

MrMattTaylor commented 3 years ago

I don't seem to have any files called Umbraco.Sys.ServerVariables.articulate in the project. Not even after installing it through Umbraco's Package Manager which works fine. Maybe it is a permissions issue?

My dev machine is up to date with .Net 4.8 and the target framework for the project is 4.7.2.

Thanks, will give the re-install a go.

Shazwazza commented 3 years ago

all Umbraco.Sys.ServerVariables are loaded via a server side request. These are populated from the server so there is not physical file. Having the articulate dll in your /bin folder will load the articulate plugin which will automatically populate these variables.