[Website] CPSP (v2.0) Customizable Private Server Platform menu

User Tag List

Page 4 of 6 FirstFirst 123456 LastLast
Results 46 to 60 of 77
  1. #46
    riizu's Avatar Active Member
    Reputation
    16
    Join Date
    Oct 2007
    Posts
    263
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Dombo View Post
    The donation system doesn't work, the vote system however is functional. Also don't forget to import the SQL files for the database.

    They're essential.
    Thanks for the reply Dombo. I currently have two seperate char/logon db's created using your dumps to prevent any mix ups.

    As many other people have mentioned though, the registration page seems to be quite unusable. Do you have any ideas why?

    [Website] CPSP (v2.0) Customizable Private Server Platform
  2. #47
    Dombo's Avatar Banned
    Reputation
    622
    Join Date
    Nov 2008
    Posts
    1,421
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Because the validator is broken, it should check if the input is completely valid (such as an email, or a username).

    You can simply delete the regular expression if you want to get it working.

  3. #48
    weaponovchoice's Avatar Private
    Reputation
    1
    Join Date
    Jul 2010
    Posts
    3
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    wow i have no idea how to use this please help meh! im not nerd enough!!!!

  4. #49
    riizu's Avatar Active Member
    Reputation
    16
    Join Date
    Oct 2007
    Posts
    263
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Dombo View Post
    Because the validator is broken, it should check if the input is completely valid (such as an email, or a username).

    You can simply delete the regular expression if you want to get it working.
    Thanks a lot Dombo! Seemed like that would be the issue, but I had no idea how to fix it.

    EDIT: Unfortunately, I have no clue what/where that expression is. >.< I tried commenting out

    Code:
    else
    		if(!preg_match('/^[A-Za-z0-9]$/',$_POST['username'], $matches))
    		$error = setError("attention","Invalid username");
    In register.php, which removed the error, but the query is still not executed...
    Last edited by riizu; 07-23-2010 at 01:21 AM.

  5. #50
    zedzoli's Avatar Member
    Reputation
    2
    Join Date
    Feb 2008
    Posts
    18
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Modify this line
    Code:
    if(!preg_match('/^[A-Za-z0-9]$/',$_POST['username'], $matches))
    to
    Code:
    if(preg_match('/^[A-Za-z0-9]$/',$_POST['username'], $matches))

  6. #51
    daycro's Avatar Sergeant
    Reputation
    1
    Join Date
    Jul 2010
    Posts
    47
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    good job +rep but when i create account its not created in DB and i cant login with this username-password so strange but it says Bad username/password combination! please help....

  7. #52
    riizu's Avatar Active Member
    Reputation
    16
    Join Date
    Oct 2007
    Posts
    263
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks Zedzoli, but still doesn't seem to be any entry being created in the database which is strange, considering the config.php file is pointing to the correct database.

  8. #53
    daycro's Avatar Sergeant
    Reputation
    1
    Join Date
    Jul 2010
    Posts
    47
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by riizu View Post
    Thanks Zedzoli, but still doesn't seem to be any entry being created in the database which is strange, considering the config.php file is pointing to the correct database.
    No account create in DB and at website too....cant login with this conbination try it...

  9. #54
    zedzoli's Avatar Member
    Reputation
    2
    Join Date
    Feb 2008
    Posts
    18
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I havent got idea, for me working fine the registration, and i can login with fresh registred accounts, but i have other problem, i already have tons of accounts on my server but only the fresh registred members can login to web the old members not.

  10. #55
    daycro's Avatar Sergeant
    Reputation
    1
    Join Date
    Jul 2010
    Posts
    47
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    yes its problem u cant log in ur website with old account so only members who register here can log on website....

    ---------- Post added at 02:54 PM ---------- Previous post was at 02:37 PM ----------

    Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\includes\func_lib.php on line 101

    I think becouse this i cant login zedzoli u dont have this warning?

  11. #56
    SupernovaHH's Avatar Member
    Reputation
    12
    Join Date
    May 2008
    Posts
    113
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Lots and Lots of php errors on my end. Ill show you what some are.

    Code:
    Notice: Undefined index: do in C:\wamp\www\includes\news.php on line 13
    
    Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in C:\wamp\www\includes\news.php on line 119
    
    Notice: Undefined index: do in C:\wamp\www\includes\news.php on line 30
    
    Notice: Undefined index: do in C:\wamp\www\includes\news.php on line 35
    
    Notice: Constant SERVER_NAME already defined in C:\wamp\www\includes\config.php on line 4
    
    Notice: Constant REALMNAME already defined in C:\wamp\www\includes\config.php on line 7
    
    Notice: Constant REALMPORT already defined in C:\wamp\www\includes\config.php on line 8
    
    Notice: Constant MAX_NEWSITEMS already defined in C:\wamp\www\includes\config.php on line 9
    
    Notice: Constant LEVELCAP already defined in C:\wamp\www\includes\config.php on line 12
    
    Notice: Constant REALM1 already defined in C:\wamp\www\includes\config.php on line 14
    
    Notice: Constant SQLHOST already defined in C:\wamp\www\includes\config.php on line 17
    
    Notice: Constant SQLUSER already defined in C:\wamp\www\includes\config.php on line 18
    
    Notice: Constant SQLPASS already defined in C:\wamp\www\includes\config.php on line 19
    
    Notice: Constant SQLPORT already defined in C:\wamp\www\includes\config.php on line 20
    
    Notice: Constant LOGONDB already defined in C:\wamp\www\includes\config.php on line 23
    
    Notice: Constant CHARDB already defined in C:\wamp\www\includes\config.php on line 24
    
    Notice: Constant VOTEDB already defined in C:\wamp\www\includes\config.php on line 25

  12. #57
    daycro's Avatar Sergeant
    Reputation
    1
    Join Date
    Jul 2010
    Posts
    47
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by SupernovaHH View Post
    Lots and Lots of php errors on my end. Ill show you what some are.

    Code:
    Notice: Undefined index: do in C:\wamp\www\includes\news.php on line 13
    
    Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in C:\wamp\www\includes\news.php on line 119
    
    Notice: Undefined index: do in C:\wamp\www\includes\news.php on line 30
    
    Notice: Undefined index: do in C:\wamp\www\includes\news.php on line 35
    
    Notice: Constant SERVER_NAME already defined in C:\wamp\www\includes\config.php on line 4
    
    Notice: Constant REALMNAME already defined in C:\wamp\www\includes\config.php on line 7
    
    Notice: Constant REALMPORT already defined in C:\wamp\www\includes\config.php on line 8
    
    Notice: Constant MAX_NEWSITEMS already defined in C:\wamp\www\includes\config.php on line 9
    
    Notice: Constant LEVELCAP already defined in C:\wamp\www\includes\config.php on line 12
    
    Notice: Constant REALM1 already defined in C:\wamp\www\includes\config.php on line 14
    
    Notice: Constant SQLHOST already defined in C:\wamp\www\includes\config.php on line 17
    
    Notice: Constant SQLUSER already defined in C:\wamp\www\includes\config.php on line 18
    
    Notice: Constant SQLPASS already defined in C:\wamp\www\includes\config.php on line 19
    
    Notice: Constant SQLPORT already defined in C:\wamp\www\includes\config.php on line 20
    
    Notice: Constant LOGONDB already defined in C:\wamp\www\includes\config.php on line 23
    
    Notice: Constant CHARDB already defined in C:\wamp\www\includes\config.php on line 24
    
    Notice: Constant VOTEDB already defined in C:\wamp\www\includes\config.php on line 25
    Use Xampp its better then wamp....

  13. #58
    zedzoli's Avatar Member
    Reputation
    2
    Join Date
    Feb 2008
    Posts
    18
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Or if you enoug skillfull Install the apache & php, and configurate by your hands

    and guys i found the problem with login part and i have fixes for this.
    We need edit 2 place, in the class_lib.php and func_lib.php
    So open first the class_lib.php and go to LINE 89 and change this:
    Code:
    $password = cleanuserinput(sha1($password));
    TO
    Code:
    $password = cleanuserinput($password);
    go to LINE 91 and change this:
    Code:
    $result = mysql_query("SELECT acct FROM accounts WHERE login='".$login."' and encrypted_password='".$password."'");
    TO
    Code:
    $result = mysql_query("SELECT acct FROM accounts WHERE login='".$login."' and password='".$password."'");
    Okay save this, and open the func_lib.php and go to LINE 98 and change this:
    Code:
    $password = cleanuserinput(sha1($password));
    TO
    Code:
    $password = cleanuserinput($password);
    and go to LINE 100 and change this:
    Code:
    $result = mysql_query("SELECT * FROM accounts WHERE login='".$login."' and encrypted_password='".$password."'");
    TO
    Code:
    $result = mysql_query("SELECT * FROM accounts WHERE login='".$login."' and password='".$password."'");
    Save...
    Patch File:Attachment 3744
    And now you can login with your old/fresh maked accounts. Works me perfect, on Apache 2.2.16 with PHP 5.3.3 and IIS7 with PHP 5.2.14 too.
    Last edited by zedzoli; 07-29-2010 at 09:21 AM.

  14. #59
    Builtokill's Avatar Sergeant
    Reputation
    2
    Join Date
    Apr 2010
    Posts
    66
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    looks great! +Rep (your 500th xD)

  15. #60
    daycro's Avatar Sergeant
    Reputation
    1
    Join Date
    Jul 2010
    Posts
    47
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i have question about lines how i can find that line where is Error on line 101 any1 know?

Page 4 of 6 FirstFirst 123456 LastLast

Similar Threads

  1. [Website] CPSP (v1.0) - Customizable Private Server Platform
    By Dombo in forum WoW EMU General Releases
    Replies: 148
    Last Post: 08-15-2010, 11:14 PM
  2. [Tutorial] Private Server Full Customizable Website
    By Airwavez in forum WoW EMU Guides & Tutorials
    Replies: 6
    Last Post: 04-06-2008, 08:31 PM
  3. Replies: 5
    Last Post: 02-22-2008, 01:08 PM
  4. Help on private server website.
    By Hedgehog993 in forum World of Warcraft Emulator Servers
    Replies: 4
    Last Post: 02-21-2008, 08:54 AM
  5. I need someone to make me a website for my private server
    By saagdawg in forum World of Warcraft Emulator Servers
    Replies: 16
    Last Post: 10-01-2007, 04:57 AM
All times are GMT -5. The time now is 03:19 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search