wp-admin crashed after Sparkle installation

This topic is: Not resolved

This is a PRIVATE forum for verified users only, to view the replies/answers, you must be logged in!

This topic contains 44 replies, has 6 voices, and was last updated by  Jacob 1 year, 11 months ago.

  • Author
    Posts
  • #2530

    sactw
    Member
    Post count: 20

    Hello after installing the theme i get this error in wp-admin and doesnt work my admin.

    Fatal error: Uncaught exception ‘Exception’ with message ‘parse error: failed at line: 57′ in /var/www/vhosts/********/httpdocs/wp-content/themes/yeahthemes-sparkle/framework/extended/class.lessc-inc.php:3553 Stack trace: #0 /var/www/vhosts/********/httpdocs/wp-content/themes/yeahthemes-sparkle/framework/extended/class.lessc-inc.php(2364): lessc_parser->throwError() #1 /var/www/vhosts/********/httpdocs/wp-content/themes/yeahthemes-sparkle/framework/extended/class.lessc-inc.php(1887): lessc_parser->parse(‘@textColor:#777…’) #2 /var/www/vhosts/********/httpdocs/wp-content/themes/yeahthemes-sparkle/includes/theme-styling.php(396): lessc->compile(‘@textColor:#777…’) #3 /var/www/vhosts/********/httpdocs/wp-content/themes/yeahthemes-sparkle/includes/theme-styling.php(74): yt_site_get_dynamic_css(Array) #4 [internal function]: yt_dynamic_options_css_writer(Array) #5 /var/www/vhosts/********/httpdocs/wp-includes/plugin.php(470 in /var/www/vhosts/********/httpdocs/wp-content/themes/yeahthemes-sparkle/framework/extended/class.lessc-inc.php on line 3553

    Need help with that! Thanks in advanced

    • This topic was modified 2 years, 6 months ago by  sactw.
    • This topic was modified 1 year, 9 months ago by  wpthms.
    • This topic was modified 2 years, 6 months ago by  sactw.
    • This topic was modified 1 year, 9 months ago by  wpthms.
  • #2532

    Max
    Staff
    Post count: 3150

    Hey there, You must be logged in to view this reply!

    Login | Register | Forgot Password?

    • #2533

      sactw
      Member
      Post count: 20

      i’ve tried that already, doesn’t fix the problem. I had to reset the default theme through mysql to fix wp-admin. Where can i send you user/pass?

      • This reply was modified 2 years, 6 months ago by  sactw.
      • This reply was modified 2 years, 6 months ago by  sactw.
  • #2535

    Max
    Staff
    Post count: 3150

    Hey there, You must be logged in to view this reply!

    Login | Register | Forgot Password?

    • #2540

      sactw
      Member
      Post count: 20
      This reply has been marked as private.
  • #2548

    Jacob
    Staff
    Post count: 2312

    Hey there, You must be logged in to view this reply!

    Login | Register | Forgot Password?

  • #2561

    Jacob
    Staff
    Post count: 2312

    Hey there, You must be logged in to view this reply!

    Login | Register | Forgot Password?

  • #2570

    sactw
    Member
    Post count: 20

    any updates?

  • #2591

    Jacob
    Staff
    Post count: 2312

    Hey there, You must be logged in to view this reply!

    Login | Register | Forgot Password?

  • #2759

    ravenculture
    Member
    Post count: 26

    I’m getting the exact same issue. Running on stand alone VPS, lessc is installed on server, not sure that that matters. It only appears when I choose Take Site Offline and try to use the countdown option. Otherwise it works fine provided I don’t try to take the site offline (which is what I want to do) Linux, Apache, standard LAMP setup, runs well otherwise. Are there any specific Apache or PHP modules that need to be installed?

    <b>Fatal error</b>: Uncaught exception ‘Exception’ with message ‘parse error: failed at `<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt;
    ` line: 57′ in /home/***/html/wp-content/themes/yeahthemes-sparkle/framework/extended/class.lessc-inc.php:3553
    Stack trace:
    #0 /home/***/html/wp-content/themes/yeahthemes-sparkle/framework/extended/class.lessc-inc.php(2364): lessc_parser->throwError()
    #1 /home/***/html/wp-content/themes/yeahthemes-sparkle/framework/extended/class.lessc-inc.php(1887): lessc_parser->parse(‘@textColor:#777…’)
    #2 /home/***/html/wp-content/themes/yeahthemes-sparkle/includes/theme-styling.php(396): lessc->compile(‘@textColor:#777…’)
    #3 /home/***/html/wp-content/themes/yeahthemes-sparkle/includes/theme-styling.php(74): yt_site_get_dynamic_css(Array)
    #4 [internal function]: yt_dynamic_options_css_writer(Array)
    #5 /home/***/html/wp-includes/plugin.php(470): call_user_func_array(‘yt_dynamic_opti…’, Array)
    #6 /home/word in <b>/home/***/html/wp-content/themes/yeahthemes-sparkle/framework/extended/class.lessc-inc.php</b> on line <b>3553</b><br />

  • #2770

    Max
    Staff
    Post count: 3150

    Hey there, You must be logged in to view this reply!

    Login | Register | Forgot Password?

  • #2774

    sactw
    Member
    Post count: 20

    i forgot to mention i use centos and ubuntu

  • #2789

    ravenculture
    Member
    Post count: 26

    Mine is Centos 6.5 basic VPS setup with LAMP.

  • #2815

    Jacob
    Staff
    Post count: 2312

    Hey there, You must be logged in to view this reply!

    Login | Register | Forgot Password?

  • #2841

    Jacob
    Staff
    Post count: 2312

    Hey there, You must be logged in to view this reply!

    Login | Register | Forgot Password?

  • #2873

    sactw
    Member
    Post count: 20

    sorry forgot to switch back dns after testing something, its ok now

  • #2899

    Jacob
    Staff
    Post count: 2312

    Hey there, You must be logged in to view this reply!

    Login | Register | Forgot Password?

  • #2906

    ravenculture
    Member
    Post count: 26

    @jacob
    It’s funny you mention Windows. I originally tried to run it on my IIS server and it was a catastrophic failure. I had to relaunch it on Apache, as well as get an SSL reissued from Windows to Apache. It was a miserable experience, but I got there in the end. I am attempting an upgrade to 1.0.2 now.

    I have also discovered that the pagination on the home page, and on the archives pages doesn’t work at all. It changes the URL to /page/2/ but doesn’t change the content. I am hoping this update fixes that issue, otherwise I will have to dig into the code myself and try to fix it which is a frustrating prospect as you can imagine. Thank you for the help thus far.

  • #2915

    Max
    Staff
    Post count: 3150

    Hey there, You must be logged in to view this reply!

    Login | Register | Forgot Password?

  • #2935

    ravenculture
    Member
    Post count: 26

    The backup system functions fine provided you don’t upgrade your theme (from 1.0.0 to 1.0.2), if you do ALL of the theme settings including the backups taken prior to the upgrade vanish.

    I took a backup of the Transfer Theme options in a text file, luckily I did otherwise I would have had to rebuild my theme for a 5th time.

  • #2964

    Max
    Staff
    Post count: 3150

    Hey there, You must be logged in to view this reply!

    Login | Register | Forgot Password?

  • #2965

    ravenculture
    Member
    Post count: 26

    Sure for me to fix the issue was that Apache was reporting Errors, Warning and Notices in the display_errors directive.

    I set display_errors = off and the ajax requests worked fine. The Sparkle theme generated a lot of E_WARNING and E_NOTICE errors which was causing havoc with the ajax calls. Once I silenced Apache everything started working well. This is only a good solution if you are on a VPS or dedicated server with root access, people on shared hosting will have to get their hosting provider to change the httpd.conf file. They may not wish to do that.

  • #2966

    Max
    Staff
    Post count: 3150

    Hey there, You must be logged in to view this reply!

    Login | Register | Forgot Password?

  • #3027

    Jacob
    Staff
    Post count: 2312

    Hey there, You must be logged in to view this reply!

    Login | Register | Forgot Password?

  • #3252

    Alberto Jaramillo
    Member
    Post count: 6

    Hello everyone,

    I’m having this same issue:

    Fatal error: Uncaught exception ‘Exception’ with message ‘parse error: failed at <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> line: 57′ in /var/www/html/qa/aceptoo/wp/wp-content/themes/yeahthemes-sparkle/framework/extended/class.lessc-inc.php:3552
    Stack trace:
    #0 /var/www/html/qa/aceptoo/wp/wp-content/themes/yeahthemes-sparkle/framework/extended/class.lessc-inc.php(2363): lessc_parser->throwError()
    #1 /var/www/html/qa/aceptoo/wp/wp-content/themes/yeahthemes-sparkle/framework/extended/class.lessc-inc.php(1886): lessc_parser->parse(‘@textColor:#777…’)
    #2 /var/www/html/qa/aceptoo/wp/wp-content/themes/yeahthemes-sparkle/includes/theme-styling.php(414): lessc->compile(‘@textColor:#777…’)
    #3 /var/www/html/qa/aceptoo/wp/wp-content/themes/yeahthemes-sparkle/includes/theme-styling.php(80): yt_site_get_dynamic_css(Array)
    #4 [internal function]: yt_dynamic_options_css_writer(Array)
    #5 /var/www/html/qa/aceptoo/wp/wp-includes/plugin.php(470): call_user_func_array(‘yt_dynamic_opti…’, Array)
    #6 /var/www/html/qa/aceptoo/wp/ in /var/www/html/qa/aceptoo/wp/wp-content/themes/yeahthemes-sparkle/framework/extended/class.lessc-inc.php on line 3552

    Lessc is installed and running, any idea why this is happening?

    Thanks so much!

  • #3257

    Max
    Staff
    Post count: 3150

    Hey there, You must be logged in to view this reply!

    Login | Register | Forgot Password?

  • #3267

    Alberto Jaramillo
    Member
    Post count: 6

    Hi Maxxi, I did, but that only hides the error, doesn’t prevent it from hapenning. So now I’m getting a 500 error when ajax saving my theme options.

    Does this theme has any other dependency? I’m using nodejs lessc ¿is it ok?

    Thanks for all.

  • #3271

    Jacob
    Staff
    Post count: 2312

    Hey there, You must be logged in to view this reply!

    Login | Register | Forgot Password?

  • #3272

    Jacob
    Staff
    Post count: 2312

    Hey there, You must be logged in to view this reply!

    Login | Register | Forgot Password?

  • #3285

    Alberto Jaramillo
    Member
    Post count: 6

    Hi @jacob

    Where did you sent the files?

    I don’t have any emails from you or whatsoever.

    Thanks again!

  • #3309

    Jacob
    Staff
    Post count: 2312

    Hey there, You must be logged in to view this reply!

    Login | Register | Forgot Password?

  • #3867

    Alberto Jaramillo
    Member
    Post count: 6

    Hi Jacob, I know its been a few months since I asked this question, but I never received your email (I assume it was marked as spam and deleted afterwards).

    I tried another solution that I found here searching the forums. It was a modified theme-styling.php file. It allowed me to save my theme preferences but when I open my home page an error ocurrs “Fatal error: Call to undefined function mdf_typography_setup() in …/wp-content/themes/yeahthemes-sparkle/includes/theme-styling.php on line 93”

    I would appreciate any help, thank you.

  • #3869

    Max
    Staff
    Post count: 3150

    Hey there, You must be logged in to view this reply!

    Login | Register | Forgot Password?

  • #3871

    Alberto Jaramillo
    Member
    Post count: 6

    Hi Maxxi, thanks so much.

    But I still can’t use Sparks Theme, I haven’t been able to save my theme options on wp-admin/.

    Can you help me out with this?

    Thanks so much.

  • #3872

    Alberto Jaramillo
    Member
    Post count: 6

    Finally I found the answer…

    It turns auth that http basic auth cannot be enabled while using Sparkle Theme. Apparently theme-styling.php is downloading .less / css files via http. I had to add a specific rule just for this site to be able to save my options page settings.

    Thanks for all.

  • #3873

    Max
    Staff
    Post count: 3150

    Hey there, You must be logged in to view this reply!

    Login | Register | Forgot Password?

  • #5697

    Erick
    Member
    Post count: 1018

    Is stablehost better than hostgator?

  • #5745

    Jacob
    Staff
    Post count: 2312

    Hey there, You must be logged in to view this reply!

    Login | Register | Forgot Password?

  • #2537

    sactw
    Member
    Post count: 20
    This reply has been marked as private.
  • #2546

    Jacob
    Staff
    Post count: 2312

    Hey there, You must be logged in to view this reply!

    Login | Register | Forgot Password?

  • #2568

    sactw
    Member
    Post count: 20

    After testing in different configured servers in terms of OS, Plesk versions and web servers, it seems like the problem exists in nginx environments.

    Also fyi if i stop the nginx service and start apache, wp-admin works as suppose to, but also it keeps running after return to nginx.

    I’m not familiar with LESS but it seems like after running for the first time under apache, then everything runs smoothly under nginx aswell.

    I hope it helps

    edit: that only happend to one server, in my main server doesn’t work with apache either.

  • #2889

    ravenculture
    Member
    Post count: 26

    Hi,

    I am not sure what has happened on my server but the error is no longer happening during the Ajax save. I now get return of 1 when updating options. However it is still not displaying the countdown on the home page.

    You can have a look at the home page at https://www.tricktraining.com.au/

    There are javascript errors which is why it is not displaying the countdown.

    Output from console:

    13:32:01.961 TypeError: $.JQPlugin is undefined jquery.countdown.min.js:6
    13:32:02.405 TypeError: $(…).countdown is not a function http://www.tricktraining

  • #2907

    ravenculture
    Member
    Post count: 26

    Update complete. There were some issues regarding permissions on the server but they were overcome easily.

    Theme options didn’t retain, luckily I backed them up first, as even the backup options within Sparkle were deleted, not a great backup system really, not to be trusted.

    The issue:

    Pagination still doesn’t work. If you go to http://www.tricktraining.com.au scroll to the bottom and try the pagination links, the page refreshes the hero disappears but the same posts appear, if you scroll back to the pagination links you can see that 1 is still highlighted but you are on /page/2/

    How can I make the pagination links work without removing the theme and asking for my money back?

  • #2998

    ravenculture
    Member
    Post count: 26

    I was a bit sleep deprived yesterday, I just realised I said httpd.conf when I mean’t php.ini.

  • #3269

    sactw
    Member
    Post count: 20

    Hi again, i just wanted to tell you first of all that i’ve tried the theme to 6 different servers and it finally works to one with the only difference that has plesk version 11 and not 11.5 or 12. All same configurations and versions of apache/php.
    Also in some servers seems to work for a while, but after some time it crashes again, totally random, without any change in terms of server configuration, so the fact that is works in plesk 11 could be totally random as well.

    Anyway, i’m replying in private because i don’t want to say something that could be reason for someone not to buy your theme, since you really did great job, but lets face it, you are using a LESS PHP compiler, that is considered to be an old and dead project

    https://github.com/leafo/lessphp/issues/543

    In my opinion you should switch to an active project and if i were in your shoes i would use this

    http://lessphp.gpeasy.com/

    which has already transitioning instructions from Leafo/lessphp and also it could be used as a WP plugin dependency for theme.

    • This reply was modified 2 years, 5 months ago by  Jacob. Reason: set to public
    • This reply was modified 2 years, 5 months ago by  Jacob. Reason: set to public

You must be logged in to reply to this topic.

This is a PRIVATE forum for verified users only, to view the replies/answers, you must be logged in!