1161
newbie555
Re: how to install NewBB forums on xoops 2.5.10 installed via softaculous and php 5.4.45?
  • 2020/10/5 3:04

  • newbie555

  • Just popping in

  • Posts: 11

  • Since: 2020/9/27


Quote:

2) php.ini is on your server, outside of XOOPS. You need to have Server Admin access to make changes there. Most ISP don't give access to it, but you can check with them directly


Note that with cpanel here, I can set the php version, and for the version I can also set options and extensions. If I select some extensions, then I cannot select others, ie I cannot select all options.


I dont know whether php.ini can be via options and extensions. Also could there be the possibility of a local php.ini file. Sometimes with computer systems, you have an initialisation file, but then you can have a local initialisation file which overrides the global one. ie where there could be 2 php.ini's, one of the server, and one of the user account.

Here is a list of the options followed by a list of the extensions, I would upload a snapshot, but I am not sure about the copyright rules for snapshots of cpanel, whether I can do that under fair usage?

php 7.4 options:
allow_url_fopen
display_errors
error_reporting E_ALL 
file_uploads
include_path  
.:/opt/alt/php74/usr/share/pear
log_errors
mail
.force_extra_parameters
max_execution_time 1500
max_input_time 1500
max_input_vars 2000
memory_limit 1G 
open_basedir
post_max_size 1G 
session
.save_path /opt/alt/php74/var/lib/php/session
short_open_tag
upload_max_filesize 1G


php extensions: (not all selected)


A
apcu
B
bcmath
brotli
D
dba
dbase
dom
E
eio
enchant
F
fileinfo
G
gd
gender
geoip
geos
gmagick
gnupg
grpc
H
http
I
igbinary
imagick
imap
I
inotify
intl
ioncube_loader
J
json
L
ldap
luasandbox
lzf
M
mailparse
mbstring
mongodb
mysqli
mysqlnd
N
nd_mysqli
nd_pdo_mysql
newrelic
O
oauth
oci8
odbc
opcache
P
pdf
P
pdo
pdo_dblib
pdo_firebird
pdo_mysql
pdo_oci
pdo_odbc
pdo_pgsql
pdo_sqlite
pdo_sqlsrv
pgsql
phar
posix
propro
pspell
psr
R
raphf
redis
S
snmp
soap
sockets
S
sodium
sqlite3
sqlsrv
stats
swoole
sysvmsg
sysvsem
sysvshm
T
tidy
timezonedb
trader
U
uploadprogress
uuid
V
vips
X
xdebug
xmlreader
xmlrpc
xmlwriter
xsl
Y
yaml
Z
zip





1162
newbie555
Re: how to install NewBB forums on xoops 2.5.10 installed via softaculous and php 5.4.45?
  • 2020/10/4 19:13

  • newbie555

  • Just popping in

  • Posts: 11

  • Since: 2020/9/27


Quote:

Mamba wrote:
1) XoopsPoll: the current code in https://github.com/XoopsModules25x/xoopspoll/

You can download the current code by clicking on the green button "Code" and then selecting the last menu item "Download ZIP"

This will get you to this link: https://github.com/XoopsModules25x/xoopspoll/archive/master.zip

You can then extract the files to "/?????/modules/xoopspoll" folder, and install it from Admin


ok, have done this now and installed it. The current xoops install is for experimenting with,
so I will try later on some polls with imaginary users and see how it fares.

Quote:

2) php.ini is on your server, outside of XOOPS. You need to have Server Admin access to make changes there. Most ISP don't give access to it, but you can check with them directly


could you give the full path to php.ini for any specific setup you have access to where it is accessible?

that way I can see if I can get to any similar path with the setup here.

Quote:


3) Just to make clear: the files from inside of

/???/modules/newbb/EXTRA/themes/xbootstrap

go inside of the folder:

/????/themes/xbootstrap

After you copied the /xbootstrap folder to /themes, you need to either update the System module, or the NewBB module, so XOOPS can update the cache.



I have updated both and it is now functioning correctly!

Quote:

You can also go to Admin/Maintenance and clear the cache there.

Yet another option is to switch to another theme. You should activate the Themes block first, as described here, and then go to the front-end of the Website and select the XSwatch or Xswatch4 theme, if available.


I didnt understand that link, but by clicking "blocks" I was able I think to activate themes.
When you say front-end of the website, do you mean after I login with the administrator
userid + password?

I havent found Xswatch or Xswatch4 yet.

Quote:

4) TCPDF: I'm not sure why it is not working. I'll do some tests on our server, and let you know if I find anything


even after updating the system module, I still get the same message.



1163
Mamba
Re: how to install NewBB forums on xoops 2.5.10 installed via softaculous and php 5.4.45?
  • 2020/10/4 10:00

  • Mamba

  • Moderator

  • Posts: 11373

  • Since: 2004/4/23


1) XoopsPoll: the current code in https://github.com/XoopsModules25x/xoopspoll/

You can download the current code by clicking on the green button "Code" and then selecting the last menu item "Download ZIP"

This will get you to this link: https://github.com/XoopsModules25x/xoopspoll/archive/master.zip

You can then extract the files to "/?????/modules/xoopspoll" folder, and install it from Admin

2) php.ini is on your server, outside of XOOPS. You need to have Server Admin access to make changes there. Most ISP don't give access to it, but you can check with them directly

3) Just to make clear: the files from inside of

/???/modules/newbb/EXTRA/themes/xbootstrap

go inside of the folder:

/????/themes/xbootstrap

After you copied the /xbootstrap folder to /themes, you need to either update the System module, or the NewBB module, so XOOPS can update the cache.

You can also go to Admin/Maintenance and clear the cache there.

Yet another option is to switch to another theme. You should activate the Themes block first, as described here, and then go to the front-end of the Website and select the XSwatch or Xswatch4 theme, if available.

4) TCPDF: I'm not sure why it is not working. I'll do some tests on our server, and let you know if I find anything
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



1164
newbie555
Re: how to install NewBB forums on xoops 2.5.10 installed via softaculous and php 5.4.45?
  • 2020/10/4 1:46

  • newbie555

  • Just popping in

  • Posts: 11

  • Since: 2020/9/27


Quote:

Mamba wrote:
Quote:
Xoops Poll Module: is not available.

There seems to be currently conflict with the XoopsPoll module. Once it's fixed I'll let you know, but in the meantime you can help to test it, by copying from: https://github.com/XoopsModules25x/xoopspoll
and installing it.
[/quote]

do you mean the following link from there:

https://github.com/XoopsModules25x/xoopspoll/releases/tag/1.40-Final


and if so, presumably I would rename xoopspoll-1.40-Final to xoopspoll
?

Quote:
Quote:


Quote:
ImageMagicK: is not available.
NetPBM: is not available.
GD library: Autodetected: 2.2.5

You need one of the three, so if you have GD, then you're OK

Quote:
Maximum Upload each file : Attention! Value 'memory_limit' to PHP.INI less than 'post_max_size'

If you have access to php.ini, you can change the value there. If not, then can't do much about it and just ignore it


where would php.ini be?
the path to newbb at the server account is:

/home/?????/public_html/DirectEmails/wgm/xoops/modules/newbb

where ????? is my userid,
what path potentially would php.ini be?



Quote:
Quote:

[quote]If you want to use the PDF creation function, use instruction.

You would have to download TCPDF from: https://github.com/tecnickcom/TCPDF/releases

and copy it to

YOURSITE /class/libraries/vendor/tecnickcom/tcpdf/

NewBB will then check if the file tcpdf.php exists there:

if (!is_file(XOOPS_ROOT_PATH '/class/libraries/vendor/tecnickcom/tcpdf/tcpdf.php'))


I have done that, so the path you give then exists, but I still get the message
Quote:
If you want to use the PDF creation function, use instruction.

I tried updating the system cache, logged out, logged back in, and modules/forum/index
still gives that message.


also,
https://github.com/XoopsModules25x/publisher/issues/30#issuecomment-231551905

says

Quote:

You can also add this line:

"tecnickcom/tcpdf":"6.*"
to the "composer.json" file located in "/class/libraries/", so it looks like this: ...


but /class/libraries/ doesnt have composer.json, but just has composer.dist.json
should I modify that file? or rename it and then modify it?



1165
newbie555
Re: how to install NewBB forums on xoops 2.5.10 installed via softaculous and php 5.4.45?
  • 2020/10/4 1:05

  • newbie555

  • Just popping in

  • Posts: 11

  • Since: 2020/9/27


Quote:

Mamba wrote:
Quote:
With various URLs of the forum, I see what appear to be "constants"

They should be in the /EXTRA folder

Go to your folder:
YOURSITE/modules/newbb/EXTRA/themes/

and copy the folder "xbootstrap" to:

YOURSITE/themes/

It will overwrite the files there.


I copied YOURSITE/modules/newbb/EXTRA/themes/xbootstrap/
to YOURSITE/themes/xbootstrap/

but the constants are still showing,
eg I have a test message, namely:
http://directemails.info/wgm/xoops/modules/newbb/viewtopic.php?topic_id=2

where you will see things like _MD_POSTEDON and _MD_BROWSING 1 _MD_ANONYMOUS_USERS

I feel that ought to be "posted on" and "browsing: 1 anonymous user(s)",

some further troubleshooting necessary!

is there a specific file I can check to verify that I copied to the correct path?



1166
Mamba
PHP 8.0 RC-1 available for testing
  • 2020/10/3 8:44

  • Mamba

  • Moderator

  • Posts: 11373

  • Since: 2004/4/23


PHP 8.0 RC-1 available for testing!!!!

INFO: https://www.php.net/archive/2020.php#2020-10-01-4

If you're using Windows, you can download the Windows version here: https://windows.php.net/qa/

Also released recently: XDEBUG 2.9.8, but only for PHP 7.1 - 7.4
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



1167
Mamba
Re: how to install NewBB forums on xoops 2.5.10 installed via softaculous and php 5.4.45?
  • 2020/10/2 6:31

  • Mamba

  • Moderator

  • Posts: 11373

  • Since: 2004/4/23


Quote:
Xoops Poll Module: is not available.

There seems to be currently conflict with the XoopsPoll module. Once it's fixed I'll let you know, but in the meantime you can help to test it, by copying from: https://github.com/XoopsModules25x/xoopspoll
and installing it.

Quote:
ImageMagicK: is not available.
NetPBM: is not available.
GD library: Autodetected: 2.2.5

You need one of the three, so if you have GD, then you're OK

Quote:
Maximum Upload each file : Attention! Value 'memory_limit' to PHP.INI less than 'post_max_size'

If you have access to php.ini, you can change the value there. If not, then can't do much about it and just ignore it

Quote:
If you want to use the PDF creation function, use instruction.

You would have to download TCPDF from: https://github.com/tecnickcom/TCPDF/releases

and copy it to

YOURSITE /class/libraries/vendor/tecnickcom/tcpdf/

NewBB will then check if the file tcpdf.php exists there:

if (!is_file(XOOPS_ROOT_PATH '/class/libraries/vendor/tecnickcom/tcpdf/tcpdf.php'))
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



1168
Mamba
Re: how to install NewBB forums on xoops 2.5.10 installed via softaculous and php 5.4.45?
  • 2020/10/2 6:21

  • Mamba

  • Moderator

  • Posts: 11373

  • Since: 2004/4/23


Quote:
With various URLs of the forum, I see what appear to be "constants"

They should be in the /EXTRA folder

Go to your folder:
YOURSITE/modules/newbb/EXTRA/themes/

and copy the folder "xbootstrap" to:

YOURSITE/themes/

It will overwrite the files there.
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



1169
newbie555
Re: how to install NewBB forums on xoops 2.5.10 installed via softaculous and php 5.4.45?
  • 2020/10/1 17:43

  • newbie555

  • Just popping in

  • Posts: 11

  • Since: 2020/9/27


Hi, I have a second question,
I am not editting the previous post in case you read that before I editted, ie to avoid confusion.

With various URLs of the forum, I see what appear to be "constants",
eg a screenshot:

http://www.directemails.info/wgm/constants.png

with that, there is eg:
---------------------------------------------
_MD_MAINFORUMOPT
_MD_TOTALTOPICSC 3
_MD_TOTALPOSTSC 3
_MD_USERS_ONLINE 1
_MD_BROWSING_FORUM
-----------------------------------------
I presume those items _MD_?????? are constants, and if so, was wondering how to set them!



1170
newbie555
Re: how to install NewBB forums on xoops 2.5.10 installed via softaculous and php 5.4.45?
  • 2020/10/1 17:26

  • newbie555

  • Just popping in

  • Posts: 11

  • Since: 2020/9/27


I have one initial question,
with the forum index it has the message:

---------------------------------------------------
Module preferences
Xoops Poll Module: is not available.
ImageMagicK: is not available.
NetPBM: is not available.
GD library: Autodetected: 2.2.5
Maximum Upload each file : Attention! Value 'memory_limit' to PHP.INI less than 'post_max_size'
If you want to use the PDF creation function, use instruction.
---------------------------------------------------

are there any remedial actions I should take, and if so, how to do this?

many thanks




TopTop
« 1 ... 114 115 116 (117) 118 119 120 ... 29425 »



Login

Who's Online

442 user(s) are online (314 user(s) are browsing Support Forums)


Members: 0


Guests: 442


more...

Donat-O-Meter

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

Latest GitHub Commits