Help - Undefined Variable
10 posts
• Page 1 of 1
Help - Undefined Variable
Good Morning,I was reviewing my logs last night and again this morning and saw the below error. So far, it does not seem to be affecting anything on my site at all, but, being anal, I'd like to track it down and fix it. I have Mooeypoo's gender/species mod installed and I also have major modifications to my bio form. Again, nothing appears to be broken other than when I set the mod's Manifest Options to show gender and species, it only shows gender.
Now, I do not think it's and issue with the mod itself, maybe something I did when installing it. And don't know that it's mod related at all... I also realize if it IS the mod, then I need to send this to Mooey.
I looked at line 362 in personnel.php, but honestly don't know php so that didn't help me any. I've printed that section of the personnel.php also (below the error)
Appreciate any help at all...again, nothing appears broken.
ERROR - 2012-05-26 00:10:12 --> Severity: Warning --> Division by zero /home/shieldomega/public_html/application/controllers/personnel.php 296
ERROR - 2012-05-26 00:10:12 --> Severity: Warning --> Division by zero /home/shieldomega/public_html/application/controllers/personnel.php 297
ERROR - 2012-05-26 00:10:12 --> Severity: Notice --> Undefined variable: species /home/shieldomega/public_html/application/controllers/personnel.php 362
ERROR - 2012-05-26 00:10:12 --> Severity: Notice --> Undefined variable: species /home/shieldomega/public_html/application/controllers/personnel.php 362
Lines 296 / 297
'height' => ($imgheight/$factor),
'width' => ($imgwidth/$factor)
Line 362
$data['depts'][$dept]['pos'][$b]['chars'][$c]['char_species'] = $species; //2=species
Re: Help - Undefined Variable
Is this from a fresh installed Nova? The reason I ask is because the first two errors are caused by trying to resize an image with a height and width of 0 (since there is no image there to resize).I have posted an updated version of this mod on GitHub at https://github.com/rajeltomari/Manifest-Details. Let me know if you still have problems with it.
-
-
Posts: 28
Re: Help - Undefined Variable
No...this update has been active for awhile now.I'll try adding removing and updating the mod. I thought it might just be something in my set-up too.
Regards and Thanks,
JC
Re: Help - Undefined Variable
What do you mean 'for a while'.. ? I just updated it four days ago.
-
-
Posts: 28
Re: Help - Undefined Variable
Sorry, thought you meant my Nova itself. So...no, have not updated the mod. Installed it shortly after I upgraded this site.My bad...
JC
Re: Help - Undefined Variable
It's alright.

-
-
Posts: 28
Re: Help - Undefined Variable
Moved to the appropriate forumRe: Help - Undefined Variable
Thanks for moving it. I wasn't sure when I started requesting help if the issues were something I'd done to Nova itself or concerning the mod...However, after doing the mod update and still getting the issue, I uninstalled the mod completely (except for user created settings and admin/modmanifest CP)...still getting the same errors.
I feel certain it's something I'm doing with installing the mod - or not doing...but for the life of me, I can't track it down or figure it out.
Any suggestions would be greatly appreciated.
Thanks,
~ JC
Re: Help - Undefined Variable
It is not something in Nova that's causing the issue because we don't do anything with division like that on the manifest.Re: Help - Undefined Variable
Thankies...Yes, realized it had to be in the mod somewhere (or something I did installing it) but that was after I'd posted in the wrong Help place...so sorry for that.
Regards,
JC
10 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 2 guests