Hi
Unfortunately I deleted all php scripts and only saved the mysql database. Ic ould re-install s9y without pictures. Now, the media database tells me the pictures are missing. What can I do do remove this warnings?
carolus
re-installation after loss of pics
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: re-installation after loss of pics
Hi!
To remove that warning, you can simple truncate (delete all content, not the table it self) of your serendipity_images database table.
Best regards,
Garvin
To remove that warning, you can simple truncate (delete all content, not the table it self) of your serendipity_images database table.
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Thank you for answering. I truncated serendipity_images, but still have the following message (shortened), when I push the button media database :
SELECT i.id, '' AS orderkey, i.name, i.extension, i.mime, i.size, i.dimensions_width, i.dimensions_height, i.date, i.thumbnail_name, i.authorid, i.path, i.hotlink, i.realname,
a.realname AS authorname
FROM serendipity_images AS i
LEFT OUTER JOIN serendipity_authors AS a
ON i.authorid = a.authorid
LEFT JOIN serendipity_authorgroups AS acl_a
ON acl_a.authorid = 1
LEFT JOIN serendipity_access AS acl_acc
ON ( acl_acc.artifact_mode = 'read'
AND acl_acc.artifact_type = 'directory'
AND acl_acc.artifact_index = i.path
carolus47
SELECT i.id, '' AS orderkey, i.name, i.extension, i.mime, i.size, i.dimensions_width, i.dimensions_height, i.date, i.thumbnail_name, i.authorid, i.path, i.hotlink, i.realname,
a.realname AS authorname
FROM serendipity_images AS i
LEFT OUTER JOIN serendipity_authors AS a
ON i.authorid = a.authorid
LEFT JOIN serendipity_authorgroups AS acl_a
ON acl_a.authorid = 1
LEFT JOIN serendipity_access AS acl_acc
ON ( acl_acc.artifact_mode = 'read'
AND acl_acc.artifact_type = 'directory'
AND acl_acc.artifact_index = i.path
carolus47
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Is that allyou get? I thinkyou are missing a statement after the query, usually there should be an error message, and not just the query.
I could onlyimagine the DB structure is not the same structure of the s9y version you installed,like when you performed an s9y upgrade without executing the DB upgrade script...
regards,
garvin
Is that allyou get? I thinkyou are missing a statement after the query, usually there should be an error message, and not just the query.
I could onlyimagine the DB structure is not the same structure of the s9y version you installed,like when you performed an s9y upgrade without executing the DB upgrade script...
regards,
garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Update
Hi!
You will need to re-execute the update, please have a look at the FAQ on www.s9y.org, it tells you how to reset version numbers.
When you install s9y, you always need to use the same version like you previously run. Only then can you properly upgrade to a new version, else your database scheme will mismatch. Once you change your locally installed version to the old version you had before (through our FAQ) you will be able to re-execute the missing update.
Regards,
Garvin
You will need to re-execute the update, please have a look at the FAQ on www.s9y.org, it tells you how to reset version numbers.
When you install s9y, you always need to use the same version like you previously run. Only then can you properly upgrade to a new version, else your database scheme will mismatch. Once you change your locally installed version to the old version you had before (through our FAQ) you will be able to re-execute the missing update.
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/