Support

Akeeba Backup for Joomla!

#19925 Unexpected ~ in extrainfo.ini

Posted in ‘Akeeba Backup for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Akeeba Backup version
n/a

Latest post by on Wednesday, 28 May 2014 18:00 CDT

lomanej
EXTREMELY IMPORTANT: Please attach a ZIP file containing your Akeeba Backup log file in order for us to help you with any backup or restoration issue. If the file is over 2Mb, please upload it on your server and post a link to it.

Description of my issue: During the restoring process of my websites I'm getting the message :
Warning: syntax error, unexpected '~' in /home/websites/<website>/installation/extrainfo.ini on line 5 in /home/websites/<website>/installation/angie/platform/models/main.php on line 299

Warning: array_key_exists() expects parameter 2 to be array, boolean given in /home/websites/<website>/installation/angie/platform/models/main.php on line 302

Warning: array_key_exists() expects parameter 2 to be array, boolean given in /home/websites/<website>/installation/angie/platform/models/main.php on line 309

Warning: array_key_exists() expects parameter 2 to be array, boolean given in /home/websites/<website>/installation/angie/platform/models/main.php on line 316

Warning: array_key_exists() expects parameter 2 to be array, boolean given in /home/websites/<website>/installation/angie/platform/models/main.php on line 323

line 5 in extrainfo.ini contains php_version=5.4.25-1~dotdeb.1.
When I manually update the php version in extrainfo.ini tot php_version=5.4.25-1_dotdeb.1 no error occurs.

Installing the backup works fine and the website is completely working but it seems right to inform you about this issue.

nicholas
Akeeba Staff
Manager
Thank you for your feedback! This is just a cosmetic issue. The functionality of the restored site is not affected. In any case this is very easy to fix. We'll include this fix in the next release of Akeeba Backup.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

lomanej
Thanks for the reaction.
One cosmetic issue less in the next releae ;-)

nicholas
Akeeba Staff
Manager
Yep :) Again, thank you for the heads up! It seems that this is only triggered on Debian custom builds of PHP. All other version strings we have seen only contain numbers, letters, dots, dashes and underscores which do not trigger a PHP warning. For what is worth, the solution is really simple: I just added double quotes around the values in the extrainfo.ini file, just like we have been doing in databases.ini for pretty much the same reasons.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

System Task
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.

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!