Supporto commerciale ed estensioni

Piani di consulenza e supporto - Estensioni commerciali

  • Home
  • Supporto Joomla Little Helper
  • #1037: Parse error: syntax error, unexpected '[' in /home/gardinie/public_html/administrator/components/com_littlehelper/models/htaccess.php on line 272

Attenzione

You do not have a menu item pointing to the list all Akeeba Ticket System categories for the Italian (Italy) language. Ticket links may be broken until you add such a menu item.

#1037 – Parse error: syntax error, unexpected '[' in /home/gardinie/public_html/administrator/components/com_littlehelper/models/htaccess.php on line 272

Salvato in ‘Supporto Joomla Little Helper’
Questo è un ticket pubblico. Chiunque potrà vederne i contenuti. Non includere login, password o altri dati sensibili.
Martedì, 22 Dicembre 2015 08:24 UTC
exlemor
Hi there, Just upgraded to Little Helper 2.4 and went to check out the Security tab since you mentioned it in your blog...and I get this: Parse error: syntax error, unexpected '[' in /home/gardinie/public_html/administrator/components/com_littlehelper/models/htaccess.php on line 272Just thought you should know...Also this is using Uber Joomlart template/framework if that helps... If relevant, give us some technical details to reproduce the issue you're reporting Joomla version: 3.4.7 PHP version: 5.3.29 Server: (apache/iis and version) 2.2 Server OS: (win/linux/osx) Linux CentOS.   I Tried to shorten the title to PARSE ERROR - line 272 but once you create a Ticket, you can't edit it's title :(
Martedì, 22 Dicembre 2015 09:54 UTC
hpjadmin

Hi Emmanuel,

thank you for the bug report, alas I am not able to reproduce it; also, possibly it was solved already as I was working on version 2.4.2; can you download it and see if it fixes the issue? also see here for the expected result.

You wrote you're running version 5.3.29 of PHP, that is a bit too old and dangerous, you should switch to 5.5 at least, ensure it's up to date, the latest vulnerability fixed in Joomla 3.4.7 relies on insecurities in older php versions.

Martedì, 22 Dicembre 2015 10:11 UTC
exlemor
Hi there,   Updated to v2.4.2, and now the error says:Parse error: syntax error, unexpected '[' in /home/gardinie/public_html/administrator/components/com_littlehelper/models/htaccess.php on line 367I know that PHP 5.3.29 is a bit too old but I have a few domains on that server which are slow to upgrade, I should have them all migrated very soon but until that happens I am on 5.3.29 sadly.   Cheers,   Emmanuel.
Martedì, 22 Dicembre 2015 10:22 UTC
hpjadmin

Ok can you try downloading 2.4.2 again? since it's only a minor change and it was downloaded 5 times only I won't change the number

Martedì, 22 Dicembre 2015 10:28 UTC
exlemor
I updated on top of 2.4.2 and it didn't seem to do anything and gave:Parse error: syntax error, unexpected '[' in /home/gardinie/public_html/administrator/components/com_littlehelper/models/htaccess.php on line 390so I then uninstalled it and re-installed it and still the same error:Parse error: syntax error, unexpected '[' in /home/gardinie/public_html/administrator/components/com_littlehelper/models/htaccess.php on line 390Cheers, Emmanuel.
Martedì, 22 Dicembre 2015 11:28 UTC
hpjadmin

Ooops I missed the other uses, it's just a syntax problem. I searched all the models, the error should not be there.

Instead of overwriting the same file while it's public, I thought it would be best to finish this compatibility test and then publish at once, so I don't have mis-aligned versions out. Can you please  download from https://www.fasterjoomla.com/files/extensions/littlehelper/pkg_littlehelper_2.4.3.zip thank you

Martedì, 22 Dicembre 2015 16:28 UTC
exlemor
Hi there, (clap) it works, it installs and doesn't crash with an error message.... however, it seems to be a runaway php process... It ran for like 5-6 minutes on a smaller ecommerce website, I then logged into WHM to see what it was doing in terms of CPU Usage and was hitting 89-98%, I tried killing the Apache process and no go... after 10 minutes-ish, it finally disappeared from the process list... the attached image is what it looked like before disappearing.What is odd is that no matter how many times I tried to kill all processes for processs 29089, it wouldn't disappear. before being just [php], it used to say the full path of the Joomla index.php where [php] was displayed: /home/gardinie/public_html/administrator/index.php  I figured it was worth mentioning... 
Allegato
Martedì, 22 Dicembre 2015 17:25 UTC
hpjadmin

Hi,


the process is indeed very intensive and slow; killing it might require killing php besides apache. I'm working on a version to make it dramatically faster but it will take a few days to get it ready.

I have run it on a smaller hosting server and it took 25 minutes to run.  Maybe you'd be better off waiting for the next version, as this was created for usage on our own servers (so we can configure php timeouts or kill processes from the console easily), while the new version will be ajax and slow-server-friendly.


Sorry for the inconvenience, and thank you again for the bug escalation, I will let you know as soon as I make some progress on the malware function.

Kind regards

Riccardo

Martedì, 12 Gennaio 2016 02:40 UTC
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.
Questo ticket è chiuso, quindi è di sola lettura. Non puoi più rispondere. Se devi fornire altre informazioni, apri un nuovo ticket e includi il numero di questo per riferimento.