You are here: Home » Community » I have the code but and problem

I have the code but and problem

Post  I have the code but and problem
Author: RM  Send Email
Date: 2011-07-05 08:59 PM

I have a site on Plone 4 on a localhost. When i try to validate the code it writes Error Type IntegrityError Error Value ERROR: insert or update on table "site_tokens" violates foreign key constraint "$2" DETAIL: Key (token_id)=(37188) is not present in table "tokens". select nextval(tokens_token_id_seq); insert into tokens (token_id, start_date , service_id , value , customer , self_destruct ) select currval(tokens_token_id_seq) , now() , s.service_id ,52428800 ,ma23383 ,1 from services as s inner join categories as c on c.category_id = s.category_id and s.description = Storage and = objectis ; insert into site_tokens (site_id,token_id) select 18641, currval(tokens_token_id_seq); select token_id from tokens where token_id = currval(tokens_token_id_seq) Can you tell me where is my problem, is the problem if i havent configuration for smpt server for mails,or sql base.Thank you for the attencion and i hope to get the answer with Your help!

Comments: order by [Date] [Author] [Subject]

  Re:I have the code but and problem (Fred F. - 2012-05-12 04:27 PM)

I'm interested too. Anyone?


 I'm gruaeftl you mad (Anindyasundar - 2014-03-11 03:58 PM)

I'm gruaeftl you made the post. It's cleared the air for me.

 The genius store <a (Glysel - 2014-03-12 06:43 AM)

The genius store cadlle, they're running out of you.