no plugin actions

CanOne

Joined: 2010-01-27
Posts: 20
Posted: Wed, 2010-02-03 21:22

hey folks

i´ve installed gallery 2 many times in different versions

but every time the same problem

there are no plugin actions like e.g. activate

i´ve already posted my problem in the german forum also with admin access etc.

but they said i have to ask in english forum

so i hope anybody can help me

greez can


Gallery URL = http://2faceup.com/gal/main.php
Gallery version = 2.3.1 core 1.3.0.1
API = Core 7.54, Module 3.9, Theme 2.6, Embed 1.5
PHP version = 5.2.11 cgi
Webserver = Apache/2.2.13 (Unix) mod_ssl/2.2.13 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635
Database = mysqli 4.1.22-standard, lock.system=database
Toolkits = Gd
Acceleration = none, none
Operating system = Linux m5008.giga-dns.com 2.6.18-164.11.1.el5 #1 SMP Wed Jan 20 07:32:21 EST 2010 x86_64
Default theme = carbon
gettext = enabled
Locale = de_DE
Browser = Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729)
Rows in GalleryAccessMap table = 9
Rows in GalleryAccessSubscriberMap table = 1
Rows in GalleryUser table = 3
Rows in GalleryItem table = 1
Rows in GalleryAlbumItem table = 1
Rows in GalleryCacheMap table = 0

Login or register to post comments
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 11023
Posted: Wed, 2010-02-03 21:35

Read this thread:
http://gallery.menalto.com/node/84006
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

Login or register to post comments
CanOne

Joined: 2010-01-27
Posts: 20
Posted: Wed, 2010-02-03 21:45

i´ve already tried that
but this solution doesn´t work

there´s no htaccess and when i create one with that "php_flag zlib.output_compression off"
nothing will work any more in my gallery

js is also activated

i can message you an account with admin permissions

Login or register to post comments
alecmyers

Joined: 2006-08-01
Posts: 3870
Posted: Wed, 2010-02-03 23:08

have you added any javascript to your templates?

Login or register to post comments
CanOne

Joined: 2010-01-27
Posts: 20
Posted: Thu, 2010-02-04 11:59

no modifications

just installed and checked the plugins page

default settings etc

theres one curious if i view this

http://2faceup.com/gal/main.php?g2_view=core.CombinedJavascript&g2_key=e694ce1a8aaffda0aed47e5cec4f6697

thats the js included in plugins page

Login or register to post comments
CanOne

Joined: 2010-01-27
Posts: 20
Posted: Mon, 2010-02-08 01:34

sorry..but no other ideas?

Login or register to post comments
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 3179
Posted: Mon, 2010-02-08 01:44

try adding:
@ini_set('zlib.output_compression', 0);
to gallery2/config.php

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

Login or register to post comments
CanOne

Joined: 2010-01-27
Posts: 20
Posted: Mon, 2010-02-08 01:54

i added that at the end

Quote:
msg_box($lang_info, $message, $lang_continue, $redirect);
pagefooter();
ob_end_flush();
@ini_set('zlib.output_compression', 0);
?>

but theres no difference

Login or register to post comments
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 3179
Posted: Mon, 2010-02-08 02:26

no.

gallery2/config.php line ~28:
@ini_set('display_errors', 0);
to:

@ini_set('display_errors', 0);
@ini_set('zlib.output_compression', 0);

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

Login or register to post comments
CanOne

Joined: 2010-01-27
Posts: 20
Posted: Mon, 2010-02-08 02:59

oh my bad!

yeah it works..nice THANK YOU VERY MUCH!!!

Login or register to post comments
CanOne

Joined: 2010-01-27
Posts: 20
Posted: Mon, 2010-02-08 03:33

hm thats curious

everything looks good

but after i installed password protected albums

all actions are missing again!?

i´ve delete the folder on ftp cleared the cache and everything is okay

but i need the password mod..so what can i do?

i reinstalled the whole gallery again but your solution doesn´t work anymore!?

Login or register to post comments
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 3179
Posted: Mon, 2010-02-08 03:45

it could be a memory limit

add another:
@ini_set('memory_limit', '48M');

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

Login or register to post comments
CanOne

Joined: 2010-01-27
Posts: 20
Posted: Mon, 2010-02-08 04:06

hmm after adding that the actions are available

than i edit the short url settings and after that all actions are disappear again

i set the memory limit also to 64m..but no difference

thats crazy

Login or register to post comments
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 3179
Posted: Mon, 2010-02-08 04:16

Disable any plugins you don't need like exif, GD, ID3...
extra data plugins eat a bunch of memory.

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

Login or register to post comments
CanOne

Joined: 2010-01-27
Posts: 20
Posted: Mon, 2010-02-08 15:39

only gd, imagemagick, netpbm and matrix and siriux themes installed

minimal installation and config.php hacks

but no actions available?!

Login or register to post comments
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 11023
Posted: Mon, 2010-02-08 16:33

For any plugin not installed, delete it's directory from /modules

Every time you hit the plugins page, Gallery digs into every directory under /modules and looks at and loads information.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

Login or register to post comments
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 3179
Posted: Mon, 2010-02-08 16:48

if you have imagemagick, you don't need GD or even netpbm

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

Login or register to post comments
CanOne

Joined: 2010-01-27
Posts: 20
Posted: Mon, 2010-02-08 17:08

only delete the folders on ftp? but what about database tables?

i use gd..

er can i install imagemagick on webspace?

Login or register to post comments
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 3179
Posted: Mon, 2010-02-08 17:20
Quote:
only gd, imagemagick, netpbm and matrix and siriux themes installed

GD is the single largest memory hog as a graphics toolkit.
If you can configure and use IM definately do that for all sites. Second choice should be netpbm and as a last resort use GD.

Quote:
but what about database tables?

leave them alone.

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

Login or register to post comments
CanOne

Joined: 2010-01-27
Posts: 20
Posted: Mon, 2010-02-08 18:14

i delete netpbm cleared cache and the actions are available

but after password protected albums installation all actions are missing again?

by the way i asked my provider about imagemagick

Login or register to post comments
CanOne

Joined: 2010-01-27
Posts: 20
Posted: Mon, 2010-02-08 21:10

yes i have imagemagick

i delete all modules only imagemagick in that directory

but no plugin actions

Login or register to post comments
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 11023
Posted: Mon, 2010-02-08 21:22

Post a link to phpinfo:
FAQ: How do I create a phpinfo page?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

Login or register to post comments
CanOne

Joined: 2010-01-27
Posts: 20
Posted: Mon, 2010-02-08 22:11
Login or register to post comments
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 11023
Posted: Mon, 2010-02-08 22:26

hmmmm, well I don't see any disabled functions and PHP's memory limit is set at 128MB.

Is @ini_set('zlib.output_compression', 0); still in config.php?

If so, then try putting a php.ini file in the root of your Gallery directory and add this line to it:
zlib.output_compression = 0
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

Login or register to post comments
CanOne

Joined: 2010-01-27
Posts: 20
Posted: Mon, 2010-02-08 22:39

i add the php.ini

than cleared cookies..refresh page and it works..

but when i refresh that page again..all actions are disappeared

if i clear that cookies everything seems to be okay till i refresh that page..

can do that again and again...wheres the problem??

Login or register to post comments
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 11023
Posted: Mon, 2010-02-08 22:52

Try clearing Gallery's cache too:
FAQ: How can I clear cached data?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

Login or register to post comments
CanOne

Joined: 2010-01-27
Posts: 20
Posted: Tue, 2010-02-09 12:03

cleared under maintenance and with lib/support/index.php

but the same again

only after deleting cookies

but then after refreshing..the problem comes again

Login or register to post comments
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 11023
Posted: Tue, 2010-02-09 14:50

Read this thread again. There are other options. Like turning off G2's compressing of the combined javascript file:

http://gallery.menalto.com/node/84006

floridave wrote:
[*] Edit modules/core/classes/GalleryTemplateAdapter.class line 520
change
if ($phpVm->function_exists('gzencode')) {
to
if (false && $phpVm->function_exists('gzencode')) {

____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

Login or register to post comments
CanOne

Joined: 2010-01-27
Posts: 20
Posted: Tue, 2010-02-09 17:10

oh okay sorry

i made that change and i think everything works

have installed password and archive and use imagemagick and all looks fine =)

thank you thats great!!!

Login or register to post comments