General support topic for Aeva Media (Latest release: July 28, 2010)

Started by Nao 尚, October 14, 2007, 04:28:15 PM

Previous topic - Next topic

Abavagada

Quote from: PLAYBOY on July 14, 2011, 09:40:35 PM


Didnt work for me. I put the file in root and in forums folder along with the previous crossdomain.xml. But the problem remains. Eventhough the error has changed a little. Now the error message is...

The Flash upload module sent the following error.

Error type: uploadError
Error ID: file196

Error message: 500

The Flash upload module sent the following error.

Error type: uploadError
Error ID: file196

Error message: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2038"]

After spending 24 hours on this, I found out this error is because the forum isn't allowing the uploaded file to be handed to the server. It calls the mass upload page again, but the call gets refused because of the UPCOOK string that is being passed.

See if you have something like "Forum Firewall" installed. If so, turn off the SQL Injection Test. The mass upload should then work.

I am trying to figure a way around that without deactivating the injection test.. perhaps by changing what the UPCOOK sends.

Hope this helps someone.


iverSUN

So, for those of you who saw my problem (quoted below) we've figured out what happened.

We had someone post in our Media board, and in the title they self-censored the word "******ING" with "F@#$IN"

well in PHP the $ means something and it was getting tripped up when trying to embed the Youtube video with a name of with $IN, that why it was saying "Can't find IN" because it was trying to interpret $IN

So that is just a bug in Aeva

We modded that title of the post to not include the $, but we will need to make a more robust modification to Aeva to fix this long term.

To find the error, we made the following change in Aeva-Embed.php:

error_log("You messed up!" . print_r($input, TRUE) . "()", 3, "my-errors.log");
        on line 378

$input is the only variable being used on the line that was producing the error so I started looking there

Then we saw that $input contained:
)You messed up!Array
(
   
  • => <aeva-begin><a href="http://www.youtube.com/watch?v=eVMKBOANOc0#" class="bbc_link" target="_blank">IT&#039;S MOTHAF@#$IN&#039; RAMADAN CHARLIE BROWN!</a>
       [1] => <aeva-begin>
       [2] => http://www.youtube.com/watch?v=eVMKBOANOc0
       [3] => eVMKBOANOc0
    )

    And after seeing the title with $IN it was pretty clear

    So if anyone gets an ERROR 500, it's probably because you have a $ in your title.  8)


    Quote from: iverSUN on July 15, 2011, 11:53:38 AM
    When clicking on a board, my members and I are now getting an "internal server error".  It's only on board #6, and not on other boards. I've tried deleting the most recent post, to see if that had something to do with it - and no luck.

    When going to: http://www.teamzg.com/forum/index.php?board=6.0
    You get the following message:
    QuoteInternal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator and inform them of the time the error occurred, and anything you might have done that may have caused the error.

    More information about this error may be available in the server error log.

    When I check the error log, here it what it says:
    Quotemember:  iverSUN
    IP address: xxx.54.32.xxx 
    Today at: 09:30:36 AM
    session: 018673aa6888ff92854f2455652d24x5
    Type of error: Undefined
    URL: http://www.teamzg.com/forum/index.php?board=6.0
    message: 8: Undefined variable: IN
    File: /home/content/86/7983486/html/teamzg/forum/Sources/Aeva-Embed.php(378) : regexp code
    Line: 1

    I haven't touched anything recently, everything has been installed and was running fine. This is seemingly a "random" problem. Any helps, tips, advice, etc would be fantastic and greatly appreciated. Thanks!

iverSUN

Realistically, we will need to make a more robust modification to Aeva. We'll mod Aeva-Embed.php so this won't be an issue in the future. However, it's not going to be a simple fix.

Also an FYI... It's kind of wasteful really, every time someone clicks any message boards all the threads are scanned for content, that's not really necessary unless you were actually on a very specific page of a thread. <rant>But that's typical for volunteer stuff, it's not optimized for efficiency. Especially not surprising when the mod creator bails on his project because he's in a bad mood and "needs a break".

Yeah, I get it. He was banned, and is butt-hurt. He ran off to go play in another sandbox. But even if people join his sandbox to ask for help, he refuses. The original moderator created an awesome mod, but it's pretty much worthless if he's not going to stick around and fix sh*t. It means he's a quitter, and I hate quitters.</rant>

We'll spend some time cleaning up, fixing, and optimizing this mod for 2.0 Gold, and share our version with anyone who wants it. I'd hate for someone else to go through what I went through.

Illori

Quote from: iverSUN on July 27, 2011, 10:54:10 AM
We'll spend some time cleaning up, fixing, and optimizing this mod for 2.0 Gold, and share our version with anyone who wants it. I'd hate for someone else to go through what I went through.

make sure you read the license of this mod if you wish to modify and distribute it.


1. All copyright notices in source files or otherwise generated shall remain intact without
   modification, unless being given written permission from the copyright holders. The name
   of the package and links to associated websites must remain in clear view for all users.
2. Distribution of this package is not allowed unless being given written permission
   from the copyright holders.
3. You may modify the package, or one or more of its files, to the extent that you remain
   in full compliance of the aforementioned clauses.
4. Distribution of modifications is allowed, to the extent that you remain in full compliance
   of the aforementioned clauses.
5. The copyright holders retain the right to change this agreement, or parts of it,
   without any prior notice, at any time. It is the user's responsibility to make sure
   their knowledge of the license agreement is up to date. The copyright holders will
   communicate any changes through the Noisen.com or SMF-Media.com websites.
6. Upon neglecting one or more clauses of the above, the license will automatically terminate.
   Upon termination the user must destroy all of their copies of the package within 24 hours.
   The copyright holders shall take action against any license agreement breach at their discretion.
7. All ownership & contractual rights of any 3rd-party package that may be provided with this package
   remain in possession of their respective copyright holders. The AeMe copyright holders do not
   retain any ownership or rights over them, unless written otherwise, for instance in the case
   any 3rd-party package uses parts of the AeMe package's source code.
8. You are not allowed to sell or lease the modification, or part thereof. You are not allowed
   to sell anything based on the modification, or code that requires the modification to be installed,
   without the copyright holders' written consent.
9. You shall not install and/or use Aeva Media on a website that encourages and/or endorses
   violence, hate and/or any kind of bigotry. Be nice to each other!
10. THIS IS NOT A PRODUCT. THIS IS A LABOR OF LOVE. You may neither call Aeva Media a "product", nor
    request to be considered as a "customer". (This does not apply to the Foxy! add-on software,
although the author would still appreciate that you do not consider it a "product".)
11. Which means if you are not happy with it, your only right is to uninstall it. You may not demand
    any support, help or consideration regarding your issues. If you want help, ask for it nicely.
    Remember that no one is getting paid for this. You may get help, but you must not expect it.
12. Insulting the authors or starting fights on discussion topics related to Aeva Media *may* result
    in the authors terminating your right to use the Aeva Media software. Failure to comply to any
    other rule in the agreement *will* automatically terminate your right to use the AeMe software.

Just so that we're clear on this: if you don't like the software or its authors, don't use it.

Grim Line

Used;

if (empty($amSettings['prev_next'])) // 3 items
echo '
<table cellspacing="0" cellpadding="2" border="0" class="mg_prevnext windowbg" width="100%">
<tr class="mg_prevnext_pad">
<td rowspan="2">', (int) $item['prev'] > 0 ? '<a href="'.$galurl.'sa=item;in='.$item['prev'].'"><img alt="&laquo" src="/images/previous.png" /></a></td>
<td width="33%">', (int) $item['prev'] > 0 ? show_prevnext($item['prev'], $item['prev_thumb']) : $txt['aeva_prev'], '</td>
<td width="34%" class="windowbg2">', show_prevnext(0, $item['current_thumb']), '</td>
<td width="33%">', (int) $item['next'] > 0 ? show_prevnext($item['next'], $item['next_thumb']) : $txt['aeva_next'], '</td>
<td rowspan="2">', (int) $item['next'] > 0 ? '<a href="'.$galurl.'sa=item;in='.$item['next'].'"><img alt="&raquo" src="/images/next.png" /></a></td>
</tr>
<tr class="smalltext">
<td>', (int) $item['prev'] > 0 ? '<a href="'.$galurl.'sa=item;in='.$item['prev'].'">'.$item['prev_title'].'</a>' : '', '</td>
<td class="windowbg2">'.$item['current_title'].'</td>
<td>', (int) $item['next'] > 0 ? '<a href="'.$galurl.'sa=item;in='.$item['next'].'">'.$item['next_title'].'</a>' : '', '</td>
</tr>
</table>';
elseif ($amSettings['prev_next'] == 1) // 5 items
echo '
<table cellspacing="0" cellpadding="3" border="0" class="mg_prevnext windowbg" width="100%">
<tr class="mg_prevnext_pad">
<td rowspan="2">', (int) $item['prev_page'] > 0 ? '<a href="'.$galurl.'sa=item;in='.$item['prev_page'].'"><img alt="&laquo" src="/images/previous.png" /></a></td>
<td width="20%">', (int) $item['prev2'] > 0 ? show_prevnext($item['prev2'], $item['prev2_thumb']) : '', '</td>
<td width="20%">', (int) $item['prev'] > 0 ? show_prevnext($item['prev'], $item['prev_thumb']) : '', '</td>
<td width="20%" class="windowbg2">', show_prevnext(0, $item['current_thumb']), '</td>
<td width="20%">', (int) $item['next'] > 0 ? show_prevnext($item['next'], $item['next_thumb']) : '', '</td>
<td width="20%">', (int) $item['next2'] > 0 ? show_prevnext($item['next2'], $item['next2_thumb']) : '', '</td>
<td rowspan="2">', (int) $item['next_page'] > 0 ? '<a href="'.$galurl.'sa=item;in='.$item['next_page'].'"><img alt="&raquo" src="/images/next.png" /></a></td>
</tr>
<tr class="smalltext">
<td>', (int) $item['prev2'] > 0 ? '<a href="'.$galurl.'sa=item;in='.$item['prev2'].'">'.$item['prev2_title'].'</a>' : '', '</td>
<td>', (int) $item['prev'] > 0 ? '<a href="'.$galurl.'sa=item;in='.$item['prev'].'">'.$item['prev_title'].'</a>' : '', '</td>
<td class="windowbg2">'.$item['current_title'].'</td>
<td>', (int) $item['next'] > 0 ? '<a href="'.$galurl.'sa=item;in='.$item['next'].'">'.$item['next_title'].'</a>' : '', '</td>
<td>', (int) $item['next2'] > 0 ? '<a href="'.$galurl.'sa=item;in='.$item['next2'].'">'.$item['next2_title'].'</a>' : '', '</td>
</tr>
</table>';
elseif ($amSettings['prev_next'] == 2) // Text links
echo '
<div class="mg_prev">', (int) $item['prev'] > 0 ? '&laquo; <a href="'.$galurl.'sa=item;in='.$item['prev'].'">'.$txt['aeva_prev'].'<img alt="&laquo" src="/images/previous.png" /></a></div>
<div class="mg_next">', (int) $item['next'] > 0 ? '<a href="'.$galurl.'sa=item;in='.$item['next'].'">'.$txt['aeva_next'].'<img alt="&raquo" src="/images/next.png" /></a></div>';
else // Browsing disabled
echo '
<br />';


Even added my full URL to the links and still got the error.

Kindred

could be the switch between '.' and ',' as your code separator.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Avid Gamer

I installed Aeva media V1.4w on smf 2.00 It gave an error on install in subs.php, but when I checked the syntax it was purely because there were no tab spaces from home to script comand. The install reads and expects to see two tabs then the string (I feel this should be corrected to read only the string required). I corrected this by entering two tabs at the start of the line in my subs.php.
The install was then flawless.

having configured Aevamedia gallery, but when i try to load a jpg into a gallery i am owner of it get message below

The file size is larger (159326 KB) than the system allows- this file is a 152k Jpg
I went to the website to register and join, but the captcha continually states i have incorrectly entered text (NO I DIDN'T) after 11 times on different machine across two browsers I gave up.

I now feel like giving up with this mod and continuing with my current coppermine gallery of many years.
Can anyone shed some light on this?
Mess with the Best
Die like the Rest.

Dave Busters

Quote from: YogiBear on July 26, 2011, 07:30:39 AM
@ smartblogz : recommend check permissions both in Aeva admin and the Aeva settings in membergroup permissions.

@ Dave : check you have enabled embedding in Aeva > Admin and ticked the boxes of the sites from where you want to embed eg. Youtube. Click Save (easily forgotten).

Hi YogiBear, thanks for replying. Where would I find this? I can't find it in the Admin section of my board.

smartblogz

@Dave Busters,

Go to Admin , then you should see Aeva Media. Click on it and you will see a drop down from where you can configure.

Aeva media -> Auto Embedding (the 3rd menu) -> Configuration ...sitelist.

Dave Busters

Hi smartblogz,
I'm still having trouble. I installed smf 2-0. That's all. Is there anything I need to uninstall before continuing? If so, what?

Sabrewulv

I have this error messge on our smf 2.0 site

8: Undefined index: aeva
File: /home/etdsquad/public_html/Sources/Admin.php
Line: 216

I have tried to remove it from the error log but it wont clear I dont know much about the error log so if anyone can help id be greatful

Dave Busters

Good news, everyone. It worked. Thanks for the help, guys.

Akyhne

Quote from: Illori on July 27, 2011, 11:00:03 AM
make sure you read the license of this mod if you wish to modify and distribute it.
Hah, the guy forks other projects, but doesn't allow his own projects to be forked!

!RFAN

i want to add comment and like box in aeva media gallery
i want to add these boxes in items..
i added :                             call_facebook_hook('show_facebook_comments',array('http://www.amigozone.com/index.php?action=media','10','970','light'));


for comments but it posts as a comment on gallery home.. what address should i add so that it can show comment/like at the item and not the main gallery...

i have tried this  : ' . $galurl . 'sa=item;in=' . $id . '
not working

please help me

bruce86


petewadey

Hi,
Since upgrading to 1.4, I no longer get recent items in my gallery, and random items no longer show as thumbnails. Is this a known problem, and does anyone know a fix? Also new items are no long flagged. Here is a link to my gallery http://bsac10c11c12.co.uk/smf/index.php?action=media. Any help would be much appreciated. Thanks.
Pete

YogiBear

Hmm, I've never seen that type of layout on Aeva before. Are you using a modified theme, Pete?

SMF v2.1.4  Mods : Snow & Garland v1.4, Simple Image Upload v2.0.0,  PHP  v.8.1

petewadey

Hi Yogi, I'm using Core, no mods. I get this message in my error log :-
"http://bsac10c11c12.co.uk/smf/index.php?action=media8: Undefined variable: viewFile: /home/lrdvgak/public_html/smf/Themes/default/Aeva.template.php
Line: 238"
I don't know if that has anything to do with my problem.
I still have Aeva 1.1b in my installed packages with no un install option, should I delete that?
Cheers,
Pete

YogiBear

Not a good idea to delete as it looks as though Aeva is still installed. If you delete then try to reinstall you would most probably end up with a double installation.

If you switch to Curve theme is there then an option to uninstall?
SMF v2.1.4  Mods : Snow & Garland v1.4, Simple Image Upload v2.0.0,  PHP  v.8.1

Advertisement: