From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Riley Williams" Subject: RE: ELKS Website - version 2 Date: Fri, 18 Jul 2003 19:35:53 +0100 Sender: linux-8086-owner@vger.kernel.org Message-ID: References: <1058517483.1552.307.camel@castle> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1058517483.1552.307.camel@castle> List-Id: Content-Type: text/plain; charset="us-ascii" To: Phil Goembel Cc: Linux ELKS Hi Phil. >>>> For those interested, the proposed version 2 of the ELKS website, >>>> which is aimed to automatically use the surfer's preferred choice >>>> of language, has been loaded at... >>>> >>>> http://elks.sf.net/2/ >>>> >>>> ...for those interested. It clearly needs LOTS of work before it >>>> is ready for mainline though... >>> Was this my v2 your are using at /2 because there a lot of errors... >> That's the elksweb2 package on the CVS server. If that corresponds to >> your v2 then yes, it is. Since the normal website is simply the >> elksweb (without the '2' suffix) extracted into the relevant directory >> I just did the same with the elksweb2 package. >> >> Those errors are the reason for my saying it clearly needs LOTS of work >> before it's ready for mainline, and that's also why it isn't linked to >> from the current website. > I've never used PHP, but it looks like one of the problems has to do > with the directory search path. > > It looks like the PHP interpreter is searching for include files > in either the working directory or the PHP library > (include_path='.:/usr/local/lib/php'). > > In one case, the file it's parsing is > /home/groups/e/el/elks/htdocs/2/Functions/total.php > It's looking for ./functions/data.php. If the working directory is > /home/groups/e/el/elks/htdocs/2/, then the problem is probably that the > subdirectory named Functions should be renamed functions (lower-case f). > Or, all the references in total.php to ./functions/data.php need to be > changed to ./Functions/data.php. But looking in CVS on Sourceforge, > there is no such file. I don't know what that means. Is it possible > that data.php is supposed to be dynamically generated? That's certainly possible, but I've dealt with one half of that problem and changed all references to "./functions/" to "./Functions/" in that file and committed the changes to the CVS and the /2/ website. However, that does leave one problem that isn't so easily solved - the line that reads... $content=getcontent(strtolower("./Languages/$lang/$item.html")); ...where that strtolower() needs to ignore the "./Languages/" part and only operate on the rest of the line. The fact that data.php doesn't exist is still true though... Comments, anybody? Best wishes from Riley. --- * Nothing as pretty as a smile, nothing as ugly as a frown. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.501 / Virus Database: 299 - Release Date: 14-Jul-2003