*Visual, powerful, extensible, inexpensive, browser-based.
Welcome Guest  (  Register  |  Lost Password  )
Post
SSDN / SiteSupra 3.1 Forum / Improvement Suggestions / New Products Suggestions / PHP5 Support
  Today's Posts Users Search
 
Pages labelled as TRASH
Mark Hindle
Posted on: 2008-02-13 12:15:55
User info

Solution Provider

Groups:
Members

Posts: 3
Member No.3713
Joined: 20.10.2004

Hi There,


I am managing a SiteSupra system that was previously maintained by somebody else, so I'm quite new to the workings of SiteSupra.

It has been relatively simple, apart from the one problem I have recently had that I cannot seem to resolve.

Some of the URL's to my pages on my site have begun to have /$/TRASH/ at the start of them, which is then going to a error404 page.

I have looked everywhere in the page properties panel to see if the pages were deleted, not marked as live etc, but I can't see a problem anywhere.

I am confused as to why these pages appear live on the menu, but are marked as trash.

Does anybody know how to resolve this problem, as there are many pages on my site that are labelled like this.

Thanks
Eugene Kharkov
Posted on: 2008-02-13 13:12:44
User info

Registred user

Groups:
Members

Posts: 50
Member No.3
Joined: 13.01.2003

Hi Mark,

It looks like that particular block (or may be all the blocks on your site) doesn't deal with deleted pages properly.
When a page is deleted in SiteSupra it is moved to /$/TRASH folder. By default all the blocks should ignore pages stored in that folder by adding the following statement into SQL query: AND path NOT LIKE '/$/%'

Please take a look into the block's code and find the query, which retrieves pages from the database and add the above statement to the end of query.

 
There are 5 people online in the past 15 minutes: 0 Members, 5 Guests
Members:
We have 2060 registered members
© Vide Infra Grupa SIA
Terms of Use
Contacts