Dev {Tricks}

  • Home
  • WordPress
  • OJS
  • Oxwall
  • Server and Hosting
You are here: Home / Home

March 17, 2022 by dev

Dimensions Badge integration on OJS

It is not hard to integrate Dimension Badge in OJS. Under /templates/frontend/object/ find and open article_detail.tpl and enter bellow code where you want to the badge.

<span class="__dimensions_badge_embed__" data-doi="{$pubId}" data-legend="always" data-style="small_circle"></span><script async src="https://badge.dimensions.ai/badge.js" charset="utf-8"></script>

You can find more details at https://badge.dimensions.ai/

You can register your journals (free or paid) at Dimensions Badges and Metrics API at https://www.dimensions.ai/metricssignup/

 

Filed Under: Help, OJS

March 13, 2022 by dev

PHP Fatal Error: Uncaught Error: Call to undefined function – OJS

bindtextdomain

  • Error 500 while setting distribution
  • The 500 error in registration page
  • PHP Fatal error: Uncaught Error: Call to undefined function bindtextdomain() in /lib/pkp/lib/vendor/sokil/php-isocodes/src/AbstractDatabase.php:87
  • Failed AJAX request or invalid JSON returned

If you get a message like this:

PHP Fatal Error: Uncaught Error: Call to undefined function bindtextdomain() in ...

…then your PHP installation is missing support for the gettext extension. You need to install or enable it.

 

Filed Under: Frontend, Help, Installation, Issues, legacy, OJS, Plugins, Templates, Theme, Theme Customization, Theme Development, TPL CSS JS, Upgrade Tagged With: AbstractDatabase, AJAX, Call to undefined function, Error 500, gettext, JSON, ojs, PHP Fatal Error, Uncaught Error

March 11, 2022 by dev

Failed Ajax request or invalid JSON returned

  • Failed Ajax request or invalid JSON returned

Cause

This warning is cosmetic, but because it’s being sent out to the browser, it’s interfering with the JSON response.

Solution

Configure your PHP so that errors/warnings are sent to the log, not the browser.

PHP setting

display_errors = Off

Check PHP Extension

gettext extension

Check file permission and ownership

 

 

Filed Under: Help, OJS

February 14, 2022 by dev

Migrate Accounts from CWP to CWP

To perform the migration you must follow a few simple steps:

  1. Generate an API Key on your Source CWP server.
    • CWP Settings >> API Manager
      (You can click on the CWP to CWP button and you will have the necessary options selected.)
  2. For the correct operation of this tool you must open port 2304 in the firewall of Source/Destination server.
    • Security >> CSF Firewall
  3. Open SSH port of the destination server if other than 22 in the firewall.
  4. Whitelist destination IP address.

 

Source server (Old Server)

To create a connection to your remote/source CWP server first you must generate an API Key on your Source CWP server, To create an API key/token, use API Manager (CWP Settings >> API Manager). You can click on the CWP to CWP button and you will have the necessary options selected.

Log in to the CWP panel.

  • First check your SSH port

    • Go to Services config > SSH Configuration
    • Or login to terminal and check
vi /etc/ssh/sshd_config
    • Port 2251
    • By default the port is 22, if you did not change it.
    • Then check and open TCP port. Note that you must have to add the port 2304 additionally for migration to done successfully.
  • Go to Dashboard, then click on Firewall
    • You will find “Opened TCP \ UDP ports” on the right sidebar
    • If it is not listed to TCP IN and TCP OUT
    • Go to Firewall Configuration > Main Configuration on top menu of this page
    • This will open Contents of File: /etc/csf/csf.conf
    • Go to #Allow incoming TCP ports and add your port. In my case Port 2251 and extra port for migration 2304
# Allow incoming TCP ports
TCP_IN = "20,21,22,25,53,80,110,143,443,465,587,993,995,2030,2031,2082,2083,2086,2087,2095,2096,2304,2251"

# Allow outgoing TCP ports
TCP_OUT = "20,21,22,25,53,80,110,113,443,2030,2031,2082,2083,2086,2087,2095,2096,587,993,995,2080,2443,2304,2251"
    • Save Changes
    • Go back to dashboard and go to Firewall again to check the port in TCP IN and OUT.
    • If everything ok, restart Firewall from the top of the menu.
  • Go back and add your Destination IP to whitelist.

    • Firewall Whitelist configuration > Add an entry add the Destination IP (New IP) and restart the firewall.
    • Note that if you whitelist IP you need not open port in all cases except Amazon S3, Google Cloud, Microsoft Azure or etc.
  • Now lets setup API connection

    • Go to CWP settings and select the option API Manager.
    • On the right top, you will find the button ‘Allow new API access’.
    • Click on it and you will get a popup window with a bunch of options.
      • Short Name: API Name. bdhostit
      • Ip Origin: Destination server IP that you want to authorize this API.
      • Key code: Click on “Generate” and save it somewhere.
        GaKPCAv3qCGpfTd2fr5IQIaxmxCIZjQJKLGgOsGHHltJa4vmpft180kfIzKfbhpB34B9HA
      • Owner: root
      • Format Request: JSON
        Select the JSON format and enable the function for the cwp to cwp move.
      • You can select CWP to CWP option to enable all functions for CWP to CWP migration.
    • Enable Functions for
      • CWP to CWP
      • WHMCS
      • CLUSTER CWP
      • OR
        You can set permission to the API to do the transfer manually.
    • The necessary functions are
      • Account (add, list)
      • Packages (add, list)
      • MySQL Databases (add, list)
      • MySQL Users (add, list)
      • Change of the password (upd)
      • Cronjobs Users (add, upd ).
      • You can add others as well based on your needs.
  • Now you have to create SSK Key

    • Server Settings > SSH Key Generator and then click on Generate new key
    • Test SSH
ssh root@185.215.164.96 -p 6316
ssh root@38.242.204.74 -p 63160 "whoami"

Destination Server (New server)

Log in to the CWP panel

Click on Firewall and Go to Whitelist configuration > Add an entry add the Source IP (Old IP) and restart the firewall.

Now go to User Accounts > CWP to CWP Migration

 

Filed Under: AWS, Bluehost, CentOS Web Panel, Cloudcone, Contabo, Digitalocean, HostGator, Providers, Security, Server and Hosting, SSH, VPS Management, VPSDime, Web Control Panel

February 5, 2022 by dev

How to Install WordPress through webmin?

How to install WordPress on Webmin – Virtualmin and Usermin

  • Login to your Webmin Account where you want to install WordPress
  • Go to Virtualmin tab
  • Click on “Install Scripts”
  • You will find “WordPress” in the Available Scripts tab. Select it.
  • Click on “Show Install Options”
  • Now select or enter installation directory or sub-directory under public_html.
    • At top level
    • WordPress (directory)
  • Click on “Install now”
  • Confirm and click “Install now”
    • Are you sure you want to install WordPress into the directory /home/username/public_html? 4 files totalling 2.81 MiB already exist, and will be deleted if the script is un-installed.
  • Click on the link
    • WordPress initial installation finished. It can be completed at https://domain.com/wp-admin/install.php.
  • Select Language
  • Provide information needed
    • Welcome to the famous five-minute WordPress installation process! Just fill in the information below and you’ll be on your way to using the most extendable and powerful personal publishing platform in the world.
  • Click on “Install WordPress”
  • That’s ALL!

 

Filed Under: AWS, Bluehost, Cloudcone, Contabo, Digitalocean, HostGator, Providers, Virtualmin, VPS Management, VPSDime, Web Control Panel, Webmin, Wordpress Tagged With: install wordpress, install wordpress virtualmin, install wordpress webmin, installation, virtualmin, virtualmin wordpress installation, webmin, webmin wordpress installation, wordpress

  • « Previous Page
  • 1
  • …
  • 24
  • 25
  • 26
  • 27
  • 28
  • …
  • 92
  • Next Page »
  • Upwork
  • Freelancer
  • Fiverr
  • Guru

www.ojsexpert.com
www.ojsdev247.com

Recent Posts

  • ঘরে বসে ডলার আয় করুন এই ৩০ টি ওয়েবসাইট ব্যবহার করে
  • What is JavaScript? | Learn JavaScript from Scratch | Introduction, History, Uses & Prerequisites | Day01
  • WordPress site with WooCommerce is down with Mod Security
  • To get your email for castamodel.com going to the right place, you need to update your DNS settings.
  • Security and WordPress
  • ROR
  • How do we copy google form to google workspace?
  • Install ImageMagick – Almalinux
  • How to remove /public/ from URL in Laravel
  • How to install Maldet alert?
  • How to Install Maldet and Run a Scan | Maldetect
  • Where is Roundcube location on CWP control panel?
  • How To Add Node.js Projects In aaPanel?
  • SPF/DKIM/DMARC Tools
  • Associative arrays – How to loop over Associative arrays
  • Indexed Arrays. How to loop over Indexed Arrays.
  • PHP Break | Continue
  • For Loop | While Loop | Do…While Loop | Foreach Loop
  • Strict mode in PHP
  • PHP Function Return Types

Categories

  • Affiliate Marketing (2)
  • Customization (4)
    • CSS (2)
  • Email Solutions (23)
    • FrontApp (2)
    • Google Spreadsheet (2)
    • Microsoft Outlook (1)
    • PHP Email Form (3)
    • PolyMail (2)
    • Recaptcha (1)
    • Roundcube (4)
    • Thunderbird (3)
    • WebMail (5)
  • Games (1)
  • How to (89)
  • Joomla (6)
    • Akeeba (1)
    • Fix & Tricks (3)
  • jQuery (4)
  • jQuery Plugins (4)
    • BX Slider (1)
    • Slick (1)
  • Laravel (5)
  • Marketplace (6)
  • Miscellaneous (32)
  • MultiSaaS (1)
  • OJS (56)
    • Crossref (1)
    • Help (37)
    • Installation (10)
      • Issues (5)
    • Plugins (8)
    • Scholar Indexing (2)
    • Theme (7)
      • Templates (7)
        • Frontend (6)
        • legacy (1)
    • Theme Customization (10)
    • Theme Development (14)
    • TPL CSS JS (2)
    • Upgrade (11)
  • OSTAD (17)
  • Oxwall (3)
  • Payment Methods (1)
    • Paypal (1)
  • PC Tips and Tricks (14)
    • MS Office (2)
      • PowerPoint (1)
    • Windows (4)
  • PHP Parse error (2)
  • phpBB (2)
  • Server and Hosting (214)
    • Billing and Management (10)
      • Blesta (5)
      • Boxbilling (2)
      • WHMCS (5)
    • Email (10)
      • Postfix (3)
    • Error and Fix (17)
    • FTP (2)
    • Linux Distribusion (29)
      • Almalinux (14)
      • CentOS (18)
      • Debian (22)
      • Ubuntu (20)
    • Mail Server Solusion (7)
      • iRedMain (6)
    • MySQL (12)
    • Providers (70)
      • AWS (38)
      • Bluehost (38)
      • Cloudcone (27)
      • Contabo (41)
      • Digitalocean (69)
      • Hetzner (4)
      • HostGator (37)
      • Hostinger (9)
      • RackNerd (11)
      • VPSDime (39)
    • Security (21)
      • SSH (8)
    • VPS Management (72)
    • Web Control Panel (148)
      • aaPanel (14)
      • CentOS Web Panel (47)
      • cPanel (33)
      • CyberPanel (7)
      • DirectAdmin (96)
        • Find & fix (38)
      • ISPConfig (17)
      • KeyHelp (7)
      • Plesk (27)
      • Webmin (25)
        • Usermin (2)
        • Virtualmin (13)
      • WHM (18)
  • Tutorials (1)
    • JavaScript – ProjuktiPlus (1)
  • Uncategorized (19)
  • Wordpress (90)
    • Elementor (2)
    • Find and Fix (11)
    • Functions (5)
    • Genesis (9)
    • Glossary (1)
    • How to (22)
    • Neuron TD (15)
      • Console Error (1)
      • functions (5)
        • register_post_type (1)
        • register_sidebar (1)
        • theme_files (1)
        • theme_supports (1)
      • Image Directory (1)
      • Menu (2)
      • Query (4)
    • Plugins (14)
      • Contact Form 7 (5)
      • Duplicator (1)
      • Essential Grid (2)
    • Softaculous (3)
    • Speed and Security (4)
    • Stock Theme Development (6)
      • Header Footer (1)
      • PHP (1)
      • VC (1)
    • Theme Development (2)
      • Issues (1)
      • Menu (1)
    • Timer Theme Development (3)
    • Update (2)
    • Woocommerce (3)
    • WP Basic Guideline (8)

Important DEV links

  • Premium Themes
    • Themeforest
    • Envato Market
  • Built With (What Theme is That?)
    • What WP theme is that
    • Joomla Template Detector
    • Drupal Template Detector
    • Prestashop Template Detector
    • Shopify Theme Detector
    • Squarespace Template Detector
    • OpenCart Detector
    • WordPress.com Theme Detector
  • Domain/IP history checker
    • Who IS request
    • Hosting Info
  • Check DNS Propagation
    • DNS Checker
    • intoDNS
  • What is my IP
    • What is My IP Address
    • What is My IP
    • IP location
    • What is My IP
    • Porkbun
  • SEO Tools
    • Visitor Traffic
    • Broken Link
    • Website Speed Test
      • SEMrush
      • GTmetrix
      • Pingdom
      • PageSpeed Insights
      • DebugBear
      • keyCDN
  • Photo Image
    • Remove Background 50 Free Preview Image 375 × 666 per month
  • Domain Registrars
    • 123-Reg
    • Porkbun
    • Freenom
    • Namecheap NEWCOM598
  • Hosting Providers
    • Bluehost
    • Hostgator
    • Inmotion
  • Hosting Control Panel
    • CWPpro (FREE)
    • DirectAdmin (Trial 60 Days, One account $2/month)
    • ISPConfig (Free)
  • Webmaster Tools
    • Google
    • Bing
    • Yandex
  • Miscellaneous
    • Time Calculator

 

Categories

  • Affiliate Marketing (2)
  • Customization (4)
    • CSS (2)
  • Email Solutions (23)
    • FrontApp (2)
    • Google Spreadsheet (2)
    • Microsoft Outlook (1)
    • PHP Email Form (3)
    • PolyMail (2)
    • Recaptcha (1)
    • Roundcube (4)
    • Thunderbird (3)
    • WebMail (5)
  • Games (1)
  • How to (89)
  • Joomla (6)
    • Akeeba (1)
    • Fix & Tricks (3)
  • jQuery (4)
  • jQuery Plugins (4)
    • BX Slider (1)
    • Slick (1)
  • Laravel (5)
  • Marketplace (6)
  • Miscellaneous (32)
  • MultiSaaS (1)
  • OJS (56)
    • Crossref (1)
    • Help (37)
    • Installation (10)
      • Issues (5)
    • Plugins (8)
    • Scholar Indexing (2)
    • Theme (7)
      • Templates (7)
        • Frontend (6)
        • legacy (1)
    • Theme Customization (10)
    • Theme Development (14)
    • TPL CSS JS (2)
    • Upgrade (11)
  • OSTAD (17)
  • Oxwall (3)
  • Payment Methods (1)
    • Paypal (1)
  • PC Tips and Tricks (14)
    • MS Office (2)
      • PowerPoint (1)
    • Windows (4)
  • PHP Parse error (2)
  • phpBB (2)
  • Server and Hosting (214)
    • Billing and Management (10)
      • Blesta (5)
      • Boxbilling (2)
      • WHMCS (5)
    • Email (10)
      • Postfix (3)
    • Error and Fix (17)
    • FTP (2)
    • Linux Distribusion (29)
      • Almalinux (14)
      • CentOS (18)
      • Debian (22)
      • Ubuntu (20)
    • Mail Server Solusion (7)
      • iRedMain (6)
    • MySQL (12)
    • Providers (70)
      • AWS (38)
      • Bluehost (38)
      • Cloudcone (27)
      • Contabo (41)
      • Digitalocean (69)
      • Hetzner (4)
      • HostGator (37)
      • Hostinger (9)
      • RackNerd (11)
      • VPSDime (39)
    • Security (21)
      • SSH (8)
    • VPS Management (72)
    • Web Control Panel (148)
      • aaPanel (14)
      • CentOS Web Panel (47)
      • cPanel (33)
      • CyberPanel (7)
      • DirectAdmin (96)
        • Find & fix (38)
      • ISPConfig (17)
      • KeyHelp (7)
      • Plesk (27)
      • Webmin (25)
        • Usermin (2)
        • Virtualmin (13)
      • WHM (18)
  • Tutorials (1)
    • JavaScript – ProjuktiPlus (1)
  • Uncategorized (19)
  • Wordpress (90)
    • Elementor (2)
    • Find and Fix (11)
    • Functions (5)
    • Genesis (9)
    • Glossary (1)
    • How to (22)
    • Neuron TD (15)
      • Console Error (1)
      • functions (5)
        • register_post_type (1)
        • register_sidebar (1)
        • theme_files (1)
        • theme_supports (1)
      • Image Directory (1)
      • Menu (2)
      • Query (4)
    • Plugins (14)
      • Contact Form 7 (5)
      • Duplicator (1)
      • Essential Grid (2)
    • Softaculous (3)
    • Speed and Security (4)
    • Stock Theme Development (6)
      • Header Footer (1)
      • PHP (1)
      • VC (1)
    • Theme Development (2)
      • Issues (1)
      • Menu (1)
    • Timer Theme Development (3)
    • Update (2)
    • Woocommerce (3)
    • WP Basic Guideline (8)
  • Home
  • WordPress
  • OJS
  • Oxwall
  • Server and Hosting

Copyright © 2026 · Executive Pro Theme on Genesis Framework · WordPress · Log in