Deprecated: Joomla\Input\Input implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /homepages/13/d380392445/htdocs/Jlive/libraries/vendor/joomla/input/src/Input.php on line 41

Deprecated: Return type of Joomla\Input\Input::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /homepages/13/d380392445/htdocs/Jlive/libraries/vendor/joomla/input/src/Input.php on line 170
Resolved: Can't save issue in 1.2.0 - Macrotone Forum

Unknown Error 8192: KunenaControllerApplicationDisplay implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in libraries/kunena/controller/application/display.php on line 21


Unknown Error 8192: Automatic conversion of false to array is deprecated in libraries/kunena/route/route.php on line 437


Unknown Error 8192: ComponentKunenaControllerWidgetAnnouncementDisplay implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in components/com_kunena/controller/widget/announcement/display.php on line 18


Unknown Error 8192: ComponentKunenaControllerTopicItemDisplay implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in components/com_kunena/controller/topic/item/display.php on line 25


Unknown Error 8192: Automatic conversion of false to array is deprecated in libraries/kunena/forum/category/category.php on line 415


Unknown Error 8192: Automatic conversion of false to array is deprecated in libraries/kunena/bbcode/bbcode.php on line 107

Resolved: Can't save issue in 1.2.0


Unknown Error 8192: ComponentKunenaControllerTopicItemActionsDisplay implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in components/com_kunena/controller/topic/item/actions/display.php on line 23


Unknown Error 8192: ComponentKunenaControllerTopicPollDisplay implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in components/com_kunena/controller/topic/poll/display.php on line 21


Unknown Error 8192: ComponentKunenaControllerTopicItemMessageDisplay implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in components/com_kunena/controller/topic/item/message/display.php on line 23

11 years 8 months ago - 11 years 8 months ago #1 by jr@omnipotent.com.au
Hi,

On Joomla 2.5.6, I installed 1.1, installed 1.2 over it, got some errors, uninstalled, installed 1.2, no errors :-)

When I try to save an issue, I get the error below.
I tried to delete the People records. Got no errors, but the records were not deleted, so I deleted them in PHPMyAdmin.
I reinstalled 2.2 and the People records where created again.
I still can't save an issue and get the error below.

"Save failed with the following error: IssueTrackerTableItissues: :store failed
Cannot add or update a child row: a foreign key constraint fails (`omnipote_jos1`.`jos_it_issues`, CONSTRAINT `jos_it_issues_identified_by_fk` FOREIGN KEY (`identified_by_person_id`) REFERENCES `jos_it_people` (`id`)) SQL=INSERT INTO `jos_it_issues` (`id`,`alias`,`issue_summary`,`issue_description`,`identified_by_person_id`,`identified_date`,`related_project_id`,
`assigned_to_person_id`,`issue_type`,`status`,`state`,`ordering`,`priority`,`target_resolution_date`,`progress`,
`actual_resolution_date`,`resolution_summary`,`created_on`,`created_by`,`modified_on`,`modified_by`) VALUES ('0','AS9CLATYUQ','test','

test
','42','2012-09-03 17:36:57','1','1','1','4','0','1','2','','','','','2012-09-03 07:37:11','This email address is being protected from spambots. You need JavaScript enabled to view it.','','')"

Unknown Error 8192: ComponentKunenaControllerMessageItemActionsDisplay implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in components/com_kunena/controller/message/item/actions/display.php on line 25

The topic has been locked.
11 years 8 months ago #2 by geoffc
Hi

First I am interested in the errors you got whilst installing, since there shouldn't have been any. I certainly haven't seen any and I have installed many many times. If you can remember please let me know.

I see that you are running on Joomla 2.5.6, from the id (see below) I suspect this is an upgraded site, although I do not think this is a cause of your problems.

I also suspect that you are creating your issue in the admin back end of the site.

The error you are seeing is due to the inability of the component to find the specified person in the people table. It is looking for a person with an id of 42. This is the 'identified_by' user. (Fifth field in the insert statement.)

Look in the it_people table and check the entry for id 42 and let me know what you find. If the id is not present then that would explain the failure to save the issue. If it is present then I will need to look deeper.

Re your deletion problem, what is the setting in the component options for the 'Delete mode'. General Settings tab, first setting?
I suspect that you have it 'disabled'. I have checked the code and when you tried to delete the 'people' you should have seen a system message saying that the delete mode is disabled. This would have been displayed in the 'System Notification Area'. This would have been informative rather than an error. It explains why they were not deleted. If you didn't see the message what admin template are you using?

After you deleted the users via phpadmin, re-installing (or re-syncing the users) whould repopulate (the registered) users into the it_people table. Non-registered users would be lost.

Appended clarification: In the it_people table in version 1.2. are two sets of 'id' numbers. The first set 'id' is an increasing sequence starting at 31 and increasing. The first 30 numbers are 'locked' for possible 'sample data' users and the 'anonymous' user. The second set is the 'user_id' which is the value of the user id as stored in the jos_users table. The id value is used for determination of the 'issue identifying user'. Is this is a test site, the value of 42 for an 'id' seems rather high unless you have a number of users on your test site?

On a new install of Issue Tracker I can set the starting id sequence (to 31), but on an upgrade I have to be more careful, since the id in release 1.1.0 was the 'user_id' value. Hence my interest in the it_people id values.

PS I realise our time zones are very different, so I will check in early tomorrow to see how you get on.

Edited by geoffc - 03.09.2012 18:32

Regards
Geoff
The topic has been locked.
11 years 8 months ago #3 by jr@omnipotent.com.au
Thanks for your response Geoff :-)

Sorry, I can't recall the install errors.

The problem occurs in the front end and back end, but its silent on the front end.

My it_people table has 2 records

1: id=35, user_id=42
2: id=36, user_id=43

You are spot on with the delete problem, thanks :-)

I've just tried uninstalling again then checking all tables and folders are deleted. it_emails was the only table not deleted. Installed again, but still can't save an issue. I've also tried with a new user.

Issue Tracker is a really neat looking solution by the way.

Cheers.
The topic has been locked.
11 years 8 months ago #4 by geoffc
Hi,

First the it_email table not being removed is a known (and fixed) problem see Issue AS5X3UGH06 visible in the recently closed issues as shown on the RHS of the screen on the website.

Also glad that the 'delete' problem is resolved.

Right now to find out why you can not save the issue.
I would have expected that the identified_by value would have been either 35 or 36 since those are the two available.

I would also have expected an extra entry with an id=1 user_id = null person_name 'Anonymous'. This should have been created 'automatically'.

I assume from what you have said that you selecting the identifying person from the drop down list and not letting it default before you save.

I will have to perform a few install test to double check this, but from a code inspection I can not immediately see what is wrong. It didn't show up in the QA testing but there must be something lurking in there. Will update the thread after I have done the testing.

Just one more question. Is this Joomla installation staight from a 2.5.6 release, or is it an older (say 2.5.1) and then upgraded to 2.5.6? The reason I ask is that you have a user_id of 42 who I presume is the 'Super User', which although possible, is not usual in a fresh 2.5.6 install since it is supposed to randomise the Super User id. It may or may not have an impact so I may need to run a few tests against that possibility.

Edited by geoffc - 04.09.2012 09:06

Found it. Whilst I now work out a fix the following should work. If when you save an issue you specifically pick an identified_by user and an assigned_to user then the issue will be saved. The problem is in the setting of the defaults if the fields are not explicitly filled in when you create the issue.

Edited by geoffc - 04.09.2012 10:07

Right I have a fix. I have raised an issue against our system which you should be able to view when you log into the site. On the LHS of the page under the 'User Menu' you wil see an item 'Your Raised Issues'. Click on the link and your issue should be shown in the list. Click on the issue link to view the entire issue details. Several files will need modifying.

I have been unable to duplicate the missing id 1 (Anonymous user) who does get created on a fresh install on our test systems. I am also a little puzzled as to why the it_people id's start at 35 on your site. A fresh install starts them off at id = 31 which with a clean install be the Super User.

If you do not feel confident about making the changes yourself, let me know and I can send you a new zip file. When you have confirmed they fix your problem I will close the issue.

I would also then enclose the fix ready for the next release, which may be release 1.2.1 to resolve this and the failure to remove the it_emails table, and a few other minor requested improvements.

Edited by geoffc - 04.09.2012 13:30

Regards
Geoff
The topic has been locked.
11 years 8 months ago #5 by jr@omnipotent.com.au
Thanks Geoff,
I think I'd better go for the zip file because I'm not confident about the line numbers

Regrading the anonymous user, sorry to confuse you... it is there with an id of 1.

Yes, this is a site upgraded from pre Joomla 2.5
The topic has been locked.
11 years 8 months ago #6 by geoffc
Now I have a bit of the history that explains the id numbers.

I will send you a zip file which will be a pre-release of 1.2.1. Just install it as usual. It should be fine, but being a pre-release I must warn you that there may be one or two undiscovered problems.

Let me know how you get on.

Regards
Geoff
The topic has been locked.
Time to create page: 0.162 seconds
Go To Top

Joomla! Debug Console

Session

Profile Information

Memory Usage

Database Queries