eZ Community » Forums » General » Redirection problem:...
expandshrink

Redirection problem: {"error_code":0,"node_id":

Redirection problem: {"error_code":0,"node_id":

Sunday 13 April 2014 9:15:42 am - 6 replies

Hello friends!
I use:

  • Community Project 2012.6 (Community Project 2012.6)
  • 4.3.0 (4.3.0)

Recently discovered the error when redirecting in both versions.

 {"error_code":0,"node_id":43,"children_count":3,"children":[{"node_id":53,"object_id":51,
"class_id":1,"has_children":0,"name":"Multimedia","url":"\/site_admin\/Media\/Multimedia",
"modified_subnode":1303821158,"languages":["eng-GB"],"is_hidden":0,"is_invisible":0},
{"node_id":51,"object_id":49,"class_id":1,"has_children":1,
"name":"\u041a\u0430\u0440\u0442\u0438\u043d\u043a\u0438",
"url":"\/site_admin\/Media\/Images","modified_subnode":1344572060,
"languages":["eng-GB"],"is_hidden":0,"is_invisible":0},{"
node_id":52,"object_id":50,"class_id":1,"has_children":0,
"name":"\u0424\u0430\u0439\u043b\u044b","url":"\/site_admin\/Media\/Fajly",
"modified_subnode":1302189203,"languages":["eng-GB"],"is_hidden":0,"is_invisible":0}]}

Help, who knows, please tell me how to fix this bug?

Server configuration:

  • PHP Version 5.3.3-7+squeeze17

Rewrite rules

 RewriteEngine On
 
RewriteRule ^var/cache/debug.html.* - [L]
RewriteRule ^var/[^/]+/cache/debug.html.* - [L]
Rewriterule ^var/storage/.* - [L]
Rewriterule ^var/[^/]+/storage/.* - [L]
RewriteRule ^var/cache/texttoimage/.* - [L]
RewriteRule ^var/[^/]+/cache/texttoimage/.* - [L]
Rewriterule ^design/[^/]+/(stylesheets|images|flash|javascripts?|scripts?)/.* - [L]
Rewriterule ^share/icons/.* - [L]
Rewriterule ^extension/[^/]+/design/[^/]+/(stylesheets|images|lib|javascripts?|scripts?)/.* - [L]
Rewriterule ^packages/styles/.+/(stylesheets|images|flash|javascripts?|scripts?)/[^/]+/.* - [L]
RewriteRule ^var/[^/]+/cache/ezhumancaptcha/.* - [L]
#RewriteRule ^/var/([^/]+/)?cache/public/.* - [L]
RewriteRule ^var/([^/]+/)?cache/public/.* - [L]
 
#RewriteRule ^/([^/]+/)?content/treemenu.* /index_treemenu\.php [L]
#RewriteRule ^([^/]+/)?content/treemenu.* index_treemenu.php [L]

Modified on Sunday 13 April 2014 9:25:55 am by Maxim Kopytov

Friday 26 September 2014 6:05:18 am

Hi!

I am using the latest version of eZ community.
Can anybody suggest why there is such an issue and how to solve it?

 
 
{"error_code":0,"node_id":"1","children_count":5,"children":[{"node_id":2,"object_id":57,
"class_id":23,"has_children":true,"name":"Home","url":"\/eztest_admin\/content\/view\/full\/2",
"modified_subnode":1411615409,"languages":["eng-GB"],"is_hidden":false,"is_invisible":false},
{"node_id":43,"object_id":41,"class_id":1,"has_children":true,"name":"Media","url":"\/eztest_admin\/Media",
"modified_subnode":1411615403,"languages":["eng-GB"],"is_hidden":false,"is_invisible":false},
{"node_id":48,"object_id":45,"class_id":1,"has_children":false,"name":"Setup","url":"\/eztest_admin\/Setup2",
"modified_subnode":1184592117,"languages":["eng-GB"],"is_hidden":false,"is_invisible":false},
{"node_id":5,"object_id":4,"class_id":3,"has_children":true,"name":"Users","url":"\/eztest_admin\/Users",
"modified_subnode":1411615410,"languages":["eng-GB"],"is_hidden":false,"is_invisible":false},
{"node_id":58,"object_id":56,"class_id":1,"has_children":false,"name":"Design","url":"\/eztest_admin\/Design",
"modified_subnode":1411615409,"languages":["eng-GB"],"is_hidden":false,"is_invisible":false}]}

Friday 26 September 2014 7:13:51 am

Hello Maxim,

I'm sorry your still having trouble.

The only time I've gotten such output is when I would attempt to use the admin with javascript disabled with firefox extension noscript as this is normally output from the javascript layer after performing an action (I think..)

Can you do one thing for me? Can you describe in detail what you were doing exactly to get this output?

Also you can try enabling site.ini.append.php [DebugSettings] DebugRedirection=enabled

Remember to clear all ini caches after enabling this feature.

With debug redirection enabled it will ask you before it performs a redirection internally in eZ Publish and give you time to review the situation between redirections. It's not much of an answer but it might help you troubleshoot the issue better.

I hope this helps ...

Cheers,
Heath 

Friday 03 October 2014 12:25:24 pm

Hello, Heath!
Thank you for your attention and response!
I just installed a new clean copy of the Community Project 2014.7 (Community Project 2014.7)
When installing there were no problems.
I began to test the public site, open links and began to appear, these bugs.
This problem may occur due to installed on the server nginx?
The bug appears in both the administrative panel and the public site
Just found out that does not reveal the tree structure of the site left in the administrative interface. Tree appears when the page is loaded and then collapses.

This bug is present in different versions!!!

Extensions: Core, date, ereg, libxml, openssl, pcre, zlib, bcmath, bz2, calendar, ctype, dba, dom, hash, fileinfo, filter, ftp, gettext, session, iconv, json, mbstring, apc, posix, Reflection, standard, shmop, SPL, soap, sockets, SimpleXML, exif, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xml, xmlreader, xmlwriter, zip, apache2handler, Phar, curl, gd, geoip, imap, intl, mcrypt, mysql, mysqli, PDO, pdo_mysql, pdo_sqlite, SQLite, sqlite3, suhosin, xsl, mhash, ionCube Loader

Miscellaneous:
Safe mode is off.
Basedir restriction is on and set to /var/www/vhosts/eztest.scinet.uz/:/tmp/.
Global variable registration is off.
File uploading is enabled.
Maximum size of post data (text and files) is 8M.
Script memory limit is 64M.
Maximum execution time is 120 seconds.

Apache
Modules: core, mod_log_config, mod_logio, prefork, http_core, mod_so, mod_aclr2, mod_actions, mod_alias, mod_auth_basic, mod_auth_digest, mod_authn_file, mod_authz_default, mod_authz_groupfile, mod_authz_host, mod_authz_user, mod_autoindex, mod_bw, mod_cache, mod_cgi, mod_cpustat, mod_dav, mod_dav_fs, mod_dav_lock, mod_dir, mod_env, mod_fcgid, mod_file_cache, mod_headers, mod_include, mod_mem_cache, mod_mime, mod_evasive20, mod_negotiation, mod_perl, mod_php5, mod_reqtimeout, mod_rewrite, mod_rpaf, mod_ruid2, mod_setenvif, mod_ssl, mod_status, mod_suexec, mod_unique_id, mod_userdir

Friday 03 October 2014 12:32:12 pm

There is another bug.
I open the tree structure of the site, but on the left see the structure of the media library

Friday 03 October 2014 5:16:17 pm

Hello Maxim,

The content tree would only load the tree of the selected content structure part so there must be some confusion here as it would not load the media content tree content on the content structure page :\

Also ... I could be wrong here but I don't think eZ Publish works with open basedir enabled. Try disabling it and testing again first.

I say this because over the years there have been many reports of various problems with use of eZ Publish and open based dir (just search the issue tracker or the forums).

I'm hoping someone with more experience with the javascript issue might be able to speak up here as I'm a bit at a loss as to how to solve that one (I always ignored it and reloaded the page and it eventually went away so I can't really reproduce it).

Cheers,
Heath 

Saturday 04 October 2014 2:01:24 am

Hello Maxim,

I happen to be doing some late night reading of the change log [0] and issue tracker and found this issue [1] which matched your error description. Seems it's been fixed in more recent versions of eZ Publish.

[0] https://doc.ez.no/display/EZP/5.2+Changelog

[1] https://jira.ez.no/browse/EZP-19904

So I now recommend strongly that you upgrade to a more recent release. 

I hope this helps!

Cheers,
Heath 

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from