From domain to subdomain

General questions relating to Joomla! 2.5. Note: All 1.6 and 1.7 releases have reached end of life and should be updated to 2.5. There are other boards for more specific help on Joomla! features and extensions.

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.
Locked
illustrata
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Sun Mar 06, 2022 5:19 pm

From domain to subdomain

Post by illustrata » Sun Mar 06, 2022 5:54 pm

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 :eek:

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30942
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: From domain to subdomain

Post by Per Yngve Berg » Sun Mar 06, 2022 6:00 pm


illustrata
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Sun Mar 06, 2022 5:19 pm

Re: From domain to subdomain

Post by illustrata » Sun Mar 06, 2022 6:14 pm

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?

illustrata
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Sun Mar 06, 2022 5:19 pm

Re: From domain to subdomain

Post by illustrata » Mon Mar 07, 2022 2:14 pm

Is there anywhere else I could get support?

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30942
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: From domain to subdomain

Post by Per Yngve Berg » Mon Mar 07, 2022 2:32 pm

Have you adjusted temp and Log path in Configuration.php?

illustrata
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Sun Mar 06, 2022 5:19 pm

Re: From domain to subdomain

Post by illustrata » Mon Mar 07, 2022 3:21 pm

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.

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30942
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: From domain to subdomain

Post by Per Yngve Berg » Mon Mar 07, 2022 5:26 pm

Are you running Joomls 2.5.28 on php 5.6?

Remember this version is from 2014.

illustrata
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Sun Mar 06, 2022 5:19 pm

Re: From domain to subdomain

Post by illustrata » Mon Mar 07, 2022 5:39 pm

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.

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44096
Joined: Sat Apr 05, 2008 9:58 pm

Re: From domain to subdomain

Post by Webdongle » Mon Mar 07, 2022 5:52 pm

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.
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".

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30942
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: From domain to subdomain

Post by Per Yngve Berg » Mon Mar 07, 2022 7:12 pm

It will not run on 7.4. You have to step down to 5.6.

illustrata
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Sun Mar 06, 2022 5:19 pm

Re: From domain to subdomain

Post by illustrata » Mon Mar 07, 2022 7:31 pm

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?

illustrata
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Sun Mar 06, 2022 5:19 pm

Re: From domain to subdomain

Post by illustrata » Mon Mar 07, 2022 7:33 pm

Am I running a risk by staying on 5.6 for the moment?

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44096
Joined: Sat Apr 05, 2008 9:58 pm

Re: From domain to subdomain

Post by Webdongle » Mon Mar 07, 2022 7:51 pm

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".

illustrata
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Sun Mar 06, 2022 5:19 pm

Re: From domain to subdomain

Post by illustrata » Mon Mar 07, 2022 7:57 pm

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.

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30942
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: From domain to subdomain

Post by Per Yngve Berg » Mon Mar 07, 2022 8:07 pm

See this doc on how to recover the Super-admin password.

https://docs.joomla.org/How_do_you_reco ... assword%3F

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44096
Joined: Sat Apr 05, 2008 9:58 pm

Re: From domain to subdomain

Post by Webdongle » Mon Mar 07, 2022 8:37 pm

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
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".


Locked

Return to “General Questions/New to Joomla! 2.5”