OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



(RESOLVED) PAtch Modify Timeline

Are you responsible for making OCS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, michael, John

Forum rules
What to do if you have a technical problem with OCS:

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. Please note that this FAQ is OJS-centric, but most issues are applicable to both platforms.

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 OCS Conference Support and Discussion subforum; if you have a development question, try the OCS Development subforum.

(RESOLVED) PAtch Modify Timeline

Postby crihou2 » Thu May 29, 2008 5:23 am

Hi,

OCS2.1.0.1
It does not seem possible to return in modification on Timeline: blank page on .../manager/timeline.
After research it seems that the variable $end_year has a too important value ($end_year = 124944).

I don't know where it comes from but the patch below avoid that
Code: Select all
OCS.2.1.0.1/lib/smarty/plugins/function.html.select.date.php
line 265

before:
     $years = range((int)$start_year, (int)    $end_year                );
after :
     $years = range((int)$start_year, (int)min($end_year,$start_year+20));
Last edited by crihou2 on Fri Jun 06, 2008 1:42 pm, edited 1 time in total.
crihou2
 
Posts: 22
Joined: Fri May 02, 2008 5:37 am
Location: Lille, France

Re: PAtch Modify Timeline

Postby asmecher » Mon Jun 02, 2008 9:56 am

Hi crihou2,

A blank page should correspond to an error message in the PHP or web server error log; could you check to see if anything appeared there? Were you previously using the CVS version, or is is a pure installation of the 2.1 release?

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

Re: PAtch Modify Timeline

Postby crihou2 » Wed Jun 04, 2008 2:02 am

Hi Alec

No error message in the web server error log.

I was previously using the 2.0 release and it worked.
Now I am in 2.1 and the TimelineEdit don't work any more except if I apply my mini patch.

Regards.
crihou2
 
Posts: 22
Joined: Fri May 02, 2008 5:37 am
Location: Lille, France

Re: PAtch Modify Timeline

Postby crihou2 » Wed Jun 04, 2008 3:00 am

Hi Alec,

I found the log error :

http://www.lille.iufm.fr-error.log:[client 10.199.2.6] PHP Fatal error: Allowed memory size of 25165824 bytes exhausted (tried to allocate 71 bytes) in /mnt/nfs_www/exp/chv/colloques/lib/smarty/plugins/function.html_options.php on line 54, referer: http://www.lille.iufm.fr/colloqdvl/inde ... ager/index
crihou2
 
Posts: 22
Joined: Fri May 02, 2008 5:37 am
Location: Lille, France

Re: PAtch Modify Timeline

Postby asmecher » Wed Jun 04, 2008 9:34 am

Hi crihou2,

Try the patch at http://pkp.sfu.ca/bugzilla/show_bug.cgi?id=3544. It should correct the problem.

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

Re: PAtch Modify Timeline

Postby crihou2 » Fri Jun 06, 2008 1:34 pm

Hi Alec,

Yes, the patch at http://pkp.sfu.ca/bugzilla/show_bug.cgi?id=3544. correct the problem.

Thanks.
crihou2
 
Posts: 22
Joined: Fri May 02, 2008 5:37 am
Location: Lille, France


Return to OCS Technical Support

Who is online

Users browsing this forum: No registered users and 7 guests