Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Backup tool, Admin - Warning message ? gzip/zip..?


calamares

Recommended Posts

Posted

ok, so:

im trying to use backup tool on admin area,

but it when i press backup button it gives me following WARNING:::

 

Database Backup Manager

 

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/bin/gzip) is not within the allowed path(s): in /path_to_admin/backup.php on line 443

 

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/local/bin/zip) is not within the allowed path(s): in /path_to_admin/backup.php on line 444

 

-what does this mean?

(i can read that is has something to do with some zipping stuff......)

 

if somebody has time , i really respect if some replyes....

Posted

I am currently experiencing the same issue. It appears we are not on the same server though.

 

The problem is the server I am on either does not have zip/gzip or it is not in the location osc is looking for.

 

I have looked at php info and (due to lack of experience) I do not see the packages as installed or even set for that matter.

 

If someone could help us out with this it would be great. In the mean time I am going to drop a question to the host company.

 

I'll be back.

How do you know when you know what you want to do for the rest of your life?

Posted

i just answered this here perhaps i mixed up posts!

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Posted

Yes there may have been a mix up.

 

Anyway you were right on the money.

 

Here's what you said...

 

admin/includes/application_top.php (42):

 

// Used in the "Backup Manager" to compress backups
 define('LOCAL_EXE_GZIP', '/usr/bin/gzip');
 define('LOCAL_EXE_GUNZIP', '/usr/bin/gunzip');
 define('LOCAL_EXE_ZIP', '/usr/local/bin/zip');
 define('LOCAL_EXE_UNZIP', '/usr/local/bin/unzip');

 

replace with:

// Used in the "Backup Manager" to compress backups
 define('LOCAL_EXE_GZIP', 'gzip'); 
 define('LOCAL_EXE_GUNZIP', 'gunzip'); 
 define('LOCAL_EXE_ZIP', 'zip'); 
 define('LOCAL_EXE_UNZIP', 'unzip');

 

and you suggested...

 

i would also suggest you add AutoBackup Database in Admin http://addons.oscommerce.com/info/2314

AND Database backup manager http://addons.oscommerce.com/info/5769

 

 

Thanks a whole lot.

How do you know when you know what you want to do for the rest of your life?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...