Asset finder

hi… im creating a redirect page…
i created the redirect page in matrix, then created a standard page child to this redirect page…

im am now trying to set the location for the redirect page to the new standard page…

when i try and change the location for the redirect [i right clicked on the new page asset in the asset tree and selected "use me"] nothing happens… if i try to do it again i get the javascript message "The asset finder is currently in use"…



in fact it seems like i cant use the asset finder for anything… i cant even change designs…



by the way my toolbar is still blank…



any ideas on what might be the problem?



thanks teak

[quote]hi… im creating a redirect page…
i created the redirect page in matrix, then created a standard page child to this redirect page…

im am now trying to set the location for the redirect page to the new standard page…

when i try and change the location for the redirect [i right clicked on the new page asset in the asset tree and selected "use me"] nothing happens… if i try to do it again i get the javascript message "The asset finder is currently in use"…



in fact it seems like i cant use the asset finder for anything… i cant even change designs…



by the way my toolbar is still blank…



any ideas on what might be the problem?



thanks teak[/quote]



Have you tried clearing your browser cache, and restarting it? I have had this problem in the past, and that was always the fix.


thanks for the reply nnhubbard...

hmmm, no... ive deleted my cache and restarted my browser and the problem persists...

tanks teak...

hi… sorry to continue this thread but im still not able to use the asset finder…


id like to apply a design to a standard page but the asset finder doesn't work…



any suggestions?


[quote]thanks for the reply nnhubbard…



hmmm, no… ive deleted my cache and restarted my browser and the problem persists…



tanks teak…[/quote]

It would be a good idea to test if this is happening in another browser, and also another pc (maybe even with a different matrix user). Next thing to check is your matrix and apache logs to see exactly what is going on.


hi, thanks for the reply ndrw...

i was using firefox 2 as firefox 3 has some issues with the asset tree for me as i get a red cross in the top right-hand corner...

in firefox 2 i get the following error when i press the "change" button for the asset design:

[codebox]
ASSET_FINDER_OBJ has no properties
asset_finder_change_btn_press("page_standard_3352_designs[design::system::frontend][designid]", "sq_asset_finder_page_standard_3352_designs_design__system__frontend__designid_", "design|password_change_design|login_design|design_css|design_customisation|design_css_customisa
tion", null)asset_map.js (line 189)
onclick(click clientX=0, clientY=0)_admin (line 1)
[Break on this error] ASSET_FINDER_OBJ.set_button_value(ASSET_FINDER_FIELD_SAFE_NAME + '_change_btn'...
[/codebox]

using ie 7 i tried to add/change the current design and i get the error:

[codebox]
line: 190
Char: 3
Error 'ASSET_FINDER_OBJ' is null or not an object
[/codebox]

i backed up and cleared the error.log , cron_errors.log and the system.log files...

reloaded the admin interface and tried to apply a design to a page again...

the system.log displays:

[codebox]
[2008-11-27 03:30:02][12:Root User][1024:mysource notice][ ] [cron.deadlock - ] (POTENTIAL CRON MANAGER DEAD LOCK ISSUE) - The cron manager for the system "The System" has attempted to run 3 times, but has not been able to for one of two reasons: 1) An existing cron manager is currently running an extremely long running job. 2) Something has caused the cron manager to exit uncleanly and the lock wasn't able to be removed. Check the cron error log (in /home/websites/mysource_matrix/data/private/logs/cron_errors.log) for any information. (System Root Urls : agnsw-matrix.netventures.com.au)
[2008-11-27 03:30:02][12:Root User][1024:mysource notice][ ] [asset.attributes.fulllog.scalar - assetid:16;] (Asset Attribute Changed) - The value of attribute "run_check" for asset "Cron Manager" has been changed from "38200" to "38201"
[2008-11-27 03:30:02][12:Root User][1024:mysource notice][ ] [asset.attributes.scalar - assetid:16;] (Asset Attribute Changed) - The value of attribute "run_check" for asset "Cron Manager" has been changed from "38200" to ""
[/codebox]

the cron_errors.log was blank and seemed not to have any new entries...

the error.log displays:

[codebox]
[27-Nov-2008 03:34:21] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 44 bytes) in /usr/share/php/DB/pgsql.php on line 421
[/codebox]

now i have had this issue for a while now [last post of http://forums.matrix.squiz.net/index.php?showtopic=3217] as the top of the interface is blank also displying this error...
i have set the SQ_CONF_WEB_MEMORY_LIMIT and SQ_CONF_CRON_MEMORY_LIMIT in the main.inc to 64Mb and still no change...

sorry if this is a bit much but i had these issues for a while now and cant for the life of me work it out...

any help or suggestions would be greatly appreciated...

regards teak

It sounds like maybe your apache config isn't setup quite right, or something in the installation has gone wrong with those asset finder errors…someone else might have some ideas. Is anything working in your asset map? Can you move/clone assets or anything?


Otherwise from the other errors:



A php process is using up all the memory allocated to php… bump up the memory_limit in your php.ini, if it's 64 as well, if the error continues you may need to increase all the values again.



Fix the deadlock error (probably just need to acquire the lock)for cron as well - on the options screen of the cron manager

thanks again for the reply…


"

It sounds like maybe your apache config isn't setup quite right, or something in the installation has gone wrong with those asset finder errors…someone else might have some ideas. Is anything working in your asset map? Can you move/clone assets or anything?

"



odd as it was working ok a while ago, i first noticed the problem when i noticed the out of memory error, so i think the installation was ok as i could use it before…

yes i can move assets around on the asset tree… most other operations seem ok on the asset tree itself…



"A php process is using up all the memory allocated to php… bump up the memory_limit in your php.ini, if it's 64 as well, if the error continues you may need to increase all the values again.

"



i had a look at the index.php file in /websites/mysource_matrix/core/web and noticed that on line 29, ini_set('memory_limit', '32M'); so i changed it to ini_set('memory_limit', '128M');…



i also changed the



SQ_CONF_WEB_MEMORY_LIMIT to 128Mb and the

SQ_CONF_CRON_MEMORY_LIMIT to 128Mb



and the:



Resource Limits memory_limit to 128Mb



now i dont get the memory errors and the top bar with the logout is visable again…

but i am getting the merrory error in the "My Space" tab:



[codebox]

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 35 bytes) in /websites/mysource_matrix/core/include/backend.inc on line 1179

[/codebox]



so i cant access My Space or messages [i can access the messages throught the DB though in the sq_internal_msg table]…



the system configuration states that both the Web Memory Limit and the Cron Memory Limit is now 128Mb…



but i still cant apply designs to new or any pages/assests…



regards



teak

Did you restart Apache after you changed the memory limits? If not, the old limit would still be in place.



yes i did...

thanks

Hi, with your error; 67108864 = 64MB so assuming you have restarted apache you may have something else setting the php memory limit.


thanks... yes i noticed this but cant find what is holding the 64Mb limit then...

ive looked at the php.ini file and the main.inc files and the matrix system configuration states that both the Web Memory Limit and the Cron Memory Limit is 128Mb...

any sugestions on how i can find out what is limiting the memory to 64Mb? phpinfo? where?

thanks

teak

aha…


the index.php file at /core/web/ has on line 29:



ini_set('memory_limit', '16M');



i changed this to



ini_set('memory_limit', '128M');



and lo and behold the memory errors have ceased…



i think this needs to be made cleared to everyone out there using matrix as it took me a long time [since june/july] looking at the files in the system to find it…

im sure someone out there has the same issue [or will have]…



thanks for the help so far hopefully i can give some back…



regards teak

[quote]the index.php file at /core/web/ has on line 29:
ini_set('memory_limit', '16M');



i think this needs to be made cleared to everyone out there using matrix as it took me a long time [since june/july] looking at the files in the system to find it…

im sure someone out there has the same issue [or will have]…[/quote]



Note that this is only relevant if you don't have a version where the memory limit it set on the System Configuration screen. If you have at least version 3.12 you wont have this line in your file. If you still do, you have not been upgraded correctly.