Home Community Mys-Script Creative Off-Topic |
|
|
Thread Tools | Display Modes |
#31
|
||||
|
||||
Themes don't even modify core files, so I don't see how the two are related.
Please paste your entire inventoryview.php file. And, if you can, please link me to the site so I can see the problem first hand and confirm you have jQuery installed once and only once and in the correct location. I hope we get this figured out. ^^;
__________________
Please do not contact me directly outside of Mysidia.
I also cannot troubleshoot code more than two years old - I legit don't remember it. |
#32
|
||||
|
||||
Thanks for being so penitent. I am still trying to get a handle on this php thing.
http://monstari.mysidiahost.com/index PHP Code:
|
#33
|
||||
|
||||
Mkay, I copy-pasted in your exact file and I have no errors at all? There is no reason you should be having an error on line 72 and not much sooner. Do you have the error without the Alchemy mod installed (I've never used it)? I doubt it would interfere, but it's worth checking...
Can you try moving HTML Code:
<!-- Scripts --> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script> <script src="/js/tooltip.js"></script> <script src="/js/tabs.js"></script> <script> $(function() { $("#profile").organicTabs(); }); </script> <!-- Script end -->
__________________
Please do not contact me directly outside of Mysidia.
I also cannot troubleshoot code more than two years old - I legit don't remember it. |
#34
|
||||
|
||||
Ok so weird thing. I removed everything and can still sell key items so even if I removed your mod I still can sell key items. whelp
Edit: Ok so I did a fresh install and followed the installation. Installed this mod and got the same error. Last edited by Corsair; 02-15-2016 at 04:10 PM. |
#35
|
||||
|
||||
It's quite bizarre that two other people have this mod installed on their site, other than myself, just fine and never experienced fatal errors. Yet, no matter how much I search, I can't find any helpful reference to a similar error that they would have fixed elsewhere. My classes/class_guicontainer.php and classes/class_guicomponent.php files identical to the default install!
EDIT: I can actually recreate your error... if you followed the instructions wrong, you replaced your entire view/inventoryview.php file instead of replacing only the index() function as instructed. Try replacing your entire file with this (or go back and follow the instructions more carefully): Anyway, yeah, the Key item thing seems to be a bug or afterthought with the baseline Mysidia framework... by the sounds of it. In classes/class_itemtablehelper.php, the category "Key Items" is referenced twice, rather than the function "Key". I literally just imitated the existing file to render the form, so I copied over the same error. However, if I do create an item with the category "Key Items" on a default install, it renders as expected on a default install of Mysidia (you can never sell key items). I cannot actually recreate your problem on a default install whatsoever. So, this DOES come down to being a bug with my mod, AND I managed to fix it. The fix is in the file above. (I moved $document->add($sellForm); inside the if statement, because that makes more sense, anyway. The variable should have still never been built to display, anyway... but apparently it was?)
__________________
Please do not contact me directly outside of Mysidia.
I also cannot troubleshoot code more than two years old - I legit don't remember it. Last edited by Kyttias; 02-15-2016 at 09:15 PM. |
#36
|
||||
|
||||
I'm not sure either. I installed a fresh new install and before adding anything I tested it and it came up a error. I installed it as the guide said. Other then that everything else with the mode is working. Until I can figure this out I'll have to warn people not to sell their key items.
As for tooltips they are working now. I'm not sure what happened but that much is cleared up. I must have installed something that broke it. |
#37
|
||||
|
||||
I made some edits to my last post that should clear everything up. I'm glad the tooltips are working!
edit: And made one last edit to my previous post @ 8:53 EST. Thanks for catching the Key Item thing, it apparently was my fault! I hadn't created a Key Item yet to test, and all I had to do was move one line only slightly. ^^;;;
__________________
Please do not contact me directly outside of Mysidia.
I also cannot troubleshoot code more than two years old - I legit don't remember it. Last edited by Kyttias; 02-15-2016 at 08:54 PM. |
#38
|
||||
|
||||
I can't thank you enough. I need to make sure to install mods more carefully. Everything seems to be working now.
|
#39
|
||||
|
||||
I'm glad everything got sorted out. Maybe it'll help someone in the future!
__________________
Please do not contact me directly outside of Mysidia.
I also cannot troubleshoot code more than two years old - I legit don't remember it. |
#40
|
||||
|
||||
i cant see the NPC part on my site.
|
Tags |
item display, item shop, npc, shop, shopkeeper |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Mys v1.3.4 Shop Listing Display | Kyttias | Mys v1.3.x Mods | 13 | 06-13-2016 03:31 PM |
Item Bug? | tahbikat | Questions and Supports | 4 | 11-24-2015 06:28 PM |
Changing Shop and Item Display? | Abronsyth | Questions and Supports | 2 | 12-16-2014 04:25 PM |
Buy X of Item A to receive X of Item B | AndromedaKerova | Suggestions and Feature Requests | 0 | 11-09-2014 09:17 PM |
What's New? |
What's Hot? |
What's Popular? |