EVE-SECURE / joomla-in-eve

Automatically exported from code.google.com/p/joomla-in-eve
0 stars 0 forks source link

Warning: Invalid argument supplied for foreach() in xxx/com_evecharsheet/models/character.php on line 181 #35

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Go to url 
http://www.eve-social.com/index.php?option=com_evecharsheet&view=character&chara
cterID=583989605
2. choose any character
3.

What is the expected output? What do you see instead?
The roles are messed up and the error code is on the top.

Can you provide path and query segment URL of faulty page?
http://www.eve-social.com/index.php?option=com_evecharsheet&view=character&chara
cterID=583989605

What version of the product are you using? Please provide version of core

com_eve-0.6.256.zip 

Please provide any additional information below. Try turn on joomla debug
mode.

I have tore apart the code and reinstalled the eve incursion dump 3 different 
times. I can't seem to find the issue at all.

P.S. debug is currently on. plugins are enambled. Tried invtypes table only 
solution to no avail. 

Original issue reported on code.google.com by vulgar...@gmail.com on 29 Jan 2011 at 2:39

GoogleCodeExporter commented 9 years ago
Okay so I thought maybe could have been an issue with the way i installed it on 
my host. I decided to do some localized testing. I run Wamp on my windows PC 
and I also have an apche server running on my linux box. I opened the 
installation in structions and followed them to the letter. I got the same 
errors. Then I downgrade php from 5.3.5 to b.2 and mysql from 5.5.8 to 5.0.51a 
because of the type vs engine changes and did another clean install and same 
error. I am running out of ideas.

Original comment by vulgar...@gmail.com on 30 Jan 2011 at 2:13

GoogleCodeExporter commented 9 years ago
Okay Problem seems to be using the incursion sql dump. I tested the tyrannis 
dump locally and it removed the error so I am updating the live copy. It will 
take a few hours I will let you know how I fair. You might want to test the 
incursion dump with the current version on your test machine or use a database 
compare tool of some sort to see what changes need made.

Original comment by vulgar...@gmail.com on 30 Jan 2011 at 3:46

GoogleCodeExporter commented 9 years ago
Okay I created a comparison chart for the the tyrannis database and the incurs 
database. 

Differences in inc and tyr 
  `parentTypeID` smallint(6) default NULL,
  `parentTypeID` int(11) default NULL,

CREATE TABLE `dgmAttributeTypes` (
  `attributeID` smallint(6) NOT NULL,
  `attributeName` varchar(100) default NULL,
  `description` varchar(1000) default NULL,
  `graphicID` smallint(6) default NULL,  *Tyrannis*
  `iconID` smallint(6) default NULL,  *Incursion*
  `defaultValue` double default NULL,
  `published` tinyint(1) default NULL,
  `displayName` varchar(100) default NULL,
  `unitID` tinyint(3) unsigned default NULL,
  `stackable` tinyint(1) default NULL,
  `highIsGood` tinyint(1) default NULL,
  `categoryID` tinyint(3) unsigned default NULL,
  PRIMARY KEY  (`attributeID`),
  KEY `categoryID` (`categoryID`),
  KEY `graphicID` (`graphicID`), *Tyrannis*
  KEY `unitID` (`unitID`) *Tyrannis*
  KEY `unitID` (`unitID`), *Incursion*
  KEY `iconID` (`iconID`)  *Incursion*
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

those are just some examples but I know that JIE is absolutely not working with 
the incursion db dump.

Original comment by vulgar...@gmail.com on 30 Jan 2011 at 5:39

GoogleCodeExporter commented 9 years ago
Issue can not be verified with the last database dump (Incursion_1.5_41540).
mayby someone else can check it for security, but i thing that the problem is 
solved.

Original comment by marcomis...@googlemail.com on 24 May 2011 at 7:43

GoogleCodeExporter commented 9 years ago
Seems like that db dump removed learning skills, instead marked them not 
public. I've removed that particular code completely. See Issue #37

Original comment by koval...@gmail.com on 25 May 2011 at 2:40