OJS 2.4.8.3 to 3.1.1-2 upgrade: no submissions or Archive page loaded

Hi.
I have just now updated OJS 2.4.8.3 to 3.1.1-2. Due to recaptcha v1 problem, I decided to upgrade the software. Now, when logging with administrator or other user account, a blank page is shown for submissions page. Also it happens for Archive page.
My PHP version 5.6, installed on a web hosting service.
Can someone help to resolve this problem?

In error log, I found:
PHP Fatal error: Uncaught exception ‘PDOException’ with message ‘SQLSTATE[HY000] [2002] No such file or directory’ in /home/ijapasco/domains/ijapas.org/public_html/lib/pkp/lib/vendor/illuminate/database/Illuminate/Database/Connectors/Connector.php:47

Hi @akbar_mostafavi

Hmmm… It seems like something is wrong with your PHP and DB connection in that library that OJS uses.
Do you use MySQL DB?
You could try to google after a solution – I found some possible reasons/solutions…
For example, to have the same socket files used in both:
a) Could you run this command: php -i | grep pdo
b) Then, could you see what is the socket variable for your MySQL DB?
but maybe also @NateWr or @kaschioudi could better help…

Best,
Bozana

1 Like

Also, can you look at what is set in your config.inc.php file, under Database Settings > Driver? (Please do not include the username or password details which are nearby.)

1 Like

Hi again. Thanks for your replies. The problem was with my database connection settings. My host information was incorrect.
@NateWr @bozana

1 Like