Hey,
Today I've upgraded my vbulletin 4.2.1 to vbulletin 5.
I really liked what It has and design.
Now I'm facing problem with registrations I get this error
I've checked the error log
And these are the 2 errors that are popping up (the first error, is shown hundreds over hundreds..)
I'm really not a web developer, But I used to check user login by doing this.
And now it's don't work, so I noticed the the global function is found in the core folder so changed to this
But still doesn't work.
Here's my hosting information
Is there any specific reason?
I couldn't find any solution, I only found this thread
Which still didn't help much.
Have you guys tested vBulletin 5 on PHP 5.5.3?
I mean I follow the install instruction page (which says PHP 5.4 or greater), and based the thread above, users with php 5.3 are facing problems too.
Today I've upgraded my vbulletin 4.2.1 to vbulletin 5.
I really liked what It has and design.
Now I'm facing problem with registrations I get this error
Sorry, but the server is not responding properly to information requests. This may be a momentary problem. If you continue to receive this message and the site is otherwise functioning, please contact the site administrator.
And these are the 2 errors that are popping up (the first error, is shown hundreds over hundreds..)
[21-Oct-2013 19:20:41 Europe/Berlin] PHP Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/flashack/public_html/core/vb/string.php on line 750
[21-Oct-2013 19:20:41 Europe/Berlin] PHP Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/flashack/public_html/includes/vb5/frontend/controller/ajax.php on line 27
[21-Oct-2013 19:20:41 Europe/Berlin] PHP Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/flashack/public_html/includes/vb5/frontend/controller/ajax.php on line 27
PHP Code:
<?
require_once('global.php');
if(isset($_POST['username']) && ($_POST['password']) && ($_POST['run']))
$username = filter_var($_POST['username'], FILTER_SANITIZE_STRING);
$password = filter_var($_POST['password'], FILTER_SANITIZE_STRING);
$user = $vbulletin->db->query_first("SELECT * FROM " . TABLE_PREFIX . "user WHERE username ='".$username."'");
$pass = $user[password];
$vb_hash = md5($password . $user[salt]); //I'm sending password after doing md5 locally.
if ($vb_hash==$pass)
{
// Do my stuff
}
?>
PHP Code:
<?
require_once('core/global.php');
if(isset($_POST['username']) && ($_POST['password']) && ($_POST['run']))
$username = filter_var($_POST['username'], FILTER_SANITIZE_STRING);
$password = filter_var($_POST['password'], FILTER_SANITIZE_STRING);
$user = $vbulletin->db->query_first("SELECT * FROM " . TABLE_PREFIX . "user WHERE username ='".$username."'");
$pass = $user[password];
$vb_hash = md5($password . $user[salt]); //I'm sending password after doing md5 locally.
if ($vb_hash==$pass)
{
// Do my stuff
}
?>
Here's my hosting information
Apache version | 2.2.25 |
PHP version | 5.5.3 |
MySQL version | 5.5.32-cll |
Is there any specific reason?
I couldn't find any solution, I only found this thread
Which still didn't help much.
Have you guys tested vBulletin 5 on PHP 5.5.3?
I mean I follow the install instruction page (which says PHP 5.4 or greater), and based the thread above, users with php 5.3 are facing problems too.
Comment