Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Shaiya > Shaiya Private Server
You last visited: Today at 03:04

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Need Help With Registration Errors.

Discussion on Need Help With Registration Errors. within the Shaiya Private Server forum part of the Shaiya category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: May 2011
Posts: 22
Received Thanks: 4
Need Help With Registration Errors.

hey I am currently trying to input web registration onto my server and here is my problem.

I get the error: Fatal error "Call to undefined function mssql_connect() in C:\xampp\htdocs\processor.php on line 10'' everytime I try to create an account. I found out its because it wasnt connecting to my sql server or something and the fix was to uncomment php_mssql and php_pdo_mssql.
I have done this but now my apache server will not restart after I stopped it.
I first got the error php_mssql.dll could not be found in c:/xampp/php/ect I think it was so I downloaded the .dll file and places it into the correct path.
Now when ever I try to restart the apache server I get that same error along with php4ts.dll can not be found.
I am just having one problem after another. If somebody could please help me I would be very appreciative.
And before you ask yes I have searched e-pvpers, looked on Google and done extensive searching on XAMPP forums aswell as PHP.
Varczette is offline  
Old 02/07/2012, 09:24   #2
 
RebeccaBlack's Avatar
 
elite*gold: 0
Join Date: Sep 2010
Posts: 520
Received Thanks: 1,289
Just use one of the ODBC versions, or make a SQLServ version.

It's more than likely that you have a version of PHP that dropped mssql functions. Though I am unsure, since MSSQL functions were dropped in PHP 5.3, and php4ts.dll is only loaded within PHP4.x versions (PHP5.x obviously looks for php5ts.dll)
RebeccaBlack is offline  
Old 02/07/2012, 21:13   #3
 
mr.outc4st's Avatar
 
elite*gold: 0
Join Date: Aug 2011
Posts: 29
Received Thanks: 28
you have the correct version of xampp? I kno when i set mine up i had to play around seems like the newest version of xampp doesnt like mssql along with the php and i had to d/l and older version to make things mingle correctly... my curr ver is April 2009 1.7.1 Beta5, maybe look at that and try it out
mr.outc4st is offline  
Old 02/08/2012, 10:43   #4
 
elite*gold: 0
Join Date: May 2011
Posts: 22
Received Thanks: 4
Quote:
Originally Posted by RebeccaBlack View Post
Just use one of the ODBC versions, or make a SQLServ version.

It's more than likely that you have a version of PHP that dropped mssql functions. Though I am unsure, since MSSQL functions were dropped in PHP 5.3, and php4ts.dll is only loaded within PHP4.x versions (PHP5.x obviously looks for php5ts.dll)
Im not sure what exactly ODBC is so I will have to look into it alot before I go ahead and try and use it. But I did do a search in the forums and found a nice little .rar file from you with a few scripts rewritten in it and downloaded. I did thank you for it by the way.

Quote:
Originally Posted by mr.outc4st View Post
you have the correct version of xampp? I kno when i set mine up i had to play around seems like the newest version of xampp doesnt like mssql along with the php and i had to d/l and older version to make things mingle correctly... my curr ver is April 2009 1.7.1 Beta5, maybe look at that and try it out
I did as you said and downloaded that one but Im just getting error after error with shit that confuses me lol. So I will try the ODBC and see how I go.




-Edit: I did a google search on ODBC but Im still not sure on how to set it up and how it works exactly. Im still new to this side of the servers and I was wondering if you would be able to explain it or even just send me a few links about it so I can read in depth.
If its easier you may add me to skype.

Skype: varczette_

Thanks very much in advanced for any information you may be able to help me with.
Varczette is offline  
Old 02/08/2012, 13:52   #5
 
RebeccaBlack's Avatar
 
elite*gold: 0
Join Date: Sep 2010
Posts: 520
Received Thanks: 1,289
ODBC (or Open DataBase Connectivity) is a driver that allows connections to multiple databases, MSSQL being one of them.

You do not need to set up ODBC (at least not in my experiences), as it comes built on top of your preexisting OS. The additional configuration (Setting up the driver for ODBC -(Connection)> MSSQL) is done during the correct setting up of the MSSQL Database. Now, connecting through ODBC is different from the native MSSQL functions they dropped. First, you use a connection string, instead of a host. This you can see in the .rar file you mentioned.

Using the PHP Help site itself ()You could attempt to understand how to use it. Try comparing two files, one using the MSSQL Functions, and one using the ODBC functions. Look at the PHP Manual I linked and compare. You'll find it'll be quite easy to convert your own from that, with slight reading.
RebeccaBlack is offline  
Old 02/12/2012, 00:27   #6
 
elite*gold: 0
Join Date: May 2011
Posts: 22
Received Thanks: 4
Thanks very much for your reply. I have been away for 2 days but now Im back and very keen on learning. I shall do as you suggested.
I will hopefully learn alot so that one day I can help people like you have helped me xD
Varczette is offline  
Reply


Similar Threads Similar Threads
i got errors..
12/26/2011 - Flyff Private Server - 1 Replies
2011/12/26 11:12:24 CWorld::AddObj world id:1 x:4609.000000 y:60.000000 z:4409.000000 2011/12/26 11:12:24 CWorld::AddObj world id:1 x:4080.000000 y:30.000000 z:3711.000000 2011/12/26 11:12:24 CWorld::AddObj world id:1 x:3512.000000 y:117.000000 z:2190.000000 2011/12/26 11:15:21 CWorld::AddObj world id:1 x:6971.983887 y:100.000000 z:3336.884033 2011/12/26 11:16:25 CWorld::AddObj world id:1 x:6971.983887 y:100.000000 z:3336.884033
Help with those errors plz
11/25/2011 - CO2 Private Server - 0 Replies
Anyone can help me to fix those errors i get in Threading.cs ? It is when i try to build in source 5375.
[Guide] 2 Fixes on Sro-Errors (no bot-errors)
03/04/2011 - SRO Guides & Templates - 5 Replies
Hey guys, here are 2 fixes for silkroad-errors (not bot-errors!). I know they dont appear for many people but some guys have problems with it. 1st Fix: "Server is undergoing inspection..." Why does this error appear? Because Joymax has some problems with the Login-Servers. Fix: Step1): Click on "Start" then on "Run"
[Help] Errors
07/21/2009 - CO2 Private Server - 6 Replies
Can someone help me fix this errors please. System.InvalidOperationException: Connection must be valid and open at MySql.Data.MySqlClient.MySqlCommand.CheckState() at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader( CommandBehavior behavior) at MySql.Data.MySqlClient.MySqlCommand.System.Data.ID bCommand.ExecuteReader(CommandBehavior behavior) at System.Data.Common.DbDataAdapter.FillInternal(Data Set dataset, DataTable datatables, Int32 startRecord, Int32 maxRecords, String...
Errors from Sro can anyone help?!
07/20/2007 - Silkroad Online - 15 Replies
i keep gettin this error and i try reinstalling sro still i get it ayone kno why http://img253.imageshack.us/img253/5972/bugfv5.pn g



All times are GMT +1. The time now is 03:05.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.