Menu Content

Support

> Forums, FAQs & Paid Support
Welcome, Guest
Username Password: Remember me

Call-time pass-by-reference
(1 viewing) (1) Guest
Support forum for users using free edition of JoomSEF 3 (Joomla 1.5 compatible). These forums are mainly for mutual help between users.

Please note that due to our capacity limitations, we do not monitor these forums regularly.
  • Page:
  • 1

TOPIC: Call-time pass-by-reference

Call-time pass-by-reference 17 years, 4 months ago #2525

Getting error, Component is installed and .htaccess has been uncommented. But having a Warning: run across the top of all my pages.

Here is the warning

Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. in /home/.walt/experienceto/gdesign.experienceto.com/mambots/system/joomsef_metabot.php on line 42

Checked joomsef_metabot.php and there is no reference to \"allow_call_time_pass_reference\" on line 42.

Any precedents for this error?

edit: Came across another issue, In IE if there are images in your article intro text for a content item they will display as broken links in IE.<br><br>Post edited by: jduren, at: 2007/07/07 21:05

Re:Call-time pass-by-reference 17 years, 4 months ago #2526

  • dajo
  • OFFLINE
  • Posts: 5069
Hi Jeff,

the allow_call_time_pass_reference variable is located in php.ini file, not the MetaBot. You need to set it to On. If that's not possible due to your server hosting or something, try to remove the ampersand character in joomsef_metabot.php on that line 42 before $mainframe.

Images in intro text work fine for me in IE.

Regards,
David
ARTIO Support Team

Re:Call-time pass-by-reference 17 years, 4 months ago #2527

No access to php.ini but removed ampersand in mambot and everything seems to be ok. Thanks for answering my post so quickly. Very much appreciated.

Re:Call-time pass-by-reference 17 years, 4 months ago #2654

  • _fD_
  • OFFLINE
  • Posts: 32
Hi all

An other way to get this PHP-Setting to ON is to write in the .htaccess file at the end the following string:

php_flag allow_call_time_pass_reference 1 (or On (instead 1), depends on the Apache version).

Mostly this run also and it is a good solution for webmasters without the possibility to chance the php.ini file. It works also for other PHP-Settings.

Example:

php_flag register_globals 0 (or Off (instead 0)).
php_flag display_errors On

And so on.

Best Regards, Urs
  • Page:
  • 1
User Login Empty