1. Fabrik 3.9 has been released. If you have updated Joomla to 3.9, this is a required update.
    Dismiss Notice

Migrating from old Fabrik to 3.9 on a dev server : bad path for js on BO

Discussion in 'Community' started by semaphore, Mar 14, 2019.

  1. semaphore

    semaphore New Member

    Level: Community
    Hi,
    We just migrate an old (3.4) to the recent 3.9 Fabrik without not much issues for now in frontend (yeah !) but after great issues in the back office like not being able to close any edit page or modal the FF dev console say a lot of things about js file like :" Échec du chargement pour l’élément <script> dont la source est « http://xxxxxxx.org/media/com_fabrik/js/dist/mootools-ext.js" where xxxxxx.org is the main website not this dev server !
    Where Fabrik take this path ? (not the live site var we have check).

    Thanks for your help
     
  2. troester

    troester Well-Known Member Staff Member

    Level: Community
    Did you clear all Joomla cache?
    Any JS compression tools or custom JS which may have stored the old path?

    Did you open and resave the Fabrik connection?
     
  3. semaphore

    semaphore New Member

    Level: Community
    In fact it was simplier : after looking the js code i see the requirejs had a wrong baseurl, I look in yout git and find some info in : /libraries/fabrik/fabrik/Helpers/Html.php about this baseurl params and this comment : Get tip options to control its fx - set in Fabrik global configuration and I just find a js tab I miss the first time :-/
    I correct the requijs parameter and all was OK after !
     

Share This Page