|
||
|
|||||||
| Custom Script Releases This forum is where you can release your custom scripts for other users to use. Please note: By releasing your scripts here you are submitting them to the public and as such agree to make them public domain. The RunUO Team has made its software GPL for you to use and enjoy you should do the same for anything based off of RunUO. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#2 (permalink) |
|
Forum Expert
|
Run this MySQL 4 query in PhPMyAdmin, to add the 'accounts' table to your chosen database:
Code:
CREATE TABLE IF NOT EXISTS accounts ( `name` text NOT NULL, `password` text NOT NULL, `email` text NOT NULL, phase int(5) NOT NULL default '0' ) TYPE=MyISAM;
__________________
![]() RPK.VORSPIRE.COM - The WoW-UO Cross-Over Shard Last edited by Admin Vorspire; 08-01-2006 at 06:30 AM. |
|
|
|
|
|
#5 (permalink) |
|
Forum Expert
|
It will work anywhere, as long as all requirements are met
![]() I forgot to mention that you will need to create an "accounts" table in MySQL with the rows: (text)"name"(255), (text)"password"(255), (text)"email"(255) and (int)"phase"(3) in THAT order i will update the readme later. Also, if anyone has the system running, please post me a URL so i can see it myself ![]()
__________________
![]() RPK.VORSPIRE.COM - The WoW-UO Cross-Over Shard |
|
|
|
|
|
#6 (permalink) |
|
Forum Expert
|
i know some things had problems with working on two seperate machines....
i pay for hosting and what not, so im just wondering how hard this will be to set up to send the stuff to my computer to update and all i dunno if im making sense ![]() but thanks....ill look into it ![]() |
|
|
|
|
|
#8 (permalink) |
|
Forum Novice
Join Date: Jun 2006
Posts: 145
Rep Power: 8
![]() |
Admin Vorspire, This is a hard thing for me to explain because of my low english but I am going to give it a try. I was able to get everything to compile correctly, however, their is some minore problem with php scripts that I was able to fix. FYI When you need to comment somthing in php remember to use /* "comment"*/ becasue php is ignoring <!--!> this type .
I change the comments but I am still having issues, some characters PHP has a problem translating. I was able to fix most of them by addin \ before the letter that it was seen as a veriable and that fix the problem but now I am stuck on the lastone. I am not sure where you define the function that is looking for, I will look inot your scrip some more maybe i can figure it out. Code:
Notice: Undefined variable: e in c:\Inetpub\wwwroot\WAConfig.php on line 11 Notice: Undefined variable: a in c:\Inetpub\wwwroot\WAConfig.php on line 11 Notice: Undefined variable: IP in c:\Inetpub\wwwroot\WAConfig.php on line 11 Notice: Undefined variable: a in c:\Inetpub\wwwroot\WAConfig.php on line 16 Notice: Undefined variable: crypt_email in c:\Inetpub\wwwroot\WAConfig.php on line 16 Notice: Undefined variable: a in c:\Inetpub\wwwroot\WAConfig.php on line 16 Notice: Undefined variable: e in c:\Inetpub\wwwroot\WAConfig.php on line 16 Notice: Undefined variable: crypt_query in c:\Inetpub\wwwroot\WAConfig.php on line 22 Notice: Undefined variable: query in c:\Inetpub\wwwroot\WAConfig.php on line 22 Notice: Undefined variable: a in c:\Inetpub\wwwroot\WAConfig.php on line 27 Notice: Undefined variable: crypt_email in c:\Inetpub\wwwroot\WAConfig.php on line 27 Notice: Undefined variable: a in c:\Inetpub\wwwroot\WAConfig.php on line 27 Notice: Undefined variable: e in c:\Inetpub\wwwroot\WAConfig.php on line 27 Fatal error: Call to undefined function mysql_connect() in c:\Inetpub\wwwroot\WAConfig.php on line 41 PHP Code:
Last edited by Shadow_Storm; 07-31-2006 at 11:16 PM. |
|
|
|
|
|
#9 (permalink) | |
|
Forum Expert
|
Quote:
|
|
|
|
|
|
|
#10 (permalink) |
|
Forum Expert
|
Just ask about ODBC, thats all. ODBC is a driver that lets users connect from other locations securely.
I have actually updated the package with the correct php file. The problem was because i didn't have sufficient hosting to test the code ![]()
__________________
![]() RPK.VORSPIRE.COM - The WoW-UO Cross-Over Shard |
|
|
|
|
|
#11 (permalink) |
|
Forum Novice
Join Date: Jun 2006
Posts: 145
Rep Power: 8
![]() |
I updated the files and still getting an error
Code:
Fatal error: Call to undefined function mysql_connect() in c:\Inetpub\wwwroot\WAConfig.php on line 22 PHP Code:
Code:
Notice: Undefined variable: e in c:\Inetpub\wwwroot\WAConfig.php on line 12 Notice: Undefined variable: a in c:\Inetpub\wwwroot\WAConfig.php on line 12 Notice: Undefined variable: IP in c:\Inetpub\wwwroot\WAConfig.php on line 12 Notice: Undefined variable: a in c:\Inetpub\wwwroot\WAConfig.php on line 19 Notice: Undefined variable: crypt_email in c:\Inetpub\wwwroot\WAConfig.php on line 19 Notice: Undefined variable: a in c:\Inetpub\wwwroot\WAConfig.php on line 19 Notice: Undefined variable: e in c:\Inetpub\wwwroot\WAConfig.php on line 19 Notice: Undefined variable: crypt_query in c:\Inetpub\wwwroot\WAConfig.php on line 26 Notice: Undefined variable: query in c:\Inetpub\wwwroot\WAConfig.php on line 26 Notice: Undefined variable: a in c:\Inetpub\wwwroot\WAConfig.php on line 33 Notice: Undefined variable: crypt_email in c:\Inetpub\wwwroot\WAConfig.php on line 33 Notice: Undefined variable: a in c:\Inetpub\wwwroot\WAConfig.php on line 33 Notice: Undefined variable: e in c:\Inetpub\wwwroot\WAConfig.php on line 33 Fatal error: Call to undefined function mysql_connect() in c:\Inetpub\wwwroot\WAConfig.php on line 51 Last edited by Shadow_Storm; 08-01-2006 at 08:48 AM. |
|
|
|
|
|
#12 (permalink) |
|
Forum Novice
Join Date: Jun 2006
Posts: 145
Rep Power: 8
![]() |
well I been playing with the php pages trying to fix my problem. Now I am getting the following message on 3 of the php files that came in the zip files. RquestAccount.php, LostPW.php, and ChangeE-mail. I have no idea how to fix this
![]() Code:
CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers. and on the the last 3 i am getting this Code:
Notice: Undefined variable: email in c:\Inetpub\wwwroot\verifychangeemail.php on line 1 Notice: Undefined variable: verify in c:\Inetpub\wwwroot\verifychangeemail.php on line 1 Invalid verification code! Notice: Undefined variable: email in c:\Inetpub\wwwroot\verifylostPW.php on line 1 Notice: Undefined variable: verify in c:\Inetpub\wwwroot\verifylostPW.php on line 1 Invalid verification code! Notice: Undefined variable: em in c:\Inetpub\wwwroot\verifyrequestaccount.php on line 1 Notice: Undefined variable: v in c:\Inetpub\wwwroot\verifyrequestaccount.php on line 1 Invalid verification code! Last edited by Shadow_Storm; 08-01-2006 at 09:23 PM. |
|
|
|
|
|
#15 (permalink) |
|
Forum Novice
Join Date: Jun 2006
Posts: 145
Rep Power: 8
![]() |
Well I found a problem with my server for some reason IIS and PHP had some issues, so I just finish redoing my webs server today. I install apache this time and everything looks good so I am going to try your system again. I think part of the problem was some kind of bug between IIS and PHP that I could not find a work around.
I will let you know if things work sometime tomorrow ![]() |
|
|
|
|
|
#16 (permalink) |
|
Forum Novice
Join Date: Jun 2006
Posts: 145
Rep Power: 8
![]() |
I installed your files again to give it another try and I am still having problems. I was wondering where you are defining your variables, because most of the warning I have is because undefined variables. I think if I can define this variables my problems will be fix. FYI I know that php, mysql and apache are configure correct, I’ve spend the past two days installing and testing my new web server to makes sure that I did not have the same issues as with my old server that had some issues. My old sever sometimes would not be able to open some files with the extension php it would error out, I found it was an issue with IIS and PHP that I could not find a workaround. So I decide to install apache to replace IIS. Anyhow, this is getting out of the subject. If could please point out where do I need to define this variables I’ll appreciate it. This is the errors I am getting: PHP Code:
|