Dev {Tricks}

  • Home
  • WordPress
  • OJS
  • Oxwall
  • Server and Hosting
You are here: Home / Archives for OJS / Installation / Issues

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

January 5, 2022 by dev

Delete OJS article as required

  • Is there some way to delete all unassigned articles

You can use tools/deleteSubmissions.php to delete submissions by ID. This is something you’ll need to do from the command line. You can run…

php tools/deleteSubmissions.php 12345

…where 12345 is a submission ID.

 

Filed Under: Help, Installation, Issues, OJS, Theme Customization, Theme Development, Upgrade Tagged With: All Active, Archived, my Queue, unassigned

December 10, 2021 by dev

OJS Email Sending Problem

  • There was a problem sending an email message. Please try again later, or contact your system administrator.

At first, check whether Principal Contact details were added in Journal. Then go for Step One.

Step One

Turn on SMTP in config.php

[email]

; Use SMTP for sending mail instead of mail()
 smtp = On

; SMTP server settings
 smtp_server = mail.example.com
 smtp_port = 25

; Enable SMTP authentication
; Supported smtp_auth: ssl, tls (see PHPMailer SMTPSecure)
 smtp_auth = ssl
 smtp_username = username
 smtp_password = password
;

You contact hosting provider to get the SMTP details

NB: If the above setting does not work anyway, then go for adding envelop sender.

Step Two

Allow envelop sender

; Allow envelope sender to be specified
; (may not be possible with some server configurations)
 allow_envelope_sender = On

; Default envelope sender to use if none is specified elsewhere
 default_envelope_sender = my_address@my_host.com

; Force the default envelope sender (if present)
; This is useful if setting up a site-wide no-reply address
; The reply-to field will be set with the reply-to or from address.
 force_default_envelope_sender = On

Make sure to match the domain in your default_envelope_sender with the domain of OJS installation. If it doesn’t match this increases the spam rating.

 

Filed Under: AWS, Bluehost, CentOS Web Panel, Contabo, cPanel, Digitalocean, DirectAdmin, Email, Email Solutions, Find & fix, Help, HostGator, How to, Issues, OJS, Plesk, Postfix, Providers, Theme Development, Upgrade, Virtualmin, VPS Management, VPSDime, Web Control Panel, Webmin, WHM Tagged With: envelop sender, ojs email, ojs email notificaton, ojs envelop, ojs smtp

August 23, 2020 by dev

The tar command is not available | DirectAdmin

Problem:

  • The tar command is not available. Please correctly configure it in your “config.inc.php”.

There are two possible solutions of the above problem, your path to Tar tool is not correct, or the system can’t access to the path. In my case, I have both problems, so:

Solution One: Fixing the path of Tar

Open your terminal

Type which tar or whereis tar

which tar

or

whereis tar

Then use the path it returns in config.inc.php. For example,

tar = /usr/bin/tar

Still receiving the same error message, follow the second step.

Solution Two:

  1. Login to DirectAdmin admin panel.
  2. Go to “Server Manager > PHP Configuration (or PHP Settings). Select the domain you want to modify and
  3. Select the option “Disable Open Basedir”

Still getting error? Follow next step.

Solution Three:

You may get one of the following issues.

  • The “exec” PHP function has been disabled on your server. Contact your system administrator to enable it.
  • The uploaded plugin archive does not contain a folder that corresponds to the plugin name.

To fix the problems, you have to enable exec() function by deleting from the disable_functions

Go to link How to enable exec()

Filed Under: DirectAdmin, Find & fix, Help, Issues, OJS, Server and Hosting

June 10, 2018 by dev Leave a Comment

Deprecated: Non-static method | Application::getName() | VersionCheck::getCurrentCodeVersion() | PKPRequest::getUserVar() | PKPRequest::_checkThis()

OJS Installation

Deprecated: Non-static method Application::getName() should not be called statically, assuming $this from incompatible context in /home/bdtopten/public_html/ojs/ojs3modern1/lib/pkp/classes/install/form/InstallForm.inc.php on line 149

Deprecated: Non-static method Application::getName() should not be called statically, assuming $this from incompatible context in /home/bdtopten/public_html/ojs/ojs3modern1/lib/pkp/classes/install/form/InstallForm.inc.php on line 151

Deprecated: Non-static method Application::getName() should not be called statically, assuming $this from incompatible context in /home/bdtopten/public_html/ojs/ojs3modern1/lib/pkp/classes/install/form/InstallForm.inc.php on line 153

Deprecated: Non-static method VersionCheck::getCurrentCodeVersion() should not be called statically, assuming $this from incompatible context in /home/bdtopten/public_html/ojs/ojs3modern1/lib/pkp/classes/install/form/MaintenanceForm.inc.php on line 37

Deprecated: Non-static method PKPRequest::getUserVar() should not be called statically, assuming $this from incompatible context in /home/bdtopten/public_html/ojs/ojs3modern1/lib/pkp/classes/form/Form.inc.php on line 369

Deprecated: Non-static method PKPRequest::_checkThis() should not be called statically, assuming $this from incompatible context in /home/bdtopten/public_html/ojs/ojs3modern1/lib/pkp/classes/core/PKPRequest.inc.php on line 592

 

These are warnings, not errors, and are cosmetic if you found the errors in error log. You should be able to ignore these and can continue installation.

 

Filed Under: Installation, Issues Tagged With: depreciated, installation, non-static method error, ojs, php error

  • Upwork
  • Freelancer
  • Fiverr

Recent Posts

  • How to install phpBB
  • Missing vmail Folders .Sent, .Trash, .Drafts, .Junk, and Other
  • How to Add and Remove Swap Space on Ubuntu 20.04
  • Xauthority does not exist
  • How to Zip and Unzip Files and Directories in Linux
  • Usage stats shows 0 in the downloaded files
  • UTF-8 Encoding Debugging Chart
  • Dimensions Badge integration on OJS
  • PHP Fatal Error: Uncaught Error: Call to undefined function – OJS
  • Failed Ajax request or invalid JSON returned
  • Migrate Accounts from CWP to CWP
  • How to Install WordPress through webmin?
  • How to install webmin, usermin, virtualmin
  • How to change hostname and edit settings | Webmin
  • intoDNS
  • ISPConfig Installation Checklist on Ubuntu 20.04
  • How to get chain certificates
  • There are no readable files in this directory tree. Are safe mode or open_basedir active?
  • How to increase Apache TimeOut | CWP
  • Convert your old router to wifi repeater (Range Extender)

Categories

  • Affiliate Marketing (1)
  • Customization (2)
  • Email Solutions (18)
    • FrontApp (1)
    • Google Spreadsheet (2)
    • Microsoft Outlook (1)
    • PHP Email Form (3)
    • PolyMail (1)
    • Recaptcha (1)
    • Roundcube (3)
    • Thunderbird (2)
    • WebMail (4)
  • Games (1)
  • How to (67)
  • Joomla (6)
    • Akeeba (1)
    • Fix & Tricks (3)
  • jQuery (3)
  • jQuery Plugins (4)
    • BX Slider (1)
    • Slick (1)
  • Marketplace (5)
  • Miscellaneous (24)
  • OJS (48)
    • Help (32)
    • Installation (9)
      • Issues (5)
    • Plugins (6)
    • Theme (5)
      • Templates (5)
        • Frontend (4)
        • legacy (1)
    • Theme Customization (8)
    • Theme Development (12)
    • TPL CSS JS (2)
    • Upgrade (11)
  • Oxwall (3)
  • Payment Methods (1)
    • Paypal (1)
  • PC Tips and Tricks (11)
    • MS Office (1)
      • PowerPoint (1)
    • Windows (2)
  • PHP Parse error (2)
  • phpBB (1)
  • Server and Hosting (155)
    • Billing and Management (10)
      • Blesta (5)
      • Boxbilling (2)
      • WHMCS (5)
    • Email (9)
      • Postfix (3)
    • Error and Fix (16)
    • FTP (2)
    • MySQL (8)
    • Providers (50)
      • AWS (20)
      • Bluehost (19)
      • Cloudcone (8)
      • Contabo (22)
      • Digitalocean (50)
      • HostGator (18)
      • VPSDime (20)
    • Security (17)
      • SSH (6)
    • VPS Management (54)
    • Web Control Panel (114)
      • CentOS Web Panel (30)
      • cPanel (20)
      • DirectAdmin (85)
        • Find & fix (38)
      • ISPConfig (5)
      • Plesk (14)
      • Webmin (16)
        • Usermin (2)
        • Virtualmin (11)
      • WHM (11)
  • Uncategorized (12)
  • Wordpress (85)
    • Elementor (1)
    • Find and Fix (9)
    • Functions (5)
    • Genesis (9)
    • Glossary (1)
    • How to (20)
    • 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 (12)
      • 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 (2)
    • 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
  • 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)

 

 

  • Home
  • WordPress
  • OJS
  • Oxwall
  • Server and Hosting

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