"Smarty code" appearing at the top of my page

edgel1k

Joined: 2007-01-01
Posts: 14
Posted: Fri, 2007-03-02 06:50

I have moved my Gallery site my production server. I am now experiencing an interesting problem. At the top of my page appears some "smarty" code. This code only appears if no one is logged in to the site. I have included that code below:

ss']; } $auth .= '@'; } $url = sprintf('%s://%s%s', $components['scheme'], $auth, $components['host']); } if (!empty($components['path'])) { $url .= $components['path']; } if (!empty($components['query'])) { $url .= '?' . $components['query']; } if (!empty($components['fragment'])) { $url .= '#' . $components['fragment']; } return $url; } } ?>

I have also included my system information here.

Gallery version = 2.2-rc-1 core 1.1.29
PHP version = 4.3.11 apache
Webserver = Apache
Database = mysqlt 4.1.11-log, lock.system=flock
Toolkits = Thumbnail, Gd, ImageMagick
Acceleration = none, none
Operating system = FreeBSD spock.auroraesolutions.com 4.9-RELEASE FreeBSD 4.9-RELEASE #0: Tue Apr i386
Default theme = matrix
gettext = disabled
Locale = en_US
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.2) Gecko/20070219 Firefox/2.0.0.2

I am still new to PHP, smarty, and the Gallery. Learning more and more as I go along.

I am wondering at this point if it is because localization is not turned on the web server. More specifically "gettext" is not enabled. Before I have my hosting administrator turn that on I wanted to verify that was case. Or could it be something else.

I have tried classic and sirux themes as well with the same result. I have cleared my cache, tried IE, and cleared my themes cache in the Gallery.

If you would like to the see the error, the address is: http://www.snapshotfrenzy.com/gallery

Thanks in advance for the help,

Gene

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2007-03-02 12:04

please verify your file integrity:
FAQ: How can I make sure that my installation files are all intact?

it looks like modules/httpauth/classes/HttpAuthHelper.class might be corrupt on your server.

--------------
Doumentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage

 
edgel1k

Joined: 2007-01-01
Posts: 14
Posted: Sat, 2007-03-03 04:19

Thanks again.

Gene