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
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

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.
Sharad
Posts: 1
Joined: Fri Aug 19, 2005 9:58 pm
Location: AUCKLAND<,NZ
Contact:

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

todd

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

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

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

todds buddy

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.

gmbowen
Posts: 1
Joined: Wed Feb 01, 2006 11:29 am
Contact:

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).

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

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


Return to “OJS Editorial Support and Discussion”

Who is online

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