when enable this module this messages shown:

Warning: Call-time pass-by-reference has been deprecated in C:\wamp2i\www\drupal-farsi2\sites\all\modules\calendar_systems\calendar_systems.module on line 136

Warning: Call-time pass-by-reference has been deprecated in C:\wamp2i\www\drupal-farsi2\sites\all\modules\calendar_systems\calendar\lib\classesCore.class.inc.php on line 97

Warning: Call-time pass-by-reference has been deprecated in C:\wamp2i\www\drupal-farsi2\sites\all\modules\calendar_systems\calendar\lib\classesCore.class.inc.php on line 99

Warning: Call-time pass-by-reference has been deprecated in C:\wamp2i\www\drupal-farsi2\sites\all\modules\calendar_systems\calendar\lib\classesCore.class.inc.php on line 326

and show always to disable it.

meantime,please describe how to enable and use to jalali date been enable.
thanks.

Comments

sinasalek’s picture

Hi,
This is a warning not an error. but if you don't like to see it you can enable it in your php.ini http://www.vbulletin.com/forum/showthread.php?t=14280
I'll do something about it in the next alpha release.

How to enable : Currently module automatically activates jalali calendar when the interface language is Persian (Farsi). So if you want it to work, you'll need to add and enable Persian language in your Drupal installation.

PS : And please submit a different ticket for each topic, so other users can find the answer they're looking for as well

sinasalek’s picture

Assigned: mitarjmand » sinasalek

Assigning a ticket to yourself means that you want to fix it yourself. :)

sinasalek’s picture

Status: Active » Closed (fixed)
lameei’s picture

Status: Closed (fixed) » Active

I couldn't figure it out. the Jalali calendar is active and working on my setup but the warnings are still there. Would u please let me know how to turn them off?

sinasalek’s picture

Read comment #1

lameei’s picture

sure i did :)
I've set allow_call_time_pass_reference to true but the warnings are still there.

sinasalek’s picture

You might need to use phpinfo() to make sure that it's truly enabled.

lameei’s picture

Voila! yes you were right. Despite the fact that i changed the value to true in php.ini I also enabled it in php settings of wamp server. now it is working. Is there any chance of doing this on hosts?

sinasalek’s picture

Status: Active » Postponed

It should be but i don't know your server's configuration. it's a simple request ask your hosting's support they will definitely help you

sinasalek’s picture

Version: 6.x-1.1 » 6.x-1.0-alpha2

Will be fixed in 1.2

sinasalek’s picture

Title: occur error message » Many of PHP warnings in logs
Version: 6.x-1.0-alpha2 » 6.x-1.1
sinasalek’s picture

Version: 6.x-1.0-alpha2 » 6.x-1.1
sinasalek’s picture

Title: Many of PHP warnings in logs » Many PHP warnings in logs
farhadhf’s picture

thanks , Fixed here.

sinasalek’s picture

Status: Postponed » Closed (won't fix)

This is a workaround for PHP's bug so it won't be fixed completely unless it get fixed in future PHP versions.
To get rid of the errors you can set allow_call_time_pass_reference to true in php.ini , .htaccess or using ini_set

sinasalek’s picture

Status: Closed (won't fix) » Postponed
sinasalek’s picture

Status: Postponed » Closed (duplicate)
sinasalek’s picture

Issue tags: +6.x-1.2 Roadmap

Marked