UpdraftPlus Home › Forums › Paid support forum – UpdraftPlus backup plugin › Restore fails with twitter bootstrap
- This topic has 5 replies, 2 voices, and was last updated 11 years, 2 months ago by Richard.
-
AuthorPosts
-
September 9, 2013 at 2:40 pm #17958RichardParticipant
Just purchased the migrator addon. The backup on my local server all went fine, likewise the restore and migration also appeared to work ok. No problems reported in the log that I could see. However the site admin is now unavailable and the there is a failure notice as follows
Code:lessphp fatal error: load error: failed to find C:\wamp\www\wp19/wp-content/themes/theme2019/bootstrap/less/bootstrap.lesslessphp fatal error: load error: failed to find C:\wamp\www\wp19/wp-content/themes/theme2019/style.lessCant reach admin, or login. site address is here https://themtfoundation.com/index.php
I have blocked the index.php site so you should call the index.php
NOTE no plugins or caching installed except updraft/ akismet. Brand new install on local box before migration.
Thank-you
September 9, 2013 at 2:56 pm #18292RichardParticipantI have now deleted this entire install as it’s pretty useless to interrogate. I still want some feedback please on what this failure is due to.
Thank-you
September 9, 2013 at 6:22 pm #18293udadminKeymasterHi Richard,
That message indicates that your theme had hard-coded details about the previous server – in particular, the file paths.
That’s really a theme bug (no WordPress component is meant to hard-code that kind of hosting-specific detail). But, it may be possible to work around. It looks to me like you have the theme set up in some kind-of ‘developer’ mode, where it’s set to compile the LESS code on each page run. Presumably you don’t want that in production. Is there a setting for that in the theme’s options that you could turn off?
David
September 9, 2013 at 6:50 pm #18294RichardParticipantHi David, thanks for the response. Its a template monster wordpress theme. No development/production setting anywhere that I can find. Has an admin panel, but it’s the usual types of options for a premium theme. The theme has a framework running beneath and a child theme working on top. Yep, that’s the way template monster does it. Seems to work well as the framework runs the options for several child themes. My local install went ok and there were no hard coded settings to file paths that I made.
One thing I did notice is that there is a directory in the theme structure with several ‘.less’ files in it what is a ‘dot less’ file??
There is also a ‘style.less.cache’ file that gets auto generated, but no settings to manually inhibit or purge. I have not used TM themes before, so I can’t really compare them yet. Usually I run themeforest premium themes on my sites.Can’t throw any more light on it that that. I’ve now installed the theme manually and it’s all configured. However, I have another site with conventional theme structure so I’ll see how this goes.
If you have any gems to offer from my comments that would be great. Otherwise, I’ll see how the next site migrates.
Thanks, Richard
September 9, 2013 at 7:58 pm #18295udadminKeymasterPresumably C:\wamp\www\wp19/wp-content/themes/theme2019/style.less is a path from your development server, not from your production server? That was the ‘hard-coded’ path I was referring to. Probably it’s somewhere in the database.
“Less” is a meta-language for creating CSS faster from. It has to be compiled to CSS. It looks like your site is trying to compile it, but now finding things in the path it was expecting (because of the move, and because something is coded to not expect paths ever to change). Asking the theme author about this may be your best bet – if you tell him that you moved the site, but got the above error, then he should know where it’s coming from. I’d think he’d consider it a bug – as a theme shouldn’t be assuming that the hosting environment never changes.
David
September 9, 2013 at 8:49 pm #18296RichardParticipantOk, thanks David. Correct, the WAMP location is on my local server. That’s helpful info. about the less file and hard coded path. IT’s a quirk of the theme, so let’s close the thread.
Thank-you.
-
AuthorPosts
- The topic ‘Restore fails with twitter bootstrap’ is closed to new replies.