Jump to content

DaveC

Members
  • Posts

    35
  • Joined

  • Last visited

Everything posted by DaveC

  1. Thanks for all the comments and help so far. I've gone back to square 1! And a blank hosting workspace. A database has been set up. I've installed PW 3.x. I've replaced the new 'site' folder with the original one. [Config.php in the site folder is configured correctly.] Parts of some of the original website pages are working OK but most are not. I've tried the .htaccess suggestion of amending it to see if Apache is reading it, and it is. How do I get new website pages to be the same as the old website pages, please? [I have not fully grasped PWs use of the word 'page'.] Or do I have to remake them all?
  2. From config.php **** /*** INSTALLER CONFIG ********************************************************************/ /** * Installer: Database Configuration * */ $config->dbHost = '***********'; $config->dbName = 'vivespor_live'; $config->dbUser = 'vivespor_live'; $config->dbPass = '*********'; $config->dbPort = '3306'; /** * Installer: User Authentication Salt * * Must be retained if you migrate your site from one server to another * */ $config->userAuthSalt = '6933cb8d955240f4d2b91bbddf381064'; /** * Installer: File Permission Configuration * */ $config->chmodDir = '0777'; // permission for directories created by ProcessWire $config->chmodFile = '0666'; // permission for files created by ProcessWire /** * Installer: Time zone setting * */ $config->timezone = 'Europe/London'; /** * Installer: HTTP Hosts Whitelist * */ $config->httpHosts = array('www.vivesport.co.uk/?/'); ***** dbHost & dbPass [presumably password] are correct. What should dbName, dbUser, & httpHosts refer to, please?
  3. Deleted that, error log now reads: "2020-05-19 10:45:19 ? http://www.vivesport.co.uk/ Error: Exception: SQLSTATE[HY000] [2002] Connection timed out (in /vhost/vhost21/v/i/v/vivesport.co.uk/www/wire/core/ProcessWire.php line 459" [Apologies for repeated posts, but I cannot 'edit' - "post cannot be found".]
  4. Just spotted that 'gridhost.co.uk' should not be present, it's from the previous host.
  5. This is from the error log: 2020-05-19 10:27:48 ? http://www.vivesport.co.uk.gridhosted.co.uk/?/ Error: Exception: SQLSTATE[HY000] [2002] Connection timed out (in /vhost/vhost21/v/i/v/vivesport.co.uk/www/wire/core/ProcessWire.php line 377)
  6. Thanks for the reply but not sure what you mean. Further information, I deleted index.php, .htaccess, & wire and replacing them with the latest version. Reloaded 6 times. Still nothing. Deleted and replaced with version 2.8. Same error message..
  7. Please don't answer yet, I've found a page which might be useful.
  8. I have an almost similar problem (to this one). I have no knowledge of Processwire, I have extensive knowledge of Dreamweaver. The site www.Vivesport.co.uk was made by someone else whom I now cannot contact. I moved it to another host. It cannot then be viewed, displaying: "Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Error has been logged." A host engineer said: "It seems the site was written for legacy php so you will likely need to update the site to make it compatible with php7. The .htaccess file was also causing some trouble, we have disabled it and now you can view the .txt files on the site." Processwire appears to be version 2.7. I have extensively researched other post and help topics but I cannot make sense of them. I've downloaded both ProcessWireUpgrade-master & processwire-master. It is not clear what to do with them - I cannot access anything via the site because of the above message. Any suggestions, please.
×
×
  • Create New...