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 01-25-2012 09:09 PM

Quote:

Originally Posted by Manoel J?nior (Post 2291986)
Please, help-me!!

My images stopped being imported, or rather they are imported but they are in my FTP with nomenclature: 3391.attach.pl_cached not 3391.imgcache

How can I do to fix this?

I have no idea how this could happen. Do you have a symbolic link or mount point to a different volume?

Manoel J?nior 01-25-2012 09:22 PM

Quote:

Originally Posted by y2ksw (Post 2292385)
I have no idea how this could happen. Do you have a symbolic link or mount point to a different volume?

I do not know! I did the following test:

1. I changed the location of storage of images, I gave permission 777
2. I created a new topic with a picture
3. I went on FTP, the new folder, and he created the folder and subbasta, but with the year 2011, and within that folder there is no file.

What steps can I take to resolve this problem?

y2ksw 01-26-2012 04:23 PM

Was the picture publically accessible? For example, if you paste an image from your desktop, Apache is not able to read it and ignores it. Also, if the image is a dynamic URL or the location needs passwords, you may see the images but Apache not.

Manoel J?nior 01-26-2012 04:45 PM

Quote:

Originally Posted by y2ksw (Post 2292740)
Was the picture publically accessible? For example, if you paste an image from your desktop, Apache is not able to read it and ignores it. Also, if the image is a dynamic URL or the location needs passwords, you may see the images but Apache not.

Hello y2ksw,

From what I can gather is that this file that you've (3391.attach.pl_cached) relates to the attachments, so please disregard that part.

What is happening is that it creates the directory, but does not create the files. As an example I quoted my post above:

1. I changed the location of storage of images, I gave permission 777
2. I created a new topic with a picture
3. I went on FTP, the new folder, and he created the folder and subdirectory, but with the year 2011, and within that folder there is no file.

I found it strange that instead of creating the directory in 2012 he created the directory 2011.

In keeping with this structure:

./imgcache/2011/03 /

And inside the directory there is nothing, but he created the directory and subdirectory.

Thanks for you help!!!!

y2ksw 01-26-2012 06:41 PM

Could you please try to create a file from a script in that folder and see what rights it has (or what errors):

PHP Code:

<?php
$fp 
fopen('imgcache/2011/03/test.file''wb');
fwrite($fp'abc');
fclose($fp);

echo 
file_get_contents('imgcache/2011/03/test.file');
die;
?>


Manoel J?nior 01-28-2012 05:10 PM

Quote:

Originally Posted by y2ksw (Post 2292782)
Could you please try to create a file from a script in that folder and see what rights it has (or what errors):

PHP Code:

<?php
$fp 
fopen('imgcache/2011/03/test.file''wb');
fwrite($fp'abc');
fclose($fp);

echo 
file_get_contents('imgcache/2011/03/test.file');
die;
?>


It created the file perfectly content with abc

What could be wrong? Very thanks for you help!

temsamane 01-30-2012 02:16 PM

is this working for 4.1.10?

y2ksw 01-30-2012 07:05 PM

Quote:

Originally Posted by Manoel J?nior (Post 2293516)
It created the file perfectly content with abc

What could be wrong? Very thanks for you help!

What was the reason for which you changed the previous folder to another? Are the foldernames syntactically the same?

I mean:
/abc = /def
but not:
/abc <> ./def/

y2ksw 01-30-2012 07:06 PM

Quote:

Originally Posted by temsamane (Post 2294191)
is this working for 4.1.10?

Yes :)

Manoel J?nior 01-30-2012 11:20 PM

Quote:

Originally Posted by y2ksw (Post 2294293)
What was the reason for which you changed the previous folder to another? Are the foldernames syntactically the same?

I mean:
/abc = /def
but not:
/abc <> ./def/

I have not changed, has always been this directory. What I meant earlier, that he should have created a new folder with the year 2012, would not it?


All times are GMT. The time now is 11:49 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.01507 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
  • (2)bbcode_php_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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