![]() |
How to insert this PHP line?!?!
Hello, I'm wanting to install a quote script called phpMyQuote on my forum.
I'd like to display the quotes on the forum home, but I am unsure of how to or where to insert the php code. Below is part of the Readme file: Quote:
-Michael |
Open forum/index.php and find:
PHP Code:
PHP Code:
PHP Code:
|
I receive this error when I do the above:
LINE 8:Table 'rcnitro_forum.quotes' doesn't exist What would cause that? -Michael |
You don't have the table in your database :)
|
Perhaps replace:
PHP Code:
PHP Code:
|
Oh, or as Mist said, you didn't add the table into your database. ;)
|
Hmm this script looks so easy, but its kicking my butt right now.
Here is what I have setup for my config.inc.php file: PHP Code:
So what am I doing wrong? -Michael EDIT: One thing I did forget to mention... the quotes script is installed in "public_html/quotes" while the forum is installed on "public_html/forum" if that makes any difference. |
If config.inc.php is located in that directory, than what you should do is:
PHP Code:
|
Done as you suggested and received this error:
Fatal error: Call to undefined function: showquote() in /home/rcnitro/public_html/forum/index.php on line 21 -Michael |
Sorry, I made you reference to the wrong file ... ^^
Replace: config.inc.php With: quotes.inc.php ;) |
All times are GMT. The time now is 07:59 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|