| Author |
Message |
glumlord
Beginner


Joined: Feb 12, 2006 Posts: 1
|
Posted: Fri Oct 27, 2006 2:49 pm Post subject: Parse error with Login.php |
|
|
I integrated the forum/gallery and exported users. Setup everything to my liking, then I tried to get into the admin section and it prompted for a password.
I keep getting a message:
Parse error: parse error, unexpected T_ELSE on line 190 of login.php
I've checked the code I've added to login.php and it seems correct
// Logout of gallery
$g2_sql = 'SELECT fullPath, embedUri FROM ' . GALLERY2_TABLE;
$g2_row = $db->sql_fetchrow($db->sql_query($g2_sql));
require_once($g2_row['fullPath']);
$g2_ret = GalleryEmbed::logout(array('embedUri' => $g2_row['embedUri']));
Any ideas? |
|
| Back to top |
|
|
AdBot
|
| Post subject: Parse error with Login.php |
|
|
|
|
|
| Back to top |
|
 |
jettyrat
Moderator


Joined: Nov 28, 2005 Posts: 1144
|
Posted: Fri Oct 27, 2006 6:28 pm Post subject: Re: Parse error with Login.php |
|
|
How did you get into the admin area to setup the integration and run the export without this error in the first place?
There has to be something wrong with the mods to login.php. Comment out the mods and see if the problem goes away. At least that will give you a starting point for tracking down the error. Parse errors are often caused by quotes, semi-colons, parenthesis or curly braces being missing or in the wrong place... |
|
| Back to top |
|
|
|
|
|
|
|