OJS 3.0 blank page!

Hi I can’t access the installation page. I have changed the files in the cache folder to be web-writable as well as the cache folder itself and the public folder but so far I can’t obtain the installation page can anyone help me ??

Hi @iqfvp,

Can you describe how you’ve set file permissions?

Regards,
Alec Smecher
Public Knowledge Project Team

Dear Alec

I’m being hosted by godaddy, so I followed the instructions described here:

https://www.godaddy.com/help/set-permissions-2535

and I changed the privacy of the folders to be both web visible and web writable. I just don’t get it, I have looked in many places for info and it seems that all I have to do is to extract the files, change the permissions and it should open but I get http error 500. To learn more I turned on the display error option in config.inc.php and I get this:

Parse error: syntax error, unexpected ‘{’ in D:\Hosting\7772461\html\ojs\lib\pkp\lib\vendor\ircmaxell\password-compat\lib\password.php on line 10

I have no idea how to solve this, can you help me?

Ok I got it solved by updating my server’s php. But now I see the installation page but I can’t advance because after filling the form I receive:

A database error has occurred: No connection could be made because the target machine actively refused it.

any ideas on this?

Have you setup the mysql server and user access?
https://www.godaddy.com/help/create-mysql-or-ms-sql-databases-36

Yes I have set up mysql and user access. Now I have completed all the fields for installation but I receive this error message:

Fatal error: mcrypt_create_iv() [function.mcrypt-create-iv]: Could not gather sufficient random data in D:\Hosting\7772461\html\ojs\lib\pkp\lib\vendor\ircmaxell\password-compat\lib\password.php on line 105

any idea on this?

What version of PHP are you running? There is a known bug in some versions of PHP which aligns with this behavior:
https://bugs.php.net/bug.php?id=55169

Hi

I am using PHP Version 5.3.6

This bug affected version of both PHP 5.3.x and 5.4.x, and the build revision (not included in your version number) would determine if you are affected. Can you try with a more recent version of PHP, perhaps 5.6+? PHP 5.3 has been end-of-lifed for quite some time.

Ok I will try that I will migrate my server to Linux and use a higher php version. This will take some time. I will come back here to let you know what happened. Thanks again for the help