From domain to subdomain
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
-
- Joomla! Apprentice
- Posts: 8
- Joined: Sun Mar 06, 2022 5:19 pm
From domain to subdomain
Hi, I normally work in WordPress and so am floundering a bit here. We have an old Joomla site that we want to keep active as a subdomain of a new domain in order to access its content if needed. The host has just transferred the site files from the current site ferenaz.it to the subdomain ferenaz.dittagioia.it, but we having problems accessing it:
• The main menu has disappeared
• I see the message "You are not authorised to view this resource" on any post
• I can login to the old site, but not the relocated one (message is invalid security token)
Is this a configuration file issue, or something more complicated?
Thanks for any assistance, I am out of my depth here
• The main menu has disappeared
• I see the message "You are not authorised to view this resource" on any post
• I can login to the old site, but not the relocated one (message is invalid security token)
Is this a configuration file issue, or something more complicated?
Thanks for any assistance, I am out of my depth here
- Per Yngve Berg
- Joomla! Master
- Posts: 30945
- Joined: Mon Oct 27, 2008 9:27 pm
- Location: Romerike, Norway
-
- Joomla! Apprentice
- Posts: 8
- Joined: Sun Mar 06, 2022 5:19 pm
Re: From domain to subdomain
Thank you. This seems to be the reverse of what I'm looking for. I would like to leave the files as a subdomain ferenaz.dittagioia.it, but make it work there. Should I reverse the advice in the link you included?
-
- Joomla! Apprentice
- Posts: 8
- Joined: Sun Mar 06, 2022 5:19 pm
Re: From domain to subdomain
Is there anywhere else I could get support?
- Per Yngve Berg
- Joomla! Master
- Posts: 30945
- Joined: Mon Oct 27, 2008 9:27 pm
- Location: Romerike, Norway
Re: From domain to subdomain
Have you adjusted temp and Log path in Configuration.php?
-
- Joomla! Apprentice
- Posts: 8
- Joined: Sun Mar 06, 2022 5:19 pm
Re: From domain to subdomain
The site is http://ferenaz.dittagioia.it. Here are the values I have tried:
public $live_site = 'http://ferenaz.dittagioia.it'; (also blank)
public $log_path = '/web/htdocs/ferenaz.dittagioia.it/home/log';
public $tmp_path = '/web/htdocs/ferenaz.dittagioia.it/home/tmp';
public $ftp_root = 'public_html/ferenaz';
I also tried with dittagioia.it/ferenaz instead of ferenaz.dittagioia.it, and with live_site empty, the errors are the same.
Thank you again for your assistance.
public $live_site = 'http://ferenaz.dittagioia.it'; (also blank)
public $log_path = '/web/htdocs/ferenaz.dittagioia.it/home/log';
public $tmp_path = '/web/htdocs/ferenaz.dittagioia.it/home/tmp';
public $ftp_root = 'public_html/ferenaz';
I also tried with dittagioia.it/ferenaz instead of ferenaz.dittagioia.it, and with live_site empty, the errors are the same.
Thank you again for your assistance.
- Per Yngve Berg
- Joomla! Master
- Posts: 30945
- Joined: Mon Oct 27, 2008 9:27 pm
- Location: Romerike, Norway
Re: From domain to subdomain
Are you running Joomls 2.5.28 on php 5.6?
Remember this version is from 2014.
Remember this version is from 2014.
-
- Joomla! Apprentice
- Posts: 8
- Joined: Sun Mar 06, 2022 5:19 pm
Re: From domain to subdomain
I have inherited this site, we are getting off the old host. Everything functions correctly at ferenaz.it now. Thought the Joomla version is outdated, it does work.
Php 7.4 is running on the new host. The idea was to get ferenaz.dittagioia.it stable and then update the software, at least to v3. But I can't even access administration on the new site (which works on the old site) and don't know the correct settings to make it work.
Php 7.4 is running on the new host. The idea was to get ferenaz.dittagioia.it stable and then update the software, at least to v3. But I can't even access administration on the new site (which works on the old site) and don't know the correct settings to make it work.
- Webdongle
- Joomla! Master
- Posts: 44097
- Joined: Sat Apr 05, 2008 9:58 pm
Re: From domain to subdomain
public $log_path = '/web/htdocs/ferenaz.dittagioia.it/home/log';
public $tmp_path = '/web/htdocs/ferenaz.dittagioia.it/home/tmp';
Is the folder called ferenaz.dittagioia.it?
I doubt it
If the folder of the subdomain is nested then the paths should be more like
public $log_path = '/web/htdocs/foldername/home/log';
public $tmp_path = '/web/htdocs/foldername/home/tmp';
A good way to create the correct paths is to create another subdomain and install a fresh Joomla into it. That will give you the pattern for the paths.
Ideally the folders for the Domain and subdomain should be on the same level with each other and below the htdocs folder.
btw the folder the subdomain is the root of the subdomain regardless of whether it is nested or not.
public $tmp_path = '/web/htdocs/ferenaz.dittagioia.it/home/tmp';
Is the folder called ferenaz.dittagioia.it?
I doubt it
If the folder of the subdomain is nested then the paths should be more like
public $log_path = '/web/htdocs/foldername/home/log';
public $tmp_path = '/web/htdocs/foldername/home/tmp';
A good way to create the correct paths is to create another subdomain and install a fresh Joomla into it. That will give you the pattern for the paths.
Ideally the folders for the Domain and subdomain should be on the same level with each other and below the htdocs folder.
btw the folder the subdomain is the root of the subdomain regardless of whether it is nested or not.
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
- Per Yngve Berg
- Joomla! Master
- Posts: 30945
- Joined: Mon Oct 27, 2008 9:27 pm
- Location: Romerike, Norway
Re: From domain to subdomain
It will not run on 7.4. You have to step down to 5.6.
-
- Joomla! Apprentice
- Posts: 8
- Joined: Sun Mar 06, 2022 5:19 pm
Re: From domain to subdomain
That did it! I will try to upgrade to v3 as soon as possible, will I be able to go back to 7.4 then?
-
- Joomla! Apprentice
- Posts: 8
- Joined: Sun Mar 06, 2022 5:19 pm
Re: From domain to subdomain
Am I running a risk by staying on 5.6 for the moment?
- Webdongle
- Joomla! Master
- Posts: 44097
- Joined: Sat Apr 05, 2008 9:58 pm
Re: From domain to subdomain
Your running a risk running an old Joomla that probably has old extensions in it. You could use wamp on your PC to migrate.
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
-
- Joomla! Apprentice
- Posts: 8
- Joined: Sun Mar 06, 2022 5:19 pm
Re: From domain to subdomain
As I said before, I inherited this site, know nothing about Joomla and so will have to look for help to update to be more expedient. Just looking over the upgrade instructions, nothing corresponds, my user may not even be high-level enough.
I find a Joomla expert to do this, or just retrieve the content from the site and remove it.
Many thanks again for everyone's help.
I find a Joomla expert to do this, or just retrieve the content from the site and remove it.
Many thanks again for everyone's help.
- Per Yngve Berg
- Joomla! Master
- Posts: 30945
- Joined: Mon Oct 27, 2008 9:27 pm
- Location: Romerike, Norway
Re: From domain to subdomain
See this doc on how to recover the Super-admin password.
https://docs.joomla.org/How_do_you_reco ... assword%3F
https://docs.joomla.org/How_do_you_reco ... assword%3F
- Webdongle
- Joomla! Master
- Posts: 44097
- Joined: Sat Apr 05, 2008 9:58 pm
Re: From domain to subdomain
Once you access as Super Admin you can install Akeeba. Pick the version that suits your Joomla and php https://www.akeeba.com/compatibility.html
Even if you can't run/migrate the site someone you hire can with the .jpa backup. The backup has the site, files, the site database and an installer.
When you are in a position to hire someone viewforum.php?f=177
Even if you can't run/migrate the site someone you hire can with the .jpa backup. The backup has the site, files, the site database and an installer.
When you are in a position to hire someone viewforum.php?f=177
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".