[SOLVED]Upgraded via CVS, now have Get database version mesg

tfarrow

Joined: 2004-12-24
Posts: 10
Posted: Fri, 2004-12-31 03:56

I just did an upgrade from CVS, and now I'm getting a message accross the top of the page:

** * Get database version. * @return string version */ function getVersion() { return mysql_get_server_info(); } } ?>

I've been using G2 for a month of so now, and last updated from CVS a few days ago.

MySQL 4.0.18-log
I'm not certain what the PHP version is.

You can see the page at http://www.thorlind.com/gallery

Thanks.

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Fri, 2004-12-31 04:08

delete and reretrieve your corrupted file from cvs:
modules/core/classes/GalleryStorage/DatabaseStorage/MySqlDatabaseStorage.class

 
tfarrow

Joined: 2004-12-24
Posts: 10
Posted: Fri, 2004-12-31 18:40

That did not make a difference. In fact, doing some other tasks in my gallery, such as trying to clear the "shopping cart", I got this error:

** * Get database version. * @return string version */ function getVersion() { return mysql_get_server_info(); } } ?>
Warning: Cannot modify header information - headers already sent by (output started at /usr/www/users/tfarrow/thorlind.com/gallery/modules/core/classes/GalleryStorage/DatabaseStorage/MySqlDatabaseStorage.class:185) in /usr/www/users/tfarrow/thorlind.com/gallery/main.php on line 375
 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Fri, 2004-12-31 19:10

your file does not match cvs. maybe try a nightly snapshot instead.
This is the current version in cvs.

 
tfarrow

Joined: 2004-12-24
Posts: 10
Posted: Fri, 2004-12-31 21:32

I deleted all files from my local drive, then grabbed the intire download from CVS again. I ftp'd it all to my server, overwriting all files. It all works now.

Thanks!