URL in Joomla does not work - joomla

I have a live joomla website which i copied on my development server which has the URL "dev.xxx.ch". The base site works but when i click on a link it fails. The link is generated right: dev.xxx.ch/gyger/ but then the sites goes to xxx.ch
Can anybody fix me?

Check your configuration.php file in your root directory. This line should say:
public $live_site = 'http://dev.pingag.ch';
If it doesn't change it. With that said, that's not the only thing you need to worry about. Make sure you have followed the proper directions on copying over a site.
I also highly recommend using Akeeba backup. It is free and takes care of everything for you. Really the only way to go. Although a word of warning with Akeeba backup, make sure to follow the documentation carefully, it will save you tons of time.

Related

Joomla 2.5.16 take up to 2min to load

A relative asked me to fixed a Joomla website (v2.5.16) who has been hacked last year, probably due to lack of update (is up to date now), unfortunately I have no information about this. The issue is that the front end take 2~ min to load. The administration is loading normally so whatever the issue is, it depend of the front end. I already disabled all modules one by one and switched the template with another one to make sure that thebug is not in template or plugins folders, without success.
I must add that the problem is "probably" more recent than the hack, according to this person. So maybe there was a script somewhere reaching a random server which may not work anymore.
PS : the website is on a shared hosting. I have the FTP access but no ssh.
I know that I don't give any details which can lead to resolve this, but I need more a method to track what can go wrong and where than a solution.
Thanks in advance,
We have written a lengthy post explaining why a website might be slow: http://www.itoctopus.com/20-questions-you-should-be-asking-yourself-if-your-joomla-website-is-slow
From the looks of it, it might that the website is still hacked. Try overwriting the Joomla files with a fresh Joomla install and see if that addresses the problem.
Solving this issue will probably involve some or all of the following:
updating Joomla and all third party extensions to the latest versions
checking for and fixing malicious files using http://myjoomla.com or
https://sucuri.net or similar
analysing the performance of the website using http://gtmetrix.com
(it's free) or similar to pinpoint and fix what is taking the most time to
load
If the website has been hacked, you may need to reset passwords etc once the malicious files have been removed. See https://joomla.stackexchange.com/a/180/120 for more information about securing the website once it is fixed.

Install Modx on FTP Server

I am pretty new to cms and hope you can help me. I'd like to install modx on a ftp server. My problem is my predecessor created a website with joomla. Now I want to create a completely new website out of the old one (just content, layout and design will be new), but with modx. I know how to built it, but i do not understand how to install modx and building the new website without crashing the existing.
Can someone give me a little step by step (if possible as simple as you can, cause i'm really not so familiar to the topic) on where to install (some kind of subdirectory?!); and what i have to adjust in modx so while developing the old website can be used without some kind of crossing (or if possible, to install modx localy on a flashdrive and upload the website somehow when finished?).
And how, if the website is finished, to delete the old one (deinstall joomla,...) and get the new one to the root directory.
Ps. Sorry for my English, isn't the best... I am a German :)
Thanks :))
I you have access to the server management or some kind of control panel, I would suggest create a new subdomain, such as new.yourdomain.com and install MODx there. I would also suggest using a separate database, evenou though that is not crucial as you can use the default modx_ prefix to easily tell one set of tables from the old joomla ones.
Once you are happy with the new site, either transfer it:
http://rtfm.modx.com/revolution/2.x/administering-your-site/moving-your-site-to-a-new-server
or just change the DNS of your server to point the main domain to the new subdirectory. That would depend on your hosting prvider.

How to restore a website offline. using XCloner on Joomla thats run on Xampp

I am totally new to this stuff. I have installed Joomla on my windows pc to test my changes to the site before I try them on the actual site and mess things up.
I was given a backup using XCLONER. I installed xcloner but cant seem to restore the website.
I am using XAMPP.
I am also unsure where to place the directory where the restore file should be.
Any help will help. Any tutorials on this? again, just starting out with this stuff.
Thank you in advance.
There are so many references and tutorials out there:
Google
Also Joomla.org has adequate documentation for this.
I can't say exactly about how the XCloner works, but the general steps to replicate Joomla is:
Copy and place the files and folders at the new location
Download the database
Create a new database at the new host (your computer) and import the data from the one you downloaded.
Configure Joomla (configuration.php) to connect to the new local database (host,user, password, prefix -if changed).
At this point you should be able to run your site to the new location, but you probably want to change also the path for logs and tmp folders, to reflect the new location.

Joomla blank after changing server, admin panel good

I did a cPanel move of a Joomla 1.5 website and a PHPBB3 forum from one server to another, and when the DNS changes kicked in all I see is a blank page. The administrator panel works without any problems whatsoever. cPanel works. Website and forum (which is separate from the website) are both blank.
I have then manually downloaded and then uploaded all files (didn't move the databases manually), and some files wouldn't upload because of 555 file permissions. I changed the permissions to 777 temporarily to overwrite the file with the manually uploaded one. So all files are now the same as they were on the old server.
Even when I turn the Site Debugging on, the screen is blank.
There is no hidden index.html or default.html file which could be causing the problem.
The entire account was moved with cPanel so it's the same on the old server and the new server. The hosting provider reports no problems. The DNS changes kicked in two days ago.
PHP is working, as this link works: http://oklade.net/findpath.php
In configuration.php, there is nothing specifically pointing to the old site.
var $dbtype = 'WeboMySql';
var $host = 'localhost';
All roads in these cases generally lead to configuration.php Check spelling and punctuation for mistakes. Also, enable one of the default Joomla Templates to be sure that whatever template you're using isn't also using old values.
Problem is solved.
The configuration.php file was to blame, as everyone suggested, but there was no possible way to change it manually and get it right, I had to make the system determine its own configuration.
I installed a fresh version of Joomla in a separate folder, and a fresh version of PHPBB3 in a separate folder.
Then I took the configuration.php and config.php files for those two things and put them in the existing folders of the website which didn't work.
Changed the minor details such as database prefixes (as I couldn't have entered the existing ones while installing), and that's it. Now it works.
So this might be a good workaround for anyone facing the same problem. Install a dummy version of Joomla and use the generated configuration.php file for the old, non-functioning website.
Before starting to debug the server, turn debug-mode on (in the admin CP)
First thing I would try is to delete the cache by running: rm –rf /var/www/html/<your website directory>/var/cache/*
The next thing I would try is to switch to another template - make sure that the template is not the issue.
Also, make sure to check the apache access log - just in case. also, you can check .htaccess for stuff like 301 redirect rules or any other problematic configuration (same applies for httpd.conf and configuration.php)
Good luck!

How to make a working Copy of Joomla 1.5

I am running Joomla 1.5
I duplicated the entire Joomla directory from the command line via "cp"
I duplicated the entire MySQL database form within phpMyAdmin
When I run the dup'd site I don't get my selected template, I get the out-of-the-box default template. So I went into Template Manager and made my template the default.
Next the menus are whacky.
So before I proceed to set everything manually, one-by-one, if there something I am missing here as to why when I make an exact copy of everything the new Joomla site does not look exactly like the current one?
Thanks for helping me.
It should work. I assume you followed Copying a Joomla website? Make sure you follow that exactly.
But I strongly recommend using Akeeba backup instead. I use it for all my sites and it just works. It is a free extension that does it all for you. Might take some initial setup but after that you are set.

Resources