#1 2015-10-28 18:41:25

Registered: 2015-09-17
Posts: 6

Saving user or article return Undefiend

Hello everyone,
I'm new on ionize... I'm working on a website I have not developed and I'm having saving issue (Ionize version 1.0.4):

1) from ionize backend I'm not able to add new users. When I save a new user I got "Undefined" on top of the screen and this in the console:

POST 500 (Internal Server Error) mootools-core-1.4.5-full-nocompat-yc.js:449 

2) when I create or edit existing article I have some random saving issue. After saving I can have 3 different behaviour:
a- correctly saved
b- undefined and log

POST 500 (Internal Server Error)  mootools-core-1.4.5-full-nocompat-yc.js:449 

c- undefined but with log with no referento to mootools 500 (Internal Server Error)

opening … ve_options I get a database error:

A Database Error Occurred
Error Number: 1366
Incorrect integer value: '' for column 'id_tag' at row 1
INSERT INTO `article_tag` (`id_article`, `id_tag`) VALUES (498,'')
Filename: E:\LAVORO\galleriacarlasozzani.org\sito\system\database\DB_driver.php
Line Number: 330

Do you have any advice? I really don't why I'm getting this error...



#2 2015-10-29 09:04:27

Ionize Friend
From: Germany
Registered: 2010-09-20
Posts: 397

Re: Saving user or article return Undefiend

Hmm, my advice is upgrade your system to the github version: https://github.com/ionize/ionize
We have least 4 major bug fixed in that version and this could be solved.

Debugging the error: enable error reporting in index.php




After that do the error again, and look the POST's returning content.

Webdeveloper, Programmer, Application developer, Ionize friend


#3 2015-10-29 11:31:27

Registered: 2015-09-17
Posts: 6

Re: Saving user or article return Undefiend

Thanks for the support...
I tried to upgrade to last version of ionize but during the process I got a Server Error 500:
when I click on "start database migration"
I get 500 server error on this url: install/?step=migrate&lang=en

What does it mean?

I took the screenshot after the first migration fail and it seems like the database has been migrated from 1.0.4 to 1.0.6 but fail to migrate to 1.0.8...


Last edited by danipen (2015-10-29 11:36:17)


#4 2015-10-29 12:43:15

Registered: 2015-09-17
Posts: 6

Re: Saving user or article return Undefiend

I tried to upgrade to ionieze 1.07 and I didn't get any error.
Now I have 1.0.7 and I have not any more the "Udefined" issue on saving, but:
- If I save a new user I get "User saved" but the user is not saved.
- all extendend field doesn't work:
-- date filed doesn't recognize the selected date with this error logged:

The specified value "2015.10.22" does not conform to the required format, "yyyy-MM-dd".

-- select field doesn't load the option value and behave like no option is setup.
-- If I go to Content/Extend Field and try to modify existing filed I can save with no error message but the changes are not saved at all.

It seems like I'm still having the same database saving issue like before but with no error alert.

I really don't know how to make it works...



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.


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

Development : Ionize on GitHub
Translations : Ionize Translations