Deleting G1 after migration to G2 causes problems
DonWolli51
Joined: 2005-09-24
Posts: 8 |
![]() |
some months ago we migrated to g2 importuing all our g1-albums and photos (more than 10000 images). Now we decided that g2 really works good, contains all our photos, to delete the G1 directory. so we deleted the complete directory G1! from now on we have found the following probs: Warning: rename(/tmp/imgk_mk4aX9,/www/km/gallery2/g2data/cache/derivative/1/0/104770.dat): Ungültiger Link über Gerätegrenzen hinweg in /www/km/gallery2/modules/core/classes/GalleryPlatform.class on line 485 Warning: Cannot modify header information - headers already sent by (output started at /www/km/gallery2/modules/core/classes/GalleryPlatform.class:1093) in /www/km/gallery2/modules/core/classes/GalleryPhpVm.class on line 124 Gallery-Version = 2.0 Kern 1.0.0 What can we do to make it work again , except restoring three DVDs with G1??? Greetings from germany |
|
valiant
Joined: 2003-01-04
Posts: 32509 |
![]() |
- is the gallery2/ folder still there and does the g2data folder still exist? |
|
jmullan
![]()
Joined: 2002-07-28
Posts: 974 |
![]() |
Did you delete g2's data files? |
|
DonWolli51
Joined: 2005-09-24
Posts: 8 |
![]() |
Again, to be more clear: i want to get rid of the old gallery folder !! |
|
DonWolli51
Joined: 2005-09-24
Posts: 8 |
![]() |
i did not delete anything except the folder gallery which containd g1 and folder albums wolfagng |
|
valiant
Joined: 2003-01-04
Posts: 32509 |
![]() |
> 2. i installed an empty g2 in folder gallery2 with g2data in folder gallery/g2data > 6. we decided to delete the folder gallery to save space on the disc and to get not confused . |
|
DonWolli51
Joined: 2005-09-24
Posts: 8 |
![]() |
sorry , of course its gallery2/g2data |
|
valiant
Joined: 2003-01-04
Posts: 32509 |
![]() |
if you delete the folder gallery/ , g2 in gallery2/ should be 100% intact and functional. obviously you report that g2 itself doesn't work properly anymore. and that's not explainable if you've just delete gallery/ which didn't have any g2 related files in it. you can enable "logged" debug mode, then try to add an item to find out what's wrong. |
|
DonWolli51
Joined: 2005-09-24
Posts: 8 |
![]() |
Quote:
if you delete the folder gallery/ , g2 in gallery2/ should be 100% intact and functional. Thats what we thought before. but meanwhile i restored g1 and this did NOT change anything, so it might also be just a time congruence and no more ... Quote:
but all old links to gallery/ ... won't work anymore, unless you create an empty gallery/ folder which only has a .htaccess in it with the g1 -> g2 rewrite rules. whats an old link ? we migrated all our pictures and added new ones (so it worked for some months) Quote:
obviously you report that g2 itself doesn't work properly anymore. and that's not explainable if you've just delete gallery/ which didn't have any g2 related files in it. thats it ! lots of thumbnails and sized images are missing (not all !) and i cannot add pics anymore ... (that all i tried till now) |
|
valiant
Joined: 2003-01-04
Posts: 32509 |
![]() |
please run chmod -R 777 g2data to make sure all files in your g2data dir are writable. @redirect from g1 to g2: |
|
DonWolli51
Joined: 2005-09-24
Posts: 8 |
![]() |
i checked the g2data folders: Quote:
Error when i try to add a photo i get the same error as before: Quote:
Warning: chdir(): Datei oder Verzeichnis nicht gefunden (errno 2) in /www/km/gallery2/modules/core/classes/GalleryPlatform.class on line 1093 the whole gallery resides in an intranet without any links ouside the gallery itself and provided by gallery itself. cold greetings from germany (-5C this morning and a wet wind) |
|
DonWolli51
Joined: 2005-09-24
Posts: 8 |
![]() |
valiant, i set lang English and again copied the last errormessage for you (dont know whether you understand german): Quote:
Warning: rename(/tmp/imgk_CKn9RP,/www/km/gallery2/g2data/cache/derivative/1/0/104914.dat): Invalid cross-device link in /www/km/gallery2/modules/core/classes/GalleryPlatform.class on line 485 |
|
DonWolli51
Joined: 2005-09-24
Posts: 8 |
![]() |
at last, i could NOT find or SOLVE the problem. WORKAROUND nevertheless i dont like gallery to have destroyed albums and a destroyed command interface thanks to valiant wolfgang |
|