#1 2015-01-23 06:54:24

bikramkc
Member
Registered: 2015-01-23
Posts: 5

[FIXED] Article Saving Problem

Hi,
When I try to create article from Content - Articles - Create Articles, the loading icon keep on loading and no article is saved.I think there is some error? Is anyone having the same problem,if not please try it once,You will see what I mean. I am using latest version of ionize 1.0.7.Thanks.

Last edited by bikramkc (2015-02-04 03:57:18)

Offline

#2 2015-01-29 04:58:04

damascus
Member
From: Brisbane, Australia
Registered: 2013-04-08
Posts: 270
Website

Re: [FIXED] Article Saving Problem

@bikramkc,

Hi,

Can you please hit F12 and keep an eye on the 'console' tab when doing this? (if unsure, google 'console' or 'web dev console' and the browser your using, i recommend Chrome though)

Can you please share if any errors show in console (and if not, please go to 'network' tab in web dev and share what the request to 'article/save' or similar shows when you click on it).

Also - If the issue is no actual content is changed, then its one thing, but if its just that it doesnt show you the green 'success' message then its another. Please also clarify this and whether its any article and whether pages save correctly and whether new articles can be created successfully in same locations.


Basically, we want to help but need those details before we can : )

Last edited by damascus (2015-01-29 04:59:38)


Webmaster | OneCNC Australia

Offline

#3 2015-02-03 08:05:42

bikramkc
Member
Registered: 2015-01-23
Posts: 5

Re: [FIXED] Article Saving Problem

Thanks for damascus.

This is the message I got in console:

ionize_tracker.js?v=1.0.7:37 Uncaught TypeError: Cannot read property 'getUser' of undefined
mootools-core-1.5.0-full-nocompat-yc.js:456 Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. 

And this is the response on save in network tab:

<div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;">

<h4 style="color:#c00;">A PHP Error was encountered</h4>

<p>Severity: Notice</p>
<p>Message:  Undefined index: id_menu</p>
<p>Filename: admin/article.php</p>
<p>Line Number: 2001</p>

</div><div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;">

<h4 style="color:#c00;">A PHP Error was encountered</h4>

<p>Severity: Notice</p>
<p>Message:  Undefined index: name</p>
<p>Filename: admin/article.php</p>
<p>Line Number: 2021</p>

</div>{"message_type":"success","message":"Article saved","update":[],"callback":[{"fn":"ION.updateArticleContext","args":[[]]},{"fn":"ION.splitPanel","args":{"urlMain":"http:\/\/localhost\/asianoutdoortours\/en\/adminaott\/article\/edit\/0.67","urlOptions":"http:\/\/localhost\/test\/en\/adminaott\/article\/get_options\/0.67","title":"Article edition : dsa"}},{"fn":"Tree.updateElement","args":[{"id_page":null,"id_article":"67","online":null,"view":null,"ordering":null,"id_type":null,"link_type":null,"link_id":null,"link":null,"main_parent":null,"online_in_page":null,"article_list_view":null,"article_view":null,"id_menu":null,"menu_name":null,"date":"2015-02-03 06:40:41","type":null,"type_flag":null,"id":"67","lang":"en","url":"dsa","title":"dsa","subtitle":"","meta_title":"","content":"<p>dsad<\/p>","meta_keywords":null,"meta_description":null,"name":"dsa","author":"admin","updater":null,"created":"2015-02-03 06:40:41","publish_on":"0000-00-00 00:00:00","publish_off":"0000-00-00 00:00:00","updated":"2015-02-03 06:40:41","logical_date":"0000-00-00 00:00:00","indexed":"0","id_category":null,"comment_allow":"0","comment_autovalid":"0","comment_expire":"0000-00-00 00:00:00","flag":"0","has_url":"1","priority":"5","medias":[],"ion_duration":"","ion_introduction":"","ion_description":"","ion_address":"","languages":{"en":{"id_article":"67","lang":"en","online":"1","url":"dsa","title":"dsa","subtitle":""},"cn":{"id_article":"67","lang":"cn","online":"1","url":"dsa","title":"","subtitle":""}},"urls":{"en":"dsa","cn":"dsa"},"categories":[],"tags":[]},"article"]}]}

Last edited by bikramkc (2015-02-04 06:32:59)

Offline

#4 2015-02-03 08:54:03

damascus
Member
From: Brisbane, Australia
Registered: 2013-04-08
Posts: 270
Website

Re: [FIXED] Article Saving Problem

@bikramkc - thanks for that : )

So im busy atm and dont know straight off the problem, but i have seen it before i thought.

A quick search for "Undefined index: id_menu" on this forum showed a few hits, i recommend you do so yourself to see if they are any use.

Upon scanning them, the following actually appear at least partly solved (though the creator obviously declined the few sec to mark it as [solved] to help other users...)

http://www.ionizecms.com/forum/viewtopic.php?id=394 - partly solved?
http://www.ionizecms.com/forum/viewtopic.php?id=1282 - ui fix
http://www.ionizecms.com/forum/viewtopic.php?id=1154 - maybe different issue as i saw commit fix referanced

As i said, busy atm and i dont really think im best person because, as i mention in http://www.ionizecms.com/forum/viewtopic.php?id=1870, im not using current version atm.


So please share if any of those fixed it, or ask for other users to try and help


p.s. please update to [solved] (edit first post) and share solution if you fix it


Hope it helps : )

Last edited by damascus (2015-02-03 08:56:15)


Webmaster | OneCNC Australia

Offline

#5 2015-02-04 03:56:54

bikramkc
Member
Registered: 2015-01-23
Posts: 5

Re: [FIXED] Article Saving Problem

The last link ( http://ionizecms.com/forum/viewtopic.php?id=1154) solved the issue.
Glad that the bug is already fixed for next release.Thanks alot smile.

Offline

What's Ionize ?

Ionize is an Open Source Content Management System created by webdesigners for webdesigners.

Created and maintained by Partikule and Toopixel, Ionize wants to be the easiest and most powerful CMS.

Can I help ?

Because talent is nothing without involvement, we are looking for motivated coders and webdesigners to join the project team.

Resources

Website : ionizecms.com
Documentation : doc.ionizecms.com

Development : Ionize on GitHub
Translations : Ionize Translations