Thread: Major Additions - Links and Downloads Manager
View Single Post
  #856  
Old 12-16-2006, 05:09 AM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by WebmasterSimds View Post
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 View Post
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
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01224 seconds
  • Memory Usage 1,785KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete