vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Major Additions - Links and Downloads Manager (https://vborg.vbsupport.ru/showthread.php?t=119041)

xadoa 10-20-2006 01:12 PM

what is the estimated time for the full 2.2.6 AndrewD ?? i've been waiting day by day.. everyday come and look at this thread.. only 2.2.6beta1 ..hehe..

thanks for the hard work

XD

AndrewD 10-20-2006 01:18 PM

Quote:

Originally Posted by xadoa
what is the estimated time for the full 2.2.6 AndrewD ?? i've been waiting day by day.. everyday come and look at this thread.. only 2.2.6beta1 ..hehe..

thanks for the hard work

XD

I know, I know. I didn't want to make 2.2.6 'official' until I was certain that the bugs were all identified and corrected. I'm pretty sure that this is now the case, so let me promise that it will go gold this weekend (unless of course someone finds something to stop me...)

xadoa 10-21-2006 06:03 AM

i am excited .. it's 3AM here and still checking on your hack :D .. today is saturday .. that meant in no time now .. heheh ..

thanks Andrew

elsupremo 10-21-2006 06:31 AM

I finally caught up with everyone, upgrading both my VB to 3.6.2 and my LDM to 2.2.6. I ended up having the problem with the constant MYSQL error e-mails like this:
PHP Code:

Database error in vBulletin 3.6.2:

Invalid SQL:

                               
INSERT IGNORE INTO session
                                       
(sessionhashuseridhostidhashlastactivitylocationstyleidlanguageidloggedininforuminthreadincalendarbadlocationuseragentbypassprofileupdate)
                               
VALUES
                                       
(''1''''1161414394''0010000''00);

MySQL Error  :
Error Number :
Date         SaturdayOctober 21st 2006 12:06:38 AM
Script       
http://www.MyWebSite.com/local_links.php?action=jump&id=1131&catid=18
Referrer     :
Hide quoted text -
IP Address   : [removed for privacy]
Username     Name
Classname    
vB_Database 

Anyway, I just uploaded your fixed local_links.php. The e-mails were coming in at a very consistent rate before. I'll wait through the evening before my final verdict.

One question: I ended up adjusting wait_timeout to 90 seconds when I was troubleshooting this problem. LDM told me that was a low wait_timeout setting, so I changed the setting back to default. What is an optimal wait_timeout setting?

Thanks again Andrew.

AndrewD 10-21-2006 12:12 PM

Quote:

Originally Posted by elsupremo
I finally caught up with everyone, upgrading both my VB to 3.6.2 and my LDM to 2.2.6. I ended up having the problem with the constant MYSQL error e-mails

I fell into the trap of trying to be too friendly to the web server by releasing the database before everything was finished - I'd missed that VB keeps hold of some database accesses which are performed when the job finally ends. The error messages were actually telling you (not very clearly) that there was no longer a connection to the database.

Quote:

One question: I ended up adjusting wait_timeout to 90 seconds when I was troubleshooting this problem. LDM told me that was a low wait_timeout setting, so I changed the setting back to default. What is an optimal wait_timeout setting?
I've not got right to the bottom of all the timeout settings. The basic point is to ensure that downloads complete before the database or the php script decide to give up in desparation. So, if you are offering downloads of large files - particularly if these are being streamed directly to a media player - the value for wait_timeout (and the similar value for php timeout - I can't recall its name) should be longer than the download takes to finish.

The php timeout is more critical on windows servers than on linux, as it seems to count also the time when the script has actually been told to sleep for a while. Under linux, this time is ignored.

AndrewD 10-22-2006 08:36 AM

I have uploaded the release candidate for version 2.2.6 of LDM in the first post of this thread. I would welcome reports. To upgrade, simply upload the files again and reinstall via the VB product manager. Please remember to backup your database first.

Installation - Very important

If your web site runs Microsoft's IIS web server in cgi mode (you can find this out by looking at the main VB admincp page), the php environment variable DOCUMENT_ROOT is not defined by default. This causes serious problems with the placement of files managed by LDM on your server. Version 2.2.6 of LDM detects this problem and issues a fatal error if necessary. In this case, you must edit the file includes/local_links_init.php to define LDM_DOCUMENT_ROOT. The code makes clear where to edit. Alternatively, you could patch your web server so that DOCUMENT_ROOT is correctly defined.


changes

Since the 2.2.6 beta, I believe that all reported bugs have been fixed and a few new extras provided, as follows:

new features:

VB Profile
Parameters added in plugins to configure number of 'My Entries'/'Visited Entries' to display in profile

new 'extras'

force-mp3-to-m3u converts downloads of mp3s to download a matching m3u, to force winamp, etc, to stream the file
stream-mms-videos improves the security of LDM's handling of mms: streams and adds the option to save a stream to file

bugs fixed:

bbcode, smiles, images, html admin settings work correctly and editor toolbars adjust accordingly
usernames with quotes no longer produces sql error
LDM icons can now be in gif, jpg or png format
navbar errors fixed in search module
mp3 files with no id3 image no longer crash certain versions of php
downloads into slow channels (e.g. streaming into winamp) no longer die mid-way through transfer
curl transfer work ok when urls contain spaces
invalid 'file rename' requests detected during add/edit entry form
correct messages displayed when file uploads exceed allowed space
autothread extras do a better job of displaying the associated image in the thread

Ophelia 10-22-2006 12:49 PM

Andrew,

Just got the new 2.2.6 installed.

One issue that I see right away. When you click on the magnify glass to see the full version, it used to show it correctly, now it's showing everything at 100x100. I reset thumbs hoping that would change it, but it doesn't. I know that originally, the previews are usually roughly 400x400 on our site (it's what we require for our team).

Best wishes and thank you so much for the hard work you do!
Stacy

Ophelia 10-22-2006 01:16 PM

One more small issue.

1. Go into a download.
2. Click on the comments/ratings
3. Click on the View Comments and Ratings

I get the following error:

Warning: Division by zero in /includes/local_links_include.php on line 2233

Warning: Division by zero in /includes/local_links_include.php on line 2233

In the first table that shows up, I'm not for sure what used to be there, but now all that is there is this:

http://img.photobucket.com/albums/09...LD_example.jpg

Not for sure if it did this before, as I never went this deep into the comments.

Also (sorry)

When you try to edit a download, even if you don't change anything at all, you get the following error when you click submit

Fatal error: Call to undefined function: check_url() in /home/website/public_html/forum/local_links_actions.php on line 837

I can hide things, I can delete things.. I can not however upload or edit.

When I try to upload for the first time. I get this error:

Fatal error: Call to undefined function: check_url() in /home/webattit/public_html/forum/local_links_actions.php on line 445

AndrewD 10-22-2006 01:39 PM

Quote:

Originally Posted by Ophelia
When you try to edit a download, even if you don't change anything at all, you get the following error when you click submit

Fatal error: Call to undefined function: check_url() in /home/website/public_html/forum/local_links_actions.php on line 837

I can hide things, I can delete things.. I can not however upload or edit.

When I try to upload for the first time. I get this error:

Fatal error: Call to undefined function: check_url() in /home/webattit/public_html/forum/local_links_actions.php on line 445


Ophelia, please check that you have actually uploaded all the php files. It looks to me as if you still have the old local_links_actions.php file there. Line 837 in the old code refers to check_url(). Line 839 in the new code refers to check_ldm_url().

This may be the cause of your other problem too - I'll try to check.

AndrewD 10-22-2006 01:54 PM

Quote:

Originally Posted by AndrewD
Ophelia, please check that you have actually uploaded all the php files. It looks to me as if you still have the old local_links_actions.php file there. Line 837 in the old code refers to check_url(). Line 839 in the new code refers to check_ldm_url().

This may be the cause of your other problem too - I'll try to check.


Yes, if looks as if you also got the old local_links.php installed.

I can reproduce both of your bug reports by installing the new files in the includes directrory but the files from release 2.2.6a1 in your forums directory.


All times are GMT. The time now is 11:14 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03582 seconds
  • Memory Usage 1,772KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete