Home TheRandomizer Forum Index Log in Register FAQ Search
TheRandomizer Forum Index » Installation Help » backup dbase in V 2.3 not functioning
Post new topic  Reply to topic View previous topic :: View next topic 
backup dbase in V 2.3 not functioning
PostPosted: Sat Nov 15, 2003 2:55 pm Reply with quote
klaussr
Visitor
Joined: 10 Nov 2003
Posts: 23




I've tryed to backup full dbase but there's some missing file: "the_randomizer.temp.sql.gz" in the radmin folder.

I creted the file and uploaded (ascii) and tryed again the backup but there was still some errors file: /radmin/database_backup.php in line 388 and 389 which refers to replazing the temp backup to a full backup file.

any news on this feature?

I know I can do I full backup from phpmyadmin but it would be nice If I can do it from therandomizer admin area.

Regards
PostPosted: Sat Nov 15, 2003 4:21 pm Reply with quote
shadow
Addict
Joined: 16 Oct 2003
Posts: 171
Location: Virgin Islands




Hi Klaussr,

Did you install the IP to Country Sql file?

If not the backup is looking for a table you don't have install it by calling it in your browser with a line like below. Of course change YOURDOMAIN to your domain.

http://www.YOURDOMAIN.com/radmin/database_load.php?filename=iptocountry.sql.gz

I think this will solve your problem

Shadow
..
PostPosted: Sat Nov 15, 2003 9:56 pm Reply with quote
klaussr
Visitor
Joined: 10 Nov 2003
Posts: 23




when I upgraded from 2.2 to 2.3 I run the upgrade_2.2_to2.3.php file, and when it asked what database file I wanted to run I answered 'iptocountry.sql' file, and the upgrade finished fine.

then I look at the iptocountry.sql.gz file and it basically contains the same database with same tables that iptocountry.sql has. so I don't know if that has something to do with the fact that I can't backup the database from the admin menu.

some how the file that is looking for and which should be chmod 777 is not present (the_randomizer_temp.sql)

well I believe that file is not present at all, the one that refers in 'database_backup.php' in line 81

if (($gz && ($zp = gzopen($backupabsolutepath.$tempbackupfilename, 'wb'))) || (!$gz && ($fp = fopen($backupabsolutepath.$tempbackupfilename, 'wb')))) {

$tempbackupfilename is the one is looking for when the backup starts, but is not there.
PostPosted: Thu Jan 15, 2004 5:35 am Reply with quote
Guest




http://www.YOURDOMAIN.com/radmin/database_load.php?filename=iptocountry.sql.gz

Can anyone get this to load the ip table?

My upgrade finish ok after clicking the link but looking at the mysql, the ip table is not there.

thanks
PostPosted: Thu Jan 15, 2004 9:36 pm Reply with quote
shadow
Addict
Joined: 16 Oct 2003
Posts: 171
Location: Virgin Islands




Try running it this way

http://www.YOURDOMAIN.com/radmin/database_load.php?filename=iptocountry.sql

Without the .gz
 backup dbase in V 2.3 not functioning 
 TheRandomizer Forum Index » Installation Help
All times are GMT  
Page 1 of 1  

  
  
 Post new topic  Reply to topic  


Powered by phpBB© 2001-2006 phpBB Group |Randomizer Script | Web Hosting | phpBB Skin by Vjacheslav Trushkin