Resource icon

MetaMirror 1.6.1

No permission to download
Did you switch it on?
Options__MetaMirror_Image_Reshosting_%7C_Admin_CP_-_Metabunk-20130914-101810.jpg
 
If you use attachments for MetaMirror re-hosting in posts, then that sounds like there's something wrong with the local file hosting in /data/MetaMirrorCache Do you get any output regarding sigs when you run the MM testing tool? Do the rehosting paths look correct?
MetaMirror_Rehosting_Test_Tool_%7C_Admin_CP_-_Metabunk-20130914-103329.jpg
 
And does a search for "signature" in /internal_data/MetaMirror.log turn up anything like:

Code:
2013-08-04 19:20:27 Rehosted: http://oracionalista.ipbhost.com/public/style_images/splat/brazil.png For signature # 1983
2013-08-04 19:20:27 Modified signature # 1983 Changed: http://oracionalista.ipbhost.com/public/style_images/splat/brazil.png => http://metabunk.org/data/MetaMirrorCache/oracionalista.ipbhost.com_public_style_images_splat_brazil.png

?
 
So I did a test without checking any of the boxes and got this.

Screen Shot 2013-09-14 at 12.47.20 PM.webp


And there were 56 results for signature, there are around 34 in my MetaMirrorCache folder in data and that signature image did not show up. I looked by looking at the wording for it. It has the word damn in the url and some other words I did not see in the log or folder.
 
I don't understand. I removed all images from sigs in batch update though so I'm not worried about it. Thanks anyway.
 
When using MetaMirror for attachments does it make an attachment url go from this:
Code:
https://8thos.com/attachments/image-jpg.44750/

To this?

Code:
https://8thos.com/data/attachment-files/2013/09/48500_nathalia.jpg
 
When using MetaMirror for attachments does it make an attachment url go from this:
Code:
https://8thos.com/attachments/image-jpg.44750/

To this?

Code:
https://8thos.com/data/attachment-files/2013/09/48500_nathalia.jpg

No. All MetaMirror does with attachments is insert it in the post like
[attach=full]293[/attach]

That should translate to HTML like:
Code:
<img src="http://metabunk.org/attachments/baroque_background-tile-png.293/" alt="baroque_background-tile.png" class="bbCodeImage LbImage" />

So I'd suspect some other attachment add-on you are using?
 
Last edited:
Although internally of course the /attachments/... request will result in that /data/... file being returned, but should not redirect the URL.
 
Most of the externel images has links to the picture freehoster.

After the import to the local server, the picture is on my server but there is also a link to the image freehoster in the thread.

Is it possible to kill that link with this tool? Maybe with the next version?
 
Most of the externel images has links to the picture freehoster.

After the import to the local server, the picture is on my server but there is also a link to the image freehoster in the thread.

Is it possible to kill that link with this tool? Maybe with the next version?

That seems like something that must have been in the original post, as MM simply replaces the IMG link, so it was surrounded by a URL to the original image?

Can you give an example of the raw BB code produced? What problem does it cause?

You will probably have to craft a specific Regx to replace them with:
http://xenforo.com/community/resources/post-content-find-replace.1549/
 
Can you give an example of the raw BB code produced? What problem does it cause?

So the code in the thread after the import is:

Code:
[URL='http://imageshack.us/photo/my-images/818/img2610ex.jpg/'][attach=full]65330[/attach][/URL]

The picture ist local (thanks metamirror) but no one needs the link.
 
So the code in the thread after the import is:

Code:
[URL='http://imageshack.us/photo/my-images/818/img2610ex.jpg/'][attach=full]65330[/attach][/URL]

The picture ist local (thanks metamirror) but no one needs the link.

I second that. Such links shouldn't be produced. At least not without an optional Off-Switch.
 
Another problem is that error i've got:

Code:
copy(/var/www/domain/data/MetaMirrorCache/awww.smileygarden.de_smilie_Liebe_kiss_3.gif): failed to open stream: No such file or directory

XenForo_Application::handlePhpError()
copy() in XenForo/Helper/File.php at line 195
XenForo_Helper_File::safeRename() in XenForo/DataWriter/AttachmentData.php at line 264
XenForo_DataWriter_AttachmentData->_moveFile() in XenForo/DataWriter/AttachmentData.php at line 223
XenForo_DataWriter_AttachmentData->_writeAttachmentFile() in XenForo/DataWriter/AttachmentData.php at line 143
XenForo_DataWriter_AttachmentData->_postSave() in XenForo/DataWriter.php at line 1397
XenForo_DataWriter->save() in XenForo/Model/Attachment.php at line 524
XenForo_Model_Attachment->insertUploadedAttachmentData() in MetaMirror/CronEntry.php at line 411
MetaMirror_CronEntry::importPostAttachment() in MetaMirror/CronEntry.php at line 885
MetaMirror_CronEntry::updateSingleContent() in MetaMirror/CronEntry.php at line 1052
MetaMirror_CronEntry::runForContentType() in MetaMirror/CronEntry.php at line 544
MetaMirror_CronEntry::runMetaMirror()
call_user_func() in XenForo/Model/Cron.php at line 356
XenForo_Model_Cron->runEntry() in XenForo/ControllerAdmin/Cron.php at line 213
XenForo_ControllerAdmin_Cron->actionRun() in XenForo/FrontController.php at line 337
XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
XenForo_FrontController->run() in /var/www/domain/admin.php at line 13
 
So the code in the thread after the import is:

Code:
[URL='http://imageshack.us/photo/my-images/818/img2610ex.jpg/'][attach=full]65330[/attach][/URL]

The picture ist local (thanks metamirror) but no one needs the link.

MetaMirror is not creating that link, it's already there. Likely because someone used a forum embed from imageshack, like:
upload_2013-9-26_7-51-47.webp

The original code would have been:
Code:
[URL=http://imageshack.us/photo/my-images/818/img2610ex.jpg/][IMG]http://imageshack.us/a/img818/8126/img2610ex.jpg[/IMG][/URL]

Note the link URL and the image URL are actually different.

Since it's not really MM causing the problem, and it's a minor problem, and there are so many different ways and reasons for images to be links, then I'm not going to add something to attempt to remove links, as that will almost certainly cause more problems than it will solve.
 
Another problem is that error i've got:

Code:
copy(/var/www/domain/data/MetaMirrorCache/awww.smileygarden.de_smilie_Liebe_kiss_3.gif): failed to open stream: No such file or directory

XenForo_Application::handlePhpError()
copy() in XenForo/Helper/File.php at line 195
XenForo_Helper_File::safeRename() in XenForo/DataWriter/AttachmentData.php at line 264
XenForo_DataWriter_AttachmentData->_moveFile() in XenForo/DataWriter/AttachmentData.php at line 223
XenForo_DataWriter_AttachmentData->_writeAttachmentFile() in XenForo/DataWriter/AttachmentData.php at line 143
XenForo_DataWriter_AttachmentData->_postSave() in XenForo/DataWriter.php at line 1397
XenForo_DataWriter->save() in XenForo/Model/Attachment.php at line 524
XenForo_Model_Attachment->insertUploadedAttachmentData() in MetaMirror/CronEntry.php at line 411
MetaMirror_CronEntry::importPostAttachment() in MetaMirror/CronEntry.php at line 885
MetaMirror_CronEntry::updateSingleContent() in MetaMirror/CronEntry.php at line 1052
MetaMirror_CronEntry::runForContentType() in MetaMirror/CronEntry.php at line 544
MetaMirror_CronEntry::runMetaMirror()
call_user_func() in XenForo/Model/Cron.php at line 356
XenForo_Model_Cron->runEntry() in XenForo/ControllerAdmin/Cron.php at line 213
XenForo_ControllerAdmin_Cron->actionRun() in XenForo/FrontController.php at line 337
XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
XenForo_FrontController->run() in /var/www/domain/admin.php at line 13

That error occurs when you run the test tool after enabling MM. It's just trying to rehost the same file twice.
 
I am wanting to set this up using the attachments system.

Obviously, I have to check that box, but what abou the instant reshosting? Do I uncheck that box, or leave them both checked?
 
I am wanting to set this up using the attachments system.

Obviously, I have to check that box, but what abou the instant reshosting? Do I uncheck that box, or leave them both checked?

Both checked. "Rehosting" refers to hosting using either the file system or the attachment system. The instant rehosting works either way.
 
Back
Top Bottom