SQL Problem?
Posted: Sat Mar 24, 2007 2:37 pm
I'm having a problem when I upload version 1.1.2. It asks me to update from 1.1 to 1.1.2 and then it says all of this stuff.
First it says:
DIRECTORY_WRITE_ERROR
And I say yeah, I understand! It's a CHMOD problem. So I change the folders to 777.
So I go back and refesh and it says:
Query failed:
SELECT
e.id,
e.title,
e.timestamp,
e.comments,
e.exflag,
e.authorid,
e.trackbacks,
e.isdraft,
e.allow_comments,
e.last_modified,
a.realname AS author,
a.username AS loginname,
a.email
, e.body, e.extended
FROM
serendipity_entries AS e
LEFT JOIN serendipity_authors a
ON e.authorid = a.authorid
LEFT JOIN serendipity_entrycat ec
ON e.id = ec.entryid
LEFT JOIN serendipity_category c
ON ec.categoryid = c.categoryid
LEFT JOIN serendipity_authorgroups AS acl_a
ON acl_a.authorid = 0
LEFT JOIN serendipity_access AS acl_acc
ON ( acl_acc.artifact_mode = 'read'
AND acl_acc.artifact_type = 'category'
AND acl_acc.artifact_id = c.categoryid
)
WHERE isdraft = 'false' AND e.timestamp <= 1174743300 AND (
c.categoryid IS NULL
OR ( acl_acc.groupid = 0)
OR ( acl_acc.artifact_id IS NULL
)
)
GROUP BY e.id
ORDER BY timestamp DESC
LIMIT 15
/ Table '********_mysql.serendipity_entries' doesn't exist
It almost seems as if it thinks it's already installed. It didn't do it before until I moved to a new server. Could that be the issue? Maybe my host forgot to move a file over?
I don't know, so please, if you know the answer, reply.
PS: I BLOCKED OUT MY SQL NAME
First it says:
DIRECTORY_WRITE_ERROR
And I say yeah, I understand! It's a CHMOD problem. So I change the folders to 777.
So I go back and refesh and it says:
Query failed:
SELECT
e.id,
e.title,
e.timestamp,
e.comments,
e.exflag,
e.authorid,
e.trackbacks,
e.isdraft,
e.allow_comments,
e.last_modified,
a.realname AS author,
a.username AS loginname,
a.email
, e.body, e.extended
FROM
serendipity_entries AS e
LEFT JOIN serendipity_authors a
ON e.authorid = a.authorid
LEFT JOIN serendipity_entrycat ec
ON e.id = ec.entryid
LEFT JOIN serendipity_category c
ON ec.categoryid = c.categoryid
LEFT JOIN serendipity_authorgroups AS acl_a
ON acl_a.authorid = 0
LEFT JOIN serendipity_access AS acl_acc
ON ( acl_acc.artifact_mode = 'read'
AND acl_acc.artifact_type = 'category'
AND acl_acc.artifact_id = c.categoryid
)
WHERE isdraft = 'false' AND e.timestamp <= 1174743300 AND (
c.categoryid IS NULL
OR ( acl_acc.groupid = 0)
OR ( acl_acc.artifact_id IS NULL
)
)
GROUP BY e.id
ORDER BY timestamp DESC
LIMIT 15
/ Table '********_mysql.serendipity_entries' doesn't exist
It almost seems as if it thinks it's already installed. It didn't do it before until I moved to a new server. Could that be the issue? Maybe my host forgot to move a file over?
I don't know, so please, if you know the answer, reply.
PS: I BLOCKED OUT MY SQL NAME