Can't login: Warning: Missing argument 2 for error() in GalleryCoreApi.class...

fanboyandgothgirl

Joined: 2007-01-29
Posts: 3
Posted: Mon, 2007-01-29 14:55

My install info is below...

When I try to login, I get these error messages:

Warning: Missing argument 2 for error() in /modules/core/classes/GalleryCoreApi.class on line 2855

Warning: Missing argument 3 for error() in /modules/core/classes/GalleryCoreApi.class on line 2855

I was already logged in on one browser, so that works fine, but if I try to register or log in on another system, I get the errors above and "Security Violation The action you attempted is not permitted."

You can see the error here: http://fanboyandgothgirl.com/gallery2/gallery2/main.php

Gallery version = 2.1.2 core 1.1.0.2
PHP version = 4.4.4 cgi
Webserver = Apache/1.3.37 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2635.SR1.2 mod_ssl/2.8.28 OpenSSL/0.9.7a PHP-CGI/0.1b
Database = mysql 4.1.21-standard, lock.system=flock
Toolkits = ArchiveUpload, Exif, Getid3, Thumbnail, Gd
Acceleration = none, none
Operating system = Linux gator215.hostgator.com 2.6.9-42.0.3.ELsmp #1 SMP Fri Oct 6 06:21:39 CDT 2006 i686
Default theme = matrix
Locale = en_US
Browser = Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1

Login or register to post comments
valiant

Joined: 2003-01-04
Posts: 32356
Posted: Mon, 2007-01-29 16:03

did you download / upgrade any themes / modules after your initial gallery 2.1.2 installation?

which ones?

--------------
Enter the Gallery 2 Theme Contest today!

Login or register to post comments
fanboyandgothgirl

Joined: 2007-01-29
Posts: 3
Posted: Mon, 2007-01-29 16:10

I installed Gallery2Flickr. That's it.

This system was originally installed on one server, then moved (by the host) when there were problems with the original server. I don't know if that could cause the problem or not. I'd hate to have to re-install, but if I must, I must!

Login or register to post comments
valiant

Joined: 2003-01-04
Posts: 32356
Posted: Mon, 2007-01-29 16:27

please open the module.inc file of gallery2flickr (modules/.../module.inc) and change the required core api from 7,3 to 7,4.

i don't think that module works with gallery 2.1.2. you need a newer version of gallery. the author of the module wasn't aware of that.

--------------
Enter the Gallery 2 Theme Contest today!

Login or register to post comments
fanboyandgothgirl

Joined: 2007-01-29
Posts: 3
Posted: Mon, 2007-01-29 17:05

My God, that seems to have done it! You're amazing, to zero in on it like that right away. Thank you so much!

One little number and suddenly it works...

You're my hero!

Login or register to post comments
valiant

Joined: 2003-01-04
Posts: 32356
Posted: Mon, 2007-01-29 17:29

Excellent :)

I'll inform the author of the flickr module.

--------------
Enter the Gallery 2 Theme Contest today!

Login or register to post comments