Search the Community
Showing results for tags 'compile error'.
-
Hey folks, im pretty new to Processwire. A client of mine asked me to migrate his old (v2.5) Processwire Website. On his server its running on PHP 5.3 and i want to upgrade + migrate the site at the same time. I Downloaded the Site from his server to set it up locally, replaced the /wire directory, index.php and .htaccess with the files of the latest version. After that i changed the DB Connection details in the config.php, swapped to PHP 7.4 and now, when i open up the site on my localhost i get this error: compile(\ProcessWire\wire("config")->paths->root . "site/templates/includes/head.inc.php",array('includes'=>true,'namespace'=>true,'modules'=>true,'skipIfNamespace'=>true)))?> compile(\ProcessWire\wire("config")->paths->root . "site/templates/includes/header.inc.php",array('includes'=>true,'namespace'=>true,'modules'=>true,'skipIfNamespace'=>true)))?> compile(\ProcessWire\wire("config")->paths->root . "site/templates/includes/start_content.inc.php",array('includes'=>true,'namespace'=>true,'modules'=>true,'skipIfNamespace'=>true)))?> compile(\ProcessWire\wire("config")->paths->root . "site/templates/includes/footer.inc.php",array('includes'=>true,'namespace'=>true,'modules'=>true,'skipIfNamespace'=>true)))?> The page itself doesnt load, just a white space with this stuff on it I checked if the files exist, they do. I hope anyone can help me with that ? Thanks in advance!
- 3 replies
-
- migrate
- processwire
-
(and 2 more)
Tagged with:
-
Hello, I have two Processwire installations which should share an entire part (a collection of plants). Now I tried to include the installation with all the content (plants) (site1) into the other installation (site2). This gives me the error: Compile Error: Cannot redeclare class ProcessWire\ProcessWire (line 696 of /var/www/virtual/site2/site/assets/cache/FileCompiler/var/www/virtual/site1/wire/core/ProcessWire.php) Is there a trick, a hint what I have to do? Must I do something with the namespaces? Is there something to do in the config.php? In site1 I use PW 3.0.11 and in site2 I use PW 3.0.12.