anton
November 21, 2023, 12:28am
1
Hi,
Would like to invite you to tests this version before released as 1.4.7:
Changes:
Simplify db query for faster page load on Reports
Better search form on Reports
Provides sql file for applying db table indexes
Remove dependency to PEAR/DB, now use PDO for db operations
Compatibility up to PHP 8 (should be up to 8.2)
Fix some bugs and security related
Please examine full change logs:
Or for those who have been following, change logs with previous tag:
I hope this version will not introduce new bug or new vulnerability, when you find one, please visit playSMS security policy page:
Thank you,
anton
Installed playsms-1.4.7 test version
Ubuntu 22.0.4
PHP 8.2.12
Apache2
Under Manage Accounts, when doing Administrator, User or sub-user search will return MySQL error
FATAL ERROR : Database query execution has failed
anton
November 21, 2023, 11:04pm
3
Hi,
A fix has been committed and pushed:
committed 11:02PM - 21 Nov 23 UTC
Please replace plugin/core/dba/fn.php
with this version:
<?php
/**
* This file is part of playSMS.
*
* playSMS is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* playSMS is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with playSMS. If not, see <http://www.gnu.org/licenses/>.
*/
defined('_SECURE_') or die('Forbidden');
This file has been truncated. show original
anton
Thanks Anton. It FIXED after the patch.
Compose Message can’t enter mobile number of receipient.
Got circling icon at the end of box. When press enter, field is cleared (no number)
anton
November 22, 2023, 2:26am
6
Hmm that one should be fixed already, but let me double check on my test installation. Or maybe try to use comma ,
instead of Enter
.
If you notice issue on visiting phonebook page, that is also being fixed, by copying from 1.5.0-beta8.
anton
Or maybe try to use comma
,instead of
Enter .
Ok that works if use ‘,’ (comma) after key in the phone number
anton
November 22, 2023, 3:01am
8
Hi,
The compose message bug is fixed, download new file here:
<?php
/**
* This file is part of playSMS.
*
* playSMS is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* playSMS is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with playSMS. If not, see <http://www.gnu.org/licenses/>.
*/
defined('_SECURE_') or die('Forbidden');
This file has been truncated. show original
Replace plugin/feature/phonebook/phonebook.php
anton
anton
November 22, 2023, 4:08am
10
Hi,
Fixes committed and pushed, please check the latest phonebook:
You need to download all phonebook’s php files and use them to replace.
anton
anton
November 22, 2023, 4:38am
14
Understood, I kinda remember this issue, I’ll try to fix it
Please have more tests, especially comparing with 1.4.6, thanks
I want to stop working on 1.4.x series and leave it with relatively minor bugs and some minor inconveniences, but still a working app. I’ll be focusing the dev on 1.5 series, for better themes, reporting pages, faster bulk sending and delivery reports etc, if possible that is and if my time/resources allowed
anton
1 Like
Hi,
Message Template edits open back based template good Morning NOT the actual template to be edited.
Thanks
anton
November 22, 2023, 4:48am
16
Fixed:
<?php
defined('_SECURE_') or die('Forbidden');
if(!auth_isvalid()){auth_block();};
$gpid = (int) $_REQUEST['gpid'];
$pid = (int) $_REQUEST['pid'];
$tid = (int) $_REQUEST['tid'];
if ($tid = $_REQUEST['tid']) {
if (! (dba_valid(_DB_PREF_.'_featureMsgtemplate', 'tid', $tid))) {
auth_block();
}
}
switch (_OP_) {
case "list":
$fm_name = "fm_smstemp";
$content = _dialog() . "
<h2>"._('Message template')."</h2>
<form id=$fm_name name=$fm_name action='index.php?app=main&inc=feature_msgtemplate&op=actions' method=POST>
dba_valid()
now returns true
or false
, not the actual value like it used to
anton
anton
November 22, 2023, 5:49am
17
Hi,
Now its working like previous, please re-update the phonebook.php
anton
Hi
Thanks. It FIXED the message template issue.
Hi Anton,
Here are some of the issues that I found out
Normal User
Settngs
Manage site - returns error 500 page
Manage subuser - returns > FATAL ERROR : Database query execution has failed
Manage credit - returns > FATAL ERROR : Database query execution has failed
Report
My credit transactions returns > FATAL ERROR : Database query execution has failed
Admin User
Settings
Manage firewall. returns > FATAL ERROR : Database query execution has failed
Manage stoplist returns > FATAL ERROR : Database query execution has failed
Manage subuser - returns > FATAL ERROR : Database query execution has failed
Report
My credit transactions returns > FATAL ERROR : Database query execution has failed
anton
November 22, 2023, 2:34pm
20
Hi,
Those, and manage sender id, should be fixed now.
Tagged here:
anton