-
iGunZ/Xenon website coded
Heres the website coded as promised.
All credits for the coding go to jur13n.
Also some of my paypal/mollie/paymentwall scripts in it i guess.
I left everything as it was.
Some stuff might be outdated since its from begin april, couldnt find a recent version.
Have fun.
http://www.mediafire.com/?wv8wb3d9ggiw75j
-
Re: iGunZ/Xenon website coded
you are missing allot of tables, I am making them, But I am still missing 2 of them.
edit ---
igunz.sql
all the tables are in there.
DON'T USE WEBSITESQL WICH IS INCLUDED.
Use this one.
use this ntwdblib into the php6 folder:
ntwdblib.dll
small tut:
php.ini:
search for mssql and remove the ; at the begin of the line
ntwdblib:
download the ntwdblib in this post and put it into the php6 folder
database:
run the igunz.sql
apache:
restart apache.
-
Re: iGunZ/Xenon website coded
Fatal error: Call to undefined function mssql_connect() in C:\AppServ\www\iGunz\include\config.php on line 13
i keep getting that error, i have changed that dll and remove the ";" in the php.ini. Any help??
Thanks
-
Re: iGunZ/Xenon website coded
Quote:
Originally Posted by
Duluxe
Fatal error: Call to undefined function mssql_connect() in C:\AppServ\www\iGunz\include\config.php on line 13
i keep getting that error, i have changed that dll and remove the ";" in the php.ini. Any help??
Thanks
Use a web server with php6 + use this ntwdblib:
ntwdblib.dll
-
Re: iGunZ/Xenon website coded
You could at least give me credits for the PayPal and Mollie integration since those actually required knowledge...
-
Re: iGunZ/Xenon website coded
Quote:
Originally Posted by
Wizkidje
You could at least give me credits for the PayPal and Mollie integration since those actually required knowledge...
This was in the api's:
Code:
/*
Author: Wizkid
Contact: wizkid@legendgamers.org
This file is part of the GunZ Shop V1.0
All trademarks, copyrights, etc. belong to their respective owners.
This project does NOT contain any code that doesn"t belong to the author.
This script is NOT freeware. You may NOT redistribute and/or sell it.
Editing is allowed as long as the copyright stays intact. (Footer function, etc.)
*/
what about this sharing/redistribute?
oh and what about the gateway in include, is it needed?
atleast it doesn't get called by any instance,
and for last.
why is the return from paypal, not adding anything to the db?
email was set and nothing else has been changed.
-
Re: iGunZ/Xenon website coded
Epic amount of errors, I'll stick with mine ;o
-
Re: iGunZ/Xenon website coded
Quote:
Originally Posted by
WizCoder
Epic amount of errors, I'll stick with mine ;o
You know that your release is vulnerable to SQL injection right? mysql_real_escape_string only works if there's an active MySQL connection.
-
Re: iGunZ/Xenon website coded
Quote:
Originally Posted by
WizCoder
Epic amount of errors, I'll stick with mine ;o
Never said it was coded correctly, to me there are only 2 decent web coders in the GunZ section which would be Vusion and Superwaffle.
Besides that i dont expect to much from the rest.
-
Re: iGunZ/Xenon website coded
Quote:
Originally Posted by
jur13n
Use a web server with php6 + use this ntwdblib:
ntwdblib.dll
Fatal error: Call to undefined function mssql_connect() in C:\xampp\htdocs\include\config.php on line 13
-
Re: iGunZ/Xenon website coded
Quote:
Originally Posted by
Ryukrey
Fatal error: Call to undefined function mssql_connect() in C:\xampp\htdocs\include\config.php on line 13
Check which php.ini is loaded by putting phpinfo(); on top of any page.
Then edit the php.ini file and uncomment the php_mssql.dll extension -> restart Apache.
-
Re: iGunZ/Xenon website coded
C:\xampp\php\ext\php_mssql.dll - Not found..
i've try to download a php_mssql.dll and i've restart but same problem it say not found.. maybe not the right dll?
Solved, Downloading xampp 1.7.3
-
Re: iGunZ/Xenon website coded
Quote:
Originally Posted by
SuperWaffle
Check which php.ini is loaded by putting phpinfo(); on top of any page.
Then edit the php.ini file and uncomment the php_mssql.dll extension -> restart Apache.
I have done this and restarted Apache and MySQL but i still get this same error:
Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server: BECKY-PC in C:\xampp\htdocs\include\config.php on line 13
Failed to connect to the database!
I also changed the dll file but which web server shall i use coz mine is php5 not php6?
Whats the best 1
-
Re: iGunZ/Xenon website coded
Akunji, Some files of your Payment script like template_paypal.php, template_mollie.php not into your web
can u give my the files :)
thx you :)
-
Re: iGunZ/Xenon website coded
Quote:
Originally Posted by
SuperWaffle
Check which php.ini is loaded by putting phpinfo(); on top of any page.
Then edit the php.ini file and uncomment the php_mssql.dll extension -> restart Apache.
most of the time in the program list of windows, any web server provides a shortcut to their php.ini to edit it.
example:
windows key/all programs/appserv/Configuration server/ edit php.ini shortcut .., xamp and wamp have it too.
Quote:
Originally Posted by
Duluxe
I have done this and restarted Apache and MySQL but i still get this same error:
Fatal error: Call to undefined function mssql_connect() in C:\AppServ\www\iGunz\include\config.php on line 13
I also changed the dll file but which web server shall i use coz mine is php5 not php6?
Whats the best 1
gunz uses no MySQL -.- it uses mssql, and restarting the management studio isn't restarting mssql.
and yes as I said, use php6. otherwise I wouldn't say it right?
Quote:
Originally Posted by
Tankado
Akunji, Some files of your Payment script like template_paypal.php, template_mollie.php not into your web
can u give my the files :)
thx you :)
they are in there..
Quote:
Originally Posted by
Duluxe
I have done this and restarted Apache and MySQL but i still get this same error:
Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server: BECKY-PC in C:\xampp\htdocs\include\config.php on line 13
Failed to connect to the database!
I also changed the dll file but which web server shall i use coz mine is php5 not php6?
Whats the best 1
use "BECKY-PC\SQLEXPRESS" as server.
and yes use php6.
-
Re: iGunZ/Xenon website coded
Jurien it's not in the files -.- (template_paypal.php, template_mollie.php)
if you open: template_donate.php
and look on the line 44 & 55 (index.php?page=mollie&amount=2.5)
its not into template/template_mollie.php
jurien it's isn't
(template_paypal.php, template_mollie.php)
Dutch: Ik ben echt niet blind -.-
-
Re: iGunZ/Xenon website coded
how to fix?
Fatal error: Call to undefined function setmsg() in C:\AppServ\www\i\include\class_sqlfunctions.php on line 296
-
Re: iGunZ/Xenon website coded
Quote:
Originally Posted by
Tankado
Akunji, Some files of your Payment script like template_paypal.php, template_mollie.php not into your web
can u give my the files :)
thx you :)
I removed them because i was not supposed to release the payment scripts.
-
Re: iGunZ/Xenon website coded
Quote:
Originally Posted by
spaike23
how to fix?
Fatal error: Call to undefined function setmsg() in C:\AppServ\www\i\include\class_sqlfunctions.php on line 296
Same problem..
and why for example news and announcements not appear? why the contacts not appear ? and there are enabled.. on sql i write some announcements and news but nothing..
this not a good way, coding with the feet..
-
Re: iGunZ/Xenon website coded
Quote:
Originally Posted by
Ryukrey
Same problem..
and why for example news and announcements not appear? why the contacts not appear ? and there are enabled.. on sql i write some announcements and news but nothing..
this not a good way, coding with the feet..
what about the sql I posted and even try to get one in there?
it does work, ask Tim, otherwise YOU are doing something wrong.
Quote:
Originally Posted by
spaike23
how to fix?
Fatal error: Call to undefined function setmsg() in C:\AppServ\www\i\include\class_sqlfunctions.php on line 296
line 296?
post it..
open sqlfunctions
ctrl+g > 296
copy the whole line.
-
Re: iGunZ/Xenon website coded
[QUOTE=jur13n;7106367]what about the sql I posted and even try to get one in there?
it does work, ask Tim, otherwise YOU are doing something wrong.
[QUOTE]
I understand english and i have already execute the igunz.sql how you said.
-
Re: iGunZ/Xenon website coded
Akunji, ok :)
Good website clean coded :D, i like give coins script :P
-
Re: iGunZ/Xenon website coded
Website still has issues though regardless of what people say.
All those issues people keep complaining about can be fixed simply. Follow the instructions that we're given, Execute the SQL and the tables should appear. If not make them by you're self, very easy && If you're uncap able of doing so just message me on hotmail -> Msn and i'll do it for you.
-
Re: iGunZ/Xenon website coded
Quote:
Originally Posted by
jur13n
what about the sql I posted and even try to get one in there?
it does work, ask Tim, otherwise YOU are doing something wrong.
line 296?
post it..
open sqlfunctions
ctrl+g > 296
copy the whole line.
sqlfunctions line 296 setmsg("This account does not exist!");
-
Re: iGunZ/Xenon website coded
Quote:
Originally Posted by
spaike23
sqlfunctions line 296 setmsg("This account does not exist!");
ctrl + h
find: setmsg("
replace with: alert("
do it in the whole file.
fixed.
-
Re: iGunZ/Xenon website coded
Donate Coins:
Warning: mssql_query() [function.mssql-query]: message: Invalid column name 'Coins'. (severity 16) in C:\AppServ\www\i\include\class_sqlfunctions.php on line 36
Warning: mssql_query() [function.mssql-query]: Query failed in C:\AppServ\www\i\include\class_sqlfunctions.php on line 36
Warning: mssql_num_rows(): supplied argument is not a valid MS SQL-result resource in C:\AppServ\www\i\include\class_sqlfunctions.php on line 37
Event Coins:
Warning: mssql_query() [function.mssql-query]: message: Invalid column name 'eCoins'. (severity 16) in C:\AppServ\www\i\include\class_sqlfunctions.php on line 36
Warning: mssql_query() [function.mssql-query]: Query failed in C:\AppServ\www\i\include\class_sqlfunctions.php on line 36
Warning: mssql_num_rows(): supplied argument is not a valid MS SQL-result resource in C:\AppServ\www\i\include\class_sqlfunctions.php on line 37
Premium Coins:
Warning: mssql_query() [function.mssql-query]: message: Invalid column name 'pCoins'. (severity 16) in C:\AppServ\www\i\include\class_sqlfunctions.php on line 36
Warning: mssql_query() [function.mssql-query]: Query failed in C:\AppServ\www\i\include\class_sqlfunctions.php on line 36
Warning: mssql_num_rows(): supplied argument is not a valid MS SQL-result resource in C:\AppServ\www\i\include\class_sqlfunctions.php on line 37
-
Re: iGunZ/Xenon website coded
Quote:
Originally Posted by
spaike23
sure
now I got the following error
Donate Coins:
Warning: mssql_query() [function.mssql-query]: message: Invalid column name 'Coins'. (severity 16) in C:\AppServ\www\i\include\class_sqlfunctions.php on line 36
Warning: mssql_query() [function.mssql-query]: Query failed in C:\AppServ\www\i\include\class_sqlfunctions.php on line 36
Warning: mssql_num_rows(): supplied argument is not a valid MS SQL-result resource in C:\AppServ\www\i\include\class_sqlfunctions.php on line 37
Event Coins:
Warning: mssql_query() [function.mssql-query]: message: Invalid column name 'eCoins'. (severity 16) in C:\AppServ\www\i\include\class_sqlfunctions.php on line 36
Warning: mssql_query() [function.mssql-query]: Query failed in C:\AppServ\www\i\include\class_sqlfunctions.php on line 36
Warning: mssql_num_rows(): supplied argument is not a valid MS SQL-result resource in C:\AppServ\www\i\include\class_sqlfunctions.php on line 37
Premium Coins:
Warning: mssql_query() [function.mssql-query]: message: Invalid column name 'pCoins'. (severity 16) in C:\AppServ\www\i\include\class_sqlfunctions.php on line 36
Warning: mssql_query() [function.mssql-query]: Query failed in C:\AppServ\www\i\include\class_sqlfunctions.php on line 36
Warning: mssql_num_rows(): supplied argument is not a valid MS SQL-result resource in C:\AppServ\www\i\include\class_sqlfunctions.php on line 37
Create the columns, that's what the error says, the columns are invalid so they don't exist (Type should be int).
-
Re: iGunZ/Xenon website coded
people stop with post error lines :P, Its work good if you know how to use it :)
-
Re: iGunZ/Xenon website coded
Quote:
Originally Posted by
spaike23
Donate Coins:
Warning: mssql_query() [function.mssql-query]: message: Invalid column name 'Coins'. (severity 16) in C:\AppServ\www\i\include\class_sqlfunctions.php on line 36
Warning: mssql_query() [function.mssql-query]: Query failed in C:\AppServ\www\i\include\class_sqlfunctions.php on line 36
Warning: mssql_num_rows(): supplied argument is not a valid MS SQL-result resource in C:\AppServ\www\i\include\class_sqlfunctions.php on line 37
Event Coins:
Warning: mssql_query() [function.mssql-query]: message: Invalid column name 'eCoins'. (severity 16) in C:\AppServ\www\i\include\class_sqlfunctions.php on line 36
Warning: mssql_query() [function.mssql-query]: Query failed in C:\AppServ\www\i\include\class_sqlfunctions.php on line 36
Warning: mssql_num_rows(): supplied argument is not a valid MS SQL-result resource in C:\AppServ\www\i\include\class_sqlfunctions.php on line 37
Premium Coins:
Warning: mssql_query() [function.mssql-query]: message: Invalid column name 'pCoins'. (severity 16) in C:\AppServ\www\i\include\class_sqlfunctions.php on line 36
Warning: mssql_query() [function.mssql-query]: Query failed in C:\AppServ\www\i\include\class_sqlfunctions.php on line 36
Warning: mssql_num_rows(): supplied argument is not a valid MS SQL-result resource in C:\AppServ\www\i\include\class_sqlfunctions.php on line 37
add the columns in account:
Coins - int - no null
eCoins - int - no null
pCoins - int - no null
-
Re: iGunZ/Xenon website coded
Quote:
Originally Posted by
jur13n
add the columns in account:
Coins - int - no null
eCoins - int - no null
pCoins - int - no null
nice
Thank you!
-
Re: iGunZ/Xenon website coded
Parse error: syntax error, unexpected $end in C:\xampp\htdocs\templates\template_ranking.php on line 159
Line 159 is the end of the file and is empty.
-
Re: iGunZ/Xenon website coded
Quote:
Originally Posted by
Ryukrey
Parse error: syntax error, unexpected $end in C:\xampp\htdocs\templates\template_ranking.php on line 159
Line 159 is the end of the file and is empty.
This usually means a } (bracket) is missing somewhere.
-
Re: iGunZ/Xenon website coded
help me how to fix it?
Quote:
Warning: mssql_query() [function.mssql-query]: message: Conversion failed when converting the varchar value 'iring' to data type smallint. (severity 16) in C:\AppServ\www\home\templates\template_register.php on line 60
Warning: mssql_query() [function.mssql-query]: Query failed in C:\AppServ\www\home\templates\template_register.php on line 60
The account "test" has been successfully made!
-
Re: iGunZ/Xenon website coded
Hey theres a problem Im running into with registration:
Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\xampp\htdocs\pages\regconfig.php on line 22
Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in C:\xampp\htdocs\pages\regconfig.php on line 22
Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\xampp\htdocs\pages\regconfig.php on line 23
Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in C:\xampp\htdocs\pages\regconfig.php on line 23
Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\xampp\htdocs\pages\regconfig.php on line 25
Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in C:\xampp\htdocs\pages\regconfig.php on line 25
Account could not be created.
Any idea , cuz im using mssql not mysql?
-
Re: iGunZ/Xenon website coded
-
Re: iGunZ/Xenon website coded
It has nothing to do with ODBC.
Whoever coded it, used mysql_real_escape_string to clean the variables.
PHP: mysql_real_escape_string - Manual
Quote:
A MySQL connection is required before using mysql_real_escape_string() otherwise an error of level E_WARNING is generated, and FALSE is returned. If link_identifier isn't defined, the last MySQL connection is used.
Remove mysql_real_escape_string and change it with your own clean function.
-
Re: iGunZ/Xenon website coded
ok how? sorry we're nood teach me how to fix
my error:
Quote:
Warning: mssql_query() [function.mssql-query]: message: Conversion failed when converting the varchar value 'iring' to data type smallint. (severity 16) in C:\AppServ\www\home\templates\template_register.php on line 60
Warning: mssql_query() [function.mssql-query]: Query failed in C:\AppServ\www\home\templates\template_register.php on line 60
The account "test" has been successfully made!
-
Re: iGunZ/Xenon website coded
There isn't any Admin Panel when i login ?!
-
Re: iGunZ/Xenon website coded
it has , you have to make it work. or simply use emisand's panel.
Tip: use external panel since many cookie hackers hack inbuilt admin panels.
-
Re: iGunZ/Xenon website coded
Quote:
Originally Posted by
Ronny786
it has , you have to make it work. or simply use emisand's panel.
Tip: use external panel since many cookie hackers hack inbuilt admin panels.
How to make it work?