Quantcast
Channel: PKP Community Forum - Latest topics
Viewing all 27411 articles
Browse latest View live

[OJS 3.1] uploader_user_id is set incorrectly to journal manager in upgrade from 2.4.8-3 to 3.1.1-4

$
0
0

@rvdb wrote:

When upgrading a journal from OJS-2.4.8-3 to OJS-3.1.1-.4, some unexpected values end up in these database tables:

  • submission_files: the uploader_user_id fields are all set to a journal manager user ID (43 in this example), instead of the author user ID (587, in this case)


 
  • submission_file_settings: the name fields also contain the journal manager login name (rvandenbranden) instead of the author’s name (Lori Van Biervliet, in this case)

The result is that in the journal administrator interface all articles list “rvandenbranden” as author in the submission file name labels, which is incorrect, and rather confusing. Also, it makes me wonder if this is a symptom of a real underlying problem in the upgrade process (although the upgrade output doesn’t log any errors whatsoever).

I’ve tested with a database from another journal, which does come out as expected, i.e. with the actual author user IDs instead of the journal manager’s. Yet, I don’t see any substantial differences between both original OJS-2.4 databases.

I’m really struggling with this; so far I’ve been unable to find a real cause, although I could find some traces:

  • The MySQL instructions in the debug output seem to suggest that the submission_files table is constructed first, from which the submission_file_settings table is derived later on. For some reason, the uploader_user_id field is calculated wrongly in the former table.
  • I’ve found a function setFileUploader in https://github.com/pkp/ojs/blob/master/classes/install/Upgrade.inc.php#L980, which, according to its documentation comment will “Set the missing uploader user id to a journal manager.” This seems to be what’s happening here, but I don’t have a clue why, and how to fix it.

I’m not a PhP or MySQL expert and am really struggling to get this upgrade right. Is there someone knowledgeable around here who can help me out?

Posts: 1

Participants: 1

Read full topic


Navigation block plugin for OJS 3.1 available?

Adding ocassional subsections to Table of Contents

$
0
0

@tpearson wrote:

I’m new to OJS. We’re wanting more flexibility in the display of the Table of Contents – to change the “Sections” (or even better, to add subsections) as needed, depending on the specific content we’re publishing in a particular issue.

Our journal is hosted on a platform that hosts several additional journals. We’ve been told (by our hosting partners) that what we’re looking for would require “source code/primary installation changes,” which would impose customization on the other journal hosted on the platform, which they may not desire.

I was wondering if a simpler solution might be reached by removing the requirement that authors identify the “section” they are submitting to. Then I would think we could just keep adding an additional “section” whenever a new (and probably unique) section was needed by an issue being published. We would slot manuscripts into the various sections when we enter the “production” phase. Admittedly, the list would start to become ungainly if we added too many sections – but as far as I can tell, the viewers of the journal would not be aware of this.

Would this solution necessitate a change to the base code that would be problematic for our hosting partner? Does anyone see another possible solution? Or is my question too dependent upon on the particulars of our hosting partner?

Posts: 1

Participants: 1

Read full topic

Loading html in modal form through plugin

$
0
0

@ssciberras wrote:

I am developing a plugin, which involves a form being loaded into a modal. This would need to fetched through an AJAX call (ideally), and I would like this to be in a tpl so that it would customizable.

I have tried several ways: I can display the modal form, and I can manage to get my handlers to be called to start preparing the form. However, I cannot get the form displayed.

I have tried fetch(), but I think the scripts would be expecting a JSON message. I have tried also with fetchJSON, but still it is not working. I am not sure if it is a question of authorising my scripts for my use.

Thanks in advance

Stephen

Posts: 1

Participants: 1

Read full topic

Submission DOI error

$
0
0

@Glauco_Roberto_Munsb wrote:

Hi @asmecher I’m trying to send DOI by CrossRefExportPlugin, but I take this error:

PHP Warning: assert(): Assertion failed in /PATH_BASE/classes/plugins/PubObjectsExportPlugin.inc.php on line 342, referer: http://URL/index.php/rbagroecologia/management/importexport/plugin/CrossRefExportPlugin
PHP Fatal error: Call to a member function setDeployment() on null in /PATH_BASE/classes/plugins/PubObjectsExportPlugin.inc.php on line 345, referer: http://URL/management/importexport/plugin/CrossRefExportPlugin

Posts: 1

Participants: 1

Read full topic

Installed plugin does not load and keeps spinning

[OJS 3] bic21qualifiers translations

$
0
0

@ramon wrote:

Hello all,

We’re in the process of moving to OJS 3 and noticed many untranslated files.
Should we translate everything?
For example, there are files in the lib that I particularly have no idea what they’re for…
ojs3/lib/pkp/locale/en_US/bic21qualifiers.xml
ojs3/lib/pkp/locale/en_US/bic21subjects.xml

Posts: 1

Participants: 1

Read full topic

Texture Plugin Help


OAI ¿Cómo mostrar primero etiquetas en español en 2.4.8.3?

$
0
0

@Oscarrgomez wrote:

Me gustaría cambiar el orden en que se muestran las etiquetas para que primero aparezcan en español luego en ingles.

Posts: 1

Participants: 1

Read full topic

Diapers Trained Capuchin Available!

$
0
0

@hlisa73 wrote:

Well trained, tamed and beautiful baby Capuchin
monkey ready for new home. She is blood screened
and come with all her health papers, toys and care
guide. She is friendly, lovely and very intelligent
and respectful. This monkey will adapt to new
environment easily, Above all she will make
a wonderful addition or companion Text or call +1(302)505-5097

Posts: 1

Participants: 1

Read full topic

Healthy potty trained and current on vaccined capuchin monkey babies

$
0
0

@hlisa73 wrote:

Diapers Trained Capuchin Available!!!
Well trained, tamed and beautiful baby Capuchin
monkey ready for new home. She is blood screened
and come with all her health papers, toys and care
guide. She is friendly, lovely and very intelligent
and respectful. This monkey will adapt to new
environment easily, Above all she will make
a wonderful addition or companion email . hlisa7360@gmail.com.Text or call +1(302)505-5097

Posts: 1

Participants: 1

Read full topic

Problems with api submissions errro on submissions page

$
0
0

@eddoff wrote:

Hi

I have the same problem as many others with a multijournal OJS 3.1.1.4 with multiple domains.

I get the ##api.submissions.unknownError## error for the submissions page for our journal that has its own domain: mydomain.se/

According to the error handling in Firefox it tries to find:
https://mydomain.se//mydomain/api/v1/_submissions?....
which leads to a 404 error.

However this works in the address bar:
https://mydomain.se/index.php/mydomain/api/v1/_submissions?....

I am using .htaccess configuration (see below) and restful_urls. I have added base_urls for all the journals. (The following settings in config.inc.php)
base_url[index] = https://domain2.se
base_url[journalx] = https://domain2.se/journalX
base_url[mydomain] = https://mydomain.se

I tried these settings: How to remove index.php in ojs 3.0.2.0 and the proposed settings in the same thread by Tarcisio_Pereira

This [Solved] Custom domain error ##api.submissions.unkownError## on OJS3.1.1 does not work

Checked this as well: Error in upgrading OJS 3.0.2 to OJS 3.1.1

I can not solve it!
Can you please help me?

Here is my .htaccess file:

 RewriteEngine On

 RewriteBase /


# List of actual folders I want to access (like http://mydomain.com/folder1/)
RewriteRule ^(folder1|test)($|/) - [L]


 RewriteCond %{HTTP_HOST} domain1\.se$ [NC]
 RewriteRule ^(.*)$ https://domain2.se/$1 [L,R=301]

# Redirect www.mydomain.com to mydomain.com
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ https://%1/$1 [R=301,L]


# Remove index.php
RewriteCond %{SERVER_NAME} ^domain2\.se
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/$1 [L]

# Handle api calls in subdomains
RewriteCond %{SERVER_NAME} ^mydomain\.se$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} !api\/v1\/
#RewriteRule ^(.)$ index.php/mydomain/$1 [L]
#RewriteCond %{REQUEST_URI} api\/v1\/
#RewraiteRule ^(.*)$ index.php/mydomain/$1 [L]
RewriteRule ^(.*)$ index.php/mydomain/$1 [L]

# Handle subdomains
RewriteCond %{SERVER_NAME} ^mydomain\.se$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/mydomain/$1 [L]

# Remove index.php
RewriteCond %{SERVER_NAME} ^mydomain\.se
#RewriteCond %{SERVER_NAME} ^(www\.)?mydomain\.se
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/mydomain/$1 [L]

Posts: 1

Participants: 1

Read full topic

Static Page show Access denied

URGENT HELP - PKP OJS 3 Native XML export problem

$
0
0

@emoloji wrote:

Hi friends,

I am having some problem in my web site interestingly.
I was trying to export an issue via native xml plugin but i am getting HTTP Error 500. The problem that i cannot understand is i could manage to export old issues when i try , but i couldnt manage to export the recent issues. Is there any solution for this, i really felt helpless because i tried many things to fix but i could not. I upgrade the memory limit in PHP settings or etc but still i cannot export my last issue in my journal. I urgently need you help for send my xml file to other databases.

Please help me if there is any solution.

Thank you very much, with regards :slight_smile:

Posts: 8

Participants: 2

Read full topic

Super User But No Change Logo In OJS 3.1.1.4


CrossRef XML Export Plugin "not working" or "working"

$
0
0

@dmontgom wrote:

Hi there; I’m trying to submit dois through OJS 3. I check the articles to export, check the xml, and press “Submit”. A “Success” message is returned. However, the xml doesn’t seem to get to CrossRef. Information: I did give it 24 hours…, does anyone know if this queue for submissions takes longer than that at CrossRef. Also, though it seems to be a non-issue, when I look at the xml in Oxygen the xml schema displays as an error, i.e. the

<?xml version="1.0" encoding="utf-8"?>. In Oxygen, when I backspace and re-enter "?xml" the error disappears. I don't think this has anything to do with anything -- I just noticed it. My submission, as noted above, returns "Success".

I’m hoping I’m just missing something here… but if anyone has been successful and there’s a step I’ve lost I would be thankful for your indulgence.

Cheers,
DM

Posts: 1

Participants: 1

Read full topic

Http Error 500 while installing OJS

Job Opportunity: General Software Developers

$
0
0

@marisa wrote:

PKP is seeking general software developers. Do you have experience with current web development technology and SQL, Apache, and Linux server administration? Join a supportive and collaborative team of international open source and open access advocates and work remotely. More information: https://pkp.sfu.ca/about/employment

Posts: 1

Participants: 1

Read full topic

Save the Date! PKP 2019 Conference

Native XML HTTP Error

$
0
0

@Ariton wrote:

Hi There,

I’m trying to import xml files from one server to another and haven’t really been having any issues until just recently. Now when ever I try to upload the files they begin to upload then fails after a bit and it says HTTP Error. If anyone has any ideas let me know, Thanks!

Posts: 1

Participants: 1

Read full topic

Viewing all 27411 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>