Support Forums | Demo Gallery [1.x] [2.x] | Downloads | News | Site Map ]
Nuked Gallery
  Create a FREE account or Login   As a guest, you don't have access to our FULL navigation system.
 Forum FAQForum FAQ   StatisticsStatistics   SearchSearch   UsergroupsUsergroups   FavoritesFavorites  

Parse error with Login.php

 
Post new topic   Reply to topic    NukedGallery.net Forum Index » phpBB Integration » phpBB2 / Gallery 2 Integration View previous topicPrinter friendly versionView next topic
Author Message
glumlord

Beginner
Beginner


Joined: Feb 12, 2006
Posts: 1

PostPosted: Fri Oct 27, 2006 2:49 pm    Post subject: Parse error with Login.php Reply with quote

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
Offline View user's profile Send private message
AdBot
   Post subject: Parse error with Login.php  

Back to top
jettyrat

Moderator
Moderator


Joined: Nov 28, 2005
Posts: 1144

PostPosted: Fri Oct 27, 2006 6:28 pm    Post subject: Re: Parse error with Login.php Reply with quote

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
Offline View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    NukedGallery.net Forum Index » phpBB Integration » phpBB2 / Gallery 2 Integration View previous topicPrinter friendly versionView next topic

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours

Powered by phpBB © phpBB Group



Sponsors: Dedicated ServersDomain NamesWeb HostingDomain Name RegistrationDedicated Web HostingWeb Design New YorkCompare VoIPseo packagesSEO CompanyNew York Yellow PagesFind LocationsVOIP Phone ServiceNeckermannOnline internetSEORestaurant Locator • Get great HP coupons from CouponSnapshot • Search for great dell coupons at CouponSnapshot.com.au • Graduation DressesAndroid TabletSEO IndiaBuy Phen375fuel filter

8th year online! 2003-2011
Legal • Use of this site consitutes agreement to the Acceptable Use Policy
Hosted by Implosion WorksSourceForge.net Logo • Theme by TonicMedia