Error With Lavalair Script

Started on the old forum in July 2007 · view the original in the archive · old links redirect here

6 replies · 1,311 views · started 19 years ago · 1 min read

3 participants
Guest #1

Parse error: syntax error, unexpected T_VARIABLE in /home/vhosts/vampire.xphost.org/public_html/config.php on line 6

i gopt this error when i enter to my wapsite.. i dunno what to.. i just create it..

amylee Principal · 1,092 posts #2

would be a good idea to show us whats on line 6 nobody here is psychic so we dont know

WhiteWarrior Principal · 1,419 posts #3

would be a good idea to show us whats on line 6 nobody here is psychic so we dont know

amylee, you own lava script and you dont know whats on line 6 of the config?..

//////////////////////////////////////////

use this

<?php $dbname = ""; $dbhost = ""; $dbuser = ""; $dbpass = ""; $max_buds=100; $topic_af = 20; $post_af = 15; $onver = true; ?>
Guest #4

Warning: Cannot modify header information - headers already sent by (output started at /home/vhosts/vampire.xphost.org/public_html/config.php:3) in /home/vhosts/vampire.xphost.org/public_html/index.php on line 8

ERROR! cannot connect to database

This error happens usually when backing up the database, please be patient, The site will be up any minute

THANK YOU VERY MUCH

how to fix this??

Guest #5

Warning: Cannot modify header information - headers already sent by (output started at /home/vhosts/vampire.xphost.org/public_html/config.php:3) in /home/vhosts/vampire.xphost.org/public_html/index.php on line 8 ERROR! cannot connect to database

This error happens usually when backing up the database, please be patient, The site will be up any minute

THANK YOU VERY MUCH

how to fix this??

i get this error when i go to my address http://vampire.xphost.org

wizard Senior · 493 posts #6

set ur config file

<?php 
$dbname = "your database name";
$dbhost = "your database host";//usually localhost
$dbuser = "your database username";
$dbpass = "your database password";
$max_buds=100;
$topic_af = 20;
$post_af = 15;
$onver = true;
?>
amylee Principal · 1,092 posts #7

amylee, you own lava script and you dont know whats on line 6 of the config?..

//////////////////////////////////////////

use this

<?php $dbname = ""; $dbhost = ""; $dbuser = ""; $dbpass = ""; $max_buds=100; $topic_af = 20; $post_af = 15; $onver = true; ?>

i dont even have the old script on my pc anymore and this is my config on new script very different to what the old script was plus so amny ppl have different versions of the script how do i know that every single config file is the same..?

<?php
/********************************************************************************
****************\
*                Script Name: RAVENOUS                                            *
*                Purpose: Wap community, including bookmarking and reviews features               *
*                Script Written By: Ra'ed Shabanah 2006 (c)                               *
*                Start Date: 14th July 2006                                           *
*                E-mail: [email]raed_mfs@yahoo.com[/email]                                           *
*-------------------------------------------------------------------------------------------------------------------------------------------------*
*                            COPYRIGHTS                                       *
*-------------------------------------------------------------------------------------------------------------------------------------------------*
*                This script was written fully by Ra'ed Shabanah, Senjil - Palestine                   *
*                you can't use,  distribute, edit, sell or rewrite any piece of this script               *
*                without written permission from the author Raed Shabana..............                   *
*                Legal actions will be taken against any violation!                               *
\***************************************************************************
*********************/

$db_host = ""; //db host name
$db_name = ""; // database name
$db_user = ""; //username
$db_pass = ""; //password

//anti flood
$af_shout = 20;
$af_posts = 30;
$af_topic = 60;
$af_article = 120;

//buddies
$max_buds = 75;
///other configurations
$wel_msg = 'Hello /reader =)[br/]Welcome to lavalair the most unique wap community and dating portal in its features and members, on  behalf of our staff and members I would like to welcome you and wish you a happy stay, for help please see CPanel > help menu, and lavalair info forum, this pm indicates that you are now activated, have fun';
$on_line = false; //to test online options, like e-mail, ravebabe... etc
$wl_forc = false; //opera supports xhtml, so to debug wml code set this to true
$act_perm = 3; //who can activate? set this to one and the site will be fucked up lol for secrity reasons only allow admins or all staff thus 2 OR 3
define( 'MIME_XHTML', 'application/xhtml+xml');
?>

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close