Registrations to Open-AudIT forums are now closed. To ask any new questions please visit Opmantek Community Questions.

Open-AudIT

What's on your network?
It is currently Thu Mar 28, 2024 10:04 pm

All times are UTC + 10 hours




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
PostPosted: Mon Oct 20, 2008 6:24 pm 
Offline
Newbie

Joined: Tue Oct 14, 2008 8:31 pm
Posts: 28
If the version number for some reason is messed up, update.php will error out on the first query that failed. In other words, if something goes wrong, you cannot rerun update.php.

A better behavior would be for update.php to continue running anyway - that is, in line 483, the "OR die..." clause should be removed.

Example:

In my installation, the version number was reported as 08.10.09, but the database updates had never been run. Finding out which version the database is is all but impossible except through trial and error. It would be much better if you could simply set $version = "" at the top, and re-run all updates, even those that are unnecessary (and therefore will error out).

Of course, there are more elaborate options, but that would make this a feature request.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC + 10 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group