This is a PRIVATE forum for verified users only, to view all replies/answers, you must be logged in!
Tagged: installation lessc error
- AuthorPosts
- May 30, 2014 at 1:55 pm #2530
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/wpthms-sparkle/framework/extended/class.lessc-inc.php:3553 Stack trace: #0 /var/www/vhosts/********/httpdocs/wp-content/themes/wpthms-sparkle/framework/extended/class.lessc-inc.php(2364): lessc_parser->throwError() #1 /var/www/vhosts/********/httpdocs/wp-content/themes/wpthms-sparkle/framework/extended/class.lessc-inc.php(1887): lessc_parser->parse(‘@textColor:#777…’) #2 /var/www/vhosts/********/httpdocs/wp-content/themes/wpthms-sparkle/includes/theme-styling.php(396): lessc->compile(‘@textColor:#777…’) #3 /var/www/vhosts/********/httpdocs/wp-content/themes/wpthms-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/wpthms-sparkle/framework/extended/class.lessc-inc.php on line 3553
Need help with that! Thanks in advanced
- May 30, 2014 at 4:35 pm #2532
Hey there, You must be logged in to view this reply!
- May 30, 2014 at 5:19 pm #2533
- May 30, 2014 at 6:08 pm #2535
Hey there, You must be logged in to view this reply!
- May 31, 2014 at 12:15 am #2540This reply has been marked as private.
- May 31, 2014 at 4:41 am #2548
Hey there, You must be logged in to view this reply!
- May 31, 2014 at 5:29 am #2561
Hey there, You must be logged in to view this reply!
- May 31, 2014 at 1:11 pm #2570
any updates?
- June 1, 2014 at 3:14 am #2591
Hey there, You must be logged in to view this reply!
- June 4, 2014 at 2:47 pm #2759
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">
` line: 57’ in /home/***/html/wp-content/themes/wpthms-sparkle/framework/extended/class.lessc-inc.php:3553
Stack trace:
#0 /home/***/html/wp-content/themes/wpthms-sparkle/framework/extended/class.lessc-inc.php(2364): lessc_parser->throwError()
#1 /home/***/html/wp-content/themes/wpthms-sparkle/framework/extended/class.lessc-inc.php(1887): lessc_parser->parse(‘@textColor:#777…’)
#2 /home/***/html/wp-content/themes/wpthms-sparkle/includes/theme-styling.php(396): lessc->compile(‘@textColor:#777…’)
#3 /home/***/html/wp-content/themes/wpthms-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/wpthms-sparkle/framework/extended/class.lessc-inc.php</b> on line <b>3553</b><br /> - June 4, 2014 at 6:29 pm #2770
Hey there, You must be logged in to view this reply!
- June 4, 2014 at 6:33 pm #2774
i forgot to mention i use centos and ubuntu
- June 4, 2014 at 10:58 pm #2789
Mine is Centos 6.5 basic VPS setup with LAMP.
- June 5, 2014 at 7:18 am #2815
Hey there, You must be logged in to view this reply!
- June 5, 2014 at 4:32 pm #2841
Hey there, You must be logged in to view this reply!
- June 5, 2014 at 7:07 pm #2873
sorry forgot to switch back dns after testing something, its ok now
- June 6, 2014 at 8:46 am #2899
Hey there, You must be logged in to view this reply!
- June 6, 2014 at 12:02 pm #2906
@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.
- June 6, 2014 at 5:23 pm #2915
Hey there, You must be logged in to view this reply!
- June 7, 2014 at 12:34 am #2935
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.
- June 7, 2014 at 10:09 am #2964
Hey there, You must be logged in to view this reply!
- June 7, 2014 at 10:21 am #2965
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.
- June 7, 2014 at 10:29 am #2966
Hey there, You must be logged in to view this reply!
- June 9, 2014 at 4:55 am #3027
Hey there, You must be logged in to view this reply!
- June 16, 2014 at 5:18 pm #3252
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/wpthms-sparkle/framework/extended/class.lessc-inc.php:3552
Stack trace:
#0 /var/www/html/qa/aceptoo/wp/wp-content/themes/wpthms-sparkle/framework/extended/class.lessc-inc.php(2363): lessc_parser->throwError()
#1 /var/www/html/qa/aceptoo/wp/wp-content/themes/wpthms-sparkle/framework/extended/class.lessc-inc.php(1886): lessc_parser->parse(‘@textColor:#777…’)
#2 /var/www/html/qa/aceptoo/wp/wp-content/themes/wpthms-sparkle/includes/theme-styling.php(414): lessc->compile(‘@textColor:#777…’)
#3 /var/www/html/qa/aceptoo/wp/wp-content/themes/wpthms-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/wpthms-sparkle/framework/extended/class.lessc-inc.php on line 3552Lessc is installed and running, any idea why this is happening?
Thanks so much!
- June 16, 2014 at 7:09 pm #3257
Hey there, You must be logged in to view this reply!
- June 16, 2014 at 7:58 pm #3267
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.
- June 17, 2014 at 7:25 am #3271
Hey there, You must be logged in to view this reply!
- June 17, 2014 at 7:43 am #3272
Hey there, You must be logged in to view this reply!
- June 17, 2014 at 3:05 pm #3285
- June 18, 2014 at 10:46 am #3309
Hey there, You must be logged in to view this reply!
- August 6, 2014 at 3:21 pm #3867
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/wpthms-sparkle/includes/theme-styling.php on line 93”
I would appreciate any help, thank you.
- August 6, 2014 at 7:01 pm #3869
Hey there, You must be logged in to view this reply!
- August 6, 2014 at 8:11 pm #3871
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.
- August 6, 2014 at 8:58 pm #3872
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.
- August 7, 2014 at 3:02 pm #3873
Hey there, You must be logged in to view this reply!
- December 14, 2014 at 7:08 am #5697
Is stablehost better than hostgator?
- December 16, 2014 at 10:34 am #5745
Hey there, You must be logged in to view this reply!
- May 30, 2014 at 6:52 pm #2537This reply has been marked as private.
- May 31, 2014 at 4:25 am #2546
Hey there, You must be logged in to view this reply!
- May 31, 2014 at 11:29 am #2568
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.
- June 6, 2014 at 3:34 am #2889
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 - June 6, 2014 at 12:12 pm #2907
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?
- June 8, 2014 at 6:45 am #2998
I was a bit sleep deprived yesterday, I just realised I said httpd.conf when I mean’t php.ini.
- June 16, 2014 at 11:01 pm #3269
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
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 6 y, 7 mo by
Jacob. Reason: set to public
- This reply was modified 6 y, 7 mo by
Jacob. Reason: set to public
- This reply was modified 6 y, 7 mo by
- AuthorPosts
- You must be logged in to reply to this topic.
This is a PRIVATE forum for verified users only, to view all replies/answers, you must be logged in!