Guest Posted March 29, 2012 Share Posted March 29, 2012 Hi Sam, installed this mod i am now getting the following error Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 136848889 bytes) server is running PHP Version 5.2.17, tried increasing the memory from 128m to 256m still the same error message regards Quote Link to comment Share on other sites More sharing options...
spooks Posted March 29, 2012 Author Share Posted March 29, 2012 @@missery Could you say which mode that was in and the approx size of the site 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. Link to comment Share on other sites More sharing options...
Guest Posted March 30, 2012 Share Posted March 30, 2012 Hi Sam, in my control panel it states "Disk Space Usage 424.42" i presume this is the size of the site, this was run in default mode i havent changed anything. Quote Link to comment Share on other sites More sharing options...
spooks Posted March 30, 2012 Author Share Posted March 30, 2012 @@missery There are two modes, file and memory, they work completely differently, which one did you select. What size does the program report your site, 424MB is very big, I suspect most of that is emails, which won't be included. 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. Link to comment Share on other sites More sharing options...
Guest Posted March 30, 2012 Share Posted March 30, 2012 hi Spooks, i never selected any, it never gave me an option. the only option i get is Click ( HERE) to save a copy of all store files in 'zip' format. A window will open with your backup zip file, click on 'save' to save it to your computer. Thats it Regards Quote Link to comment Share on other sites More sharing options...
spooks Posted March 30, 2012 Author Share Posted March 30, 2012 @@missery which package have you installed, if the old one at http://addons.oscommerce.com/info/6986 instead of the new at http://addons.oscommerce.com/info/8387 The new tells you how big your site is & estimate of backup size first, then the two options, the old version did have memory problems, especially with big sites, hence the update 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. Link to comment Share on other sites More sharing options...
Guest Posted March 30, 2012 Share Posted March 30, 2012 looks like i had them both installed, i have unistalled the old version but when i click on TOOLS-> BACKUP WEBSITE i am now redirected to my admin home page. regards Quote Link to comment Share on other sites More sharing options...
spooks Posted March 30, 2012 Author Share Posted March 30, 2012 @@missery modify your admin/includes/filenames.php as per new install 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. Link to comment Share on other sites More sharing options...
Guest Posted March 30, 2012 Share Posted March 30, 2012 Hi sam i have added the new files and the code to filenames.php and i am still being redirected to my admin. regards Quote Link to comment Share on other sites More sharing options...
Guest Posted March 30, 2012 Share Posted March 30, 2012 in your install instructions it says 1.- Copy backup_website.php to /admin/includes/ there is no backup_website.php in the admin/includes folder i downloaded only in the admin folder , is this correct. Quote Link to comment Share on other sites More sharing options...
spooks Posted March 30, 2012 Author Share Posted March 30, 2012 @@missery oop,s sorry, that's a typo :blush: It should say copy backup_website.php to admin/ that's where you will find the file in the package 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. Link to comment Share on other sites More sharing options...
Guest Posted March 30, 2012 Share Posted March 30, 2012 Strange still not working for me , i am still being redirected to my admin for some strange reason, not sure whats going on to be honest. regards Quote Link to comment Share on other sites More sharing options...
spooks Posted March 30, 2012 Author Share Posted March 30, 2012 @@missery Go through the new install & check you've done it all, double check you've actually uploaded the changes. You could manually run the file by putting admin/backup_website.php in your browser address bar 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. Link to comment Share on other sites More sharing options...
spooks Posted March 30, 2012 Author Share Posted March 30, 2012 @@missery Another thought, the program check you are logged into admin (have a session) for security, if not it redirects away, how do you login to your admin? 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. Link to comment Share on other sites More sharing options...
Guest Posted March 30, 2012 Share Posted March 30, 2012 Hi Spooks i have uninstalled every file and re installed them, done the edits to the files stated, still the same out come, i am being redirected to my admin/index.php i have tried to run it manually and again i am redirected to my admin/index.php i have oscommerce security, Security Pro from FWR Media installed and i have Rename /admin/ and htpasswd it, could these be causing the redirect issue? regards Quote Link to comment Share on other sites More sharing options...
Guest Posted March 30, 2012 Share Posted March 30, 2012 @@missery Another thought, the program check you are logged into admin (have a session) for security, if not it redirects away, how do you login to your admin? @@spooks my admin has been renamed and it is also password protected, dual login same password for both to save logging in twise Quote Link to comment Share on other sites More sharing options...
spooks Posted March 30, 2012 Author Share Posted March 30, 2012 @@missery The admin rename don't matter, but it would seem there's a sessions issue, try this in backup_website.php comment out (111) if (!tep_session_is_registered('admin') ) header('Location: ' . 'index.php'); and comment out (205) if (!tep_session_is_registered('admin')) header('Location: ' . 'index.php'); 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. Link to comment Share on other sites More sharing options...
Guest Posted March 30, 2012 Share Posted March 30, 2012 (edited) right we are getting somewere now, i see the landing page, Website size: 353.84 MB Estimated compressed file size: 240.61 MB Containing 282 folders with 8906 Files. ( i hava a lot of images) when i click "Click HERE to save a copy of all Website files in 'zip' format." i am now getting this error message Fatal error: Call to undefined function tep_href_link() in /home/xxxxxx/public_html/xxxxxxx/includes/languages/english.php on line 363 this is line 363 define('TEXT_GIFT_ADD_CARROT', '<a href="' . tep_href_link(FILENAME_CATEGORIES) . '">Go to product edit page to add items to the list.</a>'); regards Edited March 30, 2012 by missery Quote Link to comment Share on other sites More sharing options...
spooks Posted March 30, 2012 Author Share Posted March 30, 2012 @@missery Your the second person to have links in their language file!! Not where they should be, don't people know of formatted string usage? Do this: in backup_website.php: after(90): require(DIR_WS_FUNCTIONS . 'general.php'); add: require(DIR_WS_FUNCTIONS . 'html_output.php'); and remove that same line from line 170 (appears there purely of error display) To stop any Notice Display caused by conflicts within your language files after(10): $guess = 0; // ... add: error_reporting(E_ALL & ~E_NOTICE); 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. Link to comment Share on other sites More sharing options...
Guest Posted March 30, 2012 Share Posted March 30, 2012 Hi Sam, ok this seems to be working now but i am getting memory error, i think i need to exclude the image directory from being backed up, how do we do this regards Quote Link to comment Share on other sites More sharing options...
spooks Posted March 30, 2012 Author Share Posted March 30, 2012 @@missery its says in the doc: Just add any folders to be excluded as required, include the full path from catalog folder i.e. includes/languages/. so add 'images/' or 'admin/images' to the list, comma separated. 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. Link to comment Share on other sites More sharing options...
Guest Posted March 30, 2012 Share Posted March 30, 2012 hi, sorry i missed that, i have added images and admin images and i am still getting memory issues, not sure what else i can discard. regards Quote Link to comment Share on other sites More sharing options...
spooks Posted March 30, 2012 Author Share Posted March 30, 2012 @@missery Which mode are you using and what size does it say with excluded folders (the size is reported after exclusion, so if no change there is a issue there) Are you trying both methods, file uses little memory but needs disk space. 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. Link to comment Share on other sites More sharing options...
Guest Posted March 30, 2012 Share Posted March 30, 2012 (edited) Hi Sam, i have tried using both, file sizes are still showing the same with the excluded folders, so we have a problem here. Backup All Website Files Website size: 354.2 MB Estimated compressed file size: 240.86 MB Containing 282 folders with 8906 Files. Excluded Directories: /renamedadmin/backups/ + /tmp/ + /tmp + images/ + renamedadmin/images/ File Mode Zipping: fails Memory Mode Zipping: fails at around 85% Edited March 30, 2012 by missery Quote Link to comment Share on other sites More sharing options...
spooks Posted March 30, 2012 Author Share Posted March 30, 2012 @@missery The next version (out soon) will have more checks in place to catch issues, but one thing to test, in your admin/configure.php does the definition for DIR_FS_DOCUMENT_ROOT have a trailing / like it should ? 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. Link to comment Share on other sites More sharing options...
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.