Software Hosting and Development Services available at PKP Publishing Services
As the developers of Open Journal Systems, Open Conference Systems, Open Harvester Systems, and Open Monograph Press, the PKP team are experts in helping journal managers and conference organizers make the most of their online publishing projects. PKP Publishing Services offers support for:
As a customer of PKP Publishing Services, you will not only receive direct, personalized support from the PKP Development Team, but will be contributing to the ongoing development of the PKP applications. All funds raised by PKP Publishing Services go directly toward enhancing our free, open source software. For more information, please contact us.
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, michael, jheckman, barbarah, btbell, bdgregg, 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.
by wblandon » Thu Mar 07, 2013 7:31 am
Hi all.
I recently migrated of the 2.4.1 to 2.4.2 OJS version. Tinymce plugin not display in all pages to edit text; with 2.4.1 worked OK.
Message: The requested URL /ojs/lib/pkp/lib/tinymce/jscripts/tiny_mce/plugins/jbimages/dialog.htm was not found on this server.
OS platform Linux
PHP version 5.4.11
Apache version Apache/2.4.3 (Fedora) OpenSSL/1.0.1c-fips PHP/5.4.11 mod_perl/2.0.7 Perl/v5.16.2
Database driver mysql
Database server version 5.5.29
Thanks for support.
Walter Blandón
Universidad EAFIT
Medellín, COlombia
-
wblandon
-
- Posts: 26
- Joined: Fri Apr 27, 2012 2:25 pm
by asmecher » Thu Mar 07, 2013 10:34 am
Hi Walter,
Is /ojs the right path to your OJS installation? If so, could you double-check that the referenced file (lib/pkp/lib/tinymce/jscripts/tiny_mce/plugins/jbimages/dialog.htm) exists and is readable by the web server?
Regards,
Alec Smecher
Public Knowledge Project Team
-
asmecher
-
- Posts: 5759
- Joined: Wed Aug 10, 2005 12:56 pm
-
by wblandon » Thu Mar 07, 2013 3:15 pm
Hi Alec.
The file exist in /var/www/html/ojs/lib/pkp/lib/tinymce/jscripts/tiny_mce/plugins/jbimages/dialog.htm
And it's redeable: -rwxrwxrwx
Regards,
Walter Blandón
Universidad EAFIT
Medellín, Colombia
-
wblandon
-
- Posts: 26
- Joined: Fri Apr 27, 2012 2:25 pm
by asmecher » Thu Mar 07, 2013 3:17 pm
Hi Walter,
What happens if you try to fetch that file directly through your browser?
Regards,
Alec Smecher
Public Knowledge Project Team
-
asmecher
-
- Posts: 5759
- Joined: Wed Aug 10, 2005 12:56 pm
-
by wblandon » Thu Mar 07, 2013 3:41 pm
Hi Alec.
The browser fetched plugin page with out ojs root (see image)
Regards,
Walter Blandón
Universidad EAFIT
Medellín, Colombia
- Attachments
-

- jbimages.jpg (58.58 KiB) Viewed 518 times
-
wblandon
-
- Posts: 26
- Joined: Fri Apr 27, 2012 2:25 pm
by asmecher » Thu Mar 07, 2013 4:28 pm
Hi Walter,
Can you clarify where you see the message you quote? ("Message: The requested URL /ojs/lib/pkp/lib/tinymce/jscripts/tiny_mce/plugins/jbimages/dialog.htm was not found on this server.")
Regards,
Alec Smecher
Public Knowledge Project Team
-
asmecher
-
- Posts: 5759
- Joined: Wed Aug 10, 2005 12:56 pm
-
by wblandon » Fri Mar 08, 2013 6:30 am
Hi Alec.
For example in "Edit Metadata" pages, "Journal Management > Journal Setup" page or "Site Administration > Site Settings" page
Regards,
Walter Blandón
Universidad EAFIT
Medellín, Colombia
- Attachments
-

- site settings.jpg (133.72 KiB) Viewed 485 times
-
wblandon
-
- Posts: 26
- Joined: Fri Apr 27, 2012 2:25 pm
by asmecher » Fri Mar 08, 2013 9:49 am
Hi Walter,
Is the base_url correctly configured in your config.inc.php file?
Regards,
Alec Smecher
Public Knowledge Project Team
-
asmecher
-
- Posts: 5759
- Joined: Wed Aug 10, 2005 12:56 pm
-
by wblandon » Fri Mar 08, 2013 2:10 pm
Hi Alec.
Yes:
base_url = "http://publicaciones.eafit.edu.co"
In Apache httpd.conf file:
ServerName publicaciones.eafit.edu.co
DocumentRoot /var/www/html/ojs
Regards,
Walter Blandón
Universidad EAFIT
Medellín, Colombia
-
wblandon
-
- Posts: 26
- Joined: Fri Apr 27, 2012 2:25 pm
by asmecher » Fri Mar 08, 2013 3:04 pm
Hi Walter,
I suspect that lib/pkp/lib/tinymce/jscripts/tiny_mce/plugins/jbimages/integratePKP.php is getting the wrong pathname to your installation (try wrapping another dirname(...) around the existing list). However, none of this code changed between OJS 2.4.1 and 2.4.2, so I'm not sure why an upgrade from OJS 2.4.1 would cause this.
Regards,
Alec Smecher
Public Knowledge Project Team
-
asmecher
-
- Posts: 5759
- Joined: Wed Aug 10, 2005 12:56 pm
-
by wblandon » Sat Mar 09, 2013 9:18 am
Hi Alec.
In integratePKP.php file, I eliminated once dirname sentence and plugin appears again:
$this->baseDir = dirname(dirname(dirname(dirname(dirname(dirname(dirname(dirname(dirname($_SERVER['SCRIPT_FILENAME']))))))))));
I think that is a particular case with own OJS. We install OJS 2.4.2 Full Package option because we had problems to upgrade from 2.3.7 to 2.4.1 version using patch.
Thanks for all your support.
Regards,
Walter Blandón
Universidad EAFIT
Medellín, Colombia
-
wblandon
-
- Posts: 26
- Joined: Fri Apr 27, 2012 2:25 pm
by gemusehandler » Sun May 19, 2013 1:02 am
I have a similar problem with OJS 2.4.2 and the combo TinyMCE/JBImages. I have performed a clean OJS 2.4.2 install. I put 2.4.2 in a folder with a unnecessary long name. Let's call it 'folderwithaunnecessarylongname'. But my url became something like
http://www.url.com/index.php/folderwith ... urnalname/. So, I decided to put the complete install in the webfolder and eliminate the 'folderwithaunnecessarylongname'. My url became
http://www.url.com/index.php/journalname/ but I lost the JBImages upload functionality. The JBI icon was missing in the interface. The placeholder contained a link that still included a path with the 'folderwithaunnecessarylongname'. After emptying my browser's cache I lost TinyMCE altogether. I had to recreate the path including 'folderwithaunnecessarylongname' and copy in this folder all associated TinyMCE files to get it functioning again. JBImages refuses to upload still. Before worrying about the latter I would like to solve the path problem first. Is there a file somewhere where the initial path is stored? Is there an option to delete TinyMCE and reinstall?
-
gemusehandler
-
- Posts: 5
- Joined: Sun May 19, 2013 12:30 am
by asmecher » Tue May 21, 2013 12:02 pm
Hi gemusehandler,
Have you flushed your file cache (all files in cache/)? There is generally a TinyMCE cache that may be affected by your move.
Regards,
Alec Smecher
Public Knowledge Project Team
-
asmecher
-
- Posts: 5759
- Joined: Wed Aug 10, 2005 12:56 pm
-
by gemusehandler » Tue May 21, 2013 12:15 pm
Hi Alec, before I do what I think you are saying, I want to be sure.
You seem to suggest I go to the OJS installation folder,
open the "cache" folder and trash the countless files I find there,
true or false?
-
gemusehandler
-
- Posts: 5
- Joined: Sun May 19, 2013 12:30 am
by asmecher » Tue May 21, 2013 12:22 pm
Hi gemusehandler,
Yes; you can also do this through the Site Administrator's interface.
Regards,
Alec Smecher
Public Knowledge Project Team
-
asmecher
-
- Posts: 5759
- Joined: Wed Aug 10, 2005 12:56 pm
-
Return to OJS Technical Support
Who is online
Users browsing this forum: Google [Bot] and 3 guests