Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Error when creating database backup


verbalkent

Recommended Posts

Posted

Hi again,

 

When ever I try to make a backup of my db using tools/backup I receive the following error.

 

Warning: set_time_limit(): Cannot set time limit in safe mode in /home/virtual/site243/fst/var/www/html/admin/includes/functions/general.php on line 733

 

Warning: Cannot modify header information - headers already sent by (output started at /home/virtual/site243/fst/var/www/html/admin/includes/functions/general.php:733) in /home/virtual/site243/fst/var/www/html/admin/includes/functions/general.php on line 18

 

I have checked for any blank spaces in the opening and closing php tags, there are none, ( I pressed delete at the end and begining of the general.php file just to be sure) and im not really php proficiant but I tried looking for the header calls and seeing if they were bieng called twice, I could not find any double instances.

 

can some1 please help me with this issue since it is important for me to make backups and more convienant to use the osc tool rather than log into my phpadmin and run a sql export.

 

thx to all

Posted

This does not help you with the immediate error you have - but you should not be relying upon backing up the db using osCommerce. If your site gets stuffed then so does your backed up database.

 

Only two real options - download to your own computer via ftp or ssh, or backup via ftp to another domain on another server. It's worth keeping a really cheap hosting package somewhere else just to use their facilities to backup your database.

 

Vger

Posted
This does not help you with the immediate error you have - but you should not be relying upon backing up the db using osCommerce.  If your site gets stuffed then so does your backed up database.

 

Only two real options - download to your own computer via ftp or ssh, or backup via ftp to another domain on another server.  It's worth keeping a really cheap hosting package somewhere else just to use their facilities to backup your database.

 

Vger

 

 

How can I back it up using ftp? wouldnt I need to tell it what ext to output the file to.? ex, .sql, .txt. etc..

Posted

You're on the same type of server I use, so FTP to your website, and backtrack to the lowest directory you can (this is usually where mysql databases are stored), then all you have to do is to highlight the file, and select the arrow which points to download, and make sure that in your local folders window that you have a file folder selected that you want to download it to.

 

Vger

Posted
You're on the same type of server I use, so FTP to your website, and backtrack to the lowest directory you can (this is usually where mysql databases are stored), then all you have to do is to highlight the file, and select the arrow which points to download, and make sure that in your local folders window that you have a file folder selected that you want to download it to.

 

Vger

 

I have a question, I use ixwebhosting, and they have webshell3 for editing my files. Is there a way to backup through that?

Posted

I don't know this webshell3, but if it is anything like SSH then yes you should be able to download a backup copy to your own computer using that access.

 

Vger

Posted
Warning: set_time_limit(): Cannot set time limit in safe mode

 

You appear to be on the same sort of Linux server as myself. This error is not something you can fix, but related to how your hosting company has php set up.

 

Post the error to them and ask them to clarify the siuation for you.

 

Vger

Posted

the safe mode i can live with, but is there a solution for this

 

Warning: Cannot modify header information - headers already sent by (output started at /home/virtual/site243/fst/var/www/html/admin/includes/functions/general.php:733) in /home/virtual/site243/fst/var/www/html/admin/includes/functions/general.php on line 18

Archived

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

×
×
  • Create New...