301 upgrade
-
- FormaLms User
- Posts: 120
- Joined: Thu May 05, 2016 6:53 am
- Version: forma.lms 2.0
- Location: UK
- Contact:
301 upgrade
Hi,
I have a problem with a live site, after I upgraded it to 3.0.1 and I log in, the url in the address bar is
duplicating.
https://www.dtasc.co.uk/dtasc.co.uk/index.php and showing as not found.
Any Ideas?
Cheers
Graeme
I have a problem with a live site, after I upgraded it to 3.0.1 and I log in, the url in the address bar is
duplicating.
https://www.dtasc.co.uk/dtasc.co.uk/index.php and showing as not found.
Any Ideas?
Cheers
Graeme
Re: 301 upgrade
execute the following query in the db:
and report back here with the result.
Code: Select all
select * from core_settings where param_name = "url";
Per supporto GRATUITO contattatemi in privato qui
-
- Newbie
- Posts: 3
- Joined: Fri Dec 17, 2021 3:49 pm
Re: 301 upgrade
In you url there is an incorrect value, in Forma 3.0.1, Forma calculate dinamically the correct url. So you can launch directly this query :
UPDATE `core_setting` SET `param_value` = '' WHERE `param_name` = 'url';
In future releases, this parameter will likely be removed.
Thanks
Giuseppe
UPDATE `core_setting` SET `param_value` = '' WHERE `param_name` = 'url';
In future releases, this parameter will likely be removed.
Thanks
Giuseppe
-
- FormaLms User
- Posts: 120
- Joined: Thu May 05, 2016 6:53 am
- Version: forma.lms 2.0
- Location: UK
- Contact:
Re: 301 upgrade
Hi Giuseppe,
I am not sure how to do this
Cheers
Graeme
I am not sure how to do this
Cheers
Graeme
-
- FormaLms User
- Posts: 120
- Joined: Thu May 05, 2016 6:53 am
- Version: forma.lms 2.0
- Location: UK
- Contact:
Re: 301 upgrade
Hi Giuseppe,
I did it, it worked
Thank you all for your help
Cheers
Graeme
I did it, it worked
Thank you all for your help
Cheers
Graeme
-
- FormaLms User
- Posts: 120
- Joined: Thu May 05, 2016 6:53 am
- Version: forma.lms 2.0
- Location: UK
- Contact:
Re: 301 upgrade
Hi Giuseppe,
On a separate question, on the 3.0.1 do we no longer use the multiportal template allocation field?
eg www.lv.dtasc.co.uk,lake.template
I have added the url, template & node on Settings/Advanced but they all show the default login page.
Cheers
Graeme
On a separate question, on the 3.0.1 do we no longer use the multiportal template allocation field?
eg www.lv.dtasc.co.uk,lake.template
I have added the url, template & node on Settings/Advanced but they all show the default login page.
Cheers
Graeme
Re: 301 upgrade
Hi, sure we use them, maybe something wrong in your configuration or just your cache?
Please note that the template structure has changed, you might need to re-create your custom templates with Templedit and reassign them to the nodes and to the URL's
Please note that the template structure has changed, you might need to re-create your custom templates with Templedit and reassign them to the nodes and to the URL's
---------------------
Massimiliano Ferrari
Elearnit - Elearning e Knowledge Management
https://www.elearnit.net
https://www.linkedin.com/in/massimilianoferrari
m.ferrari[at]elearnit.net
Skype: m_ferrari_it
Massimiliano Ferrari
Elearnit - Elearning e Knowledge Management
https://www.elearnit.net
https://www.linkedin.com/in/massimilianoferrari
m.ferrari[at]elearnit.net
Skype: m_ferrari_it
-
- FormaLms User
- Posts: 120
- Joined: Thu May 05, 2016 6:53 am
- Version: forma.lms 2.0
- Location: UK
- Contact:
Re: 301 upgrade
Hi Max,
I've created a new template 'Test1' via Templedit and allocated it in advanced settings to a
domain (https://standard.dtasc.co.uk)
a branch (Demonstration) (it should look like the standard template)
As you will see https://standard.dtasc.co.uk looks exactly like https://www.dtasc.co.uk,
I can't see what I am doing wrong.
The only thing I have noticed is in Templedit 2.4.2 the Edit custom css box only contains @import url('templedit.css');
not the same as previous versions which were full of scrambled egg (CSS).
Are there permissions that need changing to save settings?
I have deleted my cache and tried a private browser.
Not sure what else to try
Cheers
Graeme
I've created a new template 'Test1' via Templedit and allocated it in advanced settings to a
domain (https://standard.dtasc.co.uk)
a branch (Demonstration) (it should look like the standard template)
As you will see https://standard.dtasc.co.uk looks exactly like https://www.dtasc.co.uk,
I can't see what I am doing wrong.
The only thing I have noticed is in Templedit 2.4.2 the Edit custom css box only contains @import url('templedit.css');
not the same as previous versions which were full of scrambled egg (CSS).
Are there permissions that need changing to save settings?
I have deleted my cache and tried a private browser.
Not sure what else to try
Cheers
Graeme
Re: 301 upgrade
I'm wondering whether the same urls were working on a previous 2.x version.
If so, I'm afraid the new "dynamic" baseurl is a little bugged.
Otherwise, we should ensure FormaLMS template domain is handling >3 level subdomains (such as xx1.xx2.xx3.co.uk) correctly.
And if it is, probably you have a misconfiguration of vhosts in your web server.
If so, I'm afraid the new "dynamic" baseurl is a little bugged.
Otherwise, we should ensure FormaLMS template domain is handling >3 level subdomains (such as xx1.xx2.xx3.co.uk) correctly.
And if it is, probably you have a misconfiguration of vhosts in your web server.
Per supporto GRATUITO contattatemi in privato qui