Category: blog
Browse e-smartsolution’s blog
Office365, SharePoint, how To check permissions for a user or group, enter their name or email
Office365, SharePoint, how To check permissions for a user or group, enter their name or email
1- On your SharePoint’s set click on Click on top right Gear Icon > Site permissions
2- Click on “Advanced permissions settings”
3- and click on “Check Permissions”
4- and finally enter “To check permissions for a user or group, enter their name or email- address.”
Solution Fatal error: Uncaught Error: Call to undefined method SubmissionFileDAO::getAllFileStages OJS 3.3.0.8
Solution Fatal error: Uncaught Error: Call to undefined method SubmissionFileDAO::getAllFileStages OJS 3.3.0.8 after upgrade to thar version of OJS.
Thank you for asking, all my plugins are updated…
Fatal error: Uncaught Error: Call to undefined method SubmissionFileDAO::getAllFileStages() in /www/htdocs/journal/controllers/wizard/fileUpload/FileUploadWizardHandler.inc.php:35 Stack trace:
#0 /www/htdocs/journal/lib/pkp/classes/core/PKPRouter.inc.php(387): FileUploadWizardHandler->authorize(Object(Request), Array, Array)
#1 /www/htdocs/journal/lib/pkp/classes/core/PKPComponentRouter.inc.php(257): PKPRouter->_authorizeInitializeAndCallRequest(Array, Object(Request), Array)
#2 /www/htdocs/journal/lib/pkp/classes/core/Dispatcher.inc.php(144): PKPComponentRouter->route(Object(Request))
#3 /www/htdocs/journal/lib/pkp/classes/core/PKPApplication.inc.php(362): Dispatcher->dispatch(Object(Request))
#4 /www/htdocs/journal/index.php(68): PKPApplication->execute()
#5 {main} thrown in /www/htdocs/journal/controllers/wizard/fileUpload/FileUploadWizardHandler.inc.php on line 35
In our case: This issue was coming because the previous version of OJS was copied in conflict with the new version – Backup the old code 3.1.1 (to not merge both version)
Start with a fresh version of OJS 3.3.0.8, use the update option
OSJ updating procedure, example from from 3.2.1.1 to 3.3.0.8
Open System Journal updating procedure, example from from 3.2.1.1 to 3.3.0.8
The most important is backuping up your old code and datase before doing anything just in case if need to downupgrading (going back).
1- Replace the old code of the OJS with new code – keep the old config.inc.php (for the parameters)
2- Change on “installed” from “On” to “Off” on config.inc.php
3- Browse to your journal, for ukgoodbye.co.uk/ojs and the OJS should show the installation page
4- OJS update procedure
To update your current OSJ you should see, “if you are upgrading an existing installation of OJS, click here to proced.”
This procedure was used to update the OJS version 3.2.1.1 to OJS 3.3.0.8
We are looking for a hosting provider to host the following php projects resource, OJS, Cake php2 (migrate to 3), craftcms
We are looking for a hosting provider to host the following php projects resourcespace, OJS (Open Journal System, Cakephp 2 (migrate to 3),craftcms, Drupal 9 or newer, zenario
1- Resourcespace
ResourceSpace open source Digital Asset Management software is the simple, fast, & free way to organise your digital assets
2- OJS
Open Journal Systems (OJS) is an open source software application for managing and publishing scholarly journals. Originally developed and released by PKP in 2001 to improve access to research, it is the most widely used open source journal publishing platform in existence, with over 25,000 journals using it worldwide.
3- Cakephp
CakePHP is an open-source web, rapid development framework that makes building web applications simpler, faster and require less code.
4- Craftcms
It is a flexible, user-friendly CMS for creating custom digital experiences on the web and beyond.
5- Drupal is a free and open-source web content management system written in PHP and distributed under the GNU General Public License.
Conditions:
1- Single hosting server for all of them
2- With 24 hours or less time response to issues
3- Stage version to install dev version
4- Live version different databases and websistes
OJS 3.3.0.8, Failed Ajax request or invalid JSON returned uploading
Solution OJS 3.3.0.8, Failed Ajax request or invalid JSON returned, when an user try to upload a galley either by QuickSubmit or publication.
PHP Fatal error: Uncaught Error: Call to undefined method SubmissionFileDAO::getAllFileStages() in \\controllers\\wizard\\fileUpload\\FileUploadWizardHandler.inc.php:35\nStack trace:\n#0 \\lib\\pkp\\classes\\core\\PKPRouter.inc.php(387): FileUploadWizardHandler->authorize(Object(Request), Array, Array)
\n#1 \\lib\\pkp\\classes\\core\\PKPComponentRouter.inc.php(257): PKPRouter->_authorizeInitializeAndCallRequest(Array, Object(Request), Array)
\n#2 \\lib\\pkp\\classes\\core\\Dispatcher.inc.php(144): PKPComponentRouter->route(Object(Request))\n#3 \\lib\\pkp\\classes\\core\\PKPApplication.inc.php(362): Dispatcher->dispatch(Object(Request))
\n#4 \\index.php(68): PKPApplication->execute()
\n#5 {main}
\n thrown in \\controllers\\wizard\\fileUpload\\FileUploadWizardHandler.inc.php on line 35, referer: http://localhost/netxtraosj/index.php/jcrm/management/importexport/plugin/QuickSubmitPlugin
Solution SMTP: PHPMailer Library Missing, PHPMailer is Required for SMTP to function.
Solution SMTP: PHPMailer Library Missing PHPMailer is Required for SMTP to function.
Step 1 add to composer.json on section require:
"require": {
....
"phpmailer/phpmailer": "^6.5"
},
Step from our main folder of the project – using CMD:
..> composer update
Login Sessions Timing Out on OJS Current version: 3.3.0.8 (October 12, 2021 – 08:41 PM)

It is that hte login Sessions Timing Out on OJS 3.3.0.8 probably a matter of adjusting your PHP configuration, e.g. the gc_maxlifetime setting. If you’re behind a proxy, you may also want to try disabling session_check_ip in config.inc.php.
Some sessions variables:
Number of days to save login cookie for if user selects to remember
(set to 0 to force expiration at end of current session)
session_lifetime = 30
This check will invalidate a session if the user’s IP address changes.
Enabling this option provides some amount of additional security, but may
cause problems for users behind a proxy farm (e.g., AOL).
session_check_ip = Off
Specially if your version of the OJS is hosted Amazon that may use a load balancer in Amazon Web Services.
Solution:
The last option by changing on the config.inc.php, the session_check_ip off that solved for us.
Aircrack-ng, penetration test
Aircrack-ng, penetration test
Aircrack-ng is an 802.11 WEP and WPA-PSK keys cracking program that can recover keys once enough data packets have been captured. It implements the standard FMS attack along with some optimizations like KoreK attacks, as well as the all-new PTW attack, thus making the attack much faster compared to other WEP cracking tools.
aircrack-ng
aircrack-ng --help
Aircrack-ng 1.6 - (C) 2006-2020 Thomas d'Otreppe
https://www.aircrack-ng.org
usage: aircrack-ng [options]
Common options:
-a : force attack mode (1/WEP, 2/WPA-PSK)
-e : target selection: network identifier
-b : target selection: access point's MAC
-p : # of CPU to use (default: all CPUs)
-q : enable quiet mode (no status output)
-C : merge the given APs to a virtual one
-l : write key to file. Overwrites file.
Static WEP cracking options:
-c : search alpha-numeric characters only
-t : search binary coded decimal chr only
-h : search the numeric key for Fritz!BOX
-d : use masking of the key (A1:XX:CF:YY)
-m : MAC address to filter usable packets
-n : WEP key length : 64/128/152/256/512
-i : WEP key index (1 to 4), default: any
-f : bruteforce fudge factor, default: 2
-k : disable one attack method (1 to 17)
-x or -x0 : disable bruteforce for last keybytes
-x1 : last keybyte bruteforcing (default)
-x2 : enable last 2 keybytes bruteforcing
-X : disable bruteforce multithreading
-y : experimental single bruteforce mode
-K : use only old KoreK attacks (pre-PTW)
-s : show the key in ASCII while cracking
-M : specify maximum number of IVs to use
-D : WEP decloak, skips broken keystreams
-P : PTW debug: 1: disable Klein, 2: PTW
-1 : run only 1 try to crack key with PTW
-V : run in visual inspection mode
WEP and WPA-PSK cracking options:
-w : path to wordlist(s) filename(s)
-N : path to new session filename
-R : path to existing session filename
WPA-PSK options:
-E : create EWSA Project file v3
-I : PMKID string (hashcat -m 16800)
-j : create Hashcat v3.6+ file (HCCAPX)
-J : create Hashcat file (HCCAP)
-S : WPA cracking speed test
-Z : WPA cracking speed test length of
execution.
-r : path to airolib-ng database
(Cannot be used with -w)
SIMD selection:
--simd-list : Show a list of the available
SIMD architectures, for this
machine.
--simd= : Use specific SIMD architecture.
may be one of the following, depending on
your platform:
generic
avx512
avx2
avx
sse2
altivec
power8
asimd
neon
Other options:
-u : Displays # of CPUs & SIMD support
--help : Displays this usage screen
Common mistake/error message when trying to access MS SharePoint, AADSTS50085
Common mistake/error message when trying to access, this is code AADSTS50085 from Microsoft documentation, but make essier for everybodoy
You can not logged or have more than ONE SharePoint’site in the site browser.
AADSTS50085 | Refresh token needs social IDP login. Have user try signing-in again with username -password |
Solution of the AADSTS50085:
Solution A: Sign out the first out and sign again with different
Solution B: Using an incognito mode or private mode.
Solution C: Using different browser.