You are viewing the PKP Support Forum | PKP Home Wiki

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
What to do if you have a technical problem with OJS:

1. Search the forum. You can do this from the Advanced Search Page or from our Google Custom Search, which will search the entire PKP site. If you are encountering an error, we especially recommend searching the forum for said error.

2. Check the FAQ to see if your question or error has already been resolved.

3. Post a question, but please, only after trying the above two solutions. If it's a workflow or usability question you should probably post to the OJS Editorial Support and Discussion subforum; if you have a development question, try the OJS Development subforum.

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!


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: 9050
Joined: Wed Aug 10, 2005 12:56 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\FileManager.inc.php 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\FileManager.inc.php on line 234.

In config.inc.php, 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 config.inc.php 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: 10
Joined: Tue Jun 27, 2006 1:05 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 config.inc.php and ensure that it's set to at least 12M (the default 8M isn't enough).

Alec Smecher
Open Journal Systems Team
Posts: 9050
Joined: Wed Aug 10, 2005 12:56 pm

Return to OJS Technical Support

Who is online

Users browsing this forum: Bing [Bot], Majestic-12 [Bot], Yahoo [Bot] and 11 guests