Warning: session_start(): open(/var/lib/php/sessions/sess_5ir15qnq8gghh0d1n4opol2o8d, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51
Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
please include function ai_postTriple.
static S ai_postTriple_verbose(T3 triple) {
// check, clean
print("ai_postTriple: " + sfu(triple));
ping();
if (triple_anyPartNull(triple)) null;
triple = trimTriple(triple);
if (!ai_tripleAllowedToPost(triple)) {
print("ai_postTriple: not allowed");
null; // fail("No");
}
// existing?
if (has(triple)) {
print("ai_postTriple: exists");
null;
}
// invalid?
if (has(ai_tripleToInvalid(triple))) {
print("ai_postTriple: invalid");
null;
}
// post handler?
print("ai_postTriple: posting");
AI_PostHandler handler = ai_postHandler();
if (handler != null)
ret handler.postTriple(triple);
else {
// post web the normal way
Web web = webFromTriple(triple);
Bool ver = ai_postTriple_verified!;
if (ver != null)
web.unverified = !ver;
postSoftwareMadeWeb(web);
ret web.globalID();
}
}
static S ai_postTriple_verbose(S a, S b, S c) {
ret ai_postTriple_verbose(t3(a, b, c));
}