Problems when moving a joomla installation
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
-
- Joomla! Apprentice
- Posts: 10
- Joined: Fri Dec 13, 2013 9:57 am
Problems when moving a joomla installation
Hi all,
There's this joomla installation I had been working on. I was running it on the cloud access demo servers, and now I finally had a chance to move it to a production-like environment; unfortunately it is not working properly.
The homepage loads properly, but all the links are broken. I believe the reason for this is linked to the URL: when normally I would get something like /localhost/en/, I get http://localhost/index.php?lang=en instead. I've been messing with the configuration.php settings, and I think the solution is there since I managed to make it look for /localhost/nl/; but then it would just give me a 404 error as there is no "nl" folder on the physical drive. This may also be linked to the demo server using apache, while the production server is using IIS. I've checked to see if I need some configuration change for that, but nothing so far.
Could somebody give a clue as to what I need to set up to get this problem solved? It's probably something really stupid somewhere on the configuration, but I just can't find it.
There's this joomla installation I had been working on. I was running it on the cloud access demo servers, and now I finally had a chance to move it to a production-like environment; unfortunately it is not working properly.
The homepage loads properly, but all the links are broken. I believe the reason for this is linked to the URL: when normally I would get something like /localhost/en/, I get http://localhost/index.php?lang=en instead. I've been messing with the configuration.php settings, and I think the solution is there since I managed to make it look for /localhost/nl/; but then it would just give me a 404 error as there is no "nl" folder on the physical drive. This may also be linked to the demo server using apache, while the production server is using IIS. I've checked to see if I need some configuration change for that, but nothing so far.
Could somebody give a clue as to what I need to set up to get this problem solved? It's probably something really stupid somewhere on the configuration, but I just can't find it.
- Per Yngve Berg
- Joomla! Master
- Posts: 30926
- Joined: Mon Oct 27, 2008 9:27 pm
- Location: Romerike, Norway
Re: Problems when moving a joomla installation
Is this a Multi Language Site?
If not, you have occidentally enabled the Language Filter Plugin.
To enable SEF URLs on an IIS server:
1. Rename webconfig.txt to web.config (Apache uses .htaccess)
2. Enable SEf in Global Configuration.
Note: The minimum version of IIS is 7.
Mod. Note: Relocated the topic to the Installation on IIS server forum.
If not, you have occidentally enabled the Language Filter Plugin.
To enable SEF URLs on an IIS server:
1. Rename webconfig.txt to web.config (Apache uses .htaccess)
2. Enable SEf in Global Configuration.
Note: The minimum version of IIS is 7.
Mod. Note: Relocated the topic to the Installation on IIS server forum.
-
- Joomla! Apprentice
- Posts: 10
- Joined: Fri Dec 13, 2013 9:57 am
Re: Problems when moving a joomla installation
Per Yngve Berg wrote:Is this a Multi Language Site?
If not, you have occidentally enabled the Language Filter Plugin.
To enable SEF URLs on an IIS server:
1. Rename webconfig.txt to web.config (Apache uses .htaccess)
2. Enable SEf in Global Configuration.
Note: The minimum version of IIS is 7.
Mod. Note: Relocated the topic to the Installation on IIS server forum.
It is multilingual, yes. As for the IIS version, it should be OK as Windows Server 2012 R2 was installed and that includes IIS 8 (unless I'm mistaken).
I've renamed the file to web.config, but if I try to save my configuration it gives me a 500.0 error, I'm attaching a screenshot of it.
Maybe I can change that directly on the configuration file?
You do not have the required permissions to view the files attached to this post.
- Per Yngve Berg
- Joomla! Master
- Posts: 30926
- Joined: Mon Oct 27, 2008 9:27 pm
- Location: Romerike, Norway
Re: Problems when moving a joomla installation
You can change configuration.php with a text editor.
-
- Joomla! Apprentice
- Posts: 10
- Joined: Fri Dec 13, 2013 9:57 am
Re: Problems when moving a joomla installation
Yes, but the question is, where? I can't see anything related on configuration.php. Do I need to mess with the rewrite options on htaccess?Per Yngve Berg wrote:You can change configuration.php with a text editor.
-
- Joomla! Fledgling
- Posts: 3
- Joined: Sat Jun 07, 2014 3:48 pm
Re: Problems when moving a joomla installation
I don't know if it will fix for your specic problem, but I have seem good recomentations for a component called "Akeeba Backup", according others it is good when you need transfer a web site from local to production server, because that generate a new instalation folder for migration and keep all of your components, datas and configurations.
I already installed it here, and I'm satisfied.
I hope I have helped!
Bye!
I already installed it here, and I'm satisfied.
I hope I have helped!
Bye!
- Per Yngve Berg
- Joomla! Master
- Posts: 30926
- Joined: Mon Oct 27, 2008 9:27 pm
- Location: Romerike, Norway
Re: Problems when moving a joomla installation
Code: Select all
public $sef = '1';
public $sef_rewrite = '0';
public $sef_suffix = '0';
-
- Joomla! Apprentice
- Posts: 10
- Joined: Fri Dec 13, 2013 9:57 am
Re: Problems when moving a joomla installation
Ok, that seemed to be do the trick. The website appears to work OK now that I changed those parameters. Thanks a lot!Per Yngve Berg wrote:Code: Select all
public $sef = '1'; public $sef_rewrite = '0'; public $sef_suffix = '0';
There's one last error that I get, though. The administrator part of the site seems to work ok for the most part, as in I can create articles and such. However, I still get that error 500.0 when I try to save the global configuration. Any idea why that could be?
- Per Yngve Berg
- Joomla! Master
- Posts: 30926
- Joined: Mon Oct 27, 2008 9:27 pm
- Location: Romerike, Norway
Re: Problems when moving a joomla installation
There can be a bad file in administrator/components/com_config.