Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Backup failed? Please help!


Kjolebutikken

Recommended Posts

Hi, I'm doing changes in my index.php file in catalog/includes/languages/norwegian/index.php. Wanted to delete the test text there and insert my own. Luckly I took backup first. I went back to admin and choosed the latest bacup and pressed" backup", but the site does not reconstruct. I get this message insted:

 

1146 - Table 'kjolebutikken_c.sessions' doesn't exist

 

select value from sessions where sesskey = 'e841726b32fa39afa03266ad9a8a33a4' and expiry > '1134232053'

 

[TEP STOP]

 

Can someone please help me correct this?

 

Kjolebutikken:-)

Best regards

Kjolebutikken

Link to comment
Share on other sites

Hi, I'm doing changes in my index.php file in catalog/includes/languages/norwegian/index.php. Wanted to delete the test text there and insert my own. Luckly I took backup first. I went back to admin and choosed the latest bacup and pressed" backup", but the site does not reconstruct. I get this message insted:

 

1146 - Table 'kjolebutikken_c.sessions' doesn't exist

 

select value from sessions where sesskey = 'e841726b32fa39afa03266ad9a8a33a4' and expiry > '1134232053'

 

[TEP STOP]

 

Can someone please help me correct this?

 

Kjolebutikken:-)

 

Making a backup of your catalog/includes/languages/norwegian/index.php file and using the 'Backup' utility are two different things. To backup the first simply means to make a copy of the file and save it somewhere for future use should you need it. The backup utility is for backing up the database and would have no direct effect on the code from your index.php file.

 

Also if you wanted to go back to a previous backup of your database you would choose the latest backup and click on "Restore".

 

Be well,

Tina

If you're not having fun you're not doing it right

 

Teach a person to fish rather than give them a loaf of bread or however that saying goes.

Link to comment
Share on other sites

Making a backup of your catalog/includes/languages/norwegian/index.php file and using the 'Backup' utility are two different things. To backup the first simply means to make a copy of the file and save it somewhere for future use should you need it. The backup utility is for backing up the database and would have no direct effect on the code from your index.php file.

 

Also if you wanted to go back to a previous backup of your database you would choose the latest backup and click on "Restore".

 

Be well,

Tina

 

OK, I didn't save the index.php another place before changing in the code, but I have not changed much so I guess I can delete it, and upload the original file from my pc from when I downloaded the norwegian language pack? Will this work? Will I then be able to see my shop and admin tools again? Cause now I cannot open any of them.

 

Kjolebutikken

Best regards

Kjolebutikken

Link to comment
Share on other sites

OK, I didn't save the index.php another place before changing in the code, but I have not changed much so I guess I can delete it, and upload the original file from my pc from when I downloaded the norwegian language pack? Will this work? Will I then be able to see my shop and admin tools again? Cause now I cannot open any of them.

 

Kjolebutikken

 

If you replace your file with the original then you should be back to how it was before you made any changes

 

Backing up is one of the most important things you should do, you can make changes for quite ahwile without any problems and then one time it will bite you very very hard.

The Knowledge Base is a wonderful thing.

Do you have a problem? Have you checked out Common Problems?

There are many very useful osC Contributions

Are you having trouble with a installed contribution? Have you checked out the support thread found Here

BACKUP BACKUP BACKUP!!! You did backup, right??

Link to comment
Share on other sites

If you replace your file with the original then you should be back to how it was before you made any changes

 

Backing up is one of the most important things you should do, you can make changes for quite ahwile without any problems and then one time it will bite you very very hard.

 

Thanks, I will try that.

I agree about the backup, that's why I used the backup fukction in admin, but I'm not sure I understand what needs to be taken backup off. I have the possibility to save files another place f.ex. I also can use the backup function in admin. Is there also a backup function in phpmyadmin?

 

I would appreciate if someone could tell me what I should do regarding backup and which functions to use. Is new to this:-))) Want to be sure I do it right before adding all my products.

 

Please enlighten me:-)))

 

Kjolebutikken!

Best regards

Kjolebutikken

Link to comment
Share on other sites

Thanks, I will try that.

I agree about the backup, that's why I used the backup fukction in admin, but I'm not sure I understand what needs to be taken backup off. I have the possibility to save files another place f.ex. I also can use the backup function in admin. Is there also a backup function in phpmyadmin?

 

I would appreciate if someone could tell me what I should do regarding backup and which functions to use. Is new to this:-))) Want to be sure I do it right before adding all my products.

 

Please enlighten me:-)))

 

Kjolebutikken!

 

 

The backup in the admin backs up your database only!!

 

It does not backup any of your files!!!

 

You must backup your files yourself before making any changes, it is best if you keep a complete current backup of your site on your local computer at all times.

The Knowledge Base is a wonderful thing.

Do you have a problem? Have you checked out Common Problems?

There are many very useful osC Contributions

Are you having trouble with a installed contribution? Have you checked out the support thread found Here

BACKUP BACKUP BACKUP!!! You did backup, right??

Link to comment
Share on other sites

Thanks, I will try that.

I agree about the backup, that's why I used the backup fukction in admin, but I'm not sure I understand what needs to be taken backup off. I have the possibility to save files another place f.ex. I also can use the backup function in admin. Is there also a backup function in phpmyadmin?

 

I would appreciate if someone could tell me what I should do regarding backup and which functions to use. Is new to this:-))) Want to be sure I do it right before adding all my products.

 

Please enlighten me:-)))

 

Kjolebutikken!

you should be able to do an entire site backup via your hosting cpanel or even individual files...I can anyway, if you can't contact your host and tell them you need that functionality. HTH :thumbsup:

"I must admit that I personally measure success in terms of the contributions an individual makes to her or his fellow human beings."

---Margaret Mead---

 

"The answer is never the answer. What's really interesting is the mystery. If you seek the mystery instead of the answer, you'll always be seeking. I've never seen anybody really find the answer -- they think they have, so they stop thinking. But the job is to seek mystery, evoke mystery, plant a garden in which strange plants grow and mysteries bloom. The need for mystery is greater than the need for an answer.

--Ken Kesey"

Link to comment
Share on other sites

you should be able to do an entire site backup via your hosting cpanel or even individual files...I can anyway, if you can't contact your host and tell them you need that functionality. HTH :thumbsup:

 

Hi, thank you all for good advices. Just spoke to my host, they only take backups for hardware reasons for their own. They do not offer backups to customers.

 

I tried to delete the index.php file and upload the original one, but I still get this errormessage when I try to open admin or my store:

 

1146 - Table 'kjolebutikken_c.sessions' doesn't exist

 

select value from sessions where sesskey = '7bf1290d13927895fe126ed5540f5e27' and expiry > '1134232656'

 

[TEP STOP]

 

What can I do to get access to admin and my store again?

Heeeelp!!!!

 

Kjolebutikken

Best regards

Kjolebutikken

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...