Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Backup


sirjohn

Recommended Posts

If you have created the directory backups in the admin folder i.e. admin/backups/ then you should not need to do anything with the configure.php file when you do a refresh the error should be gone

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

Hi Steve

 

I did that but still get the error.

 

What chmod shold it be and permision. But I do not think this is what is wrong.

 

You helped me with mySQL a few days ago and the only way I found to fix it was to edit the /home/sites/domain/web/osc/eshop/includes/configure.php

and change "https:" to "http". The problem was the shop would look for pages under https even when it was set to false.

 

Thanks John

Link to comment
Share on other sites

The permission would be chmod 755.

 

Yes I did indeed help you before and will again if I can.

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

Steve

 

I checked all and is correct but I stll get Error: Backup directory does not exist. Please set this in configure.php.

 

Backup Directory: /home/sites/www.***********/web/eshop-admin/backups/

 

FTP shows /web/osc/eshop-admin/backups

 

The directory is there and the chmod is 755

 

I am lost.

 

Thank you John

Link to comment
Share on other sites

So your admin/includes/configure.php has this

define('DIR_FS_BACKUP', /home/sites/www.***********/web/eshop-admin/backups/
');

and your admin/backups directory is chmod 755 then all should be well.

 

You are using an ftp program to create the backups directory and chmod it 755 that is all that needs to be done.

 

The only thing I can think of is if a path is wrong or the backups directory has been named backup instead of backups

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

Done that but now I get

 

Backup Directory configure.php is set at: define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

 

Error: Backup directory does not exist. Please set this in configure.php.

 

Thanks John

Link to comment
Share on other sites

Earlier you posted this

Backup Directory: /home/sites/www.***********/web/eshop-admin/backups/

 

FTP shows /web/osc/eshop-admin/backups

 

ftp showing

 

/web/osc/eshop-admin/backups

 

however the configure.php had this

 

/home/sites/www.***********/web/eshop-admin/backups/

 

where is the

 

web/osc/eshop-admin/

 

the path should be

 

home/sites/www.***********/web/osc/eshop-admin/backups/

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

I changed the path to

 

home/sites/www.***********/web/osc/eshop-admin/backups/

 

Get the same error but the path now is

 

Backup Directory: /home/sites/www.***********/web/eshop-admin//home/sites/***********/web/osc/eshop-admin/backups/

 

So the correct path must be backups/ changed back to this and I get

 

Backup Directory: /home/sites/www.***********/web/eshop-admin/backups/

 

It is there but the shop does not see it. Is there another file I should edit?

 

Thanks John

Link to comment
Share on other sites

Done that but now I get

 

Backup Directory configure.php is set at: define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

 

Error: Backup directory does not exist. Please set this in configure.php.

 

Thanks John

change this line to be exactly this

define('DIR_FS_BACKUP', home/sites/www.***********/web/osc/eshop-admin/backups/
');

 

the path needs to be exact, so maybe post the configure.php file and I will amend it for you.

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

I was not being clear.

 

I changed

 

define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

 

to

 

define('DIR_FS_BACKUP', DIR_FS_ADMIN . '/home/sites/***********/web/osc/eshop-admin/backups/');

 

and when I went to the osc admin page it said after a refresh

 

Backup Directory: /home/sites/www.***********/web/eshop-admin//home/sites/***********/web/osc/eshop-admin/backups/

 

Thanks John

Link to comment
Share on other sites

I was not being clear.

 

I changed

 

? define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

 

to

 

? define('DIR_FS_BACKUP', DIR_FS_ADMIN . '/home/sites/***********/web/osc/eshop-admin/backups/');

 

and when I went to the osc admin page it said after a refresh

 

Backup Directory: /home/sites/www.***********/web/eshop-admin//home/sites/***********/web/osc/eshop-admin/backups/

 

Thanks John

that is because you have not taken out the

DIR_FS_ADMIN .

as I showed you in my last post

 

change the line to be exactly this

 

 

 ?
define('DIR_FS_BACKUP', home/sites/www.***********/web/osc/eshop-admin/backups/
');

notice that there is no

DIR_FS_ADMIN .

in the line of code I have given you

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...