Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted (edited)

Dear members,

 

I have a question regarding the contribution named Backup of all store files in zip format / Backup em formato zip de todos os arquivos de sua loja

Which can be found here: http://addons.oscommerce.com/info/6986

 

I want to install this contribution, but it is unclear to me.

 

It does not say anything about what to do with the index.php that is included in this package.

Should i add the code in this file to my index.php in my /catalog/ directory or in the /catalog/admin/ directory,

or do i have to replace this file with my original one? (which seems very unlikely)

 

And if i have to add the code to my index.php file do i have to add it in the end before the final ?>

 

It also states:

 

open 

admin/includes/boxes/tools.php


find :


   $contents[] = array('text'  => '<a href="' . tep_href_link(FILENAME_BACKUP) . '" class="menuBoxContentLink">' . BOX_TOOLS_BACKUP . '</a><br>' .


Add:

'<a href="../fullbackup" class="menuBoxContentLink" target="_blank">Backup all Files</a><br>' .

 

Where do i add it? immediately after this line (a new line) or make it one line?

 

I am sorry i am not very good in php, and i am trying to do my best to understand this.

 

I did a search on the forum but could not find an answer.

 

Thanks

Edited by Milierkovic
Posted

Well, for doing this, I go to my cpanel -> filemanager, click on "catalog" compress it, and then download it

 

PS in general my backup is always stored local, so I don't care much about my files overseas, I can replace them anytime, so usually I don't download but upload files

Posted

The index file they're talking about is part of the contribution and what makes it work, it's NOT the index of your store, so DON'T overwrite your index with the one from this contribution or you'll have problems.

In the package there is a folder named "fullbackup" (the index you mentioned is in there), so you have to upload this whole folder to your root.

 

As for admin/includes/boxes/tools.php, the line to find is the one that makes the link to database back up manager in admin, I would think this contribution wants to add a link underneath that to back up all files in zip format, so I'd add that new line right under.

 

But whatever contribution you try installing, please back up first!!!!

~ Don't mistake my kindness for weakness ~

Posted

I admit I did`nt look that closely at this contrib b4 blush.gif , the install could certainly be clearer, but my main concern is it does open a security loophole.

 

I will upload a updated version shortly, with better instructions & security addressed.

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

I admit I did`nt look that closely at this contrib b4 blush.gif , the install could certainly be clearer, but my main concern is it does open a security loophole.

 

I will upload a updated version shortly, with better instructions & security addressed.

 

that would be great, thanks Sam.

~ Don't mistake my kindness for weakness ~

Posted

As promised I have uploaded a new version with the security issue fixed, plus better install instructions & a few other improvements. wink.gif

 

Contribution is found here: http://addons.oscommerce.com/info/6986

 

 

 

Created a Support thread here: http://www.oscommerce.com/forums/topic/346592

 

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...