1891
Mamba
Re: 500 Internal Server Error
  • 2019/9/26 5:09

  • Mamba

  • Moderator

  • Posts: 11373

  • Since: 2004/4/23


You should update to XOOPS 2.5.10

But I would suggest to do it on your old server, and then transfer to your new server.
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



1892
vina
500 Internal Server Error
  • 2019/9/26 3:07

  • vina

  • Just popping in

  • Posts: 5

  • Since: 2018/3/16


I have error (500 Internal Server Error) after transfer to new server.

My xoops site:
version: 2.5.6

version PHP site in old server was 5.6 but this new server support version 7.3 only

please help me for solve this problem



1893
Mage
Re: XOOPS France
  • 2019/9/25 19:32

  • Mage

  • Core Developer

  • Posts: 206

  • Since: 2009/8/2 1


Xoops is no longer available at the moment. We will inform you when we have more information



1894
fabou78
Re: Issue with synchronize buttons in user admin panel
  • 2019/9/21 7:40

  • fabou78

  • Friend of XOOPS

  • Posts: 43

  • Since: 2012/6/16





1895
fabou78
Issue with synchronize buttons in user admin panel
  • 2019/9/20 18:35

  • fabou78

  • Friend of XOOPS

  • Posts: 43

  • Since: 2012/6/16


There is an issue with the synchronize option in admin->users as if you click on synchronize button at the top or any synchronize button associated with a particular user it will reset the NewBB count to zero even if a user has tons of posts in the forums.

I found out that the issue is related to SQL calls to table “bb_posts” while the correct table name is “newbb_posts” (it seem to me that this table has been renamed to “newbb_posts” at some point).

I have made the following changes in /modules/system/admin/users/jquery.php at line 53
-            $tables[] = array('table_name' => 'bb_posts''uid_column' => 'uid');
+            
$tables[] = array('table_name' => 'newbb_posts''uid_column' => 'uid');

for the per user synchronize option

And the following changes in /modules/system/admin/users/users.php at line 232
-        $tables[] = array('table_name' => 'bb_posts''uid_column' => 'uid');
+        
$tables[] = array('table_name' => 'newbb_posts''uid_column' => 'uid');

for the general (all users) synchronize option

Both corrections seem to work.


Can someone confirm if this is good enough?

I don’t know PHP and XOOPS so I can’t judge it would not introduce another issue somewhere else nor if there is somewhere else in the code that would need similar corrections.

The file modules/newbb/include/config.php seem to have quite a few more references to the old naming convention ( from line 81) can’t really figure out what this is doing.

I am happy to raise issue and submit corrections on github if that’s all needed to be done.



1896
fabou78
XOOPS France
  • 2019/9/19 10:54

  • fabou78

  • Friend of XOOPS

  • Posts: 43

  • Since: 2012/6/16


Anyone knows what happened to the XOOPS France website? It has been down for quite some time now.

DNS issues?

dig +noall +answer http://www.frxoops.org
;; connection timed out; no servers could be reached



1897
Lupin
Re: NewBB 5.0 Final and 4.34 Final are released
  • 2019/9/16 23:08

  • Lupin

  • Just popping in

  • Posts: 92

  • Since: 2007/6/1 2


Sorry Mamba , I had probs with internet service last week ... Ok , I will read an reply ...

Pino



1898
fabou78
Small display issue in date for yesterday and today
  • 2019/9/16 11:40

  • fabou78

  • Friend of XOOPS

  • Posts: 43

  • Since: 2012/6/16


I was looking at an issue where dates for posts from yesterday or today would not display correctly in my language (French).

I found an error in our locale file language/french/locale.php ;

define('_TODAY', "\A\u\j\o\u\r\d\'\h\u\i G:i");
define('_YESTERDAY', "\H\i\e\r G:i");

The issue is that \r \e seem to be special characters and have not been translated properly in French so I can easily fix this by doing double back slash \\e and \\r like I have seen in the English version of the file language/english/locale.php

The function that is returning the date string is located in class/xoopslocal.php and at line 98 I can see the reference to _TODAY and _YESTERDAY defined in local.php

$datestring = ($elapse_today 0) ? _TODAY _YESTERDAY;


Now there is also another file called calendar.php that has a really neat variable called _CAL_TODAY

define('_CAL_TODAY', 'Aujourd\'hui');

I tried to be clever by replacing

$datestring = ($elapse_today 0) ? _TODAY _YESTERDAY;


With this

$datestring = ($elapse_today 0) ? _CAL_TODAY _CAL_YESTERDAY;



in class/xoopslocal.php and I also added _CAL_YESTERDAY to the calendar.php file as it was not present but it didn’t work.


I don’t know PHP but wanted to know if there is an easy way to fix it like I wanted by using calendar.php (if there is not risk to have side effects) ?

Also just out of curiosity why define('_TODAY', "\T\o\d\a\y G:i"); and not define('_TODAY', "Today"); in local.php?



1899
Mamba
Re: NewBB 5.0 loading wrong template?
  • 2019/9/15 9:49

  • Mamba

  • Moderator

  • Posts: 11373

  • Since: 2004/4/23


I'm happy to hear that!
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



1900
fabou78
Re: NewBB 5.0 loading wrong template?
  • 2019/9/13 20:50

  • fabou78

  • Friend of XOOPS

  • Posts: 43

  • Since: 2012/6/16


Thanks, it worked.




TopTop
« 1 ... 187 188 189 (190) 191 192 193 ... 29425 »



Login

Who's Online

281 user(s) are online (106 user(s) are browsing Support Forums)


Members: 0


Guests: 281


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Aug 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits