I just migrated my wordpress install from Windows (IIS) to Linux with Apache. When I attempt to navigate to the site after the migration i get a 500 error.
[Tue Apr 21 06:05:48.517324 2015] [:error] [pid 8069] [client 73.49.233.147:65456] PHP Fatal error: Uncaught exception 'Exception' with message 'load error: failed to find D:\\home\\site\\wwwroot/wp-content/themes/mightymag/css/less/layout.less' in /var/www/html/wp-content/themes/mightymag/inc/lessc.inc.php:1674\nStack trace:\n#0 /var/www/html/wp-content/themes/mightymag/inc/lessc.inc.php(1759): lessc->compileFile('D:\\home\\site\\ww...')\n#1 /var/www/html/wp-content/themes/mightymag/functions.php(335): lessc->cachedCompile(Array)\n#2 /var/www/html/wp-content/themes/mightymag/functions.php(346): mgm_autoCompileLess('/var/www/html/w...', '/var/www/html/w...')\n#3 /var/www/html/wp-settings.php(329): include('/var/www/html/w...')\n#4 /var/www/html/wp-config.php(115): require_once('/var/www/html/w...')\n#5 /var/www/html/wp-load.php(29): require_once('/var/www/html/w...')\n#6 /var/www/html/wp-blog-header.php(12): require_once('/var/www/html/w...')\n#7 /var/www/html/index.php(17): require('/var/www/html/w...')\n#8 {main}\n thrown in /var/www/html/wp-content/themes/mightymag/inc/lessc.inc.php on line 1674
Is this an issue with the theme hardcoding the path when it was installed or is it an issue with wordpress? Do I have to go through the database and clean all of this up? Any ideas on what I can do to expedite this process?
the path is not hard coded, the thing is that during the migration process, you\'ve also uploaded caching files that are dynamically generated. This files needs to be deleted in order to get generated again with the correct paths.
Please access your site FTP and do the following:
1. css/less/layout.less.cache and delete the file
2. css/less.css and delete the file
3. Refresh the browser window, also clear the browser cache, just in case.
Thanks! I have deleted these files and will update the DNS to point to the site and see if it fixed the issue. I will update this ticket in about 10 hours.
Hello,
I just migrated my wordpress install from Windows (IIS) to Linux with Apache. When I attempt to navigate to the site after the migration i get a 500 error.
[Tue Apr 21 06:05:48.517324 2015] [:error] [pid 8069] [client 73.49.233.147:65456] PHP Fatal error: Uncaught exception 'Exception' with message 'load error: failed to find D:\\home\\site\\wwwroot/wp-content/themes/mightymag/css/less/layout.less' in /var/www/html/wp-content/themes/mightymag/inc/lessc.inc.php:1674\nStack trace:\n#0 /var/www/html/wp-content/themes/mightymag/inc/lessc.inc.php(1759): lessc->compileFile('D:\\home\\site\\ww...')\n#1 /var/www/html/wp-content/themes/mightymag/functions.php(335): lessc->cachedCompile(Array)\n#2 /var/www/html/wp-content/themes/mightymag/functions.php(346): mgm_autoCompileLess('/var/www/html/w...', '/var/www/html/w...')\n#3 /var/www/html/wp-settings.php(329): include('/var/www/html/w...')\n#4 /var/www/html/wp-config.php(115): require_once('/var/www/html/w...')\n#5 /var/www/html/wp-load.php(29): require_once('/var/www/html/w...')\n#6 /var/www/html/wp-blog-header.php(12): require_once('/var/www/html/w...')\n#7 /var/www/html/index.php(17): require('/var/www/html/w...')\n#8 {main}\n thrown in /var/www/html/wp-content/themes/mightymag/inc/lessc.inc.php on line 1674
Is this an issue with the theme hardcoding the path when it was installed or is it an issue with wordpress? Do I have to go through the database and clean all of this up? Any ideas on what I can do to expedite this process?
Any update on this?
Hi there,
the path is not hard coded, the thing is that during the migration process, you\'ve also uploaded caching files that are dynamically generated. This files needs to be deleted in order to get generated again with the correct paths.
Please access your site FTP and do the following:
1. css/less/layout.less.cache and delete the file
2. css/less.css and delete the file
3. Refresh the browser window, also clear the browser cache, just in case.
Hope it helps
Regards
djwd
Regards
djwd
Thanks! I have deleted these files and will update the DNS to point to the site and see if it fixed the issue. I will update this ticket in about 10 hours.