Questions tagged [server]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
103 views

Manual update fails on server

I tried up update to the latest Craft, but assets are not loading and the process stops here. I deleted the storage/runtime folder but I got no luck. Log says: 2016/11/08 20:17:23 [error] [...
4
votes
1answer
224 views

What are useful guidelines for Craft CMS security on VPS (virtual private servers)?

We have the choice of engaging services like Forge and ServerPilot, or rolling our own. Besides pricing, the opacity of what the services are actually providing can be a question -- just how well do ...
1
vote
1answer
399 views

Using Symbolic Links for Very Large Image directories

I'm converting an EE site to Craft. During the conversion we are establishing LOCAL > DEV > LIVE environments and using GitHub. LOCAL = My local MAMP PRO setup. DEV & LIVE = a single account at ...
3
votes
1answer
2k views

PHP mbstring extension isn't enabled? (WampServer)

I'm using WampServer Version 3.0.4 64bit on Windows 10 to run a local dev site. It's been working fine for a few weeks, and I last opened the site about 5 days ago. Today when I go to my site, I'm ...
1
vote
1answer
130 views

Plugin to report when site becomes unavailable

I have a Craft installation on DigitalOcean, with the smallest package: 512MB Memory 1 Core Processor 20GB SSD Disk 1TB Transfer I installed the default LAMP droplet. PROBLEM: MySQL crashes from ...
1
vote
1answer
651 views

"Unknown error" constantly, seems tied to user preferences

I have a user group called Content Loaders with limited permissions. After creating a test user in this group I got an "An unknown error occurred" message every time I navigated anywhere in the CP or ...
2
votes
1answer
700 views

Craft site moved to HTTPS - now having issues

I have had a Craft install running for some time now, and it has come to the point where I want to run it securely over HTTPS. Using Laravel Forge, I have set up a Let's Encrypt certificate ...
7
votes
2answers
870 views

How do I redirect traffic from a legacy category URL to a new category URL?

Within Craft, I am renaming the top-level entry URL format for a section from legacy-subdirectory/{slug} to new-subdirectory/{slug}. How do I redirect traffic from the legacy URL to the new format ...
1
vote
1answer
740 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 ...
5
votes
1answer
810 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 ...
2
votes
1answer
176 views

Is it possible to force Craft to recheck available sever modules?

One of our servers hosting a Craft site has recently had ImageMagick installed on it, as we noticed that transformed animated GIFs weren't animating. The 'Requirement Report' at /admin/utils/...
4
votes
1answer
615 views

How to serve Craft with Caddy server

Caddy seems to be an easy to use alternative to established web servers. How does the Caddyfile look like for a Craft site?
2
votes
1answer
1k views

Internal Server Error

I am trying to edit fields. When I go to Settings->Fields and then click on a field, I get a message that reads: Internal Server Error Craft\Model and its behaviors do not have a method or ...
0
votes
1answer
429 views

White screen during installation

I am trying to get Craft running on the Digital Ocean/ Serverpilot combination I've seen recommended here. Serverpilot is installed on the droplet and running fine. I created an app, uploaded the most ...
2
votes
2answers
400 views

Running Craft alongside another CMS on the same domain

I've started working with a marketing team for a well established online ecommerce store. Their site is a custom ecommerce CMS build (handled by another third party), which works well technically, ...
1
vote
2answers
729 views

Multi-Environment Config Database Credentials

Being driven to distraction trying to setup multiple environments with Craft. I have Craft running (and working) locally without issue. I have created a staging server with Digital Ocean and setup the ...
2
votes
1answer
973 views

Can't get Craft running on Heroku

I'm familiar with Heroku, but new to Craft CMS. In order to get a site running, I followed this tutorial: https://medium.com/@aj1215/craft-cms-on-heroku-79b991665b0b#.8b561b1b4 But the site isn't ...
1
vote
1answer
2k views

Unable to create the cache directory

Unable to create the cache directory (/path/craft/storage/runtime/compiled_templates//36). I receive this on one live installation of Craft CMS. This is 99% a server issue with permissions. I can't ...
2
votes
2answers
904 views

500 error on PNG images

I'm uploading a PNG image into my assets folder and linking to it from my css file - standard stuff, nothing special. However the PNG image is returning with a 500 error in the console and not ...
1
vote
0answers
51 views

How to remove domain from paginate.nextUrl?

What makes a site's domain appear within the output of paginate.nextUrl? I am experiencing a situation where it is not there in my local dev environment, but IS there on production server. I'm sure it'...
1
vote
1answer
472 views

Twig's 'start with' conditional returns 500 error

The following is within the index template on a site in production: {% set domain = craft.request.getServerName() %} {% if domain starts with 'subdomain' %} {% include 'subdomain/index' %} {% ...
1
vote
1answer
554 views

Recommended CPU/RAM VPS settings to query 50,000 entries

I'm running a very simple query on a text field... {% set query = craft.request.getQuery('email') %} Locally, with one entry on my machine, I'm getting a response time of 332ms. We were assuming ...
2
votes
1answer
2k views

Does Craft work with PHP 7?

I'm attempting to run Craft (2.4.2696) on a server with PHP 7 RC, and I'm seeing the following PHP warning: Declaration of Craft\DbCommand::addForeignKey($table, $columns, $refTable, $refColumns, $...
3
votes
1answer
793 views

What does the Timezone in Settings -> General represent?

Should it be set to the timezone of the server Craft is installed on, or the timezone of the current user, or something else? I can find no documentation about these settings anywhere.
1
vote
1answer
102 views

How can I server Craft transform assets statically (not through Craft/PHP)

I’m using Craft as a backend for an iOS app and theres thousands of asset requests. Having to go through php instead of straight through Apache is causing too much of a bottleneck. I want to use ...
1
vote
1answer
162 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 ...
4
votes
1answer
594 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 ...
2
votes
2answers
479 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 ...
3
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,...
1
vote
1answer
115 views

Bypass server memory_limits for Cloud Asset resources

I’m building a site that needs to upload large video files to Amazon S3. We have run into limitations with our host where they will only increase the memory_limit to 512mb and it’s likely that there ...
2
votes
1answer
420 views

"Internal Server Error - Cannot find the target folder." When trying to edit an article

Suddenly, when I try to enter an article to edit it, I get the error message "Internal Server Error - Cannot find the target folder." I can't seem to find the reason why this happens, or how to fix ...
1
vote
0answers
238 views

Two domains, one server with Craft installed

I already have Craft running on a single domain name successfully. For my client, we've bought a second domain name for a mini site for SEO purposes, some of which we'd like to use Craft on. What ...
5
votes
1answer
3k views

Steps to publish a craft website from local to server

is there any resource that list all the steps to publish a local finished website to the final server? Thanks!
1
vote
0answers
255 views

Optimization on GridServer (gs)

How anyone have any server or database optimization recommendations for running Craft CMS on MediaTemple's GridServer (gs)? Since it's a shared server, I know there's not as much as you could do with ...
6
votes
1answer
197 views

Craft sometimes takes several minutes to respond to a request

I have a pretty simple Craft site running a Digital Ocean Ubuntu droplet and for some reason it can sometimes take several minutes to save an entry. I think this might be something to do with ...
4
votes
1answer
201 views

Can you run Craft CP on one webserver and serve the front end content on a separate one?

Much of my work is for a corporate organisation, and there is some resistance to having the CP of a CMS externally exposed. Is it possible to run the Craft CP on one internal (not available outside ...
6
votes
2answers
2k views

Can Craft easily be hosted across multiple servers?

We are looking at Craft as our CMS but would love to be able to scale the installation across multiple Amazon EC2 instances. Is this possible? Can all assets uploaded to Craft be pushed to S3? Is ...
1
vote
0answers
3k views

How to Fix Error 403 Attempting to Access Craft Admin Page Using XAMPP

I'm using XAMPP for the very first time and am also new to Craft so any help with this issue would be very much appreciated. I'm attempting to set-up a local dev environment through XAMPP and then be ...
1
vote
1answer
623 views

Any code fixes for "ini_set() has been disabled for security reasons"

I have two clients using Craft and their hosts will not allow ini_set as they have it as a disabled function in the global php.ini. I also can't enable in througth a custom php.ini. Is there any way ...
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 ...
1
vote
1answer
2k views

Get "Internal Server Error Undefined index: handle"

Hi I was trying to save the matrix field and got the error: "Internal Server Error Undefined index: handle" I checked out all fields' handles and they are all in place. Is there any reason causing ...
1
vote
1answer
488 views

Variable 'foo' does not exist in template

I've uploaded my site to the live server and i'm getting Template Error Variable "heading" does not exist On a couple of pages. This is only happening to 2 sections, the rest are all fine. and it ...
0
votes
1answer
197 views

migrating from Linux to Windows, but my templates aren't loading

Hello I am migrating our craft install from a Linux server to a Windows IIS based server. So far all is working, however the default template is not loading. Any idea why? Linux: http:// 70 .32 .84 ....
4
votes
1answer
758 views

Hosting Craft on Heroku, problems with Asset uploads and thumbnail generation

Has anyone had success hosting Craft on Heroku? I got it up and running, but can't get file uploads to work. Also image thumbnails don't get generated. I am using Craft PRO and Assets are hosted on ...
1
vote
1answer
1k views

net::ERR_CONTENT_LENGTH_MISMATCH for CP after enabling compression

Also: https://plus.google.com/111272585078935192473/posts/5qNuffv3SKp which seems to be a similar problem. I’m with a hoster where compression for PHP scripts must be enabled in php.ini adding zlib....
1
vote
1answer
773 views

Cannot find the target folder

I get an error message when trying to add an asset through a matrix field when I try to save the entry Internal Server Error Cannot find the target folder. I am able to upload images through assets ...
5
votes
1answer
16k 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, ...
4
votes
1answer
535 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 ...
4
votes
1answer
945 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 ...
9
votes
4answers
5k views

Getting $craftPath error on server trying to get Craft running

Trying to get my Craft site running on my server for the first time. Getting the error Could not find your craft/ folder. Please ensure that $craftPath is set correctly in /var/www/dev.mysite.com/...