OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Error messages while submittingarticles

Are you an Editor, Author, or Journal Manager in need of help? Want to talk to us about workflow issues? This is your forum.

Moderators: jmacgreg, michael, vgabler, John

Forum rules
This forum is meant for general questions about the usability of OJS from an everyday user's perspective: journal managers, authors, and editors are welcome to post questions here, as are librarians and other support staff. We welcome general questions about the role of OJS and how the workflow works, as well as specific function- or user-related questions.

What to do if you have general, workflow or usability questions about OJS:

1. Read the documentation. We've written documentation to cover from OJS basics to system administration and code development, and we encourage you to read it.

2. take a look at the tutorials. We will continue to add tutorials covering OJS basics as time goes on.

3. Post a question. Questions are always welcome here, but if it's a technical question you should probably post to the OJS Technical Support subforum; if you have a development question, try the OJS Development subforum.

Error messages while submittingarticles

Postby Sharad » Thu Aug 25, 2005 10:04 pm

Hi, everytime I am trying o submit a paper after creating a section it is coming with this error messages.

I do get similar messages when I am trying to laod image to customize the look of the journal. Can someone help Please
Sharad


Warning: mkdir(): open_basedir restriction in effect. File(/home) is not within the allowed path(s): (/home/iischsco/:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/iischsco/public_html/ojs-2.0.1/classes/file/FileManager.inc.php on line 235

Warning: move_uploaded_file(/home/iischsco/public_html/ojs-2.0.1/files/journals/1/articles/1/submission/original/1-1-1-SM.doc): failed to open stream: No such file or directory in /home/iischsco/public_html/ojs-2.0.1/classes/file/FileManager.inc.php on line 98

Warning: move_uploaded_file(): Unable to move '/tmp/phpP1wi3n' to '/home/iischsco/public_html/ojs-2.0.1/files/journals/1/articles/1/submission/original/1-1-1-SM.doc' in /home/iischsco/public_html/ojs-2.0.1/classes/file/FileManager.inc.php on line 98

Warning: Cannot modify header information - headers already sent by (output started at /home/iischsco/public_html/ojs-2.0.1/classes/file/FileManager.inc.php:235) in /home/iischsco/public_html/ojs-2.0.1/classes/template/TemplateManager.inc.php on line 152
Sharad
 
Posts: 1
Joined: Fri Aug 19, 2005 9:58 pm
Location: AUCKLAND<,NZ

same article problem

Postby todd » Tue Sep 13, 2005 7:53 am

I get this same thing happening...it seems to be a path problem. Which I haven't quite yet figured out how to fix. Can anyone offer suggestions?


Warning: mkdir(): open_basedir restriction in effect. File(/home/pimatisiwin/ojs_files/_db/b5) is not within the allowed path(s): (/dh/web/phpmyadmin:/tmp:/dh/solidclient:/usr/local/lib/php:/home/pimatisiwin:/home/.nebbu/pimatisiwin) in /home/.nebbu/pimatisiwin/pimatisiwin.com/lib/adodb/adodb.inc.php on line 1561

Warning: fopen(): open_basedir restriction in effect. File(/home/pimatisiwin/ojs_files/_db/b5/adodb_b558d137543f625d6af6f9a4fb858712.cache) is not within the allowed path(s): (/dh/web/phpmyadmin:/tmp:/dh/solidclient:/usr/local/lib/php:/home/pimatisiwin:/home/.nebbu/pimatisiwin) in /home/.nebbu/pimatisiwin/pimatisiwin.com/lib/adodb/adodb-csvlib.inc.php on line 298

Warning: fopen(/home/pimatisiwin/ojs_files/_db/b5/adodb_b558d137543f625d6af6f9a4fb858712.cache): failed to open stream: Operation not permitted in /home/.nebbu/pimatisiwin/pimatisiwin.com/lib/adodb/adodb-csvlib.inc.php on line 298

Warning: Cannot modify header information - headers already sent by (output started at /home/.nebbu/pimatisiwin/pimatisiwin.com/lib/adodb/adodb.inc.php:1561) in /home/.nebbu/pimatisiwin/pimatisiwin.com/classes/template/TemplateManager.inc.php on line 152
todd
 

Re: same article problem

Postby asmecher » Tue Sep 13, 2005 6:07 pm

Hello,

See "http://ca3.php.net/features.safe-mode#ini.open-basedir".

You'll have to either relax the open_basedir directive in php.ini to allow the web server to access files in /home/pimatisiwin, or you'll have to change your OJS files directory to something that's a subdirectory of your open_basedir setting.

Regards,
Alec
asmecher
 
Posts: 8316
Joined: Wed Aug 10, 2005 12:56 pm

Resolving error messages

Postby todds buddy » Tue Sep 13, 2005 7:52 pm

The problem was resolved by adding the following to the config.inc.php file...

files_dir = /home/.nebbu/pimatisiwin/ojs_files/

...and then it seemed to work.
todds buddy
 

open_basedir problem

Postby gmbowen » Wed Feb 01, 2006 12:36 pm

Mine was solved the opposite way.

I did have

files_dir = /home/e-smith/files/ibays/Primary/html/ojs2/files

but that didn't work. When we made the paths completely relative

files_dir = files

then everything was fine. This bit took a lot of fiddling about (moreso than other scripts from other programs which were doing directory & file creation).
gmbowen
 
Posts: 1
Joined: Wed Feb 01, 2006 11:29 am

Postby asmecher » Wed Feb 01, 2006 2:13 pm

Hi gmbowen,

Glad to hear it's working; keep in mind, however, that you're potentially making your submission documents available directly on the web. For example, if your OJS url is http://www.myjournal.com/ojs2/index.php and your files path is "files", you might be able to browse submission files directly at http://www.myjournal.com/ojs2/files. You can use htaccess restrictions to prevent this.

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


Return to OJS Editorial Support and Discussion

Who is online

Users browsing this forum: Yahoo [Bot] and 2 guests