Ticket #4957 (closed defect: fixed)

Opened 1 month ago

Last modified 1 month ago

elgg_project_import.php errors

Reported by: cedenoj Assigned to: insvn
Priority: major Milestone: Post_Elgg1.5
Component: Trac Version:
Keywords: Cc:

Description

The bug below has been fixed in the live site, but now we need to put it in svn.

WARNING: 2009-10-12 14:00:09 (PDT): "Invalid argument supplied for foreach()" in file /data/management/projectsync/elgg_project_import.php (line 36) *** FATAL EXCEPTION *** : exception 'IOException' with message 'Failed to load new ElggObject? from GUID:1790' in /var/www/staging.beaversource.oregonstate.edu/htdocs/engine/lib/objects.php:57 Stack trace: #0 /var/www/staging.beaversource.oregonstate.edu/htdocs/engine/lib/entities.php(1457): ElggObject?->construct(Object(stdClass)) #1 /var/www/staging.beaversource.oregonstate.edu/htdocs/engine/lib/database.php(287): entity_row_to_elggstar(Object(stdClass)) #2 /var/www/staging.beaversource.oregonstate.edu/htdocs/engine/lib/entities.php(1833): get_data('SELECT * from e...', 'entity_row_to_e...') #3 /var/www/staging.beaversource.oregonstate.edu/htdocs/engine/lib/entities.php(726): delete_entity('1291') #4 /data/management/projectsync/elgg_project_import.php(95): ElggEntity?->delete() #5 {main}

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta name="ElggRelease?" content="1.5" /> <meta name="ElggVersion?" content="2009031301" /> <title>Beaversource: Welcome to Elgg.</title>

<script type="text/javascript" src="http://beaversource.oregonstate.edu/social/vendors/jquery/jquery-1.2.6.pack.js"></script> <script type="text/javascript" src="http://beaversource.oregonstate.edu/social/vendors/jquery/jquery-ui-personalized-1.5.3.packed.js"></script> <script type="text/javascript" src="http://beaversource.oregonstate.edu/social/_css/js.php?lastcache=1255380952&js=initialise_elgg&viewtype=default"></script> <!-- include the default css file --> <link rel="stylesheet" href="http://beaversource.oregonstate.edu/social/_css/css.css?lastcache=1255380952&viewtype=default" type="text/css" />

<script type="text/javascript">

jQuery(document).ready(function($) {

$('a[rel*=facebox]').facebox()

}); </script> <script type="text/javascript" src="http://beaversource.oregonstate.edu/social/mod/embed/jquery.form.js"></script> <script type="text/javascript">

$(document).ready(function(){

$("#index_top > h2").hover(

function () {

$(this).append($("<span><a href=\"/projects/admin/wiki/UsingBeaversource\">[Help]</a></span>"));

}, function () {

$(this).find("span:last").remove();

}

);

$("#profile_info_column_middle > .profile_info_edit_buttons").hover(

function () {

$(this).prepend($("<span><a href=\"/projects/admin/wiki/CreatingaProfile\">[Help]</a></span>"));

}, function () {

$(this).find("span:first").remove();

}

);

$(".collapsable_box_header > h1").hover(

function () {

$(this).append($("<span><a href=\"/projects/admin/wiki/CreatingaProfile\">[Help]</a></span>"));

}, function () {

$(this).find("span:last").remove();

}

);

$(".index_box > h2:contains('Latest groups')").hover(

function () {

$(this).append($("<span><a href=\"/projects/admin/wiki/CreatingandInteractingWithCommunities\">[Help]</a></span>"));

}, function () {

$(this).find("span:last").remove();

}

);

$(".index_box > h2:contains('Newest people')").hover(

function () {

$(this).append($("<span><a href=\"/projects/admin/wiki/FindingAndAddingFriends\">[Help]</a></span>"));

}, function () {

$(this).find("span:last").remove();

}

);

$("#nonexistantid").hover(

function () {

$(this).append($("<span><a href=\"/projects/admin/wiki/UsingBeaversource\">[Help]</a></span>"));

}, function () {

$(this).find("span:last").remove();

}

);

$("#nonexistantid").hover(

function () {

$(this).append($("<span><a href=\"/projects/admin/wiki/UsingBeaversource\">[Help]</a></span>"));

}, function () {

$(this).find("span:last").remove();

}

);

$("#nonexistantid").hover(

function () {

$(this).append($("<span><a href=\"/projects/admin/wiki/UsingBeaversource\">[Help]</a></span>"));

}, function () {

$(this).find("span:last").remove();

}

);

});

</script> </head>

<body>

<div id="elgg_topbar">

<div id="elgg_topbar_container_left">

<div class="toolbarlinks">

<a href="http://beaversource.oregonstate.edu/social/../" class="rb">Home</a> <a href="http://beaversource.oregonstate.edu/social/mod/members/index.php" class="rb">People</a> <a href="http://beaversource.oregonstate.edu/social/pg/groups/world/" class="rb">Communities</a> <a href="http://beaversource.oregonstate.edu/social/pg/projects/world/" class="rb">Projects</a> <!--<a href="http://beaversource.oregonstate.edu/social/mod/marketplace/index.php" class="rbi">Marketplace</a>--> <a href="http://beaversource.oregonstate.edu/social/../request/" class="rb">Request a Project</a> <a href="http://beaversource.oregonstate.edu/social/../projects/admin/wiki/Documentation/" class="rb">Help!</a>

</div>

</div>

<div id="banner">

<div id="header"><!-- open div header -->

<div style="float: right;"><img src="http://beaversource.oregonstate.edu/social/mod/bsctheme/graphics/wordmark.gif"/></div> <a href="http://beaversource.oregonstate.edu/social/" id="logo"><img alt="" src="http://beaversource.oregonstate.edu/social/mod/bsctheme/graphics/logo.png"/> <h1>Beaversource</h1></a>

<hr/>

</div>

<div id="elgg_topbar_container_search">

<form id="searchform" action="http://beaversource.oregonstate.edu/social/search/" method="get">

<input type="text" size="21" name="tag" value="Search" onclick="if (this.value=='Search') { this.value= }" class="search_input" /> <input type="submit" value="Go" class="search_submit_button" />

</form> </div>

</div>

<div id="mainnav" class="nav"><!-- start toolbar -->

<ul><!-- open div navigation -->

</ul><!-- close div navigation -->

</div><!-- end toolbar div -->

<div id="page_container"> <div id="page_wrapper">

<!-- main contents -->

<!-- display any system messages -->

<!-- canvas --> <div id="layout_canvas">

<!-- main content --> <div id="one_column">

<div id="content_area_user_title"><h2>IOException</h2></div> <p class="messages-exception">

<span title="IOException">

<b><p>Failed to load new ElggObject? from GUID:1790</p>

</b>

</span>

</p>

</div><!-- /one_column --> <div class="clearfloat"></div> </div><!-- /#layout_canvas -->

<!-- footer --> <!-- start footer --> <div id="footer"> <hr /> <a id="tracpowered" href="http://trac.edgewall.org/"><img src="http://beaversource.oregonstate.edu/social/mod/bsctheme/graphics/trac_logo_mini.png" height="30" width="107" alt="Trac Powered"/></a> <p class="left"> Powered by <a href="/projects/admin/about"><strong>Trac 0.10.3</strong></a><br /> By <a href="http://www.edgewall.org/">Edgewall Software</a>. </p>

<p><a href="http://beaversource.oregonstate.edu/social/pg/expages/read/About/">About</a></p> <p><a href="http://beaversource.oregonstate.edu/social/pg/expages/read/Terms/">Terms</a></p> <p><a href="http://beaversource.oregonstate.edu/social/pg/expages/read/Privacy/">Privacy</a></p>

<p> <a href="http://elgg.org/"><img src="http://beaversource.oregonstate.edu/social/mod/bsctheme/graphics/elgg_powered.png" title="Elgg powered" border="0" alt="Elgg powered" align="left"/></a>&nbsp; </p> <p> <a href="http://www.nsf.gov/"><img src="http://beaversource.oregonstate.edu/social/mod/bsctheme/graphics/nsf.gif" height="40" alt="Sponsored by: NSF"/></a>Sponsored by: NSF <br />under project: CCF-0722362 </p> </div> <!-- end footer -->

Change History

10/15/09 21:40:35 changed by cedenoj

(In [468]) refs #4957: adding some error checking and changing the paths used by the elgg import script.

10/15/09 21:42:27 changed by cedenoj

  • owner changed from cedenoj to insvn.

10/17/09 01:43:01 changed by cedenoj

(In [471]) refs #4960, #4959, #4957 Creating a new tag for bs-admin. This tag includes bug fixes to the elgg15 script and elgg_import script.

10/26/09 00:18:21 changed by cedenoj

  • status changed from new to closed.
  • resolution set to fixed.