Blank pages on journal import / create

Are you responsible for making OJS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher

Forum rules
The Public Knowledge Project Support Forum is moving to

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.

Blank pages on journal import / create

Postby Paul_Alexander » Wed Oct 12, 2005 8:45 pm

I'm attempting to move from an OJS journal (1.1.9 I believe) and am getting some interesting behavior:

On clicking the "IMPORT FROM OJS1" button aftern installing OJS2, the screen simply shows blank. Looking at the HTML source there is nothing there. Tha blank page shows at: index/admin/importOJS1

Trying to create a new journal does the same thing. The page that is blank is: index/admin/updateJournal.

I saw that others were having problems with mysql not being enabled in PHP. I've checked the phpinfo() command. Under the PHP configuration options it includes --without-mysql but later on in the page it shows a section for mysql saying that it is enabled.

I also saw a thread about low PHP memory limits causing problems although there were some error messages involved in those that I'm not getting.

I'm running:
PHP 5.0.4
Mysql 4.1.14
Apache (not sure which version)

Any help is appreciated!


Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm

Postby asmecher » Thu Oct 13, 2005 9:30 am

Hi Paul,

This is most likely a file permissions problem. Check your PHP configuration (php.ini) to see where error messages are being logged (most likely syslog or the Apache error log), and check the log file to see if there are any more specific messages there.

Alec Smecher
Open Journal Systems Team

Posts: 10
Joined: Tue Jun 27, 2006 1:05 pm

Postby BrianG » Wed Jun 28, 2006 5:00 pm

I, too, get a blank page when creating a journal. The journal does get created. However, syslog reports:

php[2556], PHP Warning: mkdir(D:OJSfiles/journals/3/articles): No such file or directory in C:\Inetpub\wwwroot\ojs\classes\file\ on line 234.

php[2556], PHP Warning: mkdir(D:OJSfiles/journals/3/issues): No such file or directory in C:\Inetpub\wwwroot\ojs\classes\file\ on line 234.

In, files_dir was set using back slashes ( \ ). Using forward slashes ( / ) got rid of the errors, but the blank page still appeared. No other error messages in regard to creating a journal appears in the log. It's as if the redirect fails after the processing is completed. Hitting the back button gets me back to the OJS interface where the new journal appears.

IUSR_<MACHINENAME> has write access to the files directory. Upgrading the security setting to modify access has no effect.

I would put a note in and on the install form to use forward slashes for Windows users when setting file_dir.

Windows 2000 Server
OJS 2.1
Apache 2.0.58
PHP 4.4.2
MySQL 5.0.22

Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm

Postby asmecher » Thu Jun 29, 2006 12:05 pm

Hi Brian,

Good suggestion; I've added a note in the configuration file. (The installer already mentions the need for forward slashes when prompting for the files path.)

If you're still seeing a blank page but not receiving error messages, this may be due to an out-of-memory situation; check your memory_limit in and ensure that it's set to at least 12M (the default 8M isn't enough).

Alec Smecher
Open Journal Systems Team

Return to “OJS Technical Support”

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest