Author
|
Message
|
Sandra Parente
|
Wednesday 29 September 2010 1:28:23 am
I have many problems with the new release with ezwebin and admin2 design: - I cannot see the subitems list when I watch a node, and no 'create child node here' button - no object sorting order can be set; - If I try to manage sessions from setup I receive an error; - the setup section turns mainly in english from italian after all caches clear. I reinstalled the version with ez components but the problems are the same. Maybe these problems are connected to two issues I found in beta2 : http://issues.ez.no/IssueView.php?Id=17259&activeItem=2 http://issues.ez.no/IssueView.php?Id=17260&activeItem=1
Sandra Parente
www.netbliss.it
|
Sandra Parente
|
Wednesday 29 September 2010 2:43:41 am
I found this in error.log:
"
Error ocurred using URI: /extension/ezjscore/design/standard/lib/yui/2.8.1/build/utilities/utilities.js
"
I opened the admin interface with all browsers on mac and windows and on IE7 I receive this error:
Sandra Parente
www.netbliss.it
|
Ivo Lukac
|
Wednesday 29 September 2010 3:06:52 am
- I can confirm subitems issue with Chrome - For ordering you have the tab on node view called "Ordering" - session handling is changed in ez4.4, maybe you are missing something in PHP?
http://www.linkedin.com/in/ivolukac
http://www.netgen.hr/eng/blog
http://twitter.com/ilukac
|
Sandra Parente
|
Wednesday 29 September 2010 3:19:27 am
Thanks for your answer Ivo. - I think it's a java problem, the part under "Subitems ()" is loaded (I can read it from page source) but not displayed, no matter the OS or the browser. Seems a cookie problem; - Of course the ordering is works from the new tab, but I cannot see the result because subitems are not displayed (silly me!) - About session handling do you know where I can find more doc on 4.4 php settings?
Sandra Parente
www.netbliss.it
|
Nicolas Pastorino
|
Wednesday 29 September 2010 3:21:40 am
A little more information there : http://issues.ez.no/IssueView.php?Id=16678& Cheers !
--
Nicolas
|
Ivo Lukac
|
Wednesday 29 September 2010 3:26:00 am
"
Thanks for your answer Ivo. - I think it's a java problem, the part under "Subitems ()" is loaded (I can read it from page source) but not displayed, no matter the OS or the browser. Seems a cookie problem; - Of course the ordering is works from the new tab, but I cannot see the result because subitems are not displayed (silly me!) - About session handling do you know where I can find more doc on 4.4 php settings?
"
try regenerate autoloads because 4.4 uses new ezpSessionHandlerPHP for anonymous usere. Check CHANGELOG 4.4 in doc folder...
http://www.linkedin.com/in/ivolukac
http://www.netgen.hr/eng/blog
http://twitter.com/ilukac
|
Sandra Parente
|
Wednesday 29 September 2010 6:09:50 am
- Solution for the Subitems non displayed: follow exactly this instruction for virtual host setup; http://doc.ez.no/eZ-Publish/Technical-manual/4.x/Installation/Virtual-host-setup - The translation problem is solved by repeating cache clearing many times - Session handling problem: regenerating autoloads does not solve it Cheers!
Sandra Parente
www.netbliss.it
|
Mario Ivancic
|
Thursday 30 September 2010 7:27:55 am
To make it work, I commented out the first 2 FilesMatch directives in .htaccess and subitems then showed in administration. After that I uncomment those 2 FilesMatch directive and now everything works like a charm.
<FilesMatch ".">
order allow,deny
deny from all
</FilesMatch>
<FilesMatch "(^index\.php|favicon\.ico|index_treemenu\.php|\.(gif|jpe?g?|png|css|js|swf|html?)|var(.+)storage.pdf(.+)\.pdf)$">
order allow,deny
allow from all
</FilesMatch> This is very strange bug. I am not satisfied how did I manage to solve it(?), because I don't like when things are solved by it self. EDIT: Now I see that in content structure tree menu subitems are not showing. :(
--
http://www.escapestudio.net
http://twitter.com/MarioIvancic
|
André R.
|
Thursday 30 September 2010 7:28:21 am
I guess that by session "error", you are really referring to the "information" that the eZ session handler you are using does not support administrating session. The default eZ session handler 'ezpSessionHandlerPHP' does not support this as it lets php handles sessions, by default that means sessions are stored to disk using the default PHP session handler: 'files' :) So, there are handlers at two levels, in php (files / memcached..) and in ez (db / php). If you for some reason need to administrate session, you can switch back to db session handler by specyfing site.ini\[Session]\Handler=ezpSessionHandlerDB in your settings.
eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom
|
Sandra Parente
|
Friday 01 October 2010 12:18:18 pm
Thanks Andrè, I see now that the new session handler is well described in session_enhancement.txt, but I think that the "information" in admin interface is too short. It would be better to put a link to doc or just explain in few words the two session handlers as you have done in your post.
Sandra Parente
www.netbliss.it
|
Marko Žmak
|
Sunday 03 October 2010 4:34:46 am
"
- I can confirm subitems issue with Chrome
"
It works without problems in my Chrome (7.0), even faster than in FF. With what version of Chrome did you try it? But the display of the subitems is not working smoothly, I have reported it with more details here: http://share.ez.no/forums/general/better-subitems-display-in-4.4-admin
--
Nothing is impossible. Not if you can imagine it!
Hubert Farnsworth
|
Duffy Walsh
|
Monday 04 October 2010 8:45:46 am
Sorry if this is a redundant question, but I am having the same problem. I have read through the thread, and tried a couple things: editing the Session/Handler in site.ini, and regenerating autoloads. Unfortunately, my hosting solution at the moment will not allow me to run as a virtual host. Is there any other way to solve this issue? Regards and thanks for the help.
Duffy Walsh
|
Marko Žmak
|
Monday 04 October 2010 2:54:15 pm
"
Sorry if this is a redundant question, but I am having the same problem. I have read through the thread, and tried a couple things: editing the Session/Handler in site.ini, and regenerating autoloads. Unfortunately, my hosting solution at the moment will not allow me to run as a virtual host. Is there any other way to solve this issue? Regards and thanks for the help.
"
Try with the rewrite rules in .htacces. The subitems are fetched via an Ajax call so first try to inspect it's response, it should return JSON code with the data of subitems. If it returns anything else, like some HTML page or 404 error, then it's probably a problem in the rewrite rules. Also, what browser are you using?
--
Nothing is impossible. Not if you can imagine it!
Hubert Farnsworth
|
Duffy Walsh
|
Tuesday 05 October 2010 10:31:56 pm
"
Try with the rewrite rules in .htacces. The subitems are fetched via an Ajax call so first try to inspect it's response, it should return JSON code with the data of subitems. If it returns anything else, like some HTML page or 404 error, then it's probably a problem in the rewrite rules. Also, what browser are you using?
"
Marko, Thank you very much for the response, I followed your advice and dove more into what was wrong with the rewrite rules and eventually, this worked for getting the virtual host working via .htaccess, getting rid of the "index.php?" in the url, and allowing subitems to display: DirectoryIndex index.php
RewriteEngine On
# RewriteCond %{HTTP_HOST} ^webdav\..*
# RewriteRule ^(.*) webdav.php [L]
# RewriteCond %{HTTP_HOST} ^soap\..*
# RewriteRule ^(.*) soap.php [L]
RewriteRule content/treemenu/? /index_treemenu.php [L]
RewriteRule ^var/storage/.* - [L]
RewriteRule ^var/[^/]+/storage/.* - [L]
RewriteRule ^var/([^/]+/)?cache/(texttoimage|public)/.* - [L]
RewriteRule ^design/[^/]+/(stylesheets|images|javascript)/.* - [L]
RewriteRule ^share/icons/.* - [L]
RewriteRule ^extension/[^/]+/design/[^/]+/(stylesheets|images|javascripts?)/.* - [L]
Rewriterule ^packages/styles/.+/(stylesheets|images|javascript)/[^/]+/.* - [L]
RewriteRule ^packages/styles/.+/thumbnail/.* - [L]
RewriteRule ^favicon\.ico - [L]
RewriteRule ^robots\.txt - [L]
# Uncomment the following lines when using popup style debug.
# RewriteRule ^var/cache/debug\.html.* - [L]
# RewriteRule ^var/[^/]+/cache/debug\.html.* - [L]
RewriteRule .* index.php [L]
Thanks for the help!
Duffy Walsh
|
Duffy Walsh
|
Wednesday 06 October 2010 1:23:10 am
Actually, I may have spoken too soon. Once I made the above corrections, the sub-items began displaying. However, after working on the site building some overrides, I noticed that once again the subitems in the admin had disappeared. I am viewing the site with Firefox 3.6.10 and Chrome 5.0.375.70. Using Firebug I inspected the div "box-content" which appeared to contain all the proper ajax calls. However, when i go to see it's related style in the CSS window of Firebug, it is not picking up the style. Either way, the "Data Error" message is not displayed, but neither are the subitems. When I do log out and back in to the admin, the items sometimes appear for a brief second. Any advice?
Duffy Walsh
|
Marko Žmak
|
Wednesday 06 October 2010 2:22:07 am
Try clearing the eZ cache and then the browser cache. What JSON do you get in the respond to the ajax call? For me it works in FF 3.6.10, and in Chrome 7.0.536, it just has some performance problems.
--
Nothing is impossible. Not if you can imagine it!
Hubert Farnsworth
|
Duffy Walsh
|
Wednesday 06 October 2010 3:00:34 am
I cleared the eZ cache, and am now looking for a good method to see what JSON is sent back from the ajax call. I m trying to use firebug's JSON inspector, and i'm seeing the following - it's working for children.tpl: i see a JSON response with the appropriate number of childen and all their details are correct, and the admin displays SubItems(5) correctly. but the div directly under it "box-content" does not appear at all, nor can i seem to bring up the json response. I'm not sure what is going on as it is probably worth mentioning that none of the action controls are showing up now either... for adding an object... etc
Duffy Walsh
|
Marko Žmak
|
Wednesday 06 October 2010 4:54:13 am
Hm, this could maybe be a problem related to ezjscore extension. Do you get any JS errors in firebug? When the subitems are NOT shown, what CSS and JS files are loaded with your page? Do they have the right CSS/JS content?
--
Nothing is impossible. Not if you can imagine it!
Hubert Farnsworth
|
Duffy Walsh
|
Friday 08 October 2010 1:31:40 pm
"
Hm, this could maybe be a problem related to ezjscore extension. Do you get any JS errors in firebug? When the subitems are NOT shown, what CSS and JS files are loaded with your page? Do they have the right CSS/JS content?
"
Thanks again for the response Marko, I am just getting back to this now. There are two JS errors in firebug. YUI not loading Here is the list of CSS files loaded:
<link rel="stylesheet" type="text/css" href="/design/admin2/stylesheets/core.css" />
<link rel="stylesheet" type="text/css" href="/design/standard/stylesheets/debug.css" />
<link rel="stylesheet" type="text/css" href="/design/admin2/stylesheets/pagelayout.css" />
<link rel="stylesheet" type="text/css" href="/design/admin2/stylesheets/content.css" />
<link rel="stylesheet" type="text/css" href="/design/admin2/stylesheets/theme/rounded.css" />
<link rel="stylesheet" type="text/css" href="/design/admin2/stylesheets/theme/yui_datatable.css" />
<link rel="stylesheet" type="text/css" href="/design/admin2/stylesheets/theme/yui_menu.css" /> <link rel="stylesheet" type="text/css" href="/design/admin2/stylesheets/theme/yui_container.css" /> It seems that maybe i need an additional RewriteRule to allow access to the extension/ezjscore directories it is trying to access yui-min.js and yuiloader-min.js
Duffy Walsh
|
Marko Žmak
|
Friday 08 October 2010 2:58:42 pm
See what are the links to ALL the JS files in the page. Then open in your browser all this links and for each one see what you get. If you get HTML content then it's a problem in rewrite rules. If you get proper JS code then the problem is somewhere else.
--
Nothing is impossible. Not if you can imagine it!
Hubert Farnsworth
|