error in rigister a new member

arsalan2

New Member
error in rigister a new member


Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting ']' in /home/vbfans/public_html/includes/class_dm_user.php(2693) : eval()'d code on line 6



Code:
Unable to add cookies, header already sent.
File: /home/vbfans/public_html/includes/class_dm_user.php(2693) : eval()'d code
Line: 6
 
This error is from a plugin you've installed. You need to disable each of your plugins then turn one at a time to see which one is causing this.

If you cannot log into the Admin CP then to disable the plugin system, edit config.php and add this line right under <?php

define('DISABLE_HOOKS', true);

This will disable all hooks and allow you to log in properly with no hooks running.
 
sweety said:
Open the file /includes/class_dm_user.php and paste the first 10 lines here.


This Is firs 10 lines

Code:
<?php
/*======================================================================*\
|| #################################################################### ||
|| # vBulletin 3.7.0 Release Candidate 2
|| # ---------------------------------------------------------------- # ||
|| # Copyright ©2000-2008 Jelsoft Enterprises Ltd. All Rights Reserved. ||
|| # This file may not be redistributed in whole or significant part. # ||
|| # ---------------- VBULLETIN IS NOT FREE SOFTWARE ---------------- # ||
|| # http://www.vbulletin.com | http://www.vbulletin.com/license.html # ||
|| #################################################################### ||
 
hmmmmmmmmm

1 - try to change you lang file

if still

2 - cancel the option (( the new user get new pm after the regster ))
 
dxbstars said:
2 - cancel the option (( the new user get new pm after the regster ))

Yes spot on it's definitely the New User PM that's triggering it. Namely this:

eval(fetch_email_phrases('welcomepm'));

If you say you disabled all hacks and it didn't work, then the problem is either with the class_dm_user.php files itself or your language/phrases.

To check the file AdminCP >> Maintainence >> Diagnostics >> Suspect File Versions >> Submit

See if class_dm_user.php comes up.

Or as dbxstars said, if you are running another language see if it happens on English or Disable "Welcome PM" and see if it fixes it.
 
dxbstars said:
hmmmmmmmmm

1 - try to change you lang file

if still

2 - cancel the option (( the new user get new pm after the regster ))

Wooohooooooooooo :D My Problem Is ok

Very Tanx To dxbstars and other user on vbteam
 
Back
Top