Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 11-22-2013, 05:59 PM
AlexC's Avatar
AlexC AlexC is offline
Moderator
 
Join Date: Dec 2009
Location: Canada
Posts: 753
Gender: Unknown/Other
Credits: 67,334
AlexC is an unknown quantity at this point
Default Nesting too deep?

Hi, I deleted my links and readded them, since I'm picky about order and stuff... then suddenly in the middle of adding them, I got this message;

Fatal error: Nesting level too deep - recursive dependency? in /home/ratties/public_html/rats/classes/resource/collection/linkedhashmap.php on line 192

Line 192 in the file is; for($entry = $this->header->getAfter(); $entry != $this->header; $entry = $entry->getAfter()){

I thought maybe I'd accidentally made a link a child of another child link? But it seems to be fine. The ID of the link is 43. I can still access the rest of the ACP, just not the admincp/links/add page

EDIT: It is not letting me edit links - but I was able to delete one, and readd it and then it gave me the error again.
__________________

Last edited by AlexC; 11-22-2013 at 06:12 PM.
Reply With Quote
  #2  
Old 11-22-2013, 08:43 PM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 334,190
Hall of Famer is on a distinguished road
Default

Theres nothing wrong in the linkedhashmap class file, the database source is the only possibility that you get this kind of error. Can you show a screenshot of what the database table for links looks like? The ordering may be the cause of it, but it can be something else.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #3  
Old 11-22-2013, 08:56 PM
AlexC's Avatar
AlexC AlexC is offline
Moderator
 
Join Date: Dec 2009
Location: Canada
Posts: 753
Gender: Unknown/Other
Credits: 67,334
AlexC is an unknown quantity at this point
Default

That's weird - I looked at the database, I had 1 through 30, all the same links that I had when I started, but none of the new ones I have are in? The links being displayed in my admin panel and on my website have an id of 31 to 44, which are not present in the database.

Here's a link of the table - had to cut off the 1 id of home at the top.

http://awesomescreenshot.com/0d51zyfgfb
__________________
Reply With Quote
  #4  
Old 11-22-2013, 11:45 PM
MikiHeart's Avatar
MikiHeart MikiHeart is offline
Premium Member
 
Join Date: Apr 2009
Posts: 187
Gender: Female
Credits: 20,611
MikiHeart
Default

I also came across this issue. However, I was attempting to edit the default links.
Reply With Quote
  #5  
Old 11-23-2013, 11:33 AM
AlexC's Avatar
AlexC AlexC is offline
Moderator
 
Join Date: Dec 2009
Location: Canada
Posts: 753
Gender: Unknown/Other
Credits: 67,334
AlexC is an unknown quantity at this point
Default

Quote:
Originally Posted by MikiHeart View Post
I also came across this issue. However, I was attempting to edit the default links.
For some reason too, I thought about it and seemed to remember that I installed 1.3.4 for another site ages ago, and when I tried to upload images to the site using the ACP, I got this error too after a few images. I was too tired to deal with it at the time, however, so I just deleted the install. But I just tried that now and it was working, so maybe that issue got fixed or something.
__________________
Reply With Quote
  #6  
Old 11-23-2013, 03:10 PM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 334,190
Hall of Famer is on a distinguished road
Default

umm the issue may come out randomly, its kinda strange. I believe in Mys v1.3.4 I implemented data structures used widely in computer science like ArrayList, LinkedList, and HashMap and tested them thoroughly, but theres still a chance that some hidden glitches were not yet identified. Id definitely like to look into this issue further, and to prevent such errors in Mys v1.4.0 at least.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #7  
Old 11-23-2013, 03:22 PM
AlexC's Avatar
AlexC AlexC is offline
Moderator
 
Join Date: Dec 2009
Location: Canada
Posts: 753
Gender: Unknown/Other
Credits: 67,334
AlexC is an unknown quantity at this point
Default

Maybe the ACP isn't communicating properly with the database? I had this weird thing earlier where I changed the default theme in the database - but the website was listening to the theme that had been listed in the settings of the ACP, which hadn't changed. If I had to guess, I'd say as the ACP is storing information in the files instead of the database.

I guess I'll move back to writing pages and drawing rats then. Hopefully a fix can be found soon.

Do you want me to beta test or something for future releases? I seem to be a magnet for every bug in the script.
__________________
Reply With Quote
  #8  
Old 11-23-2013, 03:55 PM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 334,190
Hall of Famer is on a distinguished road
Default

Sure a beta-tester will be helpful, there are certain glitches that I wont be able to find myself since I am running it on a PHP 5.4 server with most PHP modules/extensions enabled. It will be nicer to design this script based on what most web hosts are offering for PHP, although anything below PHP 5.3 will not be an option(so no support for PHP 5.2 as always).
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #9  
Old 11-23-2013, 04:50 PM
AlexC's Avatar
AlexC AlexC is offline
Moderator
 
Join Date: Dec 2009
Location: Canada
Posts: 753
Gender: Unknown/Other
Credits: 67,334
AlexC is an unknown quantity at this point
Default

Sounds good - I don't know if we have any beta testers for the script, it might help get things going a bit faster. You can message me when you want me to start with whatever new version is available for testing.
__________________
Reply With Quote
  #10  
Old 01-21-2014, 03:59 PM
anno1986 anno1986 is offline
Member
 
Join Date: Jan 2014
Posts: 3
Gender: Male
Credits: 669
anno1986 is on a distinguished road
Default Nesting too deep?!

What I figured out in my current setup:

I guess I am running PHP5.3 where this error occurs. As soon as I change to a higher PHP version I do NOT GET "Nesting level too deep - recursive dependency? "

What I also noticed it HAS something to do with images in admin panel.
When I comment out the following:

Code:
# FILE admincp/view/shopview.php LINE 62
$showForm->buildDropdownList("existingimageurl", "ImageList");
I was able to edit my shops again..

So I went deep into detail but got stuck here:

Code:
# FILE classes/resource/collection/linkedhashmap.php LINE 68
error_log('------ '.$key->__toString().' -- '.$value->__toString().' hash: '.$hash.'  index:'.$index);
$this->createEntry($hash, $key, $value, $index);
$eldest = $this->header->getAfter();
if($this->removeEldest($eldest)) $this->removeKey($eldest->getKey());
else{
if($this->size >= $this->threshold) $this->resize(2*$this->entries->length());
}
error_log('---- OK');
The last image where it stops nothing special:

Code:
# table {prefix}_filesmap
id|serverpath|wwwpath|friendlyname
16|
picuploads/png/6359d04458e086935c5abadbabc389ec.png|
http://evosl.com/fae/picuploads/png/6359d04458e086935c5abadbabc389ec.png|
exotic
Any ideas???
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fatal error: nesting level too deep Skaiya Questions and Supports 2 03-30-2014 02:43 PM
Looking for a Deep Sea Theme Abronsyth Templates and Themes 0 03-27-2012 06:45 PM


All times are GMT -5. The time now is 01:00 PM.

Currently Active Users: 9776 (0 members and 9776 guests)
Threads: 4,080, Posts: 32,024, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636