[Release]Full working webmall

06/04/2012 10:53 Svinseladden#31
i get error when trying to run the sql file..


Msg 156, Level 15, State 1, Line 1
Incorrect syntax near the keyword 'IF'.
Msg 102, Level 15, State 1, Line 1
Incorrect syntax near '`'.


why? LOL

and when i try to enter i get a white scereen and this in my iss log:

2012-06-04 15:55:19 xxxxxxxipxxxx GET /webmall/admin.php - 80 - xxxxxipxxx Mozilla/5.0+(Windows+NT+6.1;+WOW64)+AppleWebKit/535.19+(KHTML,+like+Gecko)+Chrome/18.0.1025.168+Safari/535.19+Comodo_Dragon/18.3.0.0 500 0 0 78
2012-06-04 15:55:19 xxxipxxx GET /favicon.ico - 80 - xxxxipxxxx Mozilla/5.0+(Windows+NT+6.1;+WOW64)+AppleWebKit/535.19+(KHTML,+like+Gecko)+Chrome/18.0.1025.168+Safari/535.19+Comodo_Dragon/18.3.0.0 404 0 2 234


btw do i need mysql on the website too? not just abel to "image" it like every other php script?
06/04/2012 14:50 .Shaco.#32
can you post the sql script you tried to run? I bet you tried to run on MSSQL? That sql was for MySql i think i had same issue but i've tried to remove mysql connections and converted into MSSQL and worked. The current script need to use MySql ..if you don't want edit the connection to MySql and convert them into MSSQL Connectin. Will work. =)

Regards
Shaco
06/04/2012 15:13 Svinseladden#33
LOL that's what i did read is a good think i guess hahahaha so sorry..

if anyone have this translated to odbc i would be happy:-P
06/04/2012 16:01 treica#34
if your using it from localhost with iframe then you need on ur local to have mysql
If your running it from your web server then you gotta need on your webhost made mysql db.
And on config.php write exact your informations.
06/06/2012 22:31 tracker62#35
[Only registered and activated users can see links. Click Here To Register...]

I do not understand
06/06/2012 23:44 treica#36
You have not feel up right information in config.php to connect to mysql database.
There is instructions file on what you need to add to make it work.

Quote:
can you post the sql script you tried to run? I bet you tried to run on MSSQL? That sql was for MySql i think i had same issue but i've tried to remove mysql connections and converted into MSSQL and worked. The current script need to use MySql ..if you don't want edit the connection to MySql and convert them into MSSQL Connectin. Will work. =)
Converting it to mssql your server get shut down really fast is opening the sql inj.
Is made to use mysql to prevent direct login to your database =) trust me i've tryed every step of this script :p
06/07/2012 14:23 mchan004#37
hi. How to add item,
what is "Item id" ?
06/07/2012 15:51 treica#38
item ID mean the Item code like 30007, 40255, 95007, 95002 is the item code you use to spawn in game.
06/08/2012 13:38 mchan004#39
Quote:
Originally Posted by treica View Post
item ID mean the Item code like 30007, 40255, 95007, 95002 is the item code you use to spawn in game.
where the code :D
And how to user login to web to by item ?
06/08/2012 13:43 treica#40
to login to buy the link should be
[Only registered and activated users can see links. Click Here To Register...]
And to add to admin items
[Only registered and activated users can see links. Click Here To Register...]

I added item codes .txt (maybe not all items match your client, some perhaps be edited)
06/08/2012 14:03 mchan004#41
Quote:
Originally Posted by treica View Post
to login to buy the link should be
[Only registered and activated users can see links. Click Here To Register...]
And to add to admin items
[Only registered and activated users can see links. Click Here To Register...]

I added item codes .txt (maybe not all items match your client, some perhaps be edited)

If one user by a item, it's item go to which char ?
And I can't loguot web. it forward to admin.php ?
06/08/2012 17:15 -Elliot-#42
Quote:
Originally Posted by mchan004 View Post
If one user by a item, it's item go to which char ?
And I can't loguot web. it forward to admin.php ?

you kind has the same question i do if someone buy a Item on the web mall. Where the item goes cause there are not in the Bank Teller
06/08/2012 20:21 treica#43
The item goes to your Gift box. Open up the item mall in game and push the Gift Box button.
Quote:
If one user by a item, it's item go to which char ?
And I can't loguot web. it forward to admin.php ?
1.The item goes to Gift Box.
2.
Quote:
Originally Posted by treica View Post
You can simple to modify the system / modules / admin logout.php where to redirect to, is very easy.
06/17/2012 10:59 anton1312#44
Quote:
Originally Posted by mchan004 View Post
And I can't loguot web. it forward to admin.php ?
change this \system\modules\user\validation\validate_logout.ph p to
PHP Code:
<?php 
if ($user_is_logged) { 
    
remove_session('username'); 
    
remove_session('userHA'); 
    
$user_is_logged false


redirect('index.php'true); 

?>
06/23/2012 18:57 adisportivul#45
All respect for you Treica, Adm Anos