Please describe the issue you're having
If you accept the answer, please mark the topic as [SOLVED] by clicking the tick.

Moderators: RussH, cptr13

Forum rules: Just please remember to play nicely once you walk through the door. You can disagree with us, or any other commenters in this forum, but respect our space and keep your comments directed to the topic at hand.
#2057
When I try to generate a full site backup in cat 0.9.2 I get a PHP error.

Steps to reproduce:

1. Login as Admin
2. Go to Settings
3. Click on Administration
4. Click on Site Backup
5. Click on Full system backup.

A popup message like this comes up:

http://es.tinypic.com/r/35hjo06/8

Also these two errors appear on the browser at the top:

Strict Standards: Non-static method FileUtility::sizeToHuman() should not be called statically, assuming $this from incompatible context in /path/to/ats.test/modules/settings/SettingsUI.php on line 1980

Warning: filesize(): stat failed for attachments/site_180/1xxx/9dcdf5c645f1fd4c52452c4e0f876c4d//catsbackup.bak in /path/to/ats.test/modules/settings/SettingsUI.php on line 1981

General Information
Operating System: Linux ice.weblocalhost.com 2.6.32-504.12.2.el6.x86_64 #1 SMP Wed Mar 11 22:03:14 UTC 2015 x86_64
Operating System Type: CATS thinks your operating system is UNIX.
PHP Version: 5.5.23
Database Version: MySQL 5.5.42-cll
#2194
Hi

I'm currently testing out the 0.9.2 (downloaded from github earlier today) and I too encountered an error while performing a site backup.

OS: Windows Server 2012 R2
Using Wampserver
PHP: 5.5.12
MySQL: 5.6.17


Warning: filesize(): stat failed for attachments/site_180/0xxx/3b3244a895d09a2b152b0ab33797bca1//catsbackup.bak in C:\wamp\www\tempcats\modules\settings\SettingsUI.php on line 1981
Call Stack
# Time Memory Function Location
1 0.0005 305728 {main}( ) ..\index.php:0
2 0.0392 6588952 ModuleUtility::loadModule( ) ..\index.php:302
3 0.0395 6599016 SettingsUI->handleRequest( ) ..\ModuleUtility.php:79
4 0.0395 6599792 SettingsUI->createBackup( ) ..\SettingsUI.php:363
5 0.0400 6608752 filesize ( ) ..\SettingsUI.php:1981
#2196
Hi RussH

Thanks for looking into my issue.

I checked the folder (and the folders above) and yes, they are Read Only. I unchecked them and applied the setting, but once I ran the site backup again, it looks like it reverted back to Read Only.

It's essential to keep these synchronized to ensur[…]

Export part in Job Order order search

Same problem as mine. Maybe you're right, I'll che[…]

The error message you're encountering indicates th[…]

Errors restoring mysqldump backup

doesnot work for me