Support

Akeeba Backup for Joomla!

#11706 Alternative CRON script does not work

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 nicholas on Tuesday, 27 March 2012 07:54 CDT

user60939
Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? Yes
Have I searched the tickets before posting? Yeso
Have I read the documentation before posting (which pages?)? Yes
Joomla! version: (1.5)
PHP version: (PHP 5.2.10 (cli) (built: Nov 13 2009 11:24:03)
MySQL version: (mysql Ver 14.12 Distrib 5.0.45, for redhat-linux-gnu (i686) using readline 5.0
)
Host: (redhat-linux-gnu)
Akeeba Backup version: ( 3.4.3)

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:

Unsetting time limit restrictions.

Site paths determined by this script:
JPATH_BASE : /var/www/html/XXX/administrator
JPATH_COMPONENT_ADMINISTRATOR : /var/www/html/XXX/administrator/components/com_akeeba

PHP Warning: array_key_exists(): The second argument should be either an array or an object in /var/www/html/XXX/administrator/components/com_akeeba/akeeba/utils/comconfig.php on line 63
ERROR:
This script could not detect your live site's URL. Please visit Akeeba
Backup's Control Panel page at least once before running this script, so
that this information can be stored for use by this script.
PHP Warning: array_key_exists(): The second argument should be either an array or an object in /var/www/html/XXX/administrator/components/com_akeeba/akeeba/utils/comconfig.php on line 63
PHP Warning: array_key_exists(): The second argument should be either an array or an object in /var/www/html/XXX/administrator/components/com_akeeba/akeeba/utils/comconfig.php on line 63
ERROR:
Your Akeeba Backup installation's front-end backup feature is currently
disabled. Please log in to your site's back-end as a Super Administra-
tor, go to Akeeba Backup's Control Panel, click on the Parameters icon
in the top right corner and enable the front-end backup feature. Do not
forget to also set a Secret Word!


Regarding above issue, I 've read
this topic
But , That solution does not work in my case. The values of SiteUrl , frontend_enable and frontend_secret_word are already in params of component table.
As I trace on it , I've figured out that parse_ini_file_php function does not returning values of siteurl,frontend_enable and frontend_secret_word which altbackup.php needed to process.
That 's why PHP Warning says "The second argument should be either an array or an object".
if I set thoses three values as default hard-coded value in coding, It will work and proceed to backup . but It can not be configurage no matter how you change in component parameter.
Can you advise me how to get it working fine?

nicholas
Akeeba Staff
Manager
You seem to have a vey old altbackup.php file?! Please try re-installing Akeeba Backup Professional (watch out: don't install Core on top of Professional) on top of your existing installation, without uninstalling first.

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!

user60939
I just downloaded latest version two days ago.It could not be old version issue.
And I tried the way you advise .But It is not working .keep giving me same error.
Alternatively , I tried to set up the native cron script. It does not work as well.here the error as same as altbackup script .


Akeeba Backup CLI 3.4.3 (2012-03-21)
Copyright (C) 2010-2011 Nicholas K. Dionysopoulos
-------------------------------------------------------------------------------
Akeeba Backup is Free Software, distributed under the terms of the GNU General
Public License version 3 or, at your option, any later version.
This program comes with ABSOLUTELY NO WARRANTY as per sections 15 & 16 of the
license. See http://www.gnu.org/licenses/gpl-3.0.html for details.
-------------------------------------------------------------------------------

Starting a new backup with the following parameters:
Profile ID 1
Description "Command-line backup"

Current memory usage: 130.22 Kb

Unsetting time limit restrictions.

Site paths determined by this script:
JPATH_BASE : /var/www/html/XXX/administrator
JPATH_COMPONENT_ADMINISTRATOR : /var/www/html/XXX/administrator/components/com_akeeba

PHP Warning: array_key_exists(): The second argument should be either an array or an object in /var/www/html/XXX/administrator/components/com_akeeba/akeeba/utils/comconfig.php on line 63
PHP Notice: Undefined index: operand in /var/www/html/XXX/administrator/components/com_akeeba/akeeba/platform/abstract.php on line 322
PHP Notice: Undefined index: operand in /var/www/html/XXX/administrator/components/com_akeeba/akeeba/platform/abstract.php on line 324
PHP Warning: array_key_exists(): The second argument should be either an array or an object in /var/www/html/XXX/administrator/components/com_akeeba/akeeba/utils/comconfig.php on line 63
Last Tick : 2012-03-27 10:52:39 GMT+0800 (SGT)
Domain : init
Step :
Substep :
Memory used : 1.82 Mb
Warnings : no warnings issued (good)


nicholas
Akeeba Staff
Manager
Please follow my instructions. I know why this happens and there's a reason I am telling you to do those things I ask you to do. If you don't want to follow my instructions, I am sorry but I can not help you.

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!

user60939
yes, I 've followed your instruction. I had reinstalled the component without uninstalling on top of Professional like you said.

nicholas
Akeeba Staff
Manager
OK. Do you continue to receive the same error message from the altbackup.php file?

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!

user60939
yes,it is giving me the same error message as above I've posted.

nicholas
Akeeba Staff
Manager
Let's see if the problem is with the correct file not being copied. Please try installing the latest dev release (svn1302), without uninstalling your current version. If you receive the same error message, extract the dev release's ZIP file and look inside its backend directory. There are two files, backup.php and altbackup.php. Copy them to your site's administrator/components/com_akeeba directory.

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!

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!