Author Topic: Error - Undefined index: money  (Read 6017 times)

Offline Padre

Error - Undefined index: money
« on: June 20, 2007, 09:58:15 am »
8: Undefined index: money
File: /..../public_html/forum/Sources/Load.php
Line: 1139

Line 1139 Load.php

   
Code: [Select]
'money' => $profile['money'],
I must be missing something but I can't find it.

Offline AbsoluteBreeze

Re: Error - Undefined index: money
« Reply #1 on: June 21, 2007, 06:27:17 pm »
Check the language files were modified when you applied the mod.


Offline Padre

Re: Error - Undefined index: money
« Reply #2 on: June 21, 2007, 11:50:43 pm »
Check the language files were modified when you applied the mod.


I have looked here and all through the code and can't find where money is defined

Offline AbsoluteBreeze

Re: Error - Undefined index: money
« Reply #3 on: June 22, 2007, 01:52:16 am »
On the latest smf shop (v3.0) the code around that area should be

Code: [Select]
// Begin SMFShop MOD Version New Version
'money' => isset($user_settings['money']) ? $user_settings['money'] : '',
'moneyBank' => isset($user_settings['moneyBank']) ? $user_settings['moneyBank'] : '',
// End SMFShop MOD

Offline Padre

Re: Error - Undefined index: money
« Reply #4 on: June 22, 2007, 03:02:12 am »
On the latest smf shop (v3.0) the code around that area should be

Code: [Select]
// Begin SMFShop MOD Version New Version
'money' => isset($user_settings['money']) ? $user_settings['money'] : '',
'moneyBank' => isset($user_settings['moneyBank']) ? $user_settings['moneyBank'] : '',
// End SMFShop MOD
Yes, this IS in my load.php file but I am still getting the error but thanks for replying

Offline Daniel15

Re: Error - Undefined index: money
« Reply #5 on: June 23, 2007, 11:12:55 am »
If you go to the shop page, is the amount of credits you have displayed correctly?

Offline Padre

Re: Error - Undefined index: money
« Reply #6 on: June 23, 2007, 08:52:48 pm »
If you go to the shop page, is the amount of credits you have displayed correctly?
yes it is - the place I find it isn't displayed is the profile - it shows the prefix $ and the word credits but no total in between.

Offline tick

Re: Error - Undefined index: money
« Reply #7 on: July 04, 2007, 09:59:02 am »
Was this ever fixed.  I am having the same problem myself.  Anyhelp with this would be appreciated.

Offline Padre

Re: Error - Undefined index: money
« Reply #8 on: July 05, 2007, 12:27:06 am »
I still have the error messages too

Offline tick

Re: Error - Undefined index: money
« Reply #9 on: July 05, 2007, 01:31:46 am »
THe error is not the biggest deal.  The big thing is the amount not showing in the profile or in the post the the user post.  The money shows up fine in the shop itself just not anywhere else.

Offline tick

Re: Error - Undefined index: money
« Reply #10 on: July 07, 2007, 05:27:57 am »
Anyone else experienced this problem?

Offline pinay007

Re: Error - Undefined index: money
« Reply #11 on: August 03, 2007, 05:44:42 am »
Add me to the list.

That's a bit of an annoyance.