Archive > 0.3.x Custom/Unofficial Modules

modules/Mail.php

<< < (5/5)

Temar:
yes i downloaded it from this topic on 1st post

Alreadythere:

--- Quote from: Temar on July 19, 2007, 12:22:01 pm ---how can you not see this Problem?
--- End quote ---
Because I'm talking about the version I posted, which is this one here.

It is already up-to-date for 0.3.5 or current SVN.

Basically it's a slightly modified version of the one Blueeagle posted first.

Temar:
Oh yer sorry

Nytridr:
I am having a proble with the following line


--- Code: --- $query="INSERT INTO #___mail_message (mailbox, recipient, sender, message, expires) VALUES('$mailbox', '$recipient', '$sender', '$message', 'FROM_UNIXTIME($expires)')";

--- End code ---

Line 264

it will not accept
FROM_UNIXTIME($expires)'
for somereason it keeps with the whole thing.. and the time is in the ()'s


--- Code: ---rsbot [2007-11-24 00:57:44]     [TELL]  [INC]   Nytridra: !mail send nytridr tes
ties
MySQL error (# 0) on query: INSERT INTO rsbot_mail_message (mailbox, re
cipient, sender, message, expires) VALUES('Metanyt', 'Nytrid
r', 'Nytridra', 'testies', 'FROM_UNIXTIME(1211587064)')
Incorrect datetime value: 'FROM_UNIXTIME(1211587064)' for column 'expires' at ro
w 1
rsbot [2007-11-24 00:57:44]     [TELL]  [OUT]   -> Nytridra: Message sent to Nyt
ridr (Metanyt).
--- End code ---

this use to work.. so IDK what changed..

Navigation

[0] Message Index

[*] Previous page

Go to full version