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
Comment #1
sinasalek commentedHi,
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
Comment #2
sinasalek commentedAssigning a ticket to yourself means that you want to fix it yourself. :)
Comment #3
sinasalek commentedComment #4
lameei commentedI 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?
Comment #5
sinasalek commentedRead comment #1
Comment #6
lameei commentedsure i did :)
I've set allow_call_time_pass_reference to true but the warnings are still there.
Comment #7
sinasalek commentedYou might need to use phpinfo() to make sure that it's truly enabled.
Comment #8
lameei commentedVoila! 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?
Comment #9
sinasalek commentedIt 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
Comment #10
sinasalek commentedWill be fixed in 1.2
Comment #11
sinasalek commentedComment #12
sinasalek commentedComment #13
sinasalek commentedComment #14
farhadhf commentedthanks , Fixed here.
Comment #15
sinasalek commentedThis 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
Comment #16
sinasalek commentedComment #17
sinasalek commented#871304: Call-time pass-by-reference
Comment #18
sinasalek commentedMarked