The ability to disable on a per user basis would be nice. Some people do not wish to upload their photos for copyright reasons.
Sounds fiddly. A per user preference? Or a permission?
ErrorException: rename(/home/politics/public_html/data/MetaMirrorCache/meta_5200219e656f2,/home/politics/public_html/data/MetaMirrorCache/aph.cdn.photos.upi.com_collection_upi_f09ab8f19e85dffc1f043628b801188c_Pope_Benedict_XVI_celebrates_Christmas_mass_at_St_Peters_Basilica_in_Vatican_City_on_December_24_2011_to_mark_the_nativity_of_Jesus_Christ_Pope_Benedict_XVI_hailed_Christs_humility_urging_the_faithful_to_look_beyond_the_Christmas_glitter_and_enl_13.jpg): File name too long - library/MetaMirror/CronEntry.php:816
Generated By: Unknown Account, A moment ago
As the Xenforo attachment system cannot handle filenames longer than 100 bytes, all file names are truncated to 100 bytes.
If they were over 100 bytes, the last 32 bytes are replaced by the md5 of entire string, for uniqueness.
If you have been using this previously with attachments, then you should use the testing tool to flush the flags, as many files with long names may not have been rehosted.
Instant rehosting seems to work fine, so you can just let the cron job handle the old files,...
Any more thought on making it Resource Manager compatible?
I tried in a post there to see if the instant part worked on save but it doesn't.
#0 /community/library/MetaMirror/CronEntry.php(41): XenForo_Application::handlePhpError(' http://ih.cons...')
#1 /community/library/MetaMirror/CronEntry.php(724): loadImage()
#2 /community/library/MetaMirror/CronEntry.php(1047): MetaMirror_CronEntry::updateSingleContent(Array)
#3 /community/library/MetaMirror/CronEntry.php(544): MetaMirror_CronEntry::runForContentType()
#4 /community/library/MetaMirror/ControllerAdmin/MetaMirror.php(80): MetaMirror_CronEntry::runMetaMirror(Array)
#5 /community/library/XenForo/FrontController.php(337): MetaMirror_ControllerAdmin_MetaMirror->actionRun()
#6 /community/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#7 /community/admin.php(13): XenForo_FrontController->run()
#8 {main}
Did you upload the files to the correct locations?I get this on XenForo 1.2 when installing it:
Please enter a valid callback method (MetaMirror_Listeners_DataWriter::LoadClassDataWriter).
Mick,
Many thanks for the recent updates
I seem to be getting an error in the Server logs though since yesterday (must have been since 1.4.1)...
ErrorException: Undefined index: scheme - library/MetaMirror/CronEntry.php:41
Cheers
Paul
looks like it's parsing an image url with no http:// or https:// I can add a patch for that, but I'm a little unsure how you even get such a thing - it would have to parse to a host and a path, but no scheme . And idea what post it might be, and the corrupt image URL? I'd like to test it.
if($do_ignore || !isset($url_info['host']) || !isset($url_info['path']))
if($do_ignore || !isset($url_info['host']) || !isset($url_info['path']) || !isset($url_info['scheme']))
looks like it's parsing an image url with no http:// or https:// I can add a patch for that, but I'm a little unsure how you even get such a thing - it would have to parse to a host and a path, but no scheme . And idea what post it might be, and the corrupt image URL? I'd like to test it.
Just to follow up, Test run again, no errors reported in the log after the change above.....
Cheers
Paul
if($do_ignore || !isset($url_info['host']) || !isset($url_info['path']) || !isset($url_info['scheme']))
{
if (!$do_ignore) XenForo_Helper_File::log('MetaMirror','CORRUPT URL: '.$original_url,true);
Hi Mick, thanks for this
But, what can i do when the path of a changed link is wrong?
I need www.xxxx.de/xenforo/data/meta...... and there is www.xxxx.de/data in the post.
Thanks for any idea![]()
Can you give a bit more info as to your setup? What is your forum path, and what is the value ofI'm still having this problem on Xenforo 1.2
We use essential cookies to make this site work, and optional cookies to enhance your experience.