Can no longer log into board or ACP after installing Gallery

If you want to update to 1.1, please post in the viewforum.php?f=105
Forum rules
Support ended: 31.12.2011

Can no longer log into board or ACP after installing Gallery

Postby PFGuild » Sun Dec 12, 2010 3:50 am

Gallery Version: 1.0.5
phpBB Version: 3.0.8
Gallery-Link: http://pokefansguild.hostwoot.com/forums/gallery/index.php

PHP Version: 5.2.9
Database Version: MySQL 5.0.91


Error message:
    Code: Select all
    Parse error: syntax error, unexpected T_VARIABLE, expecting ')' in /home/reghost/public_html/forums/includes/functions_user.php on line 538

Error description and message
Hi, when I try to log in to my forum (pokefansguild.hostwoot.com/forum), I just get this message from my browser:
Code: Select all
Parse error: syntax error, unexpected T_VARIABLE, expecting ')' in /home/reghost/public_html/forums/includes/functions_user.php on line 538.
I have installed the Gallery correctly and everything, but after installation, the board won't let me log in. Any help would be greatly appreciated! :D
PFGuild
Posts < 10
Posts < 10
 
Posts: 3
Topics: 1
Joined: Sun Dec 12, 2010 3:42 am

Re: Can no longer log into board or ACP after installing Gal

Postby nickvergessen » Sun Dec 12, 2010 1:45 pm

Please post the file.
cheers nickvergessen :geek:

Member of phpBB Development-Team
No Support via PM
User avatar
nickvergessen
Administrator
Administrator
 
Posts: 5748
Topics: 217
Images: 139
Joined: Mon Oct 15, 2007 4:15 pm
phpBB.de: nickvergessen
phpBB.com: nickvergessen

Re: Can no longer log into board or ACP after installing Gal

Postby PFGuild » Mon Dec 13, 2010 6:39 am

Here's a link to the functions.php file - http://www.4shared.com/file/mMETk0m8/functions_1.html
PFGuild
Posts < 10
Posts < 10
 
Posts: 3
Topics: 1
Joined: Sun Dec 12, 2010 3:42 am

Re: Can no longer log into board or ACP after installing Gal

Postby nickvergessen » Mon Dec 13, 2010 5:43 pm

includes/functions_user.php is required not the functions.php
And please post it in the topic not upload it to any crappy service.
cheers nickvergessen :geek:

Member of phpBB Development-Team
No Support via PM
User avatar
nickvergessen
Administrator
Administrator
 
Posts: 5748
Topics: 217
Images: 139
Joined: Mon Oct 15, 2007 4:15 pm
phpBB.de: nickvergessen
phpBB.com: nickvergessen

Re: Can no longer log into board or ACP after installing Gal

Postby PFGuild » Tue Dec 14, 2010 2:39 am

Sorry, here's the correct file - misclicked in FTP client! :oops: It wouldn't let me post all the code in here, I guess it was too long or something, so... I'll have to use the filesharing again since I'm feeling pretty stupid not being able to find the attachment feature. (Sorry)

functions_user.php
PFGuild
Posts < 10
Posts < 10
 
Posts: 3
Topics: 1
Joined: Sun Dec 12, 2010 3:42 am

Re: Can no longer log into board or ACP after installing Gal

Postby nickvergessen » Tue Dec 14, 2010 3:30 pm

Please use http://pastebin.com/ next time if it is to long, although that should only affect the functions.php
But I'm not willing to wait 20 seconds to download a maybe unsecure file...

You should have added the code in a new line after the mentioned line, so find:
Code: Select all
   $table_ary = array(USERS_TABLE, USER_GROUP_TABLE, TOPICS_WATCH_TABLE
   $table_ary = array_merge($table_ary, array(GALLERY_MODSCACHE_TABLE));,
   FORUMS_WATCH_TABLE, ACL_USERS_TABLE, TOPICS_TRACK_TABLE, TOPICS_POSTED_TABLE, FORUMS_TRACK_TABLE, PROFILE_FIELDS_DATA_TABLE, MODERATOR_CACHE_TABLE, DRAFTS_TABLE, BOOKMARKS_TABLE, SESSIONS_KEYS_TABLE, PRIVMSGS_FOLDER_TABLE, PRIVMSGS_RULES_TABLE);

and replace it with:
Code: Select all
   $table_ary = array(USERS_TABLE, USER_GROUP_TABLE, TOPICS_WATCH_TABLE, FORUMS_WATCH_TABLE, ACL_USERS_TABLE, TOPICS_TRACK_TABLE, TOPICS_POSTED_TABLE, FORUMS_TRACK_TABLE, PROFILE_FIELDS_DATA_TABLE, MODERATOR_CACHE_TABLE, DRAFTS_TABLE, BOOKMARKS_TABLE, SESSIONS_KEYS_TABLE, PRIVMSGS_FOLDER_TABLE, PRIVMSGS_RULES_TABLE);
   $table_ary = array_merge($table_ary, array(GALLERY_MODSCACHE_TABLE));
cheers nickvergessen :geek:

Member of phpBB Development-Team
No Support via PM
User avatar
nickvergessen
Administrator
Administrator
 
Posts: 5748
Topics: 217
Images: 139
Joined: Mon Oct 15, 2007 4:15 pm
phpBB.de: nickvergessen
phpBB.com: nickvergessen


Return to Installation, Update & Conversion

Who is online

Users browsing this forum: No registered users and 0 guests