Fresh Install 4.6.15 and Call-time pass-by-reference error

Gesperrt
djavet
Beiträge: 264
Registriert: Do 22. Jan 2004, 11:31
Kontaktdaten:

Fresh Install 4.6.15 and Call-time pass-by-reference error

Beitrag von djavet »

Hello

I've once again a "Call-time pass-by-reference" error with the fresh brand new installation from 4.6.15 when I search something:
http://www.datamed.ch/dev/cms/front_con ... p?idcat=40

Before I've resolve my problem with the not official release 4.6.8.5. But now I've search an test:
http://contenido.org/forum/viewtopic.ph ... deprecated

Was not the fix integrate to the new version? What can I do?

My setting:

Code: Alles auswählen

Server operating system  	Apache/1.3.27 (Unix) JRun/4.0 Chili!Soft-ASP/3.6.2 mod_gzip/1.3.26.1a mod_perl/1.27 FrontPage/5.0.2.2510 mod_ssl/2.8.14 OpenSSL/0.9.7b PHP-CGI/0.1b
PHP MySQL database extension 	mysql
MySQL server version 	4.0.18-log
Installed PHP version 	4.3.11
safe_mode 	activated
magic_quotes_gpc 	deactivated
magic_quotes_runtime 	deactivated
gpc_order 	GPC
memory_limit 	
max_execution_time 	45
Disabled functions 	nothing disabled
Gettext extension 	loaded
sql.safe_mode 	deactivated
Any idea?

Regards, Dominique
HerrB
Beiträge: 6935
Registriert: Do 22. Mai 2003, 12:44
Wohnort: Berlin
Kontaktdaten:

Beitrag von HerrB »

Please enable Frontend debugging (see contenido/includes/config.misc.php) and check line 185 and 361 of the code shown in the text area.

Should be a problem in a module...

Regards,
HerrB
Bitte keine unaufgeforderten PMs oder E-Mails -> use da Forum!

Newsletter: V4.4.x | V4.6.0-15 (Module, Backend) | V4.6.22+
Standardartikelliste: V4.4.x | V4.6.x
http://www.contenido.org/forum/search.php | http://faq.contenido.org | http://www.communido.net
Oldperl
Beiträge: 4316
Registriert: Do 30. Jun 2005, 22:56
Wohnort: Eltmann, Unterfranken, Bayern
Hat sich bedankt: 6 Mal
Danksagung erhalten: 4 Mal
Kontaktdaten:

Beitrag von Oldperl »

That's a known prob with PHP5 and Code written for PHP4, u find the solution searching with Google. There are 2 ways to fix this problem.

If u can change your php.ini, then toogle the directive 'allow_call_time_pass_reference' from OFF to ON.

Or u check all moduls for lines like

Code: Alles auswählen

$oArticleProp = new Article_Property(& $db, & $cfg);
This line is from Searchresult-Modul line 32. You have to delete the & so it looks like

Code: Alles auswählen

$oArticleProp = new Article_Property($db, $cfg);
That will work, but for the future, the developers have to make changes in the core of the Classes if they want to use call by reference.

Edit: here u will find the new output for searchresult :arrow: http://contenido.org/forum/viewtopic.ph ... highlight=

regards from Franken

Ortwin
ConLite 3.0.0-dev, alternatives und stabiles Update von Contenido 4.8.x unter PHP 8.x - Download und Repo auf Gitport.de
phpBO Search Advanced - das Suchwort-Plugin für CONTENIDO 4.9
Mein Entwickler-Blog
djavet
Beiträge: 264
Registriert: Do 22. Jan 2004, 11:31
Kontaktdaten:

Beitrag von djavet »

Hello

I change the code as you said, but always the same error:
http://www.datamed.ch/dev/cms/front_con ... p?idcat=40

I can't change the php.ini to my provider... must be something else.
I corrected the code as you mention, and a another time with the rewrite for the outpu for search, but module code are wrong:
http://contenido.org/forum/viewtopic.ph ... 71&p=89937

Thx for your help.
Regards, Dominique
Gesperrt