OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Journal logo

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, btbell, michael, bdgregg, barbarah, 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.

Journal logo

Postby qai » Fri May 02, 2014 1:11 pm

I have a problem.

User home -> Journal Manager -> Setup -> The look

5.1 Journal Homepage header

Journal logo

I want to upload a journal logo ( 50x50 px, 25 kb, .png) but always i have a #formErrors:
Errors occurred processing this form:
Invalid homepage header logo image format or upload failed. Accepted formats are .gif, .jpg, or .png.

Format is good, so what is wrong??

please help
qai
 
Posts: 5
Joined: Fri Mar 07, 2014 3:24 pm

Re: Journal logo

Postby asmecher » Fri May 02, 2014 1:21 pm

Hi qai,

See this faq entry or the other posts in the forum on the same subject; if those don't help, let us know what you've tried and what the results were and we'll suggest further.

Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 8905
Joined: Wed Aug 10, 2005 12:56 pm

Re: Journal logo

Postby qai » Fri May 02, 2014 1:40 pm

If i have to be honest i am a new in php.
For now i change the chmod all serer files on 0777. But still i have a problem.
What you suggest for first? Please help me. In detail - step by step what i have to do...

Unfortunately i dont have a oportunity to change php version on server...

information obout my system;
OJS VERSION
CURRENT VERSION
2.4.3.0 (May 2, 2014 - 08:18 AM)

VERSION HISTORY

VERSION MAJOR MINOR REVISION BUILD DATE INSTALLED

2.4.3.0 2 4 3 0 2014-05-02

OJS CONFIGURATION
OJS configuration settings from config.inc.php.

GENERAL
installed On
base_url -----
registry_dir registry
session_cookie_name OJSSID
session_lifetime 30
scheduled_tasks Off
date_format_trunc %m-%d
date_format_short %Y-%m-%d
date_format_long %B %e, %Y
datetime_format_short %Y-%m-%d %I:%M %p
datetime_format_long %B %e, %Y - %I:%M %p
time_format %I:%M %p
disable_path_info Off
allow_url_fopen Off
restful_urls Off
enable_cdn On
citation_checking_max_processes 3
show_upgrade_warning On
DATABASE
driver mysql
host -----
username -----
password -----
name -----
persistent Off
debug Off
CACHE
object_cache none
memcache_hostname localhost
memcache_port 11211
web_cache Off
web_cache_hours 1
I18N
locale en_US
client_charset utf-8
connection_charset Off
database_charset Off
charset_normalization Off
FILES
files_dir /files
public_files_dir public
umask 18
FINFO
mime_database_path /etc/magic.mime
SECURITY
force_ssl Off
force_login_ssl Off
session_check_ip On
encryption sha1
allowed_html <a href|target> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <b> <i> <u> <img src|alt> <sup> <sub> <br> <p>
EMAIL
enable_attachments On
time_between_emails 3600
max_recipients 10
require_validation Off
validation_timeout 14
SEARCH
min_word_length 3
results_per_keyword 500
result_cache_hours 1
OAI
oai On
repository_id ----
oai_max_records 100
INTERFACE
items_per_page 25
page_links 10
CAPTCHA
captcha Off
captcha_on_register On
captcha_on_comments On
captcha_on_mailinglist On
font_location /usr/share/fonts/truetype/freefont/FreeSerif.ttf
recaptcha Off
CLI
perl /usr/bin/perl
tar /bin/tar
egrep /bin/egrep
gunzip /bin/gunzip
xslt_command
PROXY
DEBUG
show_stats Off
show_stacktrace Off
display_errors Off
deprecation_warnings Off
SERVER INFORMATION
Basic operating system and server software versions. Click on Extended PHP Information to view extended details of this server's PHP configuration.

OS platform Linux
PHP version 5.3.26
Apache version Not available
Database driver mysql
Database server version 5.5.32-log
Extended PHP Information
qai
 
Posts: 5
Joined: Fri Mar 07, 2014 3:24 pm

Re: Journal logo

Postby asmecher » Fri May 02, 2014 1:58 pm

Hi qai,

First, try commenting out or removing the "mime_database_path" setting in your php.ini configuration [edit: typo; I meant config.inc.php]. Then see if that fixes file type detection.

Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 8905
Joined: Wed Aug 10, 2005 12:56 pm

Re: Journal logo

Postby qai » Fri May 02, 2014 2:15 pm

I understand: php.ini configuration it's mean config.inc.php?

I tried commenting out ( ; mime_database_path = /etc/magic.mime )
Doesn't work.

I tried removing the (mime_database_path = /etc/magic.mime)
Still doesn't work.

What now?
qai
 
Posts: 5
Joined: Fri Mar 07, 2014 3:24 pm

Re: Journal logo

Postby asmecher » Fri May 02, 2014 2:19 pm

Hi qai,

Next have a look at this thread, which suggests how to determine which of several ways OJS is using to determine file types. Once we know which it's using, we'll be able to look at why it's not working.

Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 8905
Joined: Wed Aug 10, 2005 12:56 pm

Re: Journal logo

Postby qai » Sat May 03, 2014 1:13 pm

I read this theard but this is too complicated for me.
As i sad i am a new in php.
Can you tell me what is a first method?

Or you can tell me how can i have a journal logo on my web site in other way?
please?
qai
 
Posts: 5
Joined: Fri Mar 07, 2014 3:24 pm

Re: Journal logo

Postby asmecher » Mon May 05, 2014 7:57 am

Hi qai,

How far did you get with the instructions in that thread?

Unfortunately this is going to require some technical knowledge, as we need to determine which functions exist in your PHP setup.

Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 8905
Joined: Wed Aug 10, 2005 12:56 pm


Return to OJS Technical Support

Who is online

Users browsing this forum: Bing [Bot] and 5 guests