vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Administrative and Maintenance Tools - Import External Images (https://vborg.vbsupport.ru/showthread.php?t=253309)

TheLastSuperman 09-01-2013 04:41 PM

Question though... what if its a 504 Gateway timeout, not from your host but for example if they are trying to link to an image that does not exist on imageshack or similar... does the clear.gif still replace properly then? Or does the gateway timeout hinder that from happening and produce these database errors?

Basically it's not his server ultimately timing out... it is but it isn't if that makes sense, due to the fact its trying to get an image from a server where the image does not exist then timing out.

gsmlover4u 09-02-2013 05:58 PM

Quote:

Originally Posted by TheLastSuperman (Post 2442395)
Question though... what if its a 504 Gateway timeout, not from your host but for example if they are trying to link to an image that does not exist on imageshack or similar... does the clear.gif still replace properly then? Or does the gateway timeout hinder that from happening and produce these database errors?

Basically it's not his server ultimately timing out... it is but it isn't if that makes sense, due to the fact its trying to get an image from a server where the image does not exist then timing out.

sir you mean to stay that clear.gif not availeable on my server ?

smirkley 09-03-2013 03:23 AM

I have run this mod since, I think maybe a couple of weeks ago?

Everything has been running, I have set it pretty low to spread out the initial uploads over time.

I have noticed it hung somewhere, but it has stopped uploading, as in one image intensive thread,... it did the first image, but it hasnt done the followup posts in that thread. It should have gone through that date fairly quickly?

It has been days since the last upload to my image directory, and I know it isnt done.

Any idea of where to look at what hangs it up?

gsmlover4u 09-03-2013 11:39 AM

Quote:

Originally Posted by smirkley (Post 2442751)
I have run this mod since, I think maybe a couple of weeks ago?

Everything has been running, I have set it pretty low to spread out the initial uploads over time.

I have noticed it hung somewhere, but it has stopped uploading, as in one image intensive thread,... it did the first image, but it hasnt done the followup posts in that thread. It should have gone through that date fairly quickly?

It has been days since the last upload to my image directory, and I know it isnt done.

Any idea of where to look at what hangs it up?

run this hack manualy from scheduled task manager and see what happend

smirkley 09-03-2013 12:15 PM

Quote:

Originally Posted by gsmlover4u (Post 2442843)
run this hack manualy from scheduled task manager and see what happend

When I manually run the cron, all I get is a blank page with the title "vB4 Import External Images" at the top. Nothing else.

Nirjonadda 09-05-2013 06:16 PM

I have changed domain name of my Web site and now old domain imported image link are not working,How i can get link working and old domain link replace to new domain link?

y2ksw 09-05-2013 07:10 PM

Quote:

Originally Posted by TheLastSuperman (Post 2442395)
Question though... what if its a 504 Gateway timeout, not from your host but for example if they are trying to link to an image that does not exist on imageshack or similar... does the clear.gif still replace properly then? Or does the gateway timeout hinder that from happening and produce these database errors?

Basically it's not his server ultimately timing out... it is but it isn't if that makes sense, due to the fact its trying to get an image from a server where the image does not exist then timing out.

Yes, if the local server has not died by then. And if it has died, it would repeat querying. With CURL, things are slightly better, since it is possible to tune the timeouts in the options.

If database errors occur, the the db server has died before the web service, and this should never happen. In fact, in production sites the database timeout is one day, because then the connection will drop when the web server drops the page, and at no moment earlier.

y2ksw 09-05-2013 07:12 PM

Quote:

Originally Posted by smirkley (Post 2442852)
When I manually run the cron, all I get is a blank page with the title "vB4 Import External Images" at the top. Nothing else.

We have had this particular issue with another user of this plugin. In the end we worked out that extremely large images would drop PHP without error and warning, and it could be fixed only by adding more RAM to the single processes.

y2ksw 09-05-2013 07:16 PM

Quote:

Originally Posted by Nirjonadda (Post 2443498)
I have changed domain name of my Web site and now old domain imported image link are not working,How i can get link working and old domain link replace to new domain link?

UPDATE post SET pagetext=REPLACE(pagetext, 'old url', 'new url')

and similarily everywhere else you need to (signatures, blogs, cms)

Also, you should empty the postparsed table.

As always, please make a backup before issuing this query.

smirkley 09-05-2013 07:20 PM

Quote:

Originally Posted by y2ksw (Post 2443516)
We have had this particular issue with another user of this plugin. In the end we worked out that extremely large images would drop PHP without error and warning, and it could be fixed only by adding more RAM to the single processes.

Question, how do I do that?

And also, how can I find out which image it is that is causing this?


All times are GMT. The time now is 06:30 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.02621 seconds
  • Memory Usage 1,746KB
  • 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
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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