Questions tagged [server]

The tag has no usage guidance.

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

Craft 3 Upload To Bluehost - Index.php outside root issue

I'm having issues uploading my craft3 site to Bluehost. I've uploaded all the files, ran composer install and it does actually work. However when I go to my domain it shows the raw files/folders and ...
1
vote
2answers
21 views

Updating Asset Indexes Fails with TemplatesController Not Found Error in Craft Logs

Client wants to be able to upload a 90MB .mp4 file to a local asset folder, that understandably throws a 'General error: 2006 MySQL server has gone away'. I uploaded the file directly to the server ...
0
votes
1answer
50 views

Craft CMS not working on server

I had my Craft CMS site working on my local hosting. I then moved it over to bluehost VPS. I moved the database and uploaded the files to the server. I've put the database user information in the .env ...
0
votes
0answers
25 views

An unknown error occurred message, only on live server

Please can anyone give me some pointers. Just logged into the backend on an older (but live) 3.0.26.1 project. CP is now flashing multiple 'an unknown error occurred' messages on every CP request. ...
0
votes
0answers
17 views

Windows permissions error

Anyone experienced with issues setting up Craft on Windows server - getting phperror logs within Craft stating: The directory is not writable by the Web process for cpresources I have got the hosts ...
1
vote
1answer
62 views

Migrating Server - Craft isn't installed yet

I've set up a new Forge server and connected the repo to my site. I've also uploaded the database and copied over the db credentials to the dotenv file. However when I visit the site control panel ...
0
votes
0answers
108 views

Large file upload, 500 server error

We've a Craft 3 site hosted with Digital Ocean (Serverpilot set-up) with the DNS routed through Cloudflare. The client has experienced issues uploading large ZIP files to (c140MB), returning a 413 ...
1
vote
1answer
480 views

Internal Server Error for admin login and dashboard

I deployed a Craft 3 site and the site is fine, however when I try and go to /admin to login I get a Craft "Internal Server Error - Server Error" message and can't access the dashboard. Any ideas ...
2
votes
2answers
2k views

Craft 3: 500 Internal Server Error when trying to install on server

For the last 3 days i've been trying to install Craft CMS 3 on my server. I'm using 1&1 internet, have FTP uploaded all the files, changed the permissions for the folders and files to the right ...
1
vote
1answer
277 views

When saving an Entry, I receive a JSON response rather than returning to the Entry's edit page

Craft Version: 3.0.4 Web Server: Apache + Nginx proxy Recently I've been working on a couple of Craft 3 projects for deployment on my institution's web servers. In the past, I've successfully ...
3
votes
2answers
591 views

Craft 3.0 - Recommended development environment for Windows?

I was wondering what people who are developing on Windows 10 are using as webserver environment in 2018? I have had ok results previously using ampps, but I'm having a lot of problems with Craft 3.0 ...
1
vote
1answer
862 views

Excessive resource usage / virtual memory size

Our server is generating lots of emails that follow this template: subject: lfd on host.foo.com: Excessive resource usage: foo (24056 (Parent PID:16356)) body: Time: Wed Jan 31 11:31:20 ...
1
vote
1answer
87 views

Making a base url without /public

I'm creating a site that works now at www.mysite.com/public/ I would love to get to drop the /public off the url so it is: www.mysite.com Does anyone know how to do this? Thank you!
0
votes
1answer
161 views

Code shows instead of homepage

A website I built frequently throws up the following code instead of the homepage: <?php // Path to your craft/ folder $craftPath = '../craft'; // Do not edit below this line $path = rtrim($...
3
votes
1answer
441 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 ...
1
vote
1answer
76 views

Visitor drop off since moving over to Craft CMS

Hi I've been managing my clients Wordpress site for over 7 years now and redesigned it a few times. Recently, I convinced my client to move over to Craft CMS and 4 months ago we went live with a new ...
1
vote
1answer
103 views

Optimizing With Http2 In Mind

My main config is Apache/Centos 7/WHM/Redis/OPCache/PHP7.1/MariaDb/PHP-fpm/Http2 and have optimized my server to a great degree. It's a 32GB dedicated HexaCore. I have worked really diligent to get ...
2
votes
2answers
95 views

compiled_templates folder using up inodes on Ubuntu 14.04 Server

My server has gone down twice in the last 3 weeks because of an excessive number of files being created in the compiled_templates folder. This causes all of the inodes on our server to be used up ...
1
vote
1answer
3k views

Login - Bad Request: The CSRF token could not be verified

I have just deployed an existing site to a new server. As the DNS is not pointing there yet, I have simply edited my /etc/hosts file on my Mac to point to the IP address for testing. Whilst checking ...
2
votes
3answers
1k views

HTTP ERROR 500 after move to live

I moved a site from staging to live. Prior to moving, I logged in to the Craft admin and cleared the caches. I copied the db to the new one and moved the folders like so… from… home/subdomains/craft ...
2
votes
1answer
2k views

Internal Server error during install

I've done a few installs of Craft and never had a problem. I'm currently trying to do an install on a new server under a subdmomain and getting the following results… This results in 404 http://...
2
votes
1answer
111 views

Sub-pages not loading on Windows server

I just moved a site over to a Windows server, and my homepage loads fine, but sub pages are not loading. I just get an error message that the connection was reset. Adding index.php to the url doesn't ...
1
vote
1answer
378 views

Updated the PHP on server. Getting this error: Please ensure that $craftPath is set correctly

I am running Amazon Ec2 instance and tried updating the PHP on the site using this guide: http://brianshim.com/webtricks/update-amazon-ami-php5-3-to-php5-4/ And now this is the error I am receiving: ...
4
votes
2answers
571 views

Self-hosting requirements/scaling

Is there any reason the mySQL, CraftCMS, and assets/images/content can't all live on the same server, assuming the server is appropriately sized and backed up? Are there any sizing/scaling guidelines?...
2
votes
1answer
48 views

finding core dumps in public root

Am suddenly finding lots of core..xxx files dumped in the root of my site. In devMode cant see any issues. Assume this is serious issue and memory dump? Where to start? Logs have loads of stuff but ...
2
votes
1answer
194 views

Setting up Craft on Linode Using Ubuntu

I'm setting up a Craft site on a Linode server has anyone had any experience with this? I'm struggling with which owner and user to set the var/www/html folder to with chown and what chmod settings to ...
2
votes
1answer
161 views

Do servers in a multi-server Craft setup need to share a storage directory?

We have a multi-server Craft setup, for redundancy and scaling. We've been using an shared NFS drive to to host Craft's storage directory, by setting CRAFT_STORAGE_PATH to a mounted /craft-data/ ...
1
vote
1answer
98 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
204 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
231 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
904 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
111 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
614 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
543 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
728 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
360 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
563 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
92 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
457 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
716 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
299 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
319 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
710 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 ...
1
vote
1answer
804 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 ...
0
votes
1answer
877 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
802 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
46 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
434 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
438 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
1k 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, $...