plugin link

biggin1212

Joined: 2009-11-01
Posts: 1
Posted: Sun, 2009-11-01 04:46

when I try to go to the plugin link in site administration I get a blank page and this error message

Parse error: syntax error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /hermes/bosweb/web043/b434/sl.mountainmemoriesphoto/public_html/gallery2/modules/addinthehead/module.inc on line 49

how do I fix this?

Login or register to post comments
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 9283
Posted: Mon, 2009-11-02 18:18

Post your system information and a link to phpinfo:

FAQ: What information is required when I ask for help in the forums?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

Login or register to post comments
floridave
floridave's picture

Joined: 2003-12-22
Posts: 16320
Posted: Tue, 2009-11-03 02:31
Quote:
modules/addinthehead/module.inc

Looks like this module ( 3rd party ) is not up to date.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

Login or register to post comments
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 9283
Posted: Tue, 2009-11-03 02:44

Good eye Dave, I didn't even notice that.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

Login or register to post comments
ClarkBHM
ClarkBHM's picture

Joined: 2009-09-27
Posts: 3
Posted: Tue, 2009-11-10 05:05

I have the same issue. Any suggestions on how to correct it?

Login or register to post comments
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 9283
Posted: Tue, 2009-11-10 05:21

Delete the addinthehead module from the modules directory
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

Login or register to post comments
ClarkBHM
ClarkBHM's picture

Joined: 2009-09-27
Posts: 3
Posted: Mon, 2009-11-16 05:13

Thanks for getting back to me. I've tried that, but now I get an "Error 500 - Internal server error" when I click on plugins.

Login or register to post comments
alecmyers

Joined: 2006-08-01
Posts: 3372
Posted: Mon, 2009-11-16 10:56

This link tells you how to deactivate a module if you cant access your gallery. In general you should deactivate a module, then uninstall it before removing any code. FAQ: How can I deactivate a module when I am unable to login?

Login or register to post comments