"Actions" column in Modules doesn't show anything...

WebKat
WebKat's picture

Joined: 2002-11-22
Posts: 182
Posted: Sun, 2012-03-25 07:58


Gallery version (not just "2"): 2.3.1 core 1.3.0.1
PHP version (e.g. 5.1.6):5.2.17 cgi-fcgi
PHPInfo Link (see FAQ): http://gallery2.opalcat.com/gallery2/phpinfo.php
Webserver (e.g. Apache 1.3.33): Apache
Database (e.g. MySql 5.0.32):mysqli 5.1.62-community-log, lock.system=flock
Activated toolkits (e.g. NetPbm, GD): ArchiveUpload, Exif, Getid3, ImageMagick, LinkItemToolkit, NetPBM, Thumbnail, Gd
Operating system (e.g. Linux):Linux host180.hostmonster.com 2.6.32-46.1.BHsmp #1 SMP Tue Sep 6 12:18:02 MDT 2011 x86_64
Browser (e.g. Firefox 2.0): Google Chrome 17.0.963.79 m

I'm trying to get ffmpeg working on my Gallery, so that I can have thumbnails of movies and so that movies will play in my gallery (I was told it would do that?) Anyway, I went into the modules (called Plugins on my install...?) and I see it in the list of Graphics Toolkits:
Ffmpeg 1.0.14 1.0.14 A toolkit for processing movies
But then there is the section "Action" where you normally activate/deactivate/configure and nothing is there. I'm attaching a screenshot.

Gallery is here, if that's helpful at all: http://gallery2.opalcat.com/gallery2

--
WebKat, Gallery2 holdover extraordinaire.

AttachmentSize
ScreenHunter_04 Mar. 25 03.35.jpg248.62 KB
 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Sun, 2012-03-25 12:20

its a javascript error
https://www.google.com/search?q=gallery2+blank+plugin+page

If you cannot solve the js error in your custom theme, try temporarily switching to a stock theme to make your plugin changes.

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

 
WebKat
WebKat's picture

Joined: 2002-11-22
Posts: 182
Posted: Sun, 2012-03-25 20:47

Now I'm having problems logging in! I rebooted my computer and when I came back I was logged out and couldn't login using 3 different browsers. Was finally able to get in using this method:

Quote:
How to manually login
Are you able to login manually? You can try to login manually with http://www.example.com/gallery/main.php?g2_controller=core.UserLogin&g2_form[formName]=UserLogin&g2_form[action][login]=Login&g2_form[username]=admin&g2_form[password]=secret (replace "secret" with your own password).
Copy and paste the stuff in bold. Don't forget to change secret to your password. If you've also changed the admin username from admin you'll need to change that as well.

But I don't know how to get it so that I can login the regular way.

Anyway, like I said I was able to login the manual way... but when I go to change themes so I could try changing plugins, but when I click themes, then choose a different default theme and click "Save Defaults" it just takes me back out to my gallery, with my same old theme... I go back into the Site Admin and look, and my old theme is still set up. Is there a sneaky back-end way (SSH or phpMyAdmin?) to change the theme?

I'm kind of weirded out that I'm having such strange issues with my gallery all of a sudden after I switched servers (same hosting company, different account).

(Or, even better, do you have any tips on what the javascript problem might be?)

--
WebKat, Gallery2 holdover extraordinaire.

 
WebKat
WebKat's picture

Joined: 2002-11-22
Posts: 182
Posted: Sun, 2012-03-25 21:06

AAAAHHH!!!

I put it into Debug mode to see if that helped. I'm attaching the debug info that showed up when I tried to login (and failed)

But now, for some reason, the expandable/collapsible directory tree that always shows on the left is gone! There is text that says "Expand | Collapse" but clicking on them doesn't do anything! What happened?? I'm starting to think there are gremlins...

--
WebKat, Gallery2 holdover extraordinaire.

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Sun, 2012-03-25 21:20
Quote:
the expandable/collapsible directory tree that always shows on the left is gone!

again, a javascript error.
again, I see the album tree in FF
head to http://gallery2.opalcat.com/gallery2/lib/support and clear some caches

also clear your browser cookies for the site, and if you can login to your phpMyAdmin or whichever your database tool and empty/truncate g2_SessionMap table

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

 
WebKat
WebKat's picture

Joined: 2002-11-22
Posts: 182
Posted: Sun, 2012-03-25 21:37

I went to that support link and it wants a password... I entered it but it failed. I SSH'd into my config.php file and copied the password directly from, I guess you could say, the horse's mouth, and it still failed. What the heck? Can I clear the cash through SSH in that folder? If so, how?

I'll go do the phpMyAdmin thing in the meantime, and clear browser cookies.

--
WebKat, Gallery2 holdover extraordinaire.

 
WebKat
WebKat's picture

Joined: 2002-11-22
Posts: 182
Posted: Sun, 2012-03-25 21:47

OH MY GOD THIS IS SO NOT MY DAY!!! I went into phpMyAdmin and it gave me this error:

Quote:
phpMyAdmin - Error
Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly.

So I had to call tech support and thankfully they were able to help me but I swear I'm a walking catastrophe today... ok, now to find that table...

--
WebKat, Gallery2 holdover extraordinaire.

 
WebKat
WebKat's picture

Joined: 2002-11-22
Posts: 182
Posted: Sun, 2012-03-25 21:52

I just tried that support url again and instead of telling me the login failed (like it did the first time) it just loaded a totally blank page. It does this in Chrome and Firefox.

I emptied the g2_SessionMap table and cleared cookies, though, and my directory listing came back. Still can't login, but my Plugins page shows stuff under Actions again!

So now that I've cycled through all of these other problems, I'm left with the totally different problem than I started the thread for: I can't login using the login link.

--
WebKat, Gallery2 holdover extraordinaire.

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Sun, 2012-03-25 23:29

make sure your old site's .htaccess isn't playing w/ your urls.

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

 
WebKat
WebKat's picture

Joined: 2002-11-22
Posts: 182
Posted: Mon, 2012-03-26 02:31

The .htaccess in the main folder is this:

Quote:
# BEGIN Url Rewrite section
# (Automatically generated. Do not edit this section)
<IfModule mod_rewrite.c>
RewriteEngine On

RewriteBase /http://gallery2.opalcat.com/

RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d [OR]
RewriteCond %{REQUEST_FILENAME} gallery\_remote2\.php
RewriteCond %{REQUEST_URI} !/http://gallery2.opalcat.com/gallery2Embedded\.php$
RewriteRule . - [L]

RewriteCond %{THE_REQUEST} /http://gallery2.opalcat.com/d/([0-9]+)-([0-9]+)/([^/?]+)(\?.|\ .)
RewriteCond %{REQUEST_URI} !/http://gallery2.opalcat.com/gallery2Embedded\.php$
RewriteRule . /gallery2/main.php?g2_view=core.DownloadItem&g2_itemId=%1&g2_serialNumber=%2&g2_fileName=%3 [QSA,L]
RewriteCond %{THE_REQUEST} /http://gallery2.opalcat.com/v/([^?]+)\.davmount(\?.|\ .)
RewriteCond %{REQUEST_URI} !/http://gallery2.opalcat.com/gallery2Embedded\.php$
RewriteRule . //gallery2Embedded.php?g2_view=webdav.DownloadDavMount&g2_path=%1 [QSA,L]
RewriteCond %{THE_REQUEST} /http://gallery2.opalcat.com/w(/[^?]*)?(\?.|\ .)
RewriteCond %{REQUEST_URI} !/http://gallery2.opalcat.com/gallery2Embedded\.php$
RewriteRule . //gallery2Embedded.php?g2_controller=webdav.WebDav&g2_path=%1 [QSA,L]
RewriteCond %{THE_REQUEST} /http://gallery2.opalcat.com/v/([^?]+)(\?.|\ .)
RewriteCond %{REQUEST_URI} !/http://gallery2.opalcat.com/gallery2Embedded\.php$
RewriteRule . //gallery2Embedded.php?g2_path=%1 [QSA,L]
</IfModule>

# END Url Rewrite section

And in the gallery2 folder:

Quote:
# BEGIN Url Rewrite section
# (Automatically generated. Do not edit this section)
<IfModule mod_rewrite.c>
RewriteEngine On

RewriteBase /gallery2/

RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d [OR]
RewriteCond %{REQUEST_FILENAME} gallery\_remote2\.php
RewriteCond %{REQUEST_URI} !/gallery2/main\.php$
RewriteRule . - [L]

RewriteCond %{THE_REQUEST} /gallery2/d/([0-9]+)-([0-9]+)/([^/?]+)(\?.|\ .)
RewriteCond %{REQUEST_URI} !/gallery2/main\.php$
RewriteRule . /gallery2/main.php?g2_view=core.DownloadItem&g2_itemId=%1&g2_serialNumber=%2&g2_fileName=%3 [QSA,L]
RewriteCond %{THE_REQUEST} /gallery2/v/([^?]+)\.davmount(\?.|\ .)
RewriteCond %{REQUEST_URI} !/gallery2/main\.php$
RewriteRule . /gallery2/main.php?g2_view=webdav.DownloadDavMount&g2_path=%1 [QSA,L]
RewriteCond %{THE_REQUEST} /gallery2/w(/[^?]*)?(\?.|\ .)
RewriteCond %{REQUEST_URI} !/gallery2/main\.php$
RewriteRule . /gallery2/main.php?g2_controller=webdav.WebDav&g2_path=%1 [QSA,L]
RewriteCond %{THE_REQUEST} /gallery2/v/([^?]+)(\?.|\ .)
RewriteCond %{REQUEST_URI} !/gallery2/main\.php$
RewriteRule . /gallery2/main.php?g2_path=%1 [QSA,L]
</IfModule>

# END Url Rewrite section

It looks right to me...?

--
WebKat, Gallery2 holdover extraordinaire.

 
WebKat
WebKat's picture

Joined: 2002-11-22
Posts: 182
Posted: Fri, 2012-03-30 03:34

Consolidating all of my problems into one thread (since I'm SURE they're all tied together) here: http://gallery.menalto.com/node/105890
Please respond there, and let this thread die.

--
WebKat, Gallery2 holdover extraordinaire.