![]() |
Error When Using Item
Purchasing an item works fine, and it works perfectly when I go to inventory>item>use.
I can get to the select adoptable page, but after I try to actually use it, it brings me to a blank white page and doesn't work. Sorry if my explanation doesn't make sense! So this page is fine; http://i.imgur.com/PxBFvxr.png But after I click "Choose This Adopt" I end up on a blank page. Does anyone else have this issue, or know how to fix it? Warm regards, Abron |
umm did you modify the item functions or the inventory.php file? If you get a white page its most likely a syntax error.
|
No, I have not touched it., or at least not that I recall. ((I wish PHP made more sense to me XD))
PHP Code:
|
Ugh it did this for me too, several times now!
I am really praying for an answer to this! It's gotten to where I can't use ANY items now, once it does it to one .. plus, if I go in as a diff user? Then it works ok! |
Okay this is a huge problem now for me, if we cant figure it out Im going to have to take Simmland offline.
Just had it happen again and it locks up all use of ALL items, once it happens. Go in under another name, and it's fine. So it cant be the ip ... |
I see, sounds serious. If anyone of you dont mind giving me ftp access to your server Id love to test something and see where the error is. Send me a PM of the information if you want to.
|
Messaged you :)
|
Oh dear - is this affecting both v.1.3.3 and v.1.3.4?
|
As far as I know, just .4.
But wow, its really bad and I have looked through everything and cannot find a trigger for it at ALL. |
I am running 1.3.3 and having this issue. I can't remember if I've had it happen before, or not.
|
Ah, thats a shame then! When it happens, I look at the user tables, everything, nothing has altered at all I can see, but it's just that user it happens to, for the moment. No idea why it happens, no idea how to undo it, but a few people had brought it to my attention and now it's happening to me too .. and it's so bad I might have to shut down totally.
No use of the toys or pets or any of that really screws up the whole site :( |
Okay, finally got it to happen on the secondary account ( miloe ) -- I used item after item and it was great, then I went and bought a few new pets --- got them fine --- then went back and tried to add an item and BAM!
White screen! http://sim-life.com/Simmland/inventory/uses |
umm do you find any patterns in this? Does this tend to happen to certain adoptables of yours or when you use certain items?
|
No pattern so far, and I've been looking --- can be any pet, any species, any item. And I was wondering if it had something to do with the level of the pet or something, but then I realized, this happens - the white screen - at a point where you aren't even able to choose a pet yet, at least for me it does.
But just to be sure, i just applied items to level 0's and level 3's just fine. On my third account, my test, since I cant use the others now. Out of nowhere, you click use on something, and white screen. |
For me it happens with either of the adoptables (only two exist right now on my site). I will try adding a new item and testing it out with that item.
If you need my FTP info just ask! |
I strongly suspect a bug located in inventory.php or something to do with it, but I could be wrong!
|
If this helps ??
Going to Toss or Sell both DO still work, on all items! It's just 'Use' that gets the white out! I think its in function uses, but I just cant find it .............. |
Quote:
umm, you said you're getting a blank screen? Doesn't that usually mean syntax error or something similar? O.o Did this work before? |
Yeah it's on there as inventory.php ...
the thing is, it works for a while, then it suddenly stops, and you get white out on all items, from then on, on that account, to 'use ' them --- sign in under a diff name, and you are good to go. It's really affecting things on my site, I didn't realize it was this bad. I'm looking at the function code to try to see whats wrong... |
This is inventoryview.php 'use' code:
Code:
and from inventory.php Code:
|
This is really wierd. I'm using v.1.3.3 but I don't have this... wait, what host are you huys using?
|
I'm on Skyehosting.
|
Do you both have the same host? I don't know...
@Abronsyth You can borrow my site's inventory file! It works... for now. :L |
I use iPage, so it's not to do with the host.
Wallie, thanks! If you can either post it or PM the code to me I can at least compare them and see if there's something different in there. |
I wonder if that would help me with mine? If I dont get this fixed, I'm going to have to shut down Simmland :(
No one can use items now. |
Here you go(not I may have customized a thing or two in there):
PHP Code:
That would be horrible! You have a lot of custom stuff there no? |
I have a lot I've worked on for it, yes, and I have three more sites I really want to open, and use our great code here!
But no use of items means I cant do anything at all right now. Ah, thanks for posting that! The strangest thing is, sell works, and toss .. it's just use. |
Wait....
I'm going to make a quick list of differences that I can find... 1. only the use function "returns" anything 2. only the use function works with adoptables |
Aww it wont work for me, hehehe.
|
Quote:
|
Yep I think so :)
|
I have an account on your site now, I've purchased some items and I will adopt a few pets too. With this, I will try to reproduce the same white screen as you've encountered. I am sure theres a way to find out, I will let you know once I figure out. ^^
|
Great!!
It took me ten times on one account and 20 on another to get it to happen, but once it did, there was no going back. Most of the members cant use items it seems now ... |
@Annatar
Wait... do you think it's a problem with the database? |
Well, I really cant tell, because I've looked at everything after this happens, and right before, too, noted what all the user, item, inventory, banning, all those tables for all that, and I can't find one thing different in anything.
But it's likely some obscure value that gets inserted, or possibly there is a 'cut off' ?? Of how many items can be used? It might possibly be something in where the amount of clicks and leveling gets cut off, there's something that seems to reach a cut off and then you error out and white out. Syntax is bad for it or something, but once you reach this critical point, you get no more chances then lol. And bingo make a new account and log in, and you're right as rain. Can't be ip based. |
@Annatar
I tried over 30 times on my test site... Nothing. Everything works. What browser are you all using and how many items, pets, and users do you have? |
I know it isn't just me since others are having it happen on their sites, and once it happens, it doesn't matter what browser or anything, I have used Chrome, FF and IE.
Happens on all of them :( I have about 20 users, 15 items, 10 pet species. Try making an account on Simmland and see if it happens? I had to do it 15 times but it did happen again, and then 20 times later on a second account. |
Re
Quote:
|
I've used Mature ( kicks a baby to level 3 ), and toys.
Let me paste the codes here for the toys for you :) This is from functions_items.php, and is the basic outlay for all my add on toys. They work fine over and over, and then --- they don't. The only diff for any of these is they insert toys into different 'slots' to allow for more to be seen at a time. Possibly it's reaching a cut off from the leveling of clicks or something? But then, why am I not the only one having it happen on their site ... Code:
|
@Annatar
Okay... well, I tried this on canis, but I don't seem to be having any problems... O.o Are you only having this on SIMLAND? Edit: Can you test it out on my site? |
All times are GMT -5. The time now is 09:35 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.