Problem With WordPress Login

Discussion in 'HTML & Website Design' started by Jordan Roper, Jul 7, 2015.

  1. #1
    Hi there,

    Im not sure if this is the correct place to post this issue, but I have just added a theme from an old hosting account that was working fine but now when I try to log onto my site with /wp-admin at the end of the domain name, I am getting this error message:

    Fatal error
    : Uncaught exception 'Less_Exception_Parser' with message 'File `pages/author.less` not found. in alterna.less' in /home/loudmarketing124/public_html/cabzilla/wp-content/themes/Alterna/inc/penguin/tools/less.php/Less.php:2581 Stack trace: #0 /home/loudmarketing124/public_html/cabzilla/wp-content/themes/Alterna/inc/penguin/tools/less.php/Less.php(309): Less_Parser->Error('File `pages/aut...') #1 /home/loudmarketing124/public_html/cabzilla/wp-content/themes/Alterna/inc/penguin/tools/less.php/Less.php(5873): Less_Parser->parseFile('pages/author.le...', 'pages/author.le...', true) #2 /home/loudmarketing124/public_html/cabzilla/wp-content/themes/Alterna/inc/penguin/tools/less.php/Less.php(5801): Less_Tree_Import->ParseImport('pages/author.le...', 'pages/author.le...', Object(Less_Environment)) #3 /home/loudmarketing124/public_html/cabzilla/wp-content/themes/Alterna/inc/penguin/tools/less.php/Less.php(6782): Less_Tree_Import->compile(Object(Less_Environment)) #4 /home/loudmarketing124/public_html/cabzilla/wp-content/ in /home/loudmarketing124/public_html/cabzilla/wp-content/themes/Alterna/inc/penguin/tools/less.php/Less.php on line 2581

    I was just wondering if anyone knows a solution for this?

    Thanks in advance,

    Jordan
     
    Jordan Roper, Jul 7, 2015 IP
  2. lucky ali

    lucky ali Active Member

    Messages:
    119
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    93
    Digital Goods:
    1
    #2
    You need author.less file in /pages directory
     
    lucky ali, Jul 7, 2015 IP
  3. Burak Ermeydan

    Burak Ermeydan Well-Known Member

    Messages:
    16
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    106
    #3
    You should less to css compile and change author.less to author.css. It will work.
     
    Burak Ermeydan, Jul 7, 2015 IP
  4. PoPSiCLe

    PoPSiCLe Illustrious Member

    Messages:
    4,623
    Likes Received:
    725
    Best Answers:
    152
    Trophy Points:
    470
    #4
    Basically, the theme you were using, or the site, had a site-design done with LESS (a CSS framework) - it needs to be parsed into a .css-file to work on the web (which mostly is done before actually using the file, but can also be done at runtime) - seems your site is set up to do it at runtime, or at least call on the less-file for something - which it can't do, unless you have a less-parser installed. I'm assuming your new host doesn't support it natively - ask you host to enable less-parsing on the host, if possible, it should take care of the problem.
     
    PoPSiCLe, Jul 7, 2015 IP