Topics

User Functions

Events

There are no upcoming events

What's New

Stories

No new stories

Comments last 2 weeks

No new comments

Trackbacks last 2 weeks

No new trackback comments

Links last 2 weeks

No recent new links

NEW FILES last 14 days

No new files

Welcome to Geeklog Saturday, May 18 2013 @ 12:38 PM EDT


 Forum Index > Support > Plugin Support New Topic Post Reply
 Media gallery error
   
Sniper12
 04/16/09 03:19AM (Read 1026 times)  
++++-
Regular Poster

Status: offline


Registered: 11/25/03
Posts: 81
I just moved my site to another server, and updated all plugins, but my gallery doesn’t look to good. I can't find the original files, but it seems to something in the layout.

See this pic http://www.sugecrew.dk/billeder/opload/gallery_error.jpg

:helpme:

 
Profile Email Website
 Quote
::Ben
 04/16/09 05:44PM  
+++++
Full Member

Status: offline


Registered: 01/14/05
Posts: 1359
Hello Sniper12,

What is your Media Gallery version?

Seems to be a version with C.T.L

::Ben

We speak french on http://geeklog.fr
 
Profile Email Website
 Quote
Sniper12
 04/17/09 02:17AM  
++++-
Regular Poster

Status: offline


Registered: 11/25/03
Posts: 81
My version is 1.6.0, and I thing this version it not for download any more. the only one I can find is 1.5.1

 
Profile Email Website
 Quote
::Ben
 04/17/09 02:30AM  
+++++
Full Member

Status: offline


Registered: 01/14/05
Posts: 1359
Hello,

Yes please switch to MG 1.5.1 this is the last available version working with geeklog.

See here

Thank.

::Ben

We speak french on http://geeklog.fr
 
Profile Email Website
 Quote
Sniper12
 04/17/09 03:18AM  
++++-
Regular Poster

Status: offline


Registered: 11/25/03
Posts: 81
can I just copy the files to the server, I thing the database is updatet for the 1.6.0 gallery now. This has been working fine on my old server, but there it no way to get to my old files Evil he just closed the serveres down.

 
Profile Email Website
 Quote
::Ben
 04/17/09 04:47AM  
+++++
Full Member

Status: offline


Registered: 01/14/05
Posts: 1359
Hi,

It is why the docs says "Always make a db backup before installing a plugin" :wink: :rtfm:

Upload all the files from the mg 1.5.1 archive and let's me know if you can do a plugin update

New items in the db may not be an issue
PHP Formatted Code

Update for MG 1.6.0

$_SQL[] = "ALTER TABLE {$_TABLES['mg_albums']} ADD `tnheight` INT NOT NULL DEFAULT '0' AFTER `tn_attached`";
                $_SQL[] = "ALTER TABLE {$_TABLES['mg_albums']} ADD `tnwidth` INT NOT NULL DEFAULT '0' AFTER `tnheight`";
                $_SQL[] = "ALTER TABLE {$_TABLES['mg_albums']} ADD `usealternate` TINYINT NOT NULL DEFAULT '0' AFTER `playback_type`";
                $_SQL[] = "ALTER TABLE {$_TABLES['mg_albums']} ADD `skin` VARCHAR( 255 ) NOT NULL DEFAULT 'default' AFTER `album_order`";
        $_SQL[] = "ALTER TABLE {$_TABLES['mg_albums']} ADD `rsschildren` TINYINT NOT NULL DEFAULT '0' AFTER `shopping_cart`";
        $_SQL[] = "ALTER TABLE {$_TABLES['mg_albums']} ADD `mp3ribbon` TINYINT NOT NULL DEFAULT '0' AFTER `podcast`";
        $_SQL[] = "ALTER TABLE {$_TABLES['mg_media']}  ADD `artist` VARCHAR(255) NULL AFTER `media_watermarked`";
        $_SQL[] = "ALTER TABLE {$_TABLES['mg_media']}  ADD `album` VARCHAR(255) NULL AFTER `artist`";
        $_SQL[] = "ALTER TABLE {$_TABLES['mg_media']}  ADD `genre` VARCHAR(255) NULL AFTER `album`";
        $_SQL[] = "ALTER TABLE {$_TABLES['mg_mediaqueue']}  ADD `artist` VARCHAR(255) NULL AFTER `media_watermarked`";
        $_SQL[] = "ALTER TABLE {$_TABLES['mg_mediaqueue']}  ADD `album` VARCHAR(255) NULL AFTER `artist`";
        $_SQL[] = "ALTER TABLE {$_TABLES['mg_mediaqueue']}  ADD `genre` VARCHAR(255) NULL AFTER `album`";
        $_SQL[] = "ALTER TABLE {$_TABLES['mg_sort']} ADD `referer` VARCHAR(255) NOT NULL DEFAULT '' AFTER `sort_datetime`";
        $_SQL[] = "ALTER TABLE {$_TABLES['mg_sort']} ADD `keywords` VARCHAR(255) NOT NULL DEFAULT '' AFTER `referer`";
        $_SQL[] = "CREATE TABLE {$_TABLES['mg_rating']} ( " .
                  "`id` int(11) unsigned NOT NULL default '0', " .
                  "`ip_address` varchar(14) NOT NULL, " .
                  "`uid` mediumint(8) NOT NULL, " .
                  "`media_id` varchar(40) NOT NULL, " .
                  "`ratingdate` int(11) NOT NULL, " .
                  "`owner_id` mediumint(8) NOT NULL default '2', " .
                  "PRIMARY KEY  (`id`), " .
                  "KEY `owner_id` (`owner_id`));";
        $_SQL[] = "INSERT INTO {$_TABLES['mg_config']} VALUES ('random_skin','mgShadow')";
        $_SQL[] = "INSERT INTO {$_TABLES['mg_config']} VALUES ('at_border','1')";
        $_SQL[] = "INSERT INTO {$_TABLES['mg_config']} VALUES ('at_align','auto')";
        $_SQL[] = "INSERT INTO {$_TABLES['mg_config']} VALUES ('at_width','0')";
        $_SQL[] = "INSERT INTO {$_TABLES['mg_config']} VALUES ('at_height','0')";
        $_SQL[] = "INSERT INTO {$_TABLES['mg_config']} VALUES ('at_src','tn')";
        $_SQL[] = "INSERT INTO {$_TABLES['mg_config']} VALUES ('at_autoplay','0')";
        $_SQL[] = "INSERT INTO {$_TABLES['mg_config']} VALUES ('at_enable_link','1')";
        $_SQL[] = "INSERT INTO {$_TABLES['mg_config']} VALUES ('at_delay','5')";
        $_SQL[] = "INSERT INTO {$_TABLES['mg_config']} VALUES ('at_showtitle','0')";
        $_SQL[] = "INSERT INTO {$_TABLES['mg_config']} VALUES ('use_flowplayer','0')";
        $_SQL[] = "INSERT INTO {$_TABLES['mg_config']} VALUES ('search_columns','3')";
        $_SQL[] = "INSERT INTO {$_TABLES['mg_config']} VALUES ('search_rows','4')";
        $_SQL[] = "INSERT INTO {$_TABLES['mg_config']} VALUES ('search_playback_type','0')";
        $_SQL[] = "INSERT INTO {$_TABLES['mg_config']} VALUES ('search_enable_views','1')";
        $_SQL[] = "INSERT INTO {$_TABLES['mg_config']} VALUES ('search_enable_rating','1')";
        $_SQL[] = "INSERT INTO {$_TABLES['mg_config']} VALUES ('gallery_only','0')";
        $_SQL[] = "INSERT INTO {$_TABLES['mg_config']} VALUES ('ad_tn_height','200')";
        $_SQL[] = "INSERT INTO {$_TABLES['mg_config']} VALUES ('ad_tn_width','200')";
        $_SQL[] = "INSERT INTO {$_TABLES['mg_config']} VALUES ('gallery_tn_height','200')";
        $_SQL[] = "INSERT INTO {$_TABLES['mg_config']} VALUES ('gallery_tn_width','200')";

::Ben

We speak french on http://geeklog.fr
 
Profile Email Website
 Quote
Sniper12
 04/17/09 06:42AM  
++++-
Regular Poster

Status: offline


Registered: 11/25/03
Posts: 81
Okay thanks. I have used the 1.6 gallery for a long time now I don't have a backup that old Rolling Eyes

 
Profile Email Website
 Quote
::Ben
 04/17/09 06:56AM  
+++++
Full Member

Status: offline


Registered: 01/14/05
Posts: 1359
If you used 1.6.0 for a long time, I don't undestand why you can't make it work now?

::Ben

We speak french on http://geeklog.fr
 
Profile Email Website
 Quote
Sniper12
 04/17/09 08:08AM  
++++-
Regular Poster

Status: offline


Registered: 11/25/03
Posts: 81
It works now downgradet to 1.5.1 and it works fine :banana:

Thanks for help :pray:

I can't get to the files on the old server. Thats way I can't get it to work, but this i fine. Thanks

 
Profile Email Website
 Quote
Content generated in: 0.62 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Able to post 
Filtered HTML Allowed 
Censored Content