Welcome to Geeklog, Anonymous Saturday, November 30 2024 @ 02:34 am EST

Geeklog Forums

help with error message please


Status: offline

inquest750

Forum User
Regular Poster
Registered: 03/04/05
Posts: 72
Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/spywar3/public_html/lib-common.php on line 4691 I am getting this error message after I installed geeklog and copied the old files from my old installation and pasted them into my new installation.... same exact version of Geeklog I was only moving the directories... any help or suggestions is greatly appreciated....

here is what line 4691 looks like...
else if( $A['type'] ']']']']== ']']']']==']']']==']']==']=='poll' )
 Quote

Status: offline

vadertech

Forum User
Full Member
Registered: 05/26/03
Posts: 329
looks like the file is corrupt.

Try replacing the file with a fresh copy.

Line 4691 should read:

Text Formatted Code
else if( $A['type'] == 'poll' )
 

GeekLog Hosting, Installations and Upgrades - WWW.AWEHOST.COM - Hosting starts @ only $4.95/mo.
 Quote

Status: offline

inquest750

Forum User
Regular Poster
Registered: 03/04/05
Posts: 72
ok.. go that fixed... now i am getting "Warning: mysql_connect(): Access denied for user: 'spywar3_gklg1@localhost' (Using password: YES) in /home/spywar3/public_html/system/databases/mysql.class.php on line 112
Cannnot connect to DB server" when that is the correct login name and i checked the config.php file and it has the correct login name and the correct password... is there anywhere where this information is called from?
 Quote

Munazip

Anonymous
Had the same error, how do i replace the lib-common.php with a fresh copy??

Where do i get the fresh copy?
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by Munazip: Where do i get the fresh copy?

From the tarball ...

bye, Dirk
 Quote

All times are EST. The time is now 02:34 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content