News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

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

Arantor

Well, which mod did you install for a start? There are two attached to this thread.

Assuming you've turned on auto embedding, did you turn on all ~200 of the sites?
Holder of controversial views, all of which my own.


Kindred

also, be aware - the glossary mod and aeva mod embedding and tooltip javascripts conflict with each other.
Сл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."

SDMiller

Thank you Kindred. I was able to successfully uninstall avea media mod (after 5 attempts), and things are running smooth again.

I'll have to watch I don't install Javascript mods other than my glossary in the future.

So... any other auto embed mods, or at least a mod that allows the youtube embed script be pasted in and used?

Thanks for your help!


Kindred

AEVA works perfectly well, if you turn off the glossary tooltips (or, theoretically, if you turn off the aeva embed code and use it only as a gallery)

I have aeva and glossary installed together on my sites with the tooltips OFF and it works fine
Сл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."

Farjo

Quote from: MrPhil on February 21, 2013, 09:41:48 AM
Re: WSOD (White Screen of Death) from a fatal PHP syntax error

If your hosting (cPanel) error log doesn't say anything, and SMF's Error Log doesn't say anything, look for "error_log" or similar files scattered around your site directories (SMF directories). If nothing there, view the source on the blank pages to see if there's any error message there. If nothing, do you have error message display or reporting suppressed somewhere?
Thanks for the reply. The cPanel and SMF logs have no errors for the time that I was testing. I found the error_log files but again don't have any timely records. The source of the page is:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=windows-1252" http-equiv=Content-Type></HEAD>
<BODY></BODY></HTML>


I had a look to see if error reporting is supressed but cannot see anything obvious, and there are plenty of other error records.

On Sunday I will copy the database and files to another server and see what happens.

MrPhil

Well, that's a bit unusual that there's that much source in there (usually there's nothing). Something went wrong in the HEAD section and most of its output was missed. Something went even more wrong in the BODY and all its content was lost. What's unusual is that PHP obviously didn't completely die, as it does in most WSOD cases. Unfortunately, without some error messages to clue us in to what happened, I can't say anything more.

Arantor

I'd be willing to bet that PHP died with nothing as would be normal, and that the given content is what the browser substituted in its place since they all seem to require there be *something* for the inspector to be able to inspect it.

Viewing the raw source would probably show you nothing, rather than that. (Why, for example, would SMF *ever* output an HTML 4 doctype, in Windows-1252?)
Holder of controversial views, all of which my own.


Farjo

Arantor is right - the html is from an old version of IE; Chrome gives a blank source.

Farjo

Quote from: Farjo on February 21, 2013, 09:17:59 PM
On Sunday I will copy the database and files to another server and see what happens.
Yay! It all works OK on the other server :) Which I assume means that there is a difference in the set up of php between the two servers. So I ran phpinfo on both servers and of course there are many lines of info. Any idea what sort of thing I'm looking for?

Farjo

In the phpinfo() output there is a 'core' section. These are the differences:


Not workingWorking
disable_functionsSee below *no value
enable_dlOffOn
exit_on_timeoutOff(no record)
magic_quotes_gpcOffOn
max_execution_time2403000
max_input_time240-1
max_input_vars163841000
post_max_size96M300M
upload_max_filesize90M300M
user_ini.cache_ttl300(no record)

* apache_child_terminate, apache_get_modules, apache_get_version, apache_getenv, apache_note, apache_setenv, dl, exec, highlight_file, ini_alter, leak, openlog, passthru, proc_close, proc_get_status, proc_nice, proc_open, proc_terminate, shell_exec, show_source, symlink, system, pcntl_fork
(There are also some directory and mail differences which I have not posted.)

Any of these jump out for more investigation?

Farjo

Turns out to be the exec function, so I'm making the following changes to the Aeva-Media.php file and would appreciate a second opinion before I do the same on live.


elseif (empty($context['im_commands']))

{
if (function_exists('exec')) { // Test exec function disabled
@exec('convert -help', $ret);

$context['im_commands'] = array();

foreach ($ret as $command)

if (preg_match('/^\s?[+-]([a-z\-]+) /', trim($command), $match))

$context['im_commands'][$match[1]] = true;

}

}



function testImageMagick()

{
if (function_exists('exec')) { //Test exec function disabled
@exec('convert -version', $test_im);

return isset($test_im, $test_im[0]) && preg_match('/ImageMagick\s([\d\.]+)/', $test_im[0], $ver) ? $ver[1] : false;
} else {
return false;
}
}


$trans = $ext == 'png' || $ext == 'gif' ? (isset($context['im_commands']['alpha']) ? ' -alpha set' : ' -matte') : '';

if (function_exists('exec')) {
@exec("convert \"{$this->src}\" -$type {$width}x{$height}{$quality}{$trans} \"$dest\" 2>&1", $err, $success);

if (isset($err[0]))

log_error("ImageMagick error:\n\n" . $err[0]);
}


return $success == 0;



elseif ($this->image_handler == 4)

{

if (function_exists('exec')) {
$run = @exec('identify -format "%w %h" "' . $this->src . '"', $ret, $success);

return $run && isset($ret, $ret[0]) ? explode(' ', $ret[0]) : array(0, 0);
}
}


Thank you.

painkiller5758

Hello all, I have installed Aeva Media 1.4w and there is an issue , regular members could not add any items to already created album (created by admin), i have not given permission for regular members to create an album, am i missing anything, please help, iam attaching screenshots of permission pages of SMF and Aeva , please help O:)

Farjo

When you edit the album you'll see that it has its own permissions - you need to give Read permission to various groups.

painkiller5758

@Farjo , that was it , i missed that part. Thank you soo much for you assistance.   :) 8)


Leto Atreides II

I've been skimming this thread and perhaps I've missed it if it's already covered, but is there a way to display Aeva content on the forum index? Some VBulletin forums I've seen have image and/or video galleries across the top of the index, and I'm wondering if there's a way to set up Aeva Media to display content across the top of an SMF index.

Kindred

depends how you do your forum index.
If you use a portal, there are several versions of the portal-block code posted...

Over on the wedge site, someone even posted a nice image rotator script which can be used.
Сл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."

Leto Atreides II

#6777
Quote from: Kindred on March 16, 2013, 09:17:14 PM
depends how you do your forum index.
If you use a portal, there are several versions of the portal-block code posted...
I have a couple forums with portals, but I'm hoping to find a way to put a gallery across the top of a non-portal forum. Although I'll probably try doing one on a portal as well, just to see how good that looks.

Hmmm, come to think of it, maybe there's a way to hybridize portal and non-portal so that there's a few blocks plus the main forum index on the front page?
Quote from: Kindred on March 16, 2013, 09:17:14 PMOver on the wedge site, someone even posted a nice image rotator script which can be used.
This Wedge endeavour looks interesting. A little rivalry for SMF ought to boost development on both sides. Competition spurs dynamism!

Kindred

Leo, the whole idea of a portal with blocks is that you can configure the blocks to show only on specific pages...

So, yes...  the front page can be configured to display a few blocks (i.e. gallery) which then is not displayed on the boardlist/index page
Сл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."

endiZ

I moved hosting companies, and when I tried to reinstall this mod I can't see the settings in modification settings. Also, when I uninstall the tests fails for the files in Sources directories.

Anyone have any tips?

*edit* I just reinstalled SMF and it worked.

Advertisement: