Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Dawni

Pages: [1]
1
General SMFShop Discussion / Shop Errors After Large Package Upgrade
« on: October 13, 2009, 08:16:31 pm »
I'm getting errors after a large package upgrade 1.1.10, which I needed to upgrade my database:

Random Money: (Still functions; just spits errors in admin error log)
8: Use of undefined constant id - assumed 'id'
File: /home/myspacea/public_html/Sources/shop/items/RandomMoney.php
Line: 78
   
http://www.myspaceappmasters.com/index.php?action=shop;do=inv3&id=505
8: Use of undefined constant user - assumed 'user'
File: /home/myspacea/public_html/Sources/shop/items/RandomMoney.php
Line: 78
Code: [Select]
WHERE ID_MEMBER = {$context[user][id]}", __FILE__, __LINE__);

Egg  Avatar: (Still functions; just spits errors in admin error log)
8: Undefined index: eggtaunt
File: /home/myspacea/public_html/Sources/shop/items/EggUserV2.php
Line: 176
Code: [Select]
if(($_POST['eggtaunt'] == "")||(!isset($_POST['eggtaunt'])))
SMF Shop Lottery (during reinstall after ugrade):
Installations actions for "SMF Shop Lottery":
Installing this package will perform the following actions:
   Type    Action    Description
1.    Execute Modification    ./Themes/default/languages/Shop.english.php    Test successful
2.    Execute Modification    ./Sources/shop/Shop.php    Test successful
3.    Execute Modification    ./Themes/default/Shop.template.php    Test successful
4.    Execute Code    LotterySQL.php    
5.    Extract File    ./Sources/shop/LotteryDraw.php    
6.    Extract File    ./Sources/shop/Shop-Lottery.php    
7.    Extract File    ./Sources/shop/items/Lottery.php

BUT... I get this after attempting to install: (probably because there was a lottery & jackpot, but not a drawing, in place before the upgrade)
Duplicate entry 'lottery_pot' for key 1
File: /home/myspacea/public_html/Packages/temp/LotterySQL.php
Line: 42
Code: [Select]
// Add a place to store the jackpot. Start jackpot off at 1000 just because I want to
db_query("INSERT INTO {$db_prefix}settings (`variable`, `value`) VALUES ('lottery_pot', '1000')",__FILE__,__LINE__);

Can anyone assist with this? Please?

Pages: [1]