Shout Box Problem

NadeemJP

New Member
Hi,

I downloaded the shout box addon "vbulletin 3.7 shoutbox 1.0" and have upoloaded the files in root of my forum, imported tables to mysql, edited the forumhome file as following:



Code:
<head>

<!-- no cache headers -->

<meta http-equiv="Pragma" content="no-cache" />

<meta http-equiv="Expires" content="-1" />

<meta http-equiv="Cache-Control" content="no-cache" />

<!-- end no cache headers -->

$headinclude

<title><phrase 1="$vboptions[bbtitle]">$vbphrase[x_powered_by_vbulletin]</phrase></title>

</head>

<body>

$header

$navbar

 

<if condition="$show['guest']">

<!-- guest welcome message -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="150" width="100%" align="center">

<tr>

<td class="tcat"><phrase 1="$vboptions[bbtitle]">$vbphrase[welcome_to_the_x]</phrase></td>

</tr>

<tr>

<td class="alt1">

 <phrase 1="faq.php$session[sessionurl_q]" 2="register.php$session[sessionurl_q]">$vbphrase[first_visit_message]</phrase>

</td>

</tr>

</table>

<!-- / guest welcome message -->

<br />

</if>

<div style="width: 100%;">

<iframe src="shoutbox.php" width="100%" height="150" frameborder="no" scrolling="yes" style="overflow-x: hidden;"></iframe>

</div>

<br />

 

<!-- main -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">

<thead>



I have added the whole code from beginning and end codes as well because i do not know much codes so if there is some mistake in codes please point out.



Now on the main page just beneath the logo, it says:


Code:
Not Found

The requested URL /forums/shoutbox.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.



Please guide as to what i am doing wrong and how should i enable the shoutbox? I am running vbulletin 3.7.3 PL1.



my website is Family Bunker - Powered by vBulletin



Thank you

Regards
 
Your Edit in Forumhome template is okay

Where have you uploaded the Shoutbox.php file?

Its the Error of Shoutbox.php file. Try uploading it to Correct location.
 
i uploaded the following files in public_html folder:

shoutbox.php
shoutbox_config.php
shoutbox_get.php
shoutbox_end.php
shoutbox (javascript file)

all these five files are in the public_html directory.
 
I changed the location of php files from public_html to public_html/forums

and i still got an error but of a different nature:

Code:
Warning: mysql_query() [function.mysql-query]: Access denied for user 'servername'@'localhost' (using password: NO) in [path]/shoutbox.php on line 20

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in [path]/shoutbox.php on line 20

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in [path]/shoutbox.php on line 20
Family Bunker Shout box
 
NadeemJP said:
I changed the location of php files from public_html to public_html/forums

and i still got an error but of a different nature:

Code:
Warning: mysql_query() [function.mysql-query]: Access denied for user 'servername'@'localhost' (using password: NO) in [path]/shoutbox.php on line 20

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in [path]/shoutbox.php on line 20

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in [path]/shoutbox.php on line 20
Family Bunker Shout box

which shoutbox are you using on your site?
 
@ Nadeem : Files would stay in Public_html folder itself not the public_html/forum

@ Bulletin : He is using "vbulletin 3.7 shoutbox 1.0". He mentioned it first thing in his post.
 
No Sorry My Mistake I did not notice earlier that your forums is configured in Forum directory.

Leave the Files in Public_html/forums
 
NadeemJP said:
i uploaded the following files in public_html folder:

shoutbox.php
shoutbox_config.php
shoutbox_get.php
shoutbox_end.php
shoutbox (javascript file)

all these five files are in the public_html directory.

here you did a big mistake, due to which you were not able to use shoutbox.

shoutbox.php-> upload in public_html/forums

shoutbox_config.php-> upload in public_html/forums
shoutbox_get.php-> upload in public_html/forums
shoutbox_end.php-> upload in public_html/forums
shoutbox (javascript file)-> upload in public_html/forums/clientscript
tables.mysql-> upload via phpmyadmin, do no create new database table, just upload in same database table where you have you have forum database.

now once you done this, this should fix the error
 
Back
Top