For Programmers: Free Programming Magazines  


Home > Archive > PHP Smarty Templates > October 2004 > Smarty Whackiness









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Smarty Whackiness
Donovan Rittenbach

2004-10-28, 3:57 am

First of all thanks to all those geniuses out there who might offer a
helping hand.

Site Manager is a CMS system written with Smarty that we have developed.

Would there be any reason that smarty would stop working on one site
and not another? (all my other site manager sites look great, no
problems there).

I can serve up a file with an header and footer include, so its not php.

It doesn't appear to be a mysql issue because my other mysql sites
serve up fine.

We restarted the server completely and that one site wouldn't come up still.
All other service on the server are running fine.

It does serve up some smarty pages(or some of them):

http://www.webappguru.net/admin

It won't serve up Modernbill at http://www.webappguru.net/signup. Is
it a corrupted library?

It serves up the page wizard page but it won't serve up ntouch or
eblast because it says the same thing as when you try to preview a
page.

"Can't open the page "URL here" because it could not load any data
from this location."

HTML pages serve up fine. If you go to http://www.webappguru.net it
serves up the center part of the page (which is static) but not the
parts that are accessed by database call such as:

<?php
define('BASE_DIR', '/home/httpd/vhosts/webappguru.net/httpdocs/');
define('BASE_URL', '/');
define('LIB_DIR', '/home/httpd/vhosts/webappguru.net/httpdocs/lib/');

$sessionname = "front";
require(LIB_DIR . "START.php");



require(LIB_DIR . "editpages.php");
editpages_fileVisit(BASE_URL);
?>

I have an install.php set to 755 and it won't install because of that
error. Then I change it to 777 and the installer unpacks (then it
can't go to the setup.php page because of the above error.)

It almost seems like some kind of attack because it is so specific
and isolated.

Thanks in advance for any help or insight.

Donovan
--
________________________________________
_
Donovan Rittenbach, M.A.
Web App Guru
ph:(510)834-4505
fx:(510)217-3468

www.myinternetguru.net

Free anti-spam and anti-virus solution with every
WAG hosting account
________________________________________
_
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com