Error in update.php & update_daemon2.php CRON

roman_rutov
Inadequate Idiots
Posts: 4
Joined: 02 Jul 2013, 10:10

Error in update.php & update_daemon2.php CRON

Postby roman_rutov » 02 Jul 2013, 10:55

Hi. I trying to configure automatic update with update.php.

update.php returns an error: "Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in /home/a/admin25/reader.adminsk.ru/public_html/update.php on line 327".

"T_PAAMAYIM_NEKUDOTAYIM" - is a "::" symbols on line 327:
[img]http://i.imgur.com/Onqwmcl.png[/img]

When i delete one of ":", i see another error message: "Parse error: syntax error, unexpected ':' in /home/a/admin25/reader.adminsk.ru/public_html/update.php on line 327"

PHP version on my hosting i can change manually from 4.4 to 5.4, but update is not working with any version i select.
[img]http://i.imgur.com/tndvfPm.png[/img]

Please help.

User avatar
sleeper_service
Bear Rating Overlord
Bear Rating Overlord
Posts: 884
Joined: 30 Mar 2013, 23:50
Location: Dallas, Texas

Re: Error in update.php & update_daemon2.php CRON

Postby sleeper_service » 02 Jul 2013, 11:27

[quote="roman_rutov"]Hi. I trying to configure automatic update with update.php.

update.php returns an error: "Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in /home/a/admin25/reader.adminsk.ru/public_html/update.php on line 327".

"T_PAAMAYIM_NEKUDOTAYIM" - is a "::" symbols on line 327:

see that 'search' box up there? try using it.
[quote="roman_rutov"]
When i delete one of ":", i see another error message: "Parse error: syntax error, unexpected ':' in /home/a/admin25/reader.adminsk.ru/public_html/update.php on line 327"

well, DUH.

search before posting, else you'll be roasted. of course, since most of the hits point back to this thread, which you obviously didn't read through thoroughly... oooh boy.