Support

UNiTE, Remote CLI, eXtract Wizard

#3438 Invalid AJAX Response

Posted in ‘UNiTE and Remote CLI’
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

PHP version
n/a
Tool
UNiTE
Tool version
n/a

Latest post by dlb on Wednesday, 11 February 2009 02:03 CST

user1592
Hii I get the following error when trying to backup with 2.0 stable. Please note the log file below and let me know if I can do anything to fix this. Thanks :geek:



Invalid AJAX Response:Notice: Undefined variable: object in C:\........\administrator\components\com_joomlapack\helpers\sajax.php on line 189var res = { 0: 'step', 1: '' }; res;

Log file

[081208 ] --------------------------------------------------------------------------------
[081208 ] JoomlaPack 2.0 (2008-12-06 00:39:47)
[081208 ] Your one for all backup solution
[081208 ] --------------------------------------------------------------------------------
[081208 ] --- PHP Configuration Values ---
[081208 ] OS Version :Windows NT
[081208 ] Safe mode :
[081208 ] Display errors :1
[081208 ] Disabled functions :
[081208 ] open_basedir restr.:
[081208 ] Max. exec. time :60
[081208 ] Memory limit :32M
[081208 ] Current mem. usage :5967872
[081208 ] GZIP Compression : available (good)
[081208 ] JPATH_BASE :\administrator
[081208 ] JPATH_ROOT :
[081208 ] JPATH_CACHE :\administrator\cache
[081208 ] --------------------------------------------------------------------------------
[081208 ] Loading profile #1
[081208 ] JoomlaPack is starting a new full site backup
[081208 ] Creating packer engine of type jpa
[081208 ] Trying to read engine setup data from \administrator\components\com_joomlapack\classes\engine\packer\engine.ini
[081208 ] Trying to include engine file engine.packer.jpa
[081208 ] Instanciating JoomlapackPackerJPA
[081208 ] Archive template name: site-[HOST]-[DATE]-[TIME]
[081208 ] Expanded template name: site-aclops.brinkster.net-20081208-003615
[081208 ] Archive template name: site-[HOST]-[DATE]-[TIME]
[081208 ] Expanded template name: site-aclops.brinkster.net-20081208-003615
[081208 ] Calculated archive absolute path: \administrator\components\com_joomlapack\backup\site-aclops.brinkster.net-20081208-003615.jpa
[081208 ] Backup type is now set to 'full'
[081208 ] Expanded archive file name: C:/..../administrator/components/com_joomlapack/backup/site-aclops.brinkster.net-20081208-003615.jpa
[081208 ] Seeding archive with installer
[081208 ] JoomlapackPackerJPA :: new instance - archive C:/....../administrator/components/com_joomlapack/backup/site-aclops.brinkster.net-20081208-003615.jpa
[081208 ] JoomlapackPackerJPA :: Killing old archive

dlb
Nicholas needs to look at this error. Until then, you can try the javascipt redirects on the Advanced Options page. It is not as "sexy" as AJAX, but sometimes more bulletproof. :D

Dale


Dale L. Brackin
Support Specialist


us.gifEnglish: native


Please keep in mind my timezone and cultural differences when reading my replies. Thank you!


????
My time zone is EST (UTC -5) (click here to see my current time in Philadelphia, PA)

user736
This is an ongoing issue with alot of people I have seen asking for support. I have seen where the Javascript redirects works and others it does not. Also please inform us your hosting company and what the OS is that you are running your server. Maybe we can nail it down to a few hosting company or Operating Systems

Mike

user1592
hi

I am using brinkster.com.

OS= Windows NT PREMFS12 5.2 build 3790
PHP Version 5.2.6

BTW I have tried the Javascript redirect. This setting causes the following error to be posted many many times....

"Notice: Undefined property: JoomlapackCUBEDomainPack::$_errorMessage in C:\administrator\components\com_joomlapack\classes\abstract\engineparts.php on line 289

Notice: \administrator\components\com_joomlapack\classes\engine\lister\default.php on line 171"

Thank you for the help.

nicholas
Akeeba Staff
Manager
As posted, like, a trillion times on this board please turn Error Reporting to None. It's a setting you can find in Joomla's Global Configuration, right at the Server tab. The occasional PHP notices otherwise printed on misconfigured servers mess up the AJAX response.

Please note: Having a live web server displaying PHP errors - worse yet, if they display unimportant notices as well - is like asking a cracker to deface your site. You are revealing too much info on your site.

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!

user1592
I have turned off all error reporting in the jommla config and the same errors happen.
Could I be missing something else?


As for the server configuration, I am using a shared server and do not control the server config. Is there something I should be doing to reduce the issue you mentioned?

To be honest I have had more than a few issues with my hosting provider. I am wondering who you think offer the best setup for joomla.

Thank you

nicholas
Akeeba Staff
Manager
Another thing we had lately is that many users tried to upgrade from 1.2.2, which is not supported. If this is the case, you should completely uninstall JoomlaPack and then re-install 2.0 Stable.

However, I will insist that your server showing this PHP Notice is not normal if you have turned error reporting off. Please double check this setting.

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!

user1592
I did not upgrade from the old version. This was a fresh install.

My server error reporting is not on in the global configuraion, seems odd that error reporting needs to be shut off to remove the error but it is and the problem remains.

I am still not sure what you mean when you say the report of the error is not normal. I would say the error is not normal? Anyway I have no other error reportings options that can be changed on my end.

I still have the problem and all settings are as expected. Thanks for your help.

nicholas
Akeeba Staff
Manager
What I was saying is that if you explicitly set error reporting to None, the PHP notices should not be output to the browser. Your host seems to ignore this setting, which is not normal. OK, I wasn't very clear on this :D

Please try using the just-released version 2.0.1. I have fixed some bugs which might be the cause of the error you experience. However, if you still get PHP notices output to your browser, use the Javascript Redirects mode, as AJAX will not work in such a case.

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!

user2310
I got that Ajax error message before,

then I set PHP.ini
display_errors = Off

now joomlapack 2.0.1 release work greate!

dlb
The php status messages can get too "chatty" for JoomlaPack and interfere with the processing. Setting display_errors to off works if you have access to your php.ini file or can override it.

Dale


Dale L. Brackin
Support Specialist


us.gifEnglish: native


Please keep in mind my timezone and cultural differences when reading my replies. Thank you!


????
My time zone is EST (UTC -5) (click here to see my current time in Philadelphia, PA)

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!