Questions tagged [server]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
17
votes
4answers
11k views

What is the recommended Nginx configuration for Craft?

I'm looking for the recommended way of how to configure Nginx server to run Craft. Currently, I use the following configuration, it works, but I don't know if it could be better: server { listen ...
10
votes
1answer
2k views

Are there any intentions to release multisite support for Craft?

We're currently using a single ExpressionEngine install with MultiSite Manager to serve up 11 total sites that share the same database. After investigating Craft, and asking questions via Twitter it ...
6
votes
4answers
4k views

All images uploading… except JPG files

No idea why but my local install of CraftCMS (in a MAMP environment) won't let me upload JPGs. PNG, GIF, even TIFF works (just for the heck of it). When I select the file in the browser dialog, it ...
29
votes
3answers
2k views

How do I configure Varnish to work with Craft?

Has anyone successfully used Varnish with a Craft build? I'm trying to set up Varnish on my server but I'm very new at this. Can anyone share their config file or point me in the right direction? We ...
3
votes
1answer
560 views

Problems setting up a local site

I am running into problems with virtual hosts while trying to run Craft locally. My setup was working perfectly and after a restart of my mac I get error messages and I don't understand why. I am ...
2
votes
2answers
459 views

Server respond is very long (25s). Is there a way to optimize the perfomance?

Normally I'm not working that much with craft and twig syntax, so first of all sorry if I'm not that much into that topic (normaly html,css,js,jquery). There is one site which need so much time to ...
5
votes
1answer
15k views

Adding cache headers to Nginx configuation file breaks the /admin area

When I add this to my Nginx Confirguration file: location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ { expires 7d; add_header Pragma "public"; add_header Cache-Control "public, must-revalidate, ...
9
votes
2answers
2k views

Installation Error “1046 No database selected”

Summary I'm getting the following error when attempting to install a new Craft site locally: CDbCommand failed to execute the SQL statement: SQLSTATE[3D000]: Invalid catalog name: 1046 No database ...
5
votes
1answer
741 views

Installing other PHP app in sub directory

My question is the opposite of this question: Installing Craft in sub directory I have a Craft website and I need to put a Laravel application in a sub directory, it almost works. I have made the ...
4
votes
1answer
527 views

How can I time-profile the page load for a Craft request?

I would like to see how long plugins take to load, as well as other aspects of the page (loops and database requests). My webpage can take ~2-3 seconds to return the initial request. It seems high ...
2
votes
2answers
1k views

Craft with the PHP Built-in server?

With PHP 5.4+ we get a built-in webserver, http://php.net/manual/en/features.commandline.webserver.php Has anyone had luck setting this up with Craft? It seems like it could be pretty straightforward,...
4
votes
1answer
538 views

Craft hangs when updating entry

I've had this issue for a while now and have never been able to get it solved - even after chatting in Slack about it with some people. Basically whenever I go to update an entry, Craft hangs and ...
4
votes
1answer
912 views

Website taking 30+ seconds to load

One of my Craft websites is taking a long time (30+ seconds) to load. The /admin area also loads slowly. I have other installs of Craft on the same server that don't experience this problem. Are ...
2
votes
1answer
981 views

Mcrypt is required on Ubuntu 14.04

I am using Craft on Ubuntu 12.04 servers without problems, but when trying to run it on Ubuntu 14.04 (trusty) I always get the message Mcrypt is required. I installed it, however, via... apt-get ...
1
vote
1answer
148 views

Installing Moodle to a Craft CMS server

I was wondering if anyone had any experience in installing Moodle to a server that already had a CraftCMS website installed onto it? I've followed the instructions on the Moodle Installation Guide (I ...
1
vote
1answer
568 views

Craft files and DB out of sync

A client's site is currently showing this message: Craft does not support backtracking to this version. Please upload Craft 2773 or later. I understand how to fix it, but I don't understand how ...