I need help, all my posts disappeared

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
roch2001
Regular
Posts: 9
Joined: Fri Mar 02, 2012 1:58 pm

I need help, all my posts disappeared

Post by roch2001 »

Hey all, first post I know, but I've been using serendipity for about a month now and today I went to my blog and all the posts have disappeared. Well, they are there when I log into the admin section but they are not displaying on the site. I'm not sure what's happened as they were displaying fine and I've not changed anything.

Any help is appreciated.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: I need help, all my posts disappeared

Post by garvinhicking »

Hi!

In terms of software, it usually doesn't self-decompose *g* so there must be something that changed.

Did you maybe install a new plugin? Did your server provider upgrade involved Software, especiall PHP or the database server?

If the entries are still there in the backend, I am more betting on a newly installed plugin. Or maybe did you change anything in the configuration? Things that would make entries disappear is i.e. a change in the used template, or also a change in user privileges.

It's hard to debug without getting more details. In first instance, a list of your event plugins coud help. Also you might want to go to the configuration screen and disable the option to apply read-privileges per-category; I somehow suspect that the ACL/privilege system could be involved for hiding entries.

Another idea woud be that the server time somehow changed and now the software "thinks" that all existing entries are in the future

When you publish a new blog entry, does it show up? Also, what's your URL.

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/
roch2001
Regular
Posts: 9
Joined: Fri Mar 02, 2012 1:58 pm

Re: I need help, all my posts disappeared

Post by roch2001 »

Hi thanks for your response.

I have tested with a new post entry and this still does not show. I also then set the date to 1909 and it still dont show.

I haven't added anything new to the system for several days nor made any changes in the config since I last seen it working.

As for my hosting provider, its possible they did something, I'm thinking of moving away from them anyway as they upset me greatly :wink:

I guess the biggest change which I think could affect the acl stuff was I turned on the url rewriting in the appearance and options section, but it was working fine for over a week since I made this change.

I also recently installed the tag plugin and set a few words which auto detect for tags which was the last plugin change I made.

I've not changed anything to do with user access or how stuff is displayed either. I have a single account on the system for posting with, and posts that are made display publicly without restriction.

The template I've been using is the same one since I started blogging and no updates to this have occurred, but when I run the verify install option in the admin menu it does throw this up
Verify Installation Integrity
templates/competition/img/background.png corrupt or modified: failed verification ,

My install is located at

http://www.piggehs-diet-plan.com/

Event plugins are;

Markup: Serendipity
Apply basic serendipity markup to entry text
version: 1.3

Extended properties for entries
(cache, non-public articles, sticky posts)
version: 1.30

Markup: Emoticate
Convert standard emoticons into graphic images
version: 1.6

Markup: NL2BR
Convert newlines to BR tags
version: 2.0

Spam Protector
A variety of methods to prevent comment spam
version: 1.77

My Mood
Allows you to add your current mood or moods to entries.
version: 0.11

Static Pages
Shows static pages inside your blog with your blogs design and all formattings. Adds a new menu item to the admin interface.
version: 3.89

User Profiles
Shows simple user profiles and allows to embed author pictures.
version: 0.27

Links to next/previous entry
Allows viewing the next/previous entry when viewing
version: 1.38

Spartacus
[S]erendipity [P]lugin [A]ccess [R]epository [T]ool [A]nd [C]ustomization/nification [S]ystem - Allows you to download plugins from our online repository
version: 2.23

Show links to services like Facebook, Digg, Technorati, del.icio.us, spread.ly etc related to your entry.
You can remove/insert other custom services to link to via the "plugin_findmore.tpl" template file easily. Also remember that if you want to save grandma's performance pennies that you can also insert the HTML/JS snippets into your entries.tpl template file instead of using this plugin!
version: 1.21

Discussion forum / phpBB comment mirroring (forum)
Provides a complete discussion forum to your users. Can alternatively provide to mirror comments into a phpBB installation.
version: 0.34

Sitemap Generator (for Crawlers)
Creates a sitemap.xml.gz, which can be used by miscellaneous Web-Crawlers. (Google, MSN, Yahoo and Ask)
version: 0.58

Google Analytics
This plugin adds extendet Google Analytic funcionality to youre Page like tracking external links or download links.
version: 1.2.9

Sample!
Allows you to insert HTML-Code into the HEAD-area of your blog. You can use this for meta-tags or JavaScript inclusion.
version: 1.3

HTML META-Tags
Sets HTML meta keywords/description tags and title element for single entry pages and default meta keywords/description tags for non-single entry pages.
version: 0.13

Tagging of entries
Allows freestyle tagging of entries
version: 3.36
roch2001
Regular
Posts: 9
Joined: Fri Mar 02, 2012 1:58 pm

Re: I need help, all my posts disappeared

Post by roch2001 »

If I follow search results in google to the actual pages as well, they load but nothing is displayed barring the outside site with no article content. It is indeed like the acl to view stuff has changed but from what I can tell it looks normal when I check the post as entries are set to allow everyone to view
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: I need help, all my posts disappeared

Post by garvinhicking »

Hi!

Can you temporarily switch to a different template? It seems as if "entries.tpl" might be garbaged or missing, because there's no "serendipity_body" CSS class anywhere to be found...?

Regardsin,
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/
roch2001
Regular
Posts: 9
Joined: Fri Mar 02, 2012 1:58 pm

Re: I need help, all my posts disappeared

Post by roch2001 »

I've set as a new template and my posts have indeed returned!

What would you recommend as a course of action, as I quite liked my old look :D
roch2001
Regular
Posts: 9
Joined: Fri Mar 02, 2012 1:58 pm

Re: I need help, all my posts disappeared

Post by roch2001 »

I was using;

Coffee Cup
Author: David Cummins

Not sure what changed, but when I set it back to that theme same thing happens.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: I need help, all my posts disappeared

Post by garvinhicking »

Hi!

In that case, try to delete all files containing "entries.tpl" in your templates_c/ directory, and then make sure that entries.tpl in the templates/comptetition/ directory exists? You might want to overwrite that file with a fresh version from a s9y release ZIP file to make sure it's the right one?

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/
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: I need help, all my posts disappeared

Post by Timbalu »

Are you sure coffey cup entries.tpl has a bulletproof paginator?
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: I need help, all my posts disappeared

Post by garvinhicking »

Timbalu wrote:Are you sure coffey cup entries.tpl has a bulletproof paginator?
Pagination has nothing to do with this, neither has bulletproof... are you confusing this post with the other one? :)

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/
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: I need help, all my posts disappeared

Post by Timbalu »

Oh yes, I was!
Forgive me... its just my nature, the near spring, or ... ;-)
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
roch2001
Regular
Posts: 9
Joined: Fri Mar 02, 2012 1:58 pm

Re: I need help, all my posts disappeared

Post by roch2001 »

Hi, thanks for the help. I removed all the files relating to the style from the templates folder and also the templates_c folder and replaced the files in the template folder with a fresh copy from a s9y release I just downloaded. Everything is now back to how it was.

Thanks again for the support :D
roch2001
Regular
Posts: 9
Joined: Fri Mar 02, 2012 1:58 pm

Re: I need help, all my posts disappeared

Post by roch2001 »

Ah okay, the problem may be deeper routed. For some reason it keeps corrupting. Once I've set it back it seems to change itself back to showing no posts.

If I delete the content.tpl file which is generated in the templates_c folder and then refresh the page it goes back to normal. But then it goes back to not showing it would seem.

Could you recommend a cause of this I can look at?
roch2001
Regular
Posts: 9
Joined: Fri Mar 02, 2012 1:58 pm

Re: I need help, all my posts disappeared

Post by roch2001 »

Just to update, the file:

competition^%%A4^A47^A4740C9E%%content.tpl.php

Seems to be losing data out of it. When its first generated it has the below info in it. For some reason this is disappearing from the file. Currently I have taken away permission to write to this file from the owner. This seems to of stopped the file losing the content and the site has remained looking normal.

Will not having write permissions to the file affect anything moving forward or can I leave it like this and all be good?


<!-- CONTENT START -->

<?php if ($this->_tpl_vars['searchresult_tooShort']): ?>
<h3 class="serendipity_date"><?php echo @QUICKSEARCH; ?>
</h3>
<div class="serendipity_search serendipity_search_tooshort"><?php echo $this->_tpl_vars['content_message']; ?>
</div>
<?php elseif ($this->_tpl_vars['searchresult_error']): ?>
<h3 class="serendipity_date"><?php echo @QUICKSEARCH; ?>
</h3>
<div class="serendipity_search serendipity_search_error"><?php echo $this->_tpl_vars['content_message']; ?>
</div>
<?php elseif ($this->_tpl_vars['searchresult_noEntries']): ?>
<h3 class="serendipity_date"><?php echo @QUICKSEARCH; ?>
</h3>
<div class="serendipity_search serendipity_search_noentries"><?php echo $this->_tpl_vars['content_message']; ?>
</div>
<?php elseif ($this->_tpl_vars['searchresult_results']): ?>
<h3 class="serendipity_date"><?php echo @QUICKSEARCH; ?>
</h3>
<div class="serendipity_search serendipity_search_results"><?php echo $this->_tpl_vars['content_message']; ?>
</div>
<?php else: ?>
<div class="serendipity_content_message"><?php echo $this->_tpl_vars['content_message']; ?>
</div>
<?php endif; ?>

<?php echo $this->_tpl_vars['ENTRIES']; ?>

<?php echo $this->_tpl_vars['ARCHIVES']; ?>


<!-- CONTENT END -->
roch2001
Regular
Posts: 9
Joined: Fri Mar 02, 2012 1:58 pm

Re: I need help, all my posts disappeared

Post by roch2001 »

Well that didn't work, the file just seems to lose its data.
Post Reply