-
4 Attachment(s)
CabalWeb Ep8 by pafa7a Updated to 0.1
Before 5-6 months I start develop a cabal website for Ep8 server, but the project dead cuz I have problems with the designer.So now I release my work and if someone want can finish this web. For now :
Register module - ready
Login module - ready
Vote Reward module - ready
Download module - not ready (easy to create)
Change E-mail module (UCP) - ready
Change Password module (UCP)- ready
Account Info (UCP) - ready
Ranking module (with pages and search function) - ready
Lost Password module - not ready
Here you are some screenshots and hope to help
Credits:
Design by S37uP!Update, Modules and coding by pafa7a
Download link :
CabalWeb - Download - 4shared - Pavel Candev
-------------------------------------------------------------------
Update 0.1 (fixed change password)
functions - Download - 4shared - Pavel Candev
-
Re: CabalWeb Ep8 by pafa7a
Only one word from my opinion: UGLY!
Also can be exploited, and basic codding. You need to add some seriously security at queries and functions too, let me give you an example:
PHP Code:
$test= mssql_query(sprintf("SELECT * from ".DB.".[dbo].[cabal_auth_table] where ID = '%s'",str_replace("'", "''", $username)));
-
Re: CabalWeb Ep8 by pafa7a
:) Nice, u gived the credits at the end :P
GJ
-
Re: CabalWeb Ep8 by pafa7a
Great and hard to have people who can not make and keep talking shit ta beautiful
-
Re: CabalWeb Ep8 by pafa7a
hi why i have this error?
Quote:
Warning: mssql_query() [function.mssql-query]: Unable to connect to server: (null) in D:\Game\MU\Xamp\xampp\htdocs\cabal web\_inc\functions.php on line 42
Warning: mssql_query() [function.mssql-query]: A link to the server could not be established in D:\Game\MU\Xamp\xampp\htdocs\cabal web\_inc\functions.php on line 42
Warning: mssql_num_rows(): supplied argument is not a valid MS SQL-result resource in D:\Game\MU\Xamp\xampp\htdocs\cabal web\_inc\functions.php on line 42
Warning: mssql_query() [function.mssql-query]: Unable to connect to server: (null) in D:\Game\MU\Xamp\xampp\htdocs\cabal web\_inc\functions.php on line 50
Warning: mssql_query() [function.mssql-query]: A link to the server could not be established in D:\Game\MU\Xamp\xampp\htdocs\cabal web\_inc\functions.php on line 50
-
Re: CabalWeb Ep8 by pafa7a
Quote:
Originally Posted by
benng
hi why i have this error?
check your config.php
-
Re: CabalWeb Ep8 by pafa7a
1)at main page this code does not work
Quote:
$host = "192.168.1.100"; //IP of DB machine
$database = "Account"; //DataBase Account (default : Account)
$User = "sa"; //MSSQL UserName
$Pass = "1234"; //MSSQL Password
$connect = mssql_connect($host,$user,$password);
$db = mssql_select_db($database,$connect);
i have to use this to eliminate the 1st error connections
Quote:
$_config['Server'] = "192.168.1.100";
$_config['User'] = "sa";
$_config['Pass'] = "1234";
$_config['DB'] = "Account";
2) after i use my code when i come to login page i encounter the mention error.
does it means that if when i have sql 2005 upgraded to sql 2008 have conflicts?
but my server game works fine, only the webpage have problem logins.
-
Re: CabalWeb Ep8 by pafa7a
Its possible to make confict from your upgrade from 2k5 to 2k8 - This web works on 2k8 without problems.
Try to use 127.0.0.1 not 192.168.1.100
Check your MSSQL name ('sa' or 'MSSQL-HOSTPC' fo example)
-
Re: CabalWeb Ep8 by pafa7a
awesome work but i have this error
Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server: ********* in C:\xampp\htdocs\config.php on line 6
Warning: mssql_select_db(): supplied argument is not a valid MS SQL-Link resource in C:\xampp\htdocs\config.php on line 7
any help?
-
Re: CabalWeb Ep8 by pafa7a
i cant see the topmenu why??
-
Re: CabalWeb Ep8 by pafa7a
Quote:
Originally Posted by
karmina
i cant see the topmenu why??
Look at the source code, the path and folder name in the directory not same. Try name it
-
Re: CabalWeb Ep8 by pafa7a
Ахх тва как мяза на Драке уеб-а :d иначе бива ще го тествам някой ден ;]
-
Re: CabalWeb Ep8 by pafa7a
is this secured? or injectable?
-
Re: CabalWeb Ep8 by pafa7a
@y0cata: please add an English translation to your post.
-
Re: CabalWeb Ep8 by pafa7a
Quote:
Originally Posted by
y0cata
Ахх тва как мяза на Драке уеб-а :d иначе бива ще го тествам някой ден ;]
EN : Ahh that looks like Drake web :d its cool, I will test it some day ;]
-
Re: CabalWeb Ep8 by pafa7a
some1 can share the download module?
-
1 Attachment(s)
Re: CabalWeb Ep8 by pafa7a
http://forum.ragezone.com/attachment...redit-jpeg.jpg
ArenaKnights Cabal
Forgotten-Cabal Official WebSite
At lest you leave the credit for the design.
Cabal Orizon by Orizon Games Network
Nice things:
- Adding a backlink regardless of where you advertise.
- Its a mature thing to add proper credits even if they are not mentioned/demanded, add them manually, the original author of the work that is, lulz.
- Giving something back in return and helping to contribute by making the Cabal more active, friendly and nice,.. :thumbup:
-
Re: CabalWeb Ep8 by pafa7a
Quote:
Originally Posted by
toast2250
Exactly thats why i do not want to release more ... . Some members over here don't know what works means, don't know how to respect the people that released something.
PS: For guys that changes the credits: Do you think that changing the right credits and putting your name over there it makes you smarter, a good codder, or something? No it doesn't, its just showing you how despicable you can be.
-
Re: CabalWeb Ep8 by pafa7a
-
Re: CabalWeb Ep8 by pafa7a
Quote:
Originally Posted by
asero1933
is this files leak?
nop there are mine
-
Re: CabalWeb Ep8 by pafa7a
@pafa7a
In case if you haven't noticed, people are downloading your work and changing the credits at the bottom.
If they contacted you or you know them and allow them to change the credits at the bottom then just say so, I just posted my opinion and a observation since many are using what by the design appears to be this released web site.
@allocen
Trying to punish the majority of people by teasing and not releasing stuff is not the way to go either.
Changing the credits is nothing new and because of that no one will go hang himself and life goes on regardless.
-
Re: CabalWeb Ep8 by pafa7a
Quote:
Originally Posted by
toast2250
@pafa7a
In case if you haven't noticed, people are downloading your work and changing the credits at the bottom.
If they contacted you or you know them and allow them to change the credits at the bottom then just say so, I just posted my opinion and a observation since many are using what by the design appears to be this released web site.
@allocen
Trying to punish the majority of people by teasing and not releasing stuff is not the way to go either.
Changing the credits is nothing new and because of that no one will go hang himself and life goes on regardless.
I dont care. I create webs and release them to be used by people. The important part is to see that some1 use my work ;) (not to see : 'created by pafa7a')
Edit : noone contacted with me for this web
-
Re: CabalWeb Ep8 by pafa7a
That's why nothing comes up with a source.
-
Re: CabalWeb Ep8 by pafa7a
If you are going to talk about credits, you end up at Microsoft ...
So please don't go off-topic.
-
Re: CabalWeb Ep8 by pafa7a
Quote:
Originally Posted by
b0byx
If you are going to talk about credits, you end up at Microsoft ...
So please don't go off-topic.
been there, done that
-
Re: CabalWeb Ep8 by pafa7a
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, viteck22@hotmail.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Help
-
Re: CabalWeb Ep8 by pafa7a
You may have said you don't care about about credit's, and you like to see people use your work, THAT makes me want to keep them, im going to use this and keep your credits ^^
-
Re: CabalWeb Ep8 by pafa7a
Quote:
Originally Posted by
buzz2289
You may have said you don't care about about credit's, and you like to see people use your work, THAT makes me want to keep them, im going to use this and keep your credits ^^
And if he would not have said that means you would have changed the credits isnt? Wtf, keeping credits for something means you RESPECT that work ...
-
Re: CabalWeb Ep8 by pafa7a
Quote:
Originally Posted by
allocen
And if he would not have said that means you would have changed the credits isnt? Wtf, keeping credits for something means you RESPECT that work ...
Did you even read that? and no keeping credits means you respect the PERSON not necessarily the work, i will not eve download anything that says "do not remove my credits", because to me that is an ORDER, i don't take orders, i will however, leave credits even if people ASK example "Please don't remove my credits"
Keep in mind respect is earned not given, demands don't earn it.
"ALL RIGHT RESERVED CASTLEVANIA.RO
Design by S37uP!Update, Modules and coding by pafa7a"
His credits are still on my site, because he EARNED my respect...
-
Re: CabalWeb Ep8 by pafa7a
amm if u like my way of coding and creating webs I suggest you to give me or show me a design and I will build faster web like this one + ajax and maybe other modules (if some1 told me about them xD ). Send designs on PM
PS: sry for bad eng
-
Re: CabalWeb Ep8 by pafa7a
Quote:
Originally Posted by
pafa7a
amm if u like my way of coding and creating webs I suggest you to give me or show me a design and I will build faster web like this one + ajax and maybe other modules (if some1 told me about them xD ). Send designs on PM
PS: sry for bad eng
ur inbox is full. :wink:
-
Re: CabalWeb Ep8 by pafa7a
Quote:
Originally Posted by
pafa7a
amm if u like my way of coding and creating webs I suggest you to give me or show me a design and I will build faster web like this one + ajax and maybe other modules (if some1 told me about them xD ). Send designs on PM
PS: sry for bad eng
Your userpanel module has a little problem on changing password. When you click the CHANGE button without contents in the boxfield for a new password, the existing password will be changed to something and you can't logged-in anymore. Much better if you can add a script to solve this matter.
-
Re: CabalWeb Ep8 by pafa7a
Fatal error: Call to undefined function modules() in C:\xampp\htdocs\zapapa\index.php on line 111.
-
Re: CabalWeb Ep8 by pafa7a
Quote:
Originally Posted by
jaguar666
Your userpanel module has a little problem on changing password. When you click the CHANGE button without contents in the boxfield for a new password, the existing password will be changed to something and you can't logged-in anymore. Much better if you can add a script to solve this matter.
First post updated - added that fix (not tested so please test and write)
Quote:
Originally Posted by
jcdgreatest
Fatal error: Call to undefined function modules() in C:\xampp\htdocs\zapapa\index.php on line 111.
Make sure that u include "_inc/modules.php" in index.php
-
Re: CabalWeb Ep8 by pafa7a
-
Re: CabalWeb Ep8 by pafa7a
Quote:
Originally Posted by
pafa7a
First post updated - added that fix (not tested so please test and write)
Make sure that u include "_inc/modules.php" in index.php
it is already included on index.php
i also have this problem "Module $op not found !"); } } } ?>"
-
Re: CabalWeb Ep8 by pafa7a
Quote:
Originally Posted by
jcdgreatest
it is already included on index.php
i also have this problem "Module $op not found !"); } } } ?>"
so change the version of your xampp (I reccomend 1.7.1 )
-
Re: CabalWeb Ep8 by pafa7a
Thanks i'll change may xampp...(i don't see "like" button...i'll like it later)
-
Re: CabalWeb Ep8 by pafa7a
Quote:
Warning: mssql_query() [function.mssql-query]: message: Procedure or function cabal_tool_registerAccount has too many arguments specified. (severity 16) in C:\xampp\htdocs\_inc\functions.php on line 50
Warning: mssql_query() [function.mssql-query]: Query failed in C:\xampp\htdocs\_inc\functions.php on line 50
registry problem.
thanks! :wink:
-
Re: CabalWeb Ep8 by pafa7a
Quote:
Originally Posted by
4pLay
registry problem.
thanks! :wink:
Use this for stored procedure
Code:
USE [Account]
GO
/****** Object: StoredProcedure [dbo].[cabal_tool_registerAccount] Script Date: 10/03/2013 16:47:31 ******/
SET ANSI_NULLS OFF
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER PROCEDURE [dbo].[cabal_tool_registerAccount] (@id varchar(32), @password varchar(32))
AS
begin tran
declare @UserNum as int
insert into cabal_auth_table( ID, Password, Login, AuthType, IdentityNo )
values(@id, pwdencrypt(@password), '0', 1, '7700000000000' )
set @UserNum = @@identity
insert into cabal_charge_auth(usernum, type, expiredate, payminutes)
values(@UserNum, 0, DATEADD(day, 1000, getdate()), 0)
select @UserNum as usernum
commit
-
Re: CabalWeb Ep8 by pafa7a
Quote:
Originally Posted by
pafa7a
Use this for stored procedure
Code:
USE [Account]
GO
/****** Object: StoredProcedure [dbo].[cabal_tool_registerAccount] Script Date: 10/03/2013 16:47:31 ******/
SET ANSI_NULLS OFF
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER PROCEDURE [dbo].[cabal_tool_registerAccount] (@id varchar(32), @password varchar(32))
AS
begin tran
declare @UserNum as int
insert into cabal_auth_table( ID, Password, Login, AuthType, IdentityNo )
values(@id, pwdencrypt(@password), '0', 1, '7700000000000' )
set @UserNum = @@identity
insert into cabal_charge_auth(usernum, type, expiredate, payminutes)
values(@UserNum, 0, DATEADD(day, 1000, getdate()), 0)
select @UserNum as usernum
commit
sorry man! still the problem persists.
and one more thing about ranking.
Quote:
Warning: mssql_query() [function.mssql-query]: message: Invalid column name 'Resets'. (severity 16) in C:\xampp\htdocs\modules\rankings.php on line 45
Warning: mssql_query() [function.mssql-query]: message: Invalid column name 'Resets'. (severity 16) in C:\xampp\htdocs\modules\rankings.php on line 45
Warning: mssql_query() [function.mssql-query]: Query failed in C:\xampp\htdocs\modules\rankings.php on line 45
Warning: mssql_num_rows(): supplied argument is not a valid MS SQL-result resource in
-
Re: CabalWeb Ep8 by pafa7a
Just create Resets column in cabal_character_table
-
Re: CabalWeb Ep8 by pafa7a
Quote:
Originally Posted by
S37uP!Update
Just create Resets column in cabal_character_table
thanks! gonna try that! :wink:
p.s. whats the data type? sorry forgot to ask i was about to try it just now.
-
Re: CabalWeb Ep8 by pafa7a
Quote:
Originally Posted by
4pLay
thanks! gonna try that! :wink:
p.s. whats the data type? sorry forgot to ask i was about to try it just now.
'int' and dont allow NULLS
-
Re: CabalWeb Ep8 by pafa7a
Quote:
Originally Posted by
pafa7a
'int' and dont allow NULLS
Thanks!
will you be having any updates anytime soon? or its just as it is for now?
-
Re: CabalWeb Ep8 by pafa7a
Quote:
Originally Posted by
4pLay
Thanks!
will you be having any updates anytime soon? or its just as it is for now?
After 2-3 days I will release my new project on cabal web including votereward,ajax pages,new security and more
-
Re: CabalWeb Ep8 by pafa7a
Quote:
Originally Posted by
pafa7a
After 2-3 days I will release my new project on cabal web including votereward,ajax pages,new security and more
looking forward to it! well, just for your information i just dev. here for fun not for my pocket. when i say fun, i just set up a server and just play with it with my loved ones. :wink:
i saw toasts post, i can see that alot have used your files and gained just for themselves and thats not a good thing.
well, good luck with the succeeding projects & you got my respect! :thumbup1:
-
Re: CabalWeb Ep8 by pafa7a
hi i got this error on the rankings page and cant fix it because i dont see the mistake in the code
Code:
Notice: Undefined variable: firstpage in C:\xampp\htdocs\modules\rankings.php on line 100
Notice: Undefined variable: prevpage in C:\xampp\htdocs\modules\rankings.php on line 101
Notice: Undefined variable: nextpage in C:\xampp\htdocs\modules\rankings.php on line 113
Notice: Undefined variable: lastpage in C:\xampp\htdocs\modules\rankings.php on line 118
maybe someone of u can help me with this xD
-
Re: CabalWeb Ep8 by pafa7a
Quote:
Originally Posted by
S37uP!Update
Just create Resets column in cabal_character_table
i also encounter same issue like @4play
this cabal_character_table have to be in Account or in Server01?
I found it in Server01. not residing in Account.
-
Re: CabalWeb Ep8 by pafa7a
Quote:
Originally Posted by
benng
i also encounter same issue like @4play
this cabal_character_table have to be in Account or in Server01?
I found it in Server01. not residing in Account.
Ofc cabal_character_table should be on server01... ACCOUNT db = ALL ACCOUNTS,etc
-
1 Attachment(s)
Re: CabalWeb Ep8 by pafa7a
Quote:
Originally Posted by
blade99
Ofc cabal_character_table should be on server01... ACCOUNT db = ALL ACCOUNTS,etc
Attachment 140951
i can login on web only when i create an account using bega Admin Tool.
But if i create an account from the web, the account could not login & show me
the error
-
Re: CabalWeb Ep8 by pafa7a
Quote:
Originally Posted by
benng
Attachment 140951
i can login on web only when i create an account using bega Admin Tool.
But if i create an account from the web, the account could not login & show me
the error
check the error line in functions.php as you can see its a cabal_tool_Register_account issue, line 50 is
mssql_query("Execute Account.dbo.cabal_tool_registerAccount '$username','$password','$email','$question','$answer'");
check your dbo.cabal_tool_registerAccount in programmability>stored procedures check if you have all these lines '$username','$password','$email','$question','$answer'" if something is missing add it
-
Re: CabalWeb Ep8 by pafa7a
Quote:
Originally Posted by
blade99
check the error line in functions.php as you can see its a cabal_tool_Register_account issue check the line in functions.php and paste it here
u mean this?
if($error != 'Yes'){
mssql_query("Execute Account.dbo.cabal_tool_registerAccount '$username','$password','$email','$question','$answer'");
echo "<font color='green'><b><center>Account $username is registered successfuly.</b></center></font><br>";
-
Re: CabalWeb Ep8 by pafa7a
Quote:
Originally Posted by
benng
u mean this?
if($error != 'Yes'){
mssql_query("Execute Account.dbo.cabal_tool_registerAccount '$username','$password','$email','$question','$answer'");
echo "<font color='green'><b><center>Account $username is registered successfuly.</b></center></font><br>";
cabal_tool_Register_account check your stored procedure
-
Re: CabalWeb Ep8 by pafa7a
Quote:
Originally Posted by
blade99
cabal_tool_Register_account check your stored procedure
Ok is missing question & answer. So what data type should i put is as?
Tried! it does not work still having the same error
-
Re: CabalWeb Ep8 by pafa7a
Error is Self-Explanatory, Google is your friend.
-
Re: CabalWeb Ep8 by pafa7a
Quote:
Originally Posted by
b0byx
Error is Self-Explanatory, Google is your friend.
thanks for that comment. If i would post here means i already google search & try diff methods
but still in vain. Else i wouldnt even waste my effort to put a post.
-
Re: CabalWeb Ep8 by pafa7a
Try with this one :
Code:
USE [Account]
GO
/****** Object: StoredProcedure [dbo].[cabal_tool_registerAccount] Script Date: 11/24/2013 05:35:23 ******/
SET ANSI_NULLS OFF
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER PROCEDURE [dbo].[cabal_tool_registerAccount] (@id varchar(32), @password varchar(32), @email varchar(32), @question varchar(32), @answer varchar(32))
AS
begin tran
declare @UserNum as int
INSERT INTO cabal_auth_table( ID, Password, Login, AuthType, IdentityNo, Email, Question, Answer )
values(@id, pwdencrypt(@password), '0', 1, '7700000000000', @email, @question, @answer)
set @UserNum = @@identity
INSERT INTO cabal_charge_auth(usernum, type, expiredate, payminutes)
values(@UserNum, 0, DATEADD(day, 1000, getdate()), 0)
INSERT INTO [CabalCash].[dbo].[CashAccount] ([ID], [UserNum], [Cash], [CashBonus])
VALUES (@id, @UserNum, '0', '0')
select @UserNum as usernum
commit
-
Re: CabalWeb Ep8 by pafa7a
Quote:
Originally Posted by
pafa7a
Try with this one :
Code:
USE [Account]
GO
/****** Object: StoredProcedure [dbo].[cabal_tool_registerAccount] Script Date: 11/24/2013 05:35:23 ******/
SET ANSI_NULLS OFF
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER PROCEDURE [dbo].[cabal_tool_registerAccount] (@id varchar(32), @password varchar(32), @email varchar(32), @question varchar(32), @answer varchar(32))
AS
begin tran
declare @UserNum as int
INSERT INTO cabal_auth_table( ID, Password, Login, AuthType, IdentityNo, Email, Question, Answer )
values(@id, pwdencrypt(@password), '0', 1, '7700000000000', @email, @question, @answer)
set @UserNum = @@identity
INSERT INTO cabal_charge_auth(usernum, type, expiredate, payminutes)
values(@UserNum, 0, DATEADD(day, 1000, getdate()), 0)
INSERT INTO [CabalCash].[dbo].[CashAccount] ([ID], [UserNum], [Cash], [CashBonus])
VALUES (@id, @UserNum, '0', '0')
select @UserNum as usernum
commit
yes it works!! thanks alot.
-
Re: CabalWeb Ep8 by pafa7a
Very nice site. Short and simple.
Thanks
Found an error in your functions.php:
function register(){
$username=clean_var($_POST[username]);
$password=clean_var($_POST[password]);
$email=$_POST[email]; //Works good
$question=$_POST[question]; //Works good
$answer=$_POST[answer]; //Works good
Old vars: $email=clean_var($_POST[email]); - removed spaces and special characters, exp @ sign
Old vars: $question=clean_var($_POST[question]); - did not display the question. Could have been from my sql settings
Old vars: $answer=clean_var($_POST[answer]); - removed spaces
-
Re: CabalWeb Ep8 by pafa7a
Can you share fully working website ?
I mean witch already have Character managment, Donate system and other things what are missing ? :P
-
Re: CabalWeb Ep8 by pafa7a
Quote:
Originally Posted by
sapeone123
Can you share fully working website ?
I mean witch already have Character managment, Donate system and other things what are missing ? :P
Soon I will release version 2 of this web (a lot of improvements)
-
Re: CabalWeb Ep8 by pafa7a
okey.. thanks pafa7a, btw do you still need some designer ?
-
Re: CabalWeb Ep8 by pafa7a
Quote:
Originally Posted by
sapeone123
okey.. thanks pafa7a, btw do you still need some designer ?
write in pm if you have
-
Re: CabalWeb Ep8 by pafa7a
-
Re: CabalWeb Ep8 by pafa7a
-
Re: CabalWeb Ep8 by pafa7a
someone using this site? link me :)
-
Re: CabalWeb Ep8 by pafa7a
Notice: A session had already been started - ignoring session_start() in C:\xampp\htdocs\index.php on line 2
Fatal error: Call to undefined function mssql_connect() in C:\xampp\htdocs\config.php on line 6
help-me plis
-
Re: CabalWeb Ep8 by pafa7a
Quote:
Originally Posted by
CabalVendetta
Notice: A session had already been started - ignoring session_start() in C:\xampp\htdocs\index.php on line 2
Fatal error: Call to undefined function mssql_connect() in C:\xampp\htdocs\config.php on line 6
help-me plis
enable MSSQL from your php.ini
-
Re: CabalWeb Ep8 by pafa7a
Quote:
Originally Posted by
pafa7a
enable MSSQL from your php.ini
Hello I already and I enabled the error persists already tried tudoe so far not managed to
when I remove this line $ connect = mssql_connect ($ host, $ user, $ password);
$ db = mssql_select_db ($ database, $ connect); works and this error
Notice: A session had already been started - ignoring session_start () in C: \ xampp \ htdocs \ web \ index.php on line 2
$ Op Module not found! ");}}}>?
Notice: Use of undefined constant login - assumed 'login' in C: \ xampp \ htdocs \ web \ _inc \ functions.php on line 3
Notice: Use of undefined constant logout - assumed 'logout' in C: \ xampp \ htdocs \ web \ _inc \ functions.php on line 27
-
Re: CabalWeb Ep8 by pafa7a
Quote:
Originally Posted by
CabalVendetta
Hello I already and I enabled the error persists already tried tudoe so far not managed to
when I remove this line $ connect = mssql_connect ($ host, $ user, $ password);
$ db = mssql_select_db ($ database, $ connect); works and this error
Notice: A session had already been started - ignoring session_start () in C: \ xampp \ htdocs \ web \ index.php on line 2
$ Op Module not found! ");}}}>?
Notice: Use of undefined constant login - assumed 'login' in C: \ xampp \ htdocs \ web \ _inc \ functions.php on line 3
Notice: Use of undefined constant logout - assumed 'logout' in C: \ xampp \ htdocs \ web \ _inc \ functions.php on line 27
what version of xampp you use ?
-
Re: CabalWeb Ep8 by pafa7a
now I have this error
session_start (); header ("Cache-control: private"); include ("config.php"); include ("_ inc / modules.php"); include ("_ inc / secure_login.php"); include ("_ inc / secure.php"); include ("_ inc / functions.php"); check_inject (); login (); include ('_ inc / alert.php'); $ queryString = strtolower ($ _ SERVER ['QUERY_STRING']); if (strstr ($ queryString, "<") OR strstr ($ queryString, ">") OR strstr ($ queryString, "(") OR strstr ($ queryString, ")") OR strstr ($ queryString, ".. ") OR strstr ($ queryString,"% ") OR strstr ($ queryString," * ") OR strstr ($ queryString," + ") OR strstr ($ queryString,"! ") OR strstr ($ queryString," @ ")) {$ loc = $ _SERVER ['PHP_SELF']; $ ip = $ _SERVER ['REMOTE_ADDR']; date = $ date ("m-Y-d @ h: i: s"); lfh $ = "log_attacks.pafa7a"; $ log = fopen ($ lfh, "a +"); fputs ($ log, "Attack Date: $ date | Attacker IP: $ ip | QueryString: $ loc = $ queryString \ r \ n"); fclose ($ log); }?>
I'm using xampp versao3.2.1
-
Re: CabalWeb Ep8 by pafa7a
@pafa7a got a problem
Fatal error: Call to undefined function modules() in C:\xampp\htdocs\Cabal Web\index.php on line111
-
Re: CabalWeb Ep8 by pafa7a
-
Re: CabalWeb Ep8 by pafa7a
hello I have a very annoying error
Warning: mssql_select_db() [function.mssql-select-db]: Unable to select database: in C:\xampp\htdocs\config.php on line 7
Module $op not found !"); } } } ?>
Fatal error: Call to undefined function modules() in C:\xampp\htdocs\index.php on line 111
what should I do to fix this error?
-
Re: CabalWeb Ep8 by pafa7a
Quote:
Originally Posted by
CabalVendetta
Fatal error: Call to undefined function modules() in C:\xampp\htdocs\index.php on line 111
what should I do to fix this error?
Same Problem
-
Re: CabalWeb Ep8 by pafa7a
Quote:
Originally Posted by
Myster Dev
Same Problem
Because this web is old and was created before releasing new PHP 5 and above. After PHP 5 mssql_ functions are removed and u must use PDO or other method to communicate with DB.
If you want to use it use PHP 4 or lower
-
Re: CabalWeb Ep8 by pafa7a
-
Re: CabalWeb Ep8 by pafa7a
File: ../modules/rankings.php
Find line 45 and edit query, remove from it column called "resets" because ur database doesn't support resets.
Or just add in database column resets and set it null.
-
Re: CabalWeb Ep8 by pafa7a
i can login, but the problem i cant use all function it said " Module not found!"
-
Re: CabalWeb Ep8 by pafa7a
-
Re: CabalWeb Ep8 by pafa7a
kindly include the database please.
Thanks
-
-