Site terribly slow + themes don´t work !!!HELP!!!

Permalink
Hello everyone!

I just moved new site from one server to another, which my client is using.

The site is slow slow slow AND the themes don´t work at all.

Check the site at mielakka.com/mielaa (it´s currently in subfolder, because former site is still running in mielakka.com)

I know that files and database are in different locations (files at ftp.kymp.net and database at mysql.kymp.net). But that's something I cannot affect, it is how it is :(

What can I do to a) make the site work faster (or at least normally) and b) to make themes shown?

-Laura-

funnypurple
 
JohntheFish replied on at Permalink Reply
JohntheFish
The speed may be a side effect of the themes not working. So to start with, try switching to a default theme such as greek yogurt or plain yogurt.
funnypurple replied on at Permalink Reply
funnypurple
The dashboard and editing is even slower than the actual site. It took 18 minutes just to change the theme, and it didn´t have any effect.

The site is working fine in funnypurple.net/mielaa

Just moved the whole thing today to my client´s host. Well, I´ve had many issues with that host before. I couldn´t install C5 there (kept giving errors) so I installed it to my domain´s subfolder and then moved sql and files.

Client´s current page is running with Joomla, can that affect the C5 site somehow?

Though I can´t delete current site before new site is working properly, they need site to be working steady.

EDIT: I´m not very familiar with modifying .htaccess or so, haven´t have need to do that ever.
JohntheFish replied on at Permalink Reply
JohntheFish
With the default theme, I am now seeing a theme on the site. In the network console, all requested files are loading and the slow file is the actual page html. All the css and js files currently involved are loading ok; there are some js errors, but that could easily be a side effect.

So overall, the speed problem is c5 rendering the html for the page. 30 seconds is disastrously slow, so there must be something wrong with the environment or c5 setup.

Have you edited the site config/site.php to use the database on the new server?
Are pretty url's disabled?
Are you getting any php errors in the error log? (and is error logging enabled in the dashboard)
funnypurple replied on at Permalink Reply
funnypurple
It loaded the default theme as slow as everything else.

Yes, I edited site.php and the site gets data from database, because all content is showing (very slow though).

Pretty URL´s are off. I turn them on only when developing is ready and I launch the site for everyday using.

Error log was empty, when I checked it before posting this forum.

Any suggestions what I could try to change? I suppose the problem might be in environment (server) or I missed some point of moving site.
funnypurple replied on at Permalink Reply
funnypurple
Problem solved!

My firend - a true pro - took a look and there was one thing he pointed.

this was wrong:
<link href="<?=$this->getStyleSheet('tyyli.css')?>" rel="stylesheet" type="text/css" />


And this is right:
<link href="<?php echo $this->getStyleSheet('tyyli.css');?>" rel="stylesheet" type="text/css" />


Maybe this is clear all of you, but for me it was new thing, since I have copied the header from other templates, which has worked fine...

My friend also told me why and what, but I hardly remember it in Finnish so I won´t even try in English :)

Anyway, thanks for help JohntheFish. And thanks you guys who spend your time developing Conrete5!