Customizing SMF > Modifications and Packages

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

<< < (1309/1374) > >>

armada1987:
problem is i don't know how, when I open ManageSettings in notepad there is such a mess i don't know what i must dellete :(

EDIT: problem fixed

PLAYBOY:
Any help on my problem above?

BaghdadGhost:
so since I am still getting the same errors I reported last time, I decided to make sure all installation edits are ok. but when I got to

In the file $sourcedir/Subs.php


Find


--- Code: ---$message = strtr($message, array('  ' => ' &nbsp;', "\r" => '', "\n" => '<br />', '<br /> ' => '<br />&nbsp;', '' => "\n"));

--- End code ---

Add After



--- Quote ---   // Aeva Media changes
   if (empty($parse_tags) && empty($context['uninstalling']))
   {
      // Do the actual embedding
      if (!function_exists('aeva_parse_bbc2'))
         require_once($sourcedir . '/Aeva-Embed.php');
      aeva_parse_bbc2($message, $smileys, $cache_id);

      if (function_exists('aeva_parse_bbc') && stripos($message, '[smg') !== false)
         aeva_parse_bbc($message, $cache_id);
   }
   // End Aeva Media changes
--- End quote ---

I was not able to find the above line. instead I found this discussion


--- Code: ---$message = strtr($message, array('  ' => ' &nbsp;', "\r" => '', "\n" => '<br />', '<br /> ' => '<br />&nbsp;', '&#13;' => "\n"));
--- End code ---

so I searched this topic and found this comment of Neo


--- Quote from: villasg on September 30, 2009, 01:24:12 AM ---I receive fault in ./Sources/Subs.php on installation
I open subs.php and i canot find the follow

--- Code: ---$message = strtr($message, array('  ' => ' &nbsp;', "\r" => '', "\n" => '<br />', '<br /> ' => '<br />&nbsp;', '&#13;' => "\n"));
--- End code ---


--- End quote ---


--- Quote from: Nao 尚 on September 30, 2009, 01:57:35 AM ---@villasg> Your copy of Subs.php is obviously corrupted. You should reinstall SMF from scratch.
If you're in a hurry, then it's at line 2642, but as I told you -- that line is corrupted. It's turning all spaces into two spaces, that's silly! Replace that line, but you probably have more corrupted lines in your source files. I guess.

--- End quote ---

I remember going through this before when I first installed Aeva, but recent when I re-installed the forum from zero I decided to install Aeva before everything to make sure all is ok. yet I also could not locate the line. I checked a subs.php file from a fresh smf file and it did not have neo requested code! it has the same one me and others referred to.

any idea about this and is it correct to deal with the first line I posted as an alternative to Neo requested line (which we can't find)?

thanks

Arantor:
It's funny, I can install it just fine on a fresh install, which makes me wonder what you're trying to do. Mind you, seeing that you don't even get the author's name right, I'd wonder how you're trying to do it... since it seems attention to detail is not being paid ;)

BaghdadGhost:
all I am saying is the installation package requires to find in subs.php


--- Code: ---$message = strtr($message, array('  ' => ' &nbsp;', "\r" => '', "\n" => '<br />', '<br /> ' => '<br />&nbsp;', '' => "\n"));
--- End code ---

which does not exist. instead, there is this line


--- Code: ---$message = strtr($message, array('  ' => ' &nbsp;', "\r" => '', "\n" => '<br />', '<br /> ' => '<br />&nbsp;', '&#13;' => "\n"));

--- End code ---

to make sure please download smf 2.0.2 and extract then take a look at subs.

what I was trying to do is to use my minimal information to solve my problem and get to my limits before bothering others with many questions.

I was trying to see if my limited abilities makes me get rid of the many errors I have in the error log every time a member decides to upload a photo directly to the post.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version