problem accessing site admin

Having trouble installing serendipity?
Post Reply
daveritchie
Posts: 1
Joined: Sun Jan 31, 2010 9:05 pm

problem accessing site admin

Post by daveritchie »

Installation seemed to work, the blog main page comes up but cannot access administration.

The serendipity_admin.php page produces the following error (any help would be appreciated):

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/jbenito/public_html/bundled-libs/Smarty/libs/Smarty_Compiler.class.php(270) : regexp code on line 21

Fatal error: Failed evaluating code: '{php' . str_repeat(" ", substr_count('{literal} function spawn() { if (self.Spawnextended) { Spawnextended(); } if (self.Spawnbody) { Spawnbody(); } if (self.Spawnnugget) { Spawnnugget(); } } function SetCookie(name, value) { var today = new Date(); var expire = new Date(); expire.setTime(today.getTime() + (60*60*24*30*1000)); document.cookie = ''serendipity['' + name + '']=''+escape(value) + '';expires='' + expire.toGMTString(); } function addLoadEvent(func) { var oldonload = window.onload; if (typeof window.onload != ''function'') { window.onload = func; } else { window.onload = function() { oldonload(); func(); } } } {/literal}', " ")) .'}' in /home/jbenito/public_html/bundled-libs/Smarty/libs/Smarty_Compiler.class.php on line 270
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: problem accessing site admin

Post by garvinhicking »

Hi!

Which serendipity and PHP version are you running?

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply