Quote:
Originally Posted by WebmasterSimds
Andrew
Sir, I am having a small problem. I have had this running for a long while. I upgraded the LDM system to the latest one when it came out. now i get weird messages. I think I remember how to correct this. but I cant remember. here is the message after somone posts a download.
"This page is not designed to be access directly."
if you can, or know how to fix this, can you please give me a clue how to fix this.
|
I recall your report in October. I've never seen this message - there is no such message in LDM and I can't find it in the VBulletin code anywhere either.
I did a search on Google for the text "This page is not designed to be access directly." There are two hits, your report fror LDM and this report in the VB Events Forum archive (
https://vborg.vbsupport.ru/archive/i.../t-123416.html)
Quote:
Lionel11. Oct 2006, 05:54
When I submit the Save Event button, I am getting this error:
link: http://www.mysite.com/forums/calendar.php?do=update&e=
This page is not designed to be access directly.
It looks is missing the info on the link, any idea what could casue this problem.
--------------------------------------------------------------------------------
Lionel11. Oct 2006, 06:21
Anyway, Gerakus I solved my issue. It was caused by the Talker Bot hack.
|
edited: - I took a look at the talker bot code. The message "This page is not designed to be access directly" appears at the start of one of its files. The code reads as follows:
Code:
if (!defined("THIS_SCRIPT") || (THIS_SCRIPT!="newreply" && THIS_SCRIPT!="newthread") )
{
die("This page is not designed to be access directly.");
}
The code is called from at least one plugin called "Talkerbot - Include The Bot", which hooks into the newpost_complete hook in VB. The newpost_complete hook is used in the code to create new posts, which is called when LDM 'autocreates' threads.
So what I think is happening is the following:
- you've installed talker bot
- you've also installed the autocreate_threads extra for LDM
talker_bot is not expecting this and gives you the error message you see.
Unfortunately, it's not a problem that I can fix - you'll have to take this up with the author of talker_bot
Quote:
Originally Posted by WebmasterSimds
There is 1 more thing. and didnt notice this till someone pointed this out to me today. it seems every time we upgrade this LDM for some reason all of the pictures of the download has dissapeared on all of them.
the only way to correct it, is to go and press edit, and then just scroll down to the bottm and press submit and it will fix it. without any edits. its a weird weird one, I tried to look for a way to make sure the paths are ok, and other tings, but it seems that its a weird problem
|
LDM creates a thumbnail whenever it thinks it needs one. If you've set up a 'thumbs_dir' on the admin page, it saves the thumbnail as a file in 'thumbs_dir' and keeps a record in the database. The problem you describe occurs when the record in the database points to a file which no longer exists, for example if the file structure for the website changes or (perhaps

) I have made a change in the logic. I don't know which is the case for your situation.
When you edit and save an entry, LDM always recreates the thumb, in case there are any changes.
One way to fix this for all entries is to go to LDM/admin/statistics/reset thumbs