Milierkovic Posted October 9, 2009 Posted October 9, 2009 (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 October 9, 2009 by Milierkovic Quote
multimixer Posted October 9, 2009 Posted October 9, 2009 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 Quote My community profile | Template system for osCommerce - New: Responsive | Feedback channel
♥Biancoblu Posted October 9, 2009 Posted October 9, 2009 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!!!! Quote ~ Don't mistake my kindness for weakness ~
spooks Posted October 9, 2009 Posted October 9, 2009 I admit I did`nt look that closely at this contrib b4 , 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. Quote 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.
♥Biancoblu Posted October 10, 2009 Posted October 10, 2009 I admit I did`nt look that closely at this contrib b4 , 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. Quote ~ Don't mistake my kindness for weakness ~
spooks Posted October 10, 2009 Posted October 10, 2009 As promised I have uploaded a new version with the security issue fixed, plus better install instructions & a few other improvements. Contribution is found here: http://addons.oscommerce.com/info/6986 Created a Support thread here: http://www.oscommerce.com/forums/topic/346592 Quote 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.
♥Biancoblu Posted October 11, 2009 Posted October 11, 2009 (edited) Thank you Sam, it's much appreciated. :) just editing to add the correct link to the support thread as the other one was leading to the forum's main page. http://www.oscommerce.com/forums/topic/346592-backup-all-store-files-in-zip-format/ Edited October 11, 2009 by Biancoblu Quote ~ Don't mistake my kindness for weakness ~
Recommended Posts
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.