MantisBT - ATutor
View Issue Details
0002382ATutorContentpublic2006-04-26 04:552006-05-30 11:17
greg 
user2 
normalminoralways
closedfixed 
 
1.5.3 
SVN
0002382: delete course fails
When trying to delete a course on my local installation, I get the following error

Parse error: parse error, unexpected T_OBJECT_OPERATOR, expecting T_PAAMAYIM_NEKUDOTAYIM or '(' in /usr/local/apache/htdocs/atutorsvn/docs/include/lib/delete_course.inc.php on line 45

On the telmedtemp installation, I get a blank screen when I try to delete a course.
No tags attached.
Issue History
2006-04-26 04:55gregNew Issue
2006-05-29 07:31user2Statusnew => resolved
2006-05-29 07:31user2Resolutionopen => duplicate
2006-05-29 07:31user2Assigned To => user2
2006-05-29 13:31gregAffects version => SVN
2006-05-29 13:31gregStatusresolved => feedback
2006-05-29 13:31gregResolutionduplicate => reopened
2006-05-29 13:31gregNote Added: 0001860
2006-05-29 13:34gregNote Added: 0001861
2006-05-30 05:52user2Statusfeedback => resolved
2006-05-30 05:52user2Fixed in Version => 1.5.3
2006-05-30 05:52user2Resolutionreopened => fixed
2006-05-30 05:52user2Note Added: 0001863
2006-05-30 11:17user2Statusresolved => closed

Notes
(0001860)
greg   
2006-05-29 13:31   
It still seems to be a problem, though now I'm getting a blank screen without the error message.
(0001861)
greg   
2006-05-29 13:34   
Here's the error message from the apache log, on two delete attempts


[Mon May 29 17:34:39 2006] [error] PHP Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /usr/local/apache/htdocs/atutorsvn/docs/mods/_standard/links/module_delete.php on line 10
[Mon May 29 17:34:39 2006] [error] PHP Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /usr/local/apache/htdocs/atutorsvn/docs/mods/_standard/file_storage/module_delete.php on line 21
[Mon May 29 17:34:39 2006] [error] PHP Fatal error: Cannot redeclare forums_delete() (previously declared in /usr/local/apache/htdocs/atutorsvn/docs/mods/_standard/forums/module_delete.php:3) in /usr/local/apache/htdocs/atutorsvn/docs/mods/_standard/blogs/module_delete.php on line 3
[Mon May 29 17:35:14 2006] [error] PHP Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /usr/local/apache/htdocs/atutorsvn/docs/mods/_standard/links/module_delete.php on line 10
[Mon May 29 17:35:14 2006] [error] PHP Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /usr/local/apache/htdocs/atutorsvn/docs/mods/_standard/file_storage/module_delete.php on line 21
[Mon May 29 17:35:14 2006] [error] PHP Fatal error: Cannot redeclare forums_delete() (previously declared in /usr/local/apache/htdocs/atutorsvn/docs/mods/_standard/forums/module_delete.php:3) in /usr/local/apache/htdocs/atutorsvn/docs/mods/_standard/blogs/module_delete.php on line 3
(0001863)
user2   
2006-05-30 05:52   
opened the wrong bug. it's the other that is about this.