|
[F] Backup doesn't work in FF3
|
|
08-06-2008, 12:43 PM
Post: #1
|
|||
|
|||
|
[F] Backup doesn't work in FF3
A backup database produces an empty file when generated under Firefox 3.0.1.
Procedure Attempt a database backup with the settings: Select All to select all the tables, file type to GZIP, Download, backup Structure and Data and select Analyze and Optimize. The resulting file contains little or no backup content. There does not appear to be a problem doing this from IE7 instead of FF3. David gear4sale and theCameraClub |
|||
|
08-06-2008, 02:48 PM
Post: #2
|
|||
|
|||
|
RE: Backup doesn't work in FF3
Does it work without gzip? If so, then that just says that you have a faulty gzip extension installed.
![]() My Blog - My Mods - My Site |
|||
|
08-06-2008, 03:07 PM
Post: #3
|
|||
|
|||
|
RE: Backup doesn't work in FF3
Yes, I've just tried Plain Text and that works OK. So, where is this faulty GZIP module installed?
David gear4sale and theCameraClub |
|||
|
08-07-2008, 09:22 AM
Post: #4
|
|||
|
|||
|
RE: Backup doesn't work in FF3
Could you also try saving the download (GZipped) then downloading the saved file?
Thanks. |
|||
|
08-07-2008, 09:26 AM
Post: #5
|
|||
|
|||
RE: Backup doesn't work in FF3
(08-07-2008 09:22 AM)ZiNgA BuRgA Wrote: Could you also try saving the download (GZipped) then downloading the saved file?You mean save the GZIPped backup on the server and then FTP that to my local machine? David gear4sale and theCameraClub |
|||
|
08-07-2008, 09:30 AM
Post: #6
|
|||
|
|||
|
RE: Backup doesn't work in FF3
Yes, or download the file via the AdminCP (after saving to the server).
The reason is because when saving to the server, we use different functions. |
|||
|
08-07-2008, 12:11 PM
Post: #7
|
|||
|
|||
RE: Backup doesn't work in FF3
(08-07-2008 09:30 AM)ZiNgA BuRgA Wrote: Yes, or download the file via the AdminCP (after saving to the server).Since I am new to MyBB I am also new to making backups of MyBB databases and so I have found further problems/bugs along the way. Firefox3 Saving the backup on the server under Firefox3 as a GZIP works (it gives me a 127k backup). Directly saving the backup to my local machine gives me a 1k backup (sometimes repeating this gives a 0k backup). Internet Explorer 7 Saving the backup on the server under Internet Explorer 7 as a GZIP works (it gives me a 127k backup). Directly saving the backup to my local machine gives me a 480k backup. However, extracting this to a text file gives roughly the same size text file as the 127k file on the server when expanded so I assume that a different compression algorithm is used. However, when saving to the server, it shows me a path which must be an absolute path on the server and one which I am not familiar with: If I then click on the Download link at the end, I get: In the case of my testing above, I simply FTPed the backup from the backup folder to my local machine. Does my logic/procedure make sense to you? David gear4sale and theCameraClub |
|||
|
08-08-2008, 01:22 AM
Post: #8
|
|||
|
|||
|
RE: Backup doesn't work in FF3
Can you try this edit?
In admin/modules/tools/backupdb.php, find (it's near the top of the file): PHP Code: function clear_overflow($fp, &$contents) PHP Code: function clear_overflow($fp, &$contents) See if that fixes the issue with downloading the DB backup directly (without saving to server first). I'm not sure why you're getting an error trying to download the file though :/ |
|||
|
08-08-2008, 12:16 PM
(This post was last modified: 08-08-2008 12:17 PM by SteelD.)
Post: #9
|
|||
|
|||
|
RE: Backup doesn't work in FF3
Here are the figures for file sizes created from backups via IE7 and FF3 via the two backup scenarios. Hope they help.
David gear4sale and theCameraClub |
|||
|
08-10-2008, 03:50 AM
Post: #10
|
|||
|
|||
|
RE: Backup doesn't work in FF3
Hi,
This should work. It should go in admin/modules/tools/ Other minor notes: See http://www.ietf.org/rfc/rfc2616.txt [^] section 14.3: Note: Most HTTP/1.0 applications do not recognize or obey values associated with content-encodings. This means that values will not work and are not permitted with x-gzip or x-compress. ![]() My Blog - My Mods - My Site |
|||
|
« Next Oldest | Next Newest »
|
Search
Member List
Calendar
Help



![[Image: ryangordon.png]](http://belloman.rctgo.net/stuff/signatures/ryangordon.png)

