Problems when moving a joomla installation

This forum is for issues with installing Joomla! 3.x on IIS webservers.

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
Locked
Pinatarra
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Fri Dec 13, 2013 9:57 am

Problems when moving a joomla installation

Post by Pinatarra » Sat Jun 07, 2014 11:31 am

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.

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

Re: Problems when moving a joomla installation

Post by Per Yngve Berg » Sat Jun 07, 2014 1:29 pm

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.

Pinatarra
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Fri Dec 13, 2013 9:57 am

Re: Problems when moving a joomla installation

Post by Pinatarra » Sat Jun 07, 2014 1:52 pm

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.

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

Re: Problems when moving a joomla installation

Post by Per Yngve Berg » Sat Jun 07, 2014 2:00 pm

You can change configuration.php with a text editor.

Pinatarra
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Fri Dec 13, 2013 9:57 am

Re: Problems when moving a joomla installation

Post by Pinatarra » Sat Jun 07, 2014 4:20 pm

Per Yngve Berg wrote:You can change configuration.php with a text editor.
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?

danielelidio
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Sat Jun 07, 2014 3:48 pm

Re: Problems when moving a joomla installation

Post by danielelidio » Sat Jun 07, 2014 4:25 pm

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!

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

Re: Problems when moving a joomla installation

Post by Per Yngve Berg » Sat Jun 07, 2014 4:49 pm

Code: Select all

   public $sef = '1';
	public $sef_rewrite = '0';
	public $sef_suffix = '0';

Pinatarra
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Fri Dec 13, 2013 9:57 am

Re: Problems when moving a joomla installation

Post by Pinatarra » Sun Jun 08, 2014 12:52 pm

Per Yngve Berg wrote:

Code: Select all

   public $sef = '1';
	public $sef_rewrite = '0';
	public $sef_suffix = '0';
Ok, that seemed to be do the trick. The website appears to work OK now that I changed those parameters. Thanks a lot!

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?

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

Re: Problems when moving a joomla installation

Post by Per Yngve Berg » Sun Jun 08, 2014 1:13 pm

There can be a bad file in administrator/components/com_config.


Locked

Return to “Joomla! 3.x on IIS webserver”