Can't log in, and it seems to be a problem with module:password

jkuruppu

Joined: 2008-01-22
Posts: 43
Posted: Mon, 2008-05-05 02:29

I can't log into my admin page, and I also can't complete a registration, and the error i get is as follows:

Quote:
Parse error: syntax error, unexpected '|' in /gallery2/modules/password/module.inc on line 128

also, I can't just delete the Password folder out of the modules directory, due to permissions - so, what to do??

hoping someone can help me out..


Module: password
Gallery version = 2.2.4 core 1.2.0.6
PHP version = 4.4.7 apache
Webserver = Apache/1.3.37 (Unix) mod_ssl/2.8.28 OpenSSL/0.9.7c FrontPage/5.0.2.2635 mod_throttle/3.1.2
Database = mysqlt 4.0.26-standard, lock.system=flock
Toolkits = ArchiveUpload, Exif, Gd
Acceleration = partial/21600, partial/21600
Operating system = FreeBSD web3.hivelocity.net 4.7-RELEASE FreeBSD 4.7-RELEASE #0: Thu Feb i386
Default theme = classic
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.13) Gecko/20080311 Firefox/2.0.0.13

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Mon, 2008-05-05 04:21

use: FAQ: How can I fix the filesystem permissions of the Gallery storage folder? to change permissions that the server owns.
but if you can't login:FAQ: I can't login anymore, what can I do now?

Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team

 
jkuruppu

Joined: 2008-01-22
Posts: 43
Posted: Mon, 2008-05-05 04:46

thanks....it looks like the main thing i needed help with was a pointer towards the /gallery/lib/support/index.php file to change permissions.....now i'm reuploading the password module files, and hoping that corrects the problem.

it would be nice to have this info more obvious in the documentation, maybe?

but, thanks for the speedy reply, floridave!

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Mon, 2008-05-05 13:24
Quote:
it would be nice to have this info more obvious in the documentation, maybe?

Feel free to update the docs. The docs are for the users by the users.

Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team

 
jkuruppu

Joined: 2008-01-22
Posts: 43
Posted: Mon, 2008-05-05 14:24

OK, will do!! i felt like too much of a newbie to this (and i'm not that proficient with PHP, so i really feel like a newbie), to dare to provide documentation, but HTH if i can!!