Skip to main content
Topic: Account - Generation files JS variable case error (Read 1002 times) previous topic - next topic

Account - Generation files JS variable case error

Hi,
i don't know if it is a general bug or there is something wrong with my installation.

Application generates a javascript variable case error :
app\views\partials\account\edit.php
Code: [Select]
	var accountEditComponent = Vue.component('accountEdit', {

app\views\partials\account\view.php
Code: [Select]
	var accountViewComponent = Vue.component('accountView', {

They are called from main_layout.php :
Code: [Select]
				{ path: '/account/edit', name: 'accountedit' , component: AccountEditComponent },
{ path: '/account', name: 'accountview' , component: AccountViewComponent },

This happen only for the account section of the project, but is called in index file and remains in loading state. Console output an obvious error : "ReferenceError: AccountEditComponent is not defined"

After generation if view.php and edit.php are modified with the correct case all is working, but this is not the solution.

Even if i think the problem is in the software i leave my actual configuration.

S.O. Windows 10
PHPRad v.2.5.8.2
Publish directory is a network drive on our intranet linux server with samba
Apache MPM Event
PHP 7.2 FPM
Mysql 8.0



 

Re: Account - Generation files JS variable case error

Reply #1
Please can you re publish your application to a new directory to see if the issue persist.

I just tested it and everything seem to be working fine.

If not i will advice you do a fresh installation.