eZ Community » Forums » eZ Publish 5 Platform » How to manipulate data from database...
expandshrink

How to manipulate data from database in Ez Publish 5

How to manipulate data from database in Ez Publish 5

Thursday 31 January 2013 11:25:52 am - 5 replies

I did the same as this article but it didn't work for me. The function "create" in "JACExtensionData" class seem incorrect, the data can not be instered to table. As the picture http://farm9.staticflickr.com/8503/8431457991_a8cdfd28c4_b.jpg

I don't know how to fix it, please help me!!

Thanks !!!

Modified on Thursday 31 January 2013 11:26:55 am by Tuan Nguyen

Thursday 31 January 2013 7:09:34 pm

One possible cause might be that the $value you pass in is empty => the db will not allow to store that

Friday 01 February 2013 4:28:01 am

I'm sure the $value is not empty because I checked it by if condition.

I spent many time to find the problem but I get nothing. Here is my extension: http://www.mediafire.com/?czh412bze4neu11

Could you check it for me, I really need your help.

Thanks !!!

Friday 01 February 2013 8:09:52 am

Hey, I found the problem. 

Sorry about disturbing you and thank you !!!

Friday 01 February 2013 10:21:45 am

Quote from Tuan Nguyen :

Hey, I found the problem. 

Sorry about disturbing you and thank you !!!

Can you please detail it so that other people can find a hint ?

Thanks happy.gif Emoticon

Friday 01 February 2013 11:50:53 am

Quote from Jérôme Vieilledent :
Quote from Tuan Nguyen :

Hey, I found the problem. 

Sorry about disturbing you and thank you !!!

Can you please detail it so that other people can find a hint ?

Thanks happy.gif Emoticon

Just a stupid mistake, I forgot initializing $row variable in __construct function big-smile.gif Emoticon

expandshrink

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

36 542 Users on board!

Forums menu

Proudly Developed with from