06-21-2004, 07:57 PM
|
#9
|
Green Mole
Join Date: Jun 2004
Location: Oklahoma, U.S.A.
Posts: 19
|
Well, I can honestly say I feel myself getting closer to having this search engine configured for my Web site. Thank you everyone for putting up with me so far. Well, now http://www.destroyerx.net/search/search.php is showing bits of my template, but it's still not working yet. Here's what I have for error messages on http://www.destroyerx.net/search/search.php:
Warning: Access denied for user: 'apache@localhost' (Using password: NO) in /home/destroyerx/public_html/poll/include/class_mysql.php on line 32
Warning: MySQL Connection Failed: Access denied for user: 'apache@localhost' (Using password: NO) in /home/destroyerx/public_html/poll/include/class_mysql.php on line 32
Connection Error
--------------------------------------------------------------------------------
MySQL Error : Connection Error
Error Number: 0
Date : Mon, June 21, 2004 22:34:36
IP : 68.13.236.125
Browser : Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
Referer :
PHP Version : 4.2.2
OS : Linux
Server : Apache/2.0.40 (Red Hat Linux)
Server Name : www.destroyerx.net
Script Name : /search/search.php
Honestly, I have no idea why it's displaying that error message since the most exposure I've had to PHP was my FormMail script and phpBB (which I still need to configure a layout for *sigh*). Now, does anyone know why it would be giving me those error messages?
In the meantime, I guess I should be asking myself a brand new question. Well, before I installed PhpDig on my Web site, I had a Perl search engine called Perlfect Search, and in addition, I have a Perl image gallery called emAlbum. Now, while I'll be getting rid of these two Perl scripts to make way for PHP scripts such as PhpDig, Perlfect only had two HTML files to customize: search.html and no_match.html. Also, emAlbum only had one HTML file to customize which I named destroyerx.html. Is there any way that I could just use one PHP file for a template instead of creating several PHP files like header.php, sidebar.php, main.php, and footer.php? Since I use Macromedia Dreamweaver to apply a change in a .dwt template to all .html and .php files that've been created with a partictular .dwt file, it would be extremely convenient for me if only one .php file could be used as a template.
Once again, I would like to thank everyone for their time and patience in working with me on this. While I could do stuff to make a decent Web site layout with just HTML knowledge and Notepad, when it comes to PHP, I'm a lost puppy. In addition, I would like to thank the people who've developed this search engine script. When I'm finally able to configure it for my Web site, you guys will definately be a lifesaver. Thank you everyone for your time.
Ciao for now!
__________________
Visit the Destroyer X Network at http://www.destroyerx.net/
|
|
|