Jump to content

Recommended Posts

Posted

Hi, I'm new to processwire so please be gentle.

Just migrated from one host to another, followed the directions but getting a 500 error (

 
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Error has been logged.

 

Have checked my apache error logs...

[Tue Sep 15 10:01:55 2015] [error] [client MY IP ADDRESS] File does not exist: /var/www/vhosts/wackiki.com/httpdocs/cgi-sys, referer: http://www.wackiki.com/ 

On the config file the previous host had a url in here that wasn't the main URL. I'm not sure what this does?

$config->httpHosts = array('wackiki.com');

 
 
Help!
Posted

This is configuration setting that is needed on your current installation.  It identifies your domain correctly.

I would suggest you have:

$config->httpHosts = array('wackiki.com','www.wackiki.com');
Posted

Possibly you have something mismatching in your .htaccess or config.php

Did you first install a new installation of processwire on the new Host ?

When you migrate a site to another server I always recommend to install a fresh installation of processwire on the new Host. That reveals any unexpected needed server configurations or restrictions on the new host and ensures ending up with a correct .htaccess and config.php

After the installation of a new processwire on the new host delete the site folder and empty the database.

Upload your site folder and import your sql file. Adapt credentials in config.php and chmod to 400.

Let us know how you proceeded with your migration.

  • 3 weeks later...
Posted

Dammit, I'm done before I start.  Got this error off the bat when I try to edit a page:

Recoverable Fatal Error: Argument 3 passed to FieldtypeFile::setupHooks() must be an instance of Inputfield, instance of stdClass given, called in /var/www/vhosts/wackiki.com/httpdocs/wire/modules/Fieldtype/FieldtypeFile.module on line 61 and defined (line 98 of /var/www/vhosts/wackiki.com/httpdocs/wire/modules/Fieldtype/FieldtypeFile.module)

This error message was shown because you are logged in as a Superuser. Error has been logged.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...