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)

y2ksw 12-06-2012 07:14 AM

Quote:

Originally Posted by tourajabbasi (Post 2388840)
Hi,

My server suddenly stopped importing pictures...
can you tell me which settings do i have to check ?
(sockets, curl, fopen) where are they in the server?

We are using dedicated server / centos 6 / 64bit

Thank you

You first should check if your firewall allows to pull in external data, before anything else. Then, if PHP allows to use fopen on external sources, then which options are checked. If fopen does not allow to pull data, you must have CURL instead. The plugin prefers CURL over sockets and falls back to sockets, unless you choose to use only sockets.

Manoel J?nior 12-16-2012 12:53 AM

Quote:

Originally Posted by y2ksw (Post 2388316)
One of the possible issues are missing space, but also server settings. If your server disallow pulling in external content (sockets, curl, fopen) it is likely not working.

Searching deeper, more exactly in error_log me this message appears:

Code:

[16-Dec-2012 00:33:19 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 2800 bytes) in /home/test/public_html/forum/includes/cron/iei_cron.php on line 92
Was that why the product is not working properly? What should I do?

y2ksw 12-18-2012 03:36 PM

Quote:

Originally Posted by Manoel J?nior (Post 2390994)
Searching deeper, more exactly in error_log me this message appears:

Code:

[16-Dec-2012 00:33:19 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 2800 bytes) in /home/test/public_html/forum/includes/cron/iei_cron.php on line 92
Was that why the product is not working properly? What should I do?

I think the product tried to load a huge image. PHP usually has a space limit and in this case it has 128 MB per process and this memory ran out of space. Maybe you need to enable the image resizing and trim imported images down to a suitable limit.

Manoel J?nior 12-19-2012 11:30 PM

Hi y2ksw,

That even when not doing more cache have to put the value 0 in attributes: Maximum Width and Maximum Height.

When I put 0 value stopped giving error and now is doing the caching of images.

Thanks for all the help and serves as a warning to others.

Doganay YILDIZ 12-22-2012 01:16 PM

There is a problemmi? Pictures ftp uploading beautifully. However, I opened the new topics added almost 6 hours but still ftp. What's the problem?

cylon1 12-26-2012 05:36 AM

Dear friends:

This extension is amazing, I use it since months, and all works very well. The only problem is that, I'm using a vps with limited resources (apache, 512Mb ram). I've noticed that one of the slowest sql in my vps is the following:

Code:

# Query_time: 16.976461  Lock_time: 0.000214 Rows_sent: 0  Rows_examined: 278721
SET timestamp=1356435021;
SELECT postid, dateline, pagetext
        FROM post
        WHERE iei_parsed=0
            AND pagetext LIKE '%[/IMG]%'
        ORDER BY postid
        LIMIT 0, 5;

As you can see, my posts table has only 278721 rows. I think this is a small forum, I suppose that there will be bigger forums out there. But you can see too, that the query time is very high (16sg). I have discarded another problem (very much visits, and so on).

Is there a way to increase the perfomance of this query?

Best regards and thanks in advance.

y2ksw 12-28-2012 09:17 AM

Quote:

Originally Posted by cylon1 (Post 2392784)
Dear friends:

This extension is amazing, I use it since months, and all works very well. The only problem is that, I'm using a vps with limited resources (apache, 512Mb ram). I've noticed that one of the slowest sql in my vps is the following:

Code:

# Query_time: 16.976461  Lock_time: 0.000214 Rows_sent: 0  Rows_examined: 278721
SET timestamp=1356435021;
SELECT postid, dateline, pagetext
        FROM post
        WHERE iei_parsed=0
            AND pagetext LIKE '%[/IMG]%'
        ORDER BY postid
        LIMIT 0, 5;

As you can see, my posts table has only 278721 rows. I think this is a small forum, I suppose that there will be bigger forums out there. But you can see too, that the query time is very high (16sg). I have discarded another problem (very much visits, and so on).

Is there a way to increase the perfomance of this query?

Best regards and thanks in advance.

Not that I can think of. A server should really ahve more than 512 MB of RAM, specially when using a database server, too. You may try to add some MB to the MySQL key buffer, but I doubt it will help.

y2ksw 12-28-2012 09:20 AM

Quote:

Originally Posted by Doganay YILDIZ (Post 2392220)
There is a problemmi? Pictures ftp uploading beautifully. However, I opened the new topics added almost 6 hours but still ftp. What's the problem?

I don't know. This product imports only external images which can be read by the server, using CURL or fopen. If it doesn't work for you, I'm sorry, but there is nothing I can do about.

destacamos 01-12-2013 05:33 PM

I installed this prodcut, but does nothing.

forum is installed in a subfolder:

www.website.com/forum

i create a folder images/imported to:

www.website.com/forum/images/imported

with 777 permissions

I uploaded the xml file, and nothing, when I put a picture in the forum does nothing.

for example I try this:
http://www.miblogdecineytv.com/image...ulas/Cars3.jpg

created a thread and put the image [IMG] Image [/IMG]

and still appears the url of miblogdecine .... and no create nothing in my server.

can anyone help me, please? thanks.

y2ksw 01-14-2013 09:12 PM

If it does nothing (please check with FTP in your imported folder), you system does not allow to pull in external data.


All times are GMT. The time now is 01:59 PM.

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.01771 seconds
  • Memory Usage 1,750KB
  • 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
  • (4)bbcode_code_printable
  • (5)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