Elxis CMS Forum

Extensions => Components => Topic started by: vasilis3 on March 13, 2010, 16:29:56

Title: com_contact problem
Post by: vasilis3 on March 13, 2010, 16:29:56
While com_contact is working just fine (send email etc)
when i tried to change some details shown, i get a white screen in the contact-admin panel (no fields or anything else)

Then i created a new one (in order to assign it to the menu), and while the fields and everything was finally viewable
and editable , when i save it the same problem occurs. Everything seems ok but i was once again in front
of the edit problem (a white screen with no fields to edit for my new contact i just saved).

Any ideas? Thanx in advance. 
Title: Re: com_contact problem
Post by: ks-net on March 13, 2010, 17:58:41
Quote
when i tried to change some details shown, i get a white screen in the contact-admin panel (no fields or anything else)
what changes?
Title: Re: com_contact problem
Post by: vasilis3 on March 13, 2010, 21:31:39
any change. the problem is not the 'change' itself e.g email or contact phone
but the fact that there are no fields displayed at all. Its like a 'dead' component after saving the contact.
You are unable to do anything. Manage contacts - even publish or unpublish a specific contact button is 'dead'
Title: Re: com_contact problem
Post by: ks-net on March 13, 2010, 23:11:17
well...

we need more info... or better a link to see and debug it...

com_contact works  perfect .. except in your installation... is something relative to your installation..... or your browser.. or antivirus, blockers etc..

check files first with updiag and inform us...
Title: Re: com_contact problem
Post by: vasilis3 on March 14, 2010, 12:38:22
well i managed to see the contacts panel with this warning.

PHP Σφάλμα [Warning]

URI: index2.php?option=com_contact&task=editA&hidemainmenu=1&id=1
Path: /administrator/components/com_contact/admin.contact.php
Line: 187
trim() expects parameter 1 to be string, array given

Title: Re: com_contact problem
Post by: speck on April 26, 2010, 22:17:15
me too ai have the same problem

PHP Version 5.3.2

URI: index2.php?option=com_contact&task=editA&hidemainmenu=1&id=1
Path: /administrator/components/com_contact/admin.contact.php
Line: 187
trim() expects parameter 1 to be string, array given

INSTRUCTION DELETED BY SPECK


problem also with registration form.
the admin receive the e-mail about new user but the user no receive the activation e-mail  :o

the user not receive also the order from IOS Eshop (vers. 2.0)

i found another problem. when i want check the system in administrator System - View system information this last redirect on home page  :o

maybe for these problems is the server?

the same site,  on my personal server with php 5.2, no problem. all works right   >:(
Title: Re: com_contact problem
Post by: datahell on April 27, 2010, 08:03:53
This is an error that has already been fixed. I can not check right now the version that was fixed. If you have an older version than 2009.1 please update your Elxis installation. On Elxis 2009.2 the related line in as follows:

       $usrfields = explode("|", $extrafields);
       if (is_array($usrfields) && (count($usrfields) > 0)) {

Which is absolutely correct.
Your fix is wrong as you convert array to string.
Title: Re: com_contact problem
Post by: speck on April 27, 2010, 09:41:03
This is an error that has already been fixed. I can not check right now the version that was fixed. If you have an older version than 2009.1 please update your Elxis installation. On Elxis 2009.2 the related line in as follows:

       $usrfields = explode("|", $extrafields);
       if (is_array($usrfields) && (count($usrfields) > 0)) {

Which is absolutely correct.
Your fix is wrong as you convert array to string.

THANK DATAH  :)

i have 2009.1 rev2563

make the modify and it's all ok