OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Problens in upload a file in submission step 3

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.

Problens in upload a file in submission step 3

Postby Beatriz » Mon Jul 26, 2004 6:41 am

Hi,

I'm having problems when I try upload a file in submission step 3.
The erros are:


Warning: MkDir failed (Permission denied) in /var/www/tribuna/admin/include/fileupload.php on line 99

Warning: Unable to create '/opt/tribuna2004/TF-2004-2.jpg': No such file or directory in /var/www/tribuna/admin/include/fileupload.php on line 101

Warning: Unable to move '/tmp/php20WmOx' to '/opt/tribuna2004/TF-2004-2.jpg' in /var/www/tribuna/admin/include/fileupload.php on line 101

Warning: Cannot add header information - headers already sent by (output started at /var/www/tribuna/admin/include/fileupload.php:99) in /var/www/tribuna/include/functions.inc.php on line 59


Could anybody help me?

Thanks, Beatriz
Beatriz
 
Posts: 7
Joined: Thu Feb 19, 2004 7:35 am

Postby kevin » Mon Jul 26, 2004 9:45 pm

When you installed OJS, you did not include the trailing slash for the files path setting (i.e., "/opt/tribuna/" instead of "/opt/tribuna").

You can fix it by manually modifying the chFilePath field in the tbljournalconfig database table.
kevin
 
Posts: 338
Joined: Tue Oct 14, 2003 8:23 pm

RE: Problens in upload a file in submission step 3

Postby Beatriz » Tue Jul 27, 2004 5:19 am

Ok, thank you Kevin....


Now I'd like to know a last thing: If I wanted change my URL ,

"calvados.c3sl.ufpr.br/RBE" to "calvados.c3sl.ufpr.br/RBENT"

must I install again?

Thanks, Beatriz
Beatriz
 
Posts: 7
Joined: Thu Feb 19, 2004 7:35 am

Postby kevin » Tue Jul 27, 2004 7:55 pm

The only extra thing you would have to do is update the chBaseURL field in the tbljournalconfig table
kevin
 
Posts: 338
Joined: Tue Oct 14, 2003 8:23 pm

update the chBaseURL field

Postby Beatriz » Thu Jul 29, 2004 7:00 am

Hi Kevin,

I updated the fied chbaseURL to http://calvados.c3sl.ufpr.br/campos/ and restarted the mysql.


+--------------------------------------+--------------------+----------------------------------+----------------+-----------------+--------------+
| chBaseURL | chFilePath | chPasswordSalt | chRepositoryID | chJournalLocale | chOJSVersion |
+--------------------------------------+--------------------+----------------------------------+----------------+-----------------+--------------+
| http://calvados.c3sl.ufpr.br/campos/ | /opt/antropologia/ | 88eec00c3cc3e1a9c13731cb52d4a4a3 | antropologia | pt | 1.0.0/BR |
+--------------------------------------+--------------------+----------------------------------+----------------+-----------------+--------------+



But it didn't work. The old link (http://calvados.c3sl.ufpr.br/antropologia/ )
still is active.

What must I do?

Thanks, Beatriz
Beatriz
 
Posts: 7
Joined: Thu Feb 19, 2004 7:35 am

Postby kevin » Thu Jul 29, 2004 9:47 pm

Well, you have to actually move the site on your web server...
kevin
 
Posts: 338
Joined: Tue Oct 14, 2003 8:23 pm

Updat the fied chbaseURL

Postby Beatriz » Fri Jul 30, 2004 4:41 am

Sorry Kevin, I think I didin't explain you very well......

I meant when I try in browser

http://calvados.c3sl.ufpr.br/campos

I receive the error "page not found".

And when I test the old link c, it still exists.

Thanks, Beatriz
Beatriz
 
Posts: 7
Joined: Thu Feb 19, 2004 7:35 am

page 404

Postby ramon » Fri Jul 30, 2004 6:03 am

Beatriz,

If you want to change your journal you must update your folder name as well. What happens is that there is nothing inside http://calvados.c3sl.ufpr.br/campos/

all the files are still in
http://calvados.c3sl.ufpr.br/antropologia/

You may rename the folder antropologia do campos, or move everything to a new campos folder. That´s up to you, but after changing the url, that´s what you need to do.
ramon
 
Posts: 940
Joined: Wed Oct 15, 2003 6:15 am
Location: Brasí­lia/DF - Brasil


Return to OJS Editorial Support and Discussion

Who is online

Users browsing this forum: No registered users and 2 guests