Hi,
We have an asset listing page, having asset id #29585, which has a number of sites underneath it. For each site, a user group was created and the “Asset Map Root Asset” has been set to point to the respective site. Admin permissions have been set to the each site. The system has been in place for over a year now without any problems.
From these last couple of days, whenever a user logs in, the error “Could not locate asset (#29585)” is displayed on the asset map and the user is presented with all assets (trash etc…) instead of his site and its children.
Do you have any clues on how to solve this problem?
We are running version 3.26.3
[quote]
Hi,
We have an asset listing page, having asset id #29585, which has a number of sites underneath it. For each site, a user group was created and the “Asset Map Root Asset” has been set to point to the respective site. Admin permissions have been set to the each site. The system has been in place for over a year now without any problems.
From these last couple of days, whenever a user logs in, the error “Could not locate asset (#29585)” is displayed on the asset map and the user is presented with all assets (trash etc…) instead of his site and its children.
Do you have any clues on how to solve this problem?
We are running version 3.26.3
[/quote]
It looks like a broken sort order, to check try and run the system_check.php script and to fix backup then try using the system integrity script to fix the sort order.
[quote]
It looks like a broken sort order, to check try and run the system_check.php script and to fix backup then try using the system integrity script to fix the sort order.
[/quote]
Hi,
Thanks for your reply. Unfortunately this didn't solve the problem. I ran the script (system_check.php) and the result was the following:
---------------------------
Invalid Number of Kids on Link Tree Test [ !! ]
There are 1 invalid number of kids found on the system
Form Integrity Test [ OK ]
---------------------------
I than ran the "system_integrity_fix_sort_orders.php" and this is part of the output
---------------------------
- Updating the sort order for kids of: #24475… [done]
- Searching immediate children of: #24475 for branches
#24469 is a parent with kids that will be sorted
- 1 items left to process
- Using 10.39 MB
- Updating the sort order for kids of: #24469… [done]
- Searching immediate children of: #24469 for branches
#13344 is a parent with kids that will be sorted
- 1 items left to process
- Using 10.62 MB
---------------------------
I assume that the asset ID which I have to enter as a parameter is the asset listing page parent's ID… right? I have tried that and even the user group id where the user is located to no avail.
Another thing that was noted is that whenever accessing the "Current Linking screen" (Right click on user account -> linking), blue php notices are being shown:
----
PHP Notice
File: [SYSTEM_ROOT]/core/include/asset_static_screens/linking.inc Line: 140
Message: Undefined index: 35843
Backtrace: Show
PHP Warning
File: [SYSTEM_ROOT]/core/include/asset_static_screens/linking.inc Line: 140
Message: Invalid argument supplied for foreach()
Backtrace: Show
—
Where asset 35843 is the folder in which the user groups are located.
I don't know if this problem is related to the other one.
[quote]
I don't know if this problem is related to the other one.
[/quote]
It could be quite possibly the two are related. It looks like something is wrong with the linking, so there may be some errors like missing records, but it is impossible to tell without some sort of investigation. If you are a Squiz client it would be worth contacting them for support.