vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Major Additions - AME 2.5 - Media Embedding for posts, sigs, vm's, groups and blogs (https://vborg.vbsupport.ru/showthread.php?t=202476)

ellinofatsa 04-14-2010 08:32 AM

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]\includes\class_bootstrap.php(1146) : eval()'d code on line 38

any help???
if y enabled this i schow that mesage on header.

The Geek 04-14-2010 08:57 AM

Are you using vB4?

ellinofatsa 04-14-2010 09:11 AM

yes

vBulletin 4.0.2 Patch Level 4

is this not for vb4;

The Geek 04-14-2010 09:24 AM

no - hence why its in the 3.8 forums :D

Try AME3 in the vb4.0 forum - but read the readme first.

HTHs

Itchy Nips 04-15-2010 02:44 PM

Quote:

Originally Posted by DieselMinded (Post 2020306)
all of you tube links are saying embeding not available and are showing links

same here

DieselMinded 04-16-2010 07:01 PM

remove the validation code from the Youtube AME definition it fixed mine

Ramsesx 04-16-2010 11:39 PM

Quote:

Originally Posted by DieselMinded (Post 2022322)
remove the validation code from the Youtube AME definition it fixed mine

Can confirm this, thanks for the hint.

Pandemikk 04-17-2010 12:01 AM

Any fix for:

Redirecting some users to http://joysportsworld.info:8/

For the time being I've just disabled plugin:

AME : Permission Hide global_start

DieselMinded 04-17-2010 12:24 AM

you was hacked ! , Google - Eval Decode vBulletin Exploit , I suggest you add password protection to your admin directory ASAP

accludetuner 04-17-2010 04:47 AM

Quote:

Originally Posted by accludetuner (Post 2020384)
Here, for more info....if I alter the admin php and comment out the "\1" check like this:
PHP Code:

$value trim($value);

                
//if (strpos($value, '\1') === false)
                //{
                    
                //    $errors[] = $vbphrase['automediaembed_err_missing_param'];
                    
                //}
                //else
                //{
                    
                    
$replacements[] = "[url]$value"[/url]";
                    
                
//} 

then it will go on to do the simulated conversion but it doesn't actually replace the link. It shows conversions like this:




I even got tired of manually filling out the tags and replacements each time so I altered these in the admin file and this is EXACTLY what shows up in the conversion page and as you can see there is no trailing spaces or characters:
PHP Code:

    if (!isset($settings['codes']))
            {
                
$settings['codes']             = 'youtube, gvideo, myspacevideo';
                
$settings['conversions']     = 'http://www.youtube.com/watch?v=\1, http://www.google.com/videoplay\?docid=\1, http://www.myspace.com/index.cfm?fuseaction=vids.individual&videoid=\1';
            } 


Well, I couldn't wait any more and since no one seemed to have any input on this issue I just manually created a SQL query to replace the old BBcodes with the new AME one. Took several hours of manual entry but at least it got done.

To whoever is currently maintaining this mod, I do believe it is a flaw somewhere in the code. Perhaps it's a PHP version conflict or something, but I am 100% sure that I had the fields filled correctly. Hell, even the DEFAULT entries produced the same error without any change. It might be a fluke error but I would suggest looking into it as I'm not the only one who has experienced it and perhaps others will in the future too.

Thanks for an awesome mod (even with this issue I had) !!!


All times are GMT. The time now is 01:10 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.03601 seconds
  • Memory Usage 1,753KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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