[ SOLVED ] Upgrade 2.2.4 -> 2.2.6 -> 2.3.2 : Problems with URL-Rewriting and Plugin-Directory

Ralf-Schlieper

Joined: 2005-09-25
Posts: 42
Posted: Thu, 2013-04-11 17:34


Gallery URL = http://www.fotogemeinschaft.de/main.php
Gallery-Version = 2.3.2 Kern 1.3.0.2
API = Core 7.54, Modul 3.9, Motiv 2.6, Eingebettet 1.5
PHP-Version = 5.2.17 cgi-fcgi
Webserver = Apache
Datenbank = mysqlt 5.0.96-1~ui60+1, lock.system=flock
Werkzeuge = NetPBM, LinkItemToolkit, Thumbnail, Exif, Gd
Beschleunigung = none/3600, none/900
Betriebssystem = Linux infong 2.4 #1 SMP Thu Feb 14 13:02:49 CET 2013 i686 GNU/Linux
Standard-Motiv = matrix
gettext = Aktiviert
Sprache = de_DE
Browser = Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0
Zeilen in der GalleryAccessMap Tabelle = 1075
Zeilen in der GalleryAccessSubscriberMap Tabelle = 40362
Zeilen in der GalleryUser Tabelle = 173
Zeilen in der GalleryItem Tabelle = 40248
Zeilen in der GalleryAlbumItem Tabelle = 2055
Zeilen in der GalleryCacheMap Tabelle = 0

I have upgraded the gallery 2 with the following upgrade-path: 2.2.4 [Everything was ok] -> 2.2.6 -> 2.3.2

Now I have 2 Problems:

1.
I cannot activate (or deactivate) the plugins in the plugin-directory. I have tested different new themes (my main-theme is x_treme; but I have also tested Matrix, etc.)

After the upgrade URL-Rewriting (over 40.000 Photo-URLs in Googles index) was deactivated (only URLs with Ids); due to the problem with the plugin-directory, I have activated the 'rewrite'-Modul in phpmyadmin.

I have started the module and tested it - changed the 2 .htacces Files. (G2-Test was ok) But after this. no URL-rewriting again!

During the upgrade Process there were some errors during the cache deletion

Quote:
"Warning: rmdir(/homepages/5/d11843629/htdocs/gallery2data/cache/entity/1/0/) [function.rmdir]: Das Verzeichnis ist nicht leer in /homepages/5/d11843629/htdocs/www_fotogemeinschaft_de/gallery2/modules/core/classes/GalleryPlatform.class on line 516"

or

Quote:
"Notice: unserialize() [function.unserialize]: Error at offset 0 of 1 bytes in /homepages/5/d11843629/htdocs/www_fotogemeinschaft_de/gallery2/modules/core/classes/GalleryModule.class on line 706"

There are also Problems with the slideshow "This album has no photos to show in a slideshow." There ARE photos]

What is to do now?

Ralf

Please visit my gallery if you are interested in good B/W-photos:
http://www.fotogemeinschaft.de

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Thu, 2013-04-11 18:18

Your javascript is being compressed twice. Add a line to your gallery2/config.php line 29 just after:
@ini_set('display_errors', 0);
add:
@ini_set('zlib.output_compression', 0);

This should solve a few issues, let us know how things work after this.

-s
________________________________
All New jQuery Minislideshow for G2/G3

 
Ralf-Schlieper

Joined: 2005-09-25
Posts: 42
Posted: Thu, 2013-04-11 19:05

Good evening suprsidr,

GREAT HINT!!

After I have added the line in the config.php the gallery-plugin-interface was ok and i could deactivate and activate 'rewrite'module; after this my URLs are ok again.

Before your hint I have felt like this man (;-)
http://www.fotogemeinschaft.de/v/dreamland/alptraum/anke-merzbach-034.jpg.html

And after this, I felt like this man:
http://www.fotogemeinschaft.de/v/dreamland/urlaub-relaxen-entspannen/ulrike-lugert-emotions-dans-1-balanced-007.jpg.html


Thanks a lot - you have made my day!!!

Ralf

Please visit my gallery if you are interested in good B/W-photos:
http://www.fotogemeinschaft.de