Bug #51864
closedFatal Error on empty repository table
0%
Description
I installed TYPO3 6.2 alpha2 on my server (tx_extensionmanager_domain_model_repository table is empty)
Go to the EM > get Extensions > "update now" Button and the ajax request call this Link:
"typo3/mod.php?M=tools_ExtensionmanagerExtensionmanager&tx_extensionmanager_tools_extensionmanagerextensionmanager[action]=updateExtensionListFromTer&tx_extensionmanager_tools_extensionmanagerextensionmanager[controller]=UpdateFromTer&tx_extensionmanager_tools_extensionmanagerextensionmanager[format]=json&tx_extensionmanager_tools_extensionmanagerextensionmanager[forceUpdateCheck]=1&_=1378728448325"
output of this link was:
"Fatal error: Call to a member function getUid() on a non-object in .../typo3/sysext/extensionmanager/Classes/Utility/Repository/Helper.php on line 251"
a Workaround with SQL query:
INSERT INTO `typo3_xxx`.`tx_extensionmanager_domain_model_repository` (
`uid` ,
`pid` ,
`title` ,
`description` ,
`wsdl_url` ,
`mirror_list_url` ,
`last_update` ,
`extension_count`
)
VALUES (
NULL , '0', '', NULL , 'http://typo3.org/mirrors.xml.gz', '', '0', '0'
);
Updated by Philipp Gampe about 11 years ago
- Status changed from New to Needs Feedback
How did you do the installation? Did you just extracted the source and ran the installer?
Updated by Mario Näther about 11 years ago
Philipp Gampe wrote:
How did you do the installation? Did you just extracted the source and ran the installer?
yes, I extracted the source and startet the installer and update wizard.
I just restarted the Update Wizard, the mirrors.xml Url was saved in table "tx_extensionmanager_domain_model_repository" and Update Now Button in EM works!
The Fatal Error occured only if table is empty.
Updated by Mario Näther almost 11 years ago
Philipp Gampe wrote:
How did you do the installation? Did you just extracted the source and ran the installer?
hi Phillip,
I tested currently on v6.2 Beta4 with extraced Source and run the installer.
For reproduce this Exception, go to phpmyadmin and truncate the table "tx_extensionmanager_domain_model_repository". Go to Ext. Manager > Get Extensions > click on th button "Update now".
Updated by Alexander Opitz over 10 years ago
- Target version deleted (
6.2.0)
Why do you truncate this table?
If you do a new install => The table will be created with this entry.
If you upgrade a install => The table is there with that entry.
So why truncating this table?
Updated by Alexander Opitz about 10 years ago
- Status changed from Needs Feedback to Closed
No feedback within the last 90 days => closing this issue.
If you think that this is the wrong decision or experience this issue again, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.