Martin Gottlieb writes:

Hi!

>>> My query was just looking up the GUID in question against the guid field
>>>     
>>
>> What is returned for this query?
>> SELECT id, metadata_created, metadata_revised FROM snippet WHERE guid=$GUID;
>>
>>
>>   
>   id          metadata_created   
>       metadata_revised   
> 
> 9674  2009-08-04 21:09:13     2009-08-04 21:09:13

OK, we need to debug it.

Add this line somewhere before object is created:
midgard_connection::set_loglevel("debug");

And this one later:
midgard_connection::set_loglevel("warn");

If unsure where snippet is created, add first statement in midcom.php file.
Debug output will be huge though.

Logs are written either to log file configured in config file or to
apache's error log.
Try to create snippet once again and we'll see what's going on there.

Piotras


_______________________________________________
user mailing list
[email protected]
http://lists.midgard-project.org/mailman/listinfo/user

Reply via email to