News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Recent posts

#31
SMF 2.1.x Support / Re: Cannot read/reply to priva...
Last post by 808server - September 25, 2023, 05:11:41 PM
Thanks! Will do.
#32
SMF 2.1.x Support / Error message: Unable to verif...
Last post by MarkoKg - September 25, 2023, 04:54:49 PM
Brand new 2.1.4 installed.

This is error log I'm getting in error log:
QuoteGuest
114.119.152.139
05f5737e7855b281679e1ad3823f26f7
https://www.myurl.com/smf/index.php?wwwRedirect;action=likes;sa=view;ltype=msg;like=16233;f2f5d4a40d=28158fe676a167268b858d3753e24dac
Backtrace information

Type of error: User
Error message Select
Unable to verify referring URL. Please go back and try again.

What does it mean and how can i fix it? No mods insatlled, default theme, only english language using, if that's important.

Thanks!
#33
SMF 2.0.x Support / Re: Http 500 code, moved serve...
Last post by Dinky - September 25, 2023, 04:49:33 PM
I would upgrade if i knew my old database would work with it. On most forums you have a forums you have a working setup and then upgrade it. Upgrading a dead version is opening the proverbial tin.

Anyway I've got the fresh version working by doing this in install.php

// if (version_compare($databases[$db_type]['version'], preg_replace('~^\D*|\-.+?$~', '', eval($databases[$db_type]['version_check']))) > 0)
// {
// $incontext['error'] = $txt['error_db_too_low'];
// return false;
// }

That got me past the version check.. tomorrow i'll swap databases about and see what happens.
#34
Theme Site Themes / Re: NameX
Last post by gevv - September 25, 2023, 04:36:52 PM
PHP errors occur because the coding structure is different. When adding codes into DIV

NameX_v1.2.7 BoardIndex.template.php;

   
    $func = 'template_ic_block_' . $block['tpl'];
        echo '
        <div id="block-' . $block['txt'] . '" class="windowbg">
            ', $func(), '
        </div>';





Parse error: syntax error, unexpected 'template_ic_block_' (T_STRING), expecting ';' or ',' in C:\wamp64\www\smf\Themes\NameX_v1.2.7\BoardIndex.template.php on line 197

      $func = 'template_ic_block_' . $block['tpl'];
      echo '
      <div id="block-' . $block['txt'] . '" class="windowbg">
            $func = 'template_ic_block_' . $block['tpl'];
      if($func == 'template_ic_block_recent')
      continue;
      else
      $func();   
      </div>';
#35
SMF 2.1.x Support / Re: Moved topic auto-redirect....
Last post by Kindred - September 25, 2023, 04:36:43 PM
Yes. We told you how... multiple times...

To which we have responded:  Turn on checkboxes for moderation and use that to delete the redirect message from the board message list.
#36
SMF 2.0.x Support / Re: Http 500 code, moved serve...
Last post by Kindred - September 25, 2023, 04:34:20 PM
1- use a modern, supported version of php...
Just because we have legacy support does not mean that it is recommended


2- upgrade to 2.0.19
#37
Español (Spanish) / Re: Error foro
Last post by EL_LARA - September 25, 2023, 04:14:45 PM
es al mandar un mensaje privado tarda mucho y sale esto
SMF 2.0.19, mientras que tu base de datos está en la versión de SMF 2.0.18
#38
Theme Site Themes / Re: NameX
Last post by Diego Andrés - September 25, 2023, 04:13:31 PM
Try the if with continue;

$func = 'template_ic_block_' . $block['tpl'];
if($func == 'template_ic_block_recent')
continue;
else
$func();

If that doesn't work, I'll have a look later.
#39
SMF 2.0.x Support / Http 500 code, moved server, c...
Last post by Dinky - September 25, 2023, 04:11:45 PM
Hi all,

MY existing forum is 2.0.17. In the last few days since my host helpfully upgraded PHP to v8, I'm now getting 500 error codes. I can't fixed a shared server so I decided to move it over to my small VPS.

I moved the forum files and the database, changed the login details in settings.php and it crashed the apache service repeatedly. I disabled eaccelerator and that made no difference, the error message changed but it still crashed.

So i downloaded a clean version of 2.0.17 and decided to install that.

Requirements page says:
2.0-2.0.6   4.1-5.4
2.0.7-2.0.13   4.1-5.6
2.0.14-2.0.15   5.4-7.1
2.0.16-2.0.17   5.3-7.3  <==
2.0.18-2.0.18   5.3-7.4
2.0.19-2.0.19   5.3-8.0

Interestingly an earlier version up to 2.0.15 requires a later version of php but a later version is good with an earlier version of php?

Anyway, my version of PHP is 5.3.6

Requirements page says: MySQL 4.0.18 or higher (at least 4.1.0 would be better) and PHP MySQL client API 4.0.18 or higher.

I have mysqlnd 5.0.8-dev

When I run install.php and I get this:

QuoteCritical Error!
The version of your database server is very old, and does not meet SMF's minimum requirements.

Urgh... yes it does?

So what gives? How do I get my forum back online given that my apache, php and mysql exceed the stated minimum requirements?

Thanks

D
#40
Theme Site Themes / Re: NameX
Last post by gevv - September 25, 2023, 04:11:32 PM
Hi,


I'm moving the recent post up. But it appears both above and below. The method I used for the solution did not work.

BoardIndex.template.php search;

echo '
<div id="boardindex_table" class="boardindex_table">';


Replace;
   echo '
   <div id="boardindex_table" class="boardindex_table">';
   template_ic_block_recent();

Recent messages move up ok.



The code I used to prevent it from appearing in the subsection does not work.

BoardIndex.template.php search;

$func = 'template_ic_block_' . $block['tpl'];
$func();

Replace;
$func = 'template_ic_block_' . $block['tpl'];
if($func == 'template_ic_block_recent')
echo'';
else
$func();
Advertisement: