shoppinglist = {
}
shoppinglist = {
}
shoppinglist = {
}
no item...so wow addon doesnt work
uniloader write in file but nothing...without error
Moderator: Hannah
shoppinglist = {
}
shoppinglist = {
}
shoppinglist = {
}
echo "\n Sql-query: SELECT * FROM ".$db_prefix."addon_shopping WHERE order_state ='outbox' \n";
echo $sel_order."\n";
echo "\n Counter: ".$counter;
[2006/08/14 11:08:43] Initializing Application
[2006/08/14 11:08:43] .NET Framework v1.1.4322
[2006/08/14 11:08:44]
[2006/08/14 11:08:44] RetrData: url: http://www.wowroster.net/uniuploader_up ... update.php
[2006/08/14 11:08:44] RetrData: param1: OPERATION
[2006/08/14 11:08:44] RetrData: val1: GETLICMD5
[2006/08/14 11:08:44] RetrData: Timeout: 20000
[2006/08/14 11:08:44] RetrData: ------------------------------------------------------------------------
[2006/08/14 11:08:44] 3e51ce44ec803bd6bc42e7d8870f5962
[2006/08/14 11:08:44] RetrData: ------------------------------------------------------------------------
[2006/08/14 11:08:44]
[2006/08/14 11:08:44] MD5SUM of local LICENSE.TXT: 3e51ce44ec803bd6bc42e7d8870f5962
[2006/08/14 11:08:45]
[2006/08/14 11:08:45] RetrData: url: http://genesis.e-oxyde.ath.cx/roster/ad ... e=shopping
[2006/08/14 11:08:45] RetrData: param1: OPERATION
[2006/08/14 11:08:45] RetrData: val1: GETDATA
[2006/08/14 11:08:45] RetrData: param2: username
[2006/08/14 11:08:45] RetrData: val2:
[2006/08/14 11:08:45] RetrData: param3: password
[2006/08/14 11:08:45] RetrData: val3:
[2006/08/14 11:08:45] RetrData: Timeout: -1
[2006/08/14 11:08:45] RetrData: ------------------------------------------------------------------------
[2006/08/14 11:08:45]
[2006/08/14 11:08:45] Sql-query: SELECT * FROM 2roster_addon_shopping WHERE order_state ='outbox'
[2006/08/14 11:08:45] Resource id #17
[2006/08/14 11:08:45]
[2006/08/14 11:08:45] Counter: 1shoppinglist = {
[2006/08/14 11:08:45]
[2006/08/14 11:08:45] }
[2006/08/14 11:08:45] RetrData: ------------------------------------------------------------------------
[2006/08/14 11:08:45]
[2006/08/14 11:08:46]
[2006/08/14 11:08:46] RetrData: url: http://www.wowroster.net/uniuploader_up ... update.php
[2006/08/14 11:08:46] RetrData: param1: OPERATION
[2006/08/14 11:08:46] RetrData: val1: GETLANGMD5
[2006/08/14 11:08:46] RetrData: Timeout: 20000
[2006/08/14 11:08:46] RetrData: ------------------------------------------------------------------------
[2006/08/14 11:08:46] e974d4962bc2282b4816a294bc2a568d
[2006/08/14 11:08:46] RetrData: ------------------------------------------------------------------------
[2006/08/14 11:08:46]
[2006/08/14 11:08:46] MD5SUM of local languages.ini: e974d4962bc2282b4816a294bc2a568d
[2006/08/14 11:08:46]
[2006/08/14 11:08:46] RetrData: url: http://genesis.e-oxyde.ath.cx/roster/ad ... e=shopping
[2006/08/14 11:08:46] RetrData: param1: OPERATION
[2006/08/14 11:08:46] RetrData: val1: GETDATA
[2006/08/14 11:08:46] RetrData: param2: username
[2006/08/14 11:08:46] RetrData: val2:
[2006/08/14 11:08:46] RetrData: param3: password
[2006/08/14 11:08:46] RetrData: val3:
[2006/08/14 11:08:46] RetrData: Timeout: -1
[2006/08/14 11:08:46] RetrData: ------------------------------------------------------------------------
[2006/08/14 11:08:46]
[2006/08/14 11:08:46] Sql-query: SELECT * FROM 2roster_addon_shopping WHERE order_state ='outbox'
[2006/08/14 11:08:46] Resource id #17
[2006/08/14 11:08:46]
[2006/08/14 11:08:46] Counter: 1shoppinglist = {
[2006/08/14 11:08:46]
[2006/08/14 11:08:46] }
[2006/08/14 11:08:46] RetrData: ------------------------------------------------------------------------
[2006/08/14 11:08:46]
[2006/08/14 11:08:46] v2.4.1 Prêt.
[2006/08/14 11:08:46]
[2006/08/14 11:08:46] RetrData: url: http://www.wowroster.net/uniuploader_up ... update.php
[2006/08/14 11:08:46] RetrData: param1: OPERATION
[2006/08/14 11:08:46] RetrData: val1: CHECKUPDATES
[2006/08/14 11:08:46] RetrData: Timeout: 20000
[2006/08/14 11:08:46] RetrData: ------------------------------------------------------------------------
[2006/08/14 11:08:46] 2.4.1|Version 2.4.1 changes:
[2006/08/14 11:08:46]
[2006/08/14 11:08:46] 1. URL syncronization URL enabled
[2006/08/14 11:08:46] 2. User Agent doesn't save unless it's changed via settings sync or user input.
[2006/08/14 11:08:46] 3. All references to wowroster.net changed to wowroster.net in UU and UU Updater
[2006/08/14 11:08:46] 4. Updater tries to update after 10 seconds of not detecting UU closure.
[2006/08/14 11:08:46] RetrData: ------------------------------------------------------------------------
[2006/08/14 11:08:46]
[2006/08/14 11:08:59]
[2006/08/14 11:08:59] RetrData: url: http://genesis.e-oxyde.ath.cx/roster/ad ... e=shopping
[2006/08/14 11:08:59] RetrData: param1: OPERATION
[2006/08/14 11:08:59] RetrData: val1: GETDATA
[2006/08/14 11:08:59] RetrData: param2: username
[2006/08/14 11:08:59] RetrData: val2:
[2006/08/14 11:08:59] RetrData: param3: password
[2006/08/14 11:08:59] RetrData: val3:
[2006/08/14 11:08:59] RetrData: Timeout: -1
[2006/08/14 11:08:59] RetrData: ------------------------------------------------------------------------
[2006/08/14 11:08:59]
[2006/08/14 11:08:59] Sql-query: SELECT * FROM 2roster_addon_shopping WHERE order_state ='outbox'
[2006/08/14 11:08:59] Resource id #17
[2006/08/14 11:08:59]
[2006/08/14 11:08:59] Counter: 1shoppinglist = {
[2006/08/14 11:08:59]
[2006/08/14 11:08:59] }
[2006/08/14 11:08:59] RetrData: ------------------------------------------------------------------------
[2006/08/14 11:08:59]
[2006/08/14 11:09:06] Chargement sur l'URL primaire...: http://genesis.e-oxyde.ath.cx/roster/admin/update.php
[2006/08/14 11:09:06] SavedVariables.lua - Aucune Compression. Taille: 0 KB
[2006/08/14 11:09:06] CharacterProfiler.lua - Aucune Compression. Taille: 416 KB
[2006/08/14 11:09:06] Shopping.lua - Aucune Compression. Taille: 1 KB
[2006/08/14 11:09:06] GuildProfiler.lua - Aucune Compression. Taille: 0 KB
[2006/08/14 11:09:06] PvPLog.lua - Aucune Compression. Taille: 2 KB
[2006/08/14 11:09:16] Chargement sur l'url additionnelle # 1... - http://genesis.e-oxyde.ath.cx/roster/ad ... e=shopping
[2006/08/14 11:09:16] SavedVariables.lua - Aucune Compression. Taille: 0 KB
[2006/08/14 11:09:16] CharacterProfiler.lua - Aucune Compression. Taille: 416 KB
[2006/08/14 11:09:16] Shopping.lua - Aucune Compression. Taille: 1 KB
[2006/08/14 11:09:16] GuildProfiler.lua - Aucune Compression. Taille: 0 KB
[2006/08/14 11:09:16] PvPLog.lua - Aucune Compression. Taille: 2 KB
[2006/08/14 11:09:22]
[2006/08/14 11:09:22] RetrData: url: http://genesis.e-oxyde.ath.cx/roster/ad ... e=shopping
[2006/08/14 11:09:22] RetrData: param1: OPERATION
[2006/08/14 11:09:22] RetrData: val1: GETDATA
[2006/08/14 11:09:22] RetrData: param2: username
[2006/08/14 11:09:22] RetrData: val2:
[2006/08/14 11:09:22] RetrData: param3: password
[2006/08/14 11:09:22] RetrData: val3:
[2006/08/14 11:09:22] RetrData: Timeout: -1
[2006/08/14 11:09:22] RetrData: ------------------------------------------------------------------------
[2006/08/14 11:09:22]
[2006/08/14 11:09:22] Sql-query: SELECT * FROM 2roster_addon_shopping WHERE order_state ='outbox'
[2006/08/14 11:09:22] Resource id #17
[2006/08/14 11:09:22]
[2006/08/14 11:09:22] Counter: 1shoppinglist = {
[2006/08/14 11:09:22]
[2006/08/14 11:09:22] }
[2006/08/14 11:09:22] RetrData: ------------------------------------------------------------------------
[2006/08/14 11:09:22]
requête SQL: SELECT * FROM `roster_addon_shopping` LIMIT 0, 30 ;
SELECT * FROM 2roster_addon_shopping WHERE order_state ='outbox'
SELECT * FROM 2roster_addon_shopping WHERE order_state ='outbox';
SELECT * FROM roster_addon_shopping WHERE order_state ='outbox';
$sel_order = "SELECT * FROM ".$db_prefix."addon_shopping WHERE order_state ='outbox'";
$sel_order = "SELECT * FROM YOURPREFIX_addon_shopping WHERE order_state ='outbox'";
Hannah wrote:Adariel wrote:Leatherworking: Hillman's Cloak will not add to the cart - it just shows a blank page.
I don't have a lot of people's profiles uploaded to test with atm, but have noted that Alchemy: Elixir of Ogre's Strength and Strong Troll's Blood Potion have the same issue.
I'm guessing it has to do with the apostrophe - but I have no idea where to change the code to escape it so the PHP doesn't argue with it.
Hi Adariel!
Here´s a quick way solution
Open functions_cart.php and find line 80:
- Code: Select all
$id = str_replace("", "", $id);
and add the following line after that
- Code: Select all
$id = escape($id);
Also find line 94:
- Code: Select all
$_SESSION["cart"][$item_count][0] = $item["recipe_name"];
change it to this:
- Code: Select all
$_SESSION["cart"][$item_count][0] = escape($item["recipe_name"]);
At the end of the file before this line:
- Code: Select all
//ob_end_flush();
add the following part
- Code: Select all
/** Thx roster devs for this :)
* Front-end to escape string for safe inserting
*
* @param string $string
* @return string escaped
*/
function escape( $string )
{
if( version_compare( phpversion(), '4.3.0', '>' ) )
return mysql_real_escape_string( $string );
else
return mysql_escape_string( $string );
}
That´s it...
Give it a try
This only happens on english clients cause in german it´s Hillmann-Umhang without the apostrophe...
Test it for me i´ll search the code for any equal problem and thx for your
reply
Hannah
Users browsing this forum: No registered users and 0 guests