|
mmarch
|
 |
« on: August 14, 2007, 12:40:43 » |
|
Hi!!! I have problem with update a user profile from Front end. To existing user fields i added new one. After that i login like a user and tried update new field, but unfortunately after pushing update button nothing not happen. Why 
|
|
|
|
|
Logged
|
|
|
|
|
eliasan
|
 |
« Reply #1 on: August 14, 2007, 13:32:45 » |
|
Hi,
You create new Extra Fields from Site -> User Manager -> Extra Fields -> New. Among the parameters of Extra Fields is one called "Read Only". If this one is set to "Yes", then you cannot change its value from public frontend. Is this the case?
|
|
|
|
|
Logged
|
|
|
|
|
mmarch
|
 |
« Reply #2 on: August 14, 2007, 13:38:14 » |
|
OkI will check itnow, and let you know.
Thanks
|
|
|
|
|
Logged
|
|
|
|
|
mmarch
|
 |
« Reply #3 on: August 14, 2007, 13:40:46 » |
|
No there was OK This field was Not Read Only.
|
|
|
|
|
Logged
|
|
|
|
|
mmarch
|
 |
« Reply #4 on: August 16, 2007, 11:19:58 » |
|
Is it possible that this problem is that i use 3d party add-ons. I has similar problem on one of my sites with 3d part add-ons, but i have not this problem with sites where i didn't use a 3rd party add-ons?
Is it possible, and how i can get it know?
|
|
|
|
|
Logged
|
|
|
|
|
mmarch
|
 |
« Reply #5 on: August 16, 2007, 11:24:27 » |
|
Few days ago installed add-on to FF - FireBug and checked problem. document.adminForm has no properties http://www.andersonstownleisurecentre.info/includes/js/mambojavascript.jsLine 348 - * Submit the admin form */ function submitform(pressbutton){ document.adminForm.task.value=pressbutton; try { document.adminForm.onsubmit(); } catch(e){} document.adminForm.submit(); } 348 line - document.adminForm.task.value=pressbutton; Is it possible to fix it?
|
|
|
|
|
Logged
|
|
|
|
|
Ivan Trebješanin
|
 |
« Reply #6 on: August 16, 2007, 13:07:21 » |
|
Don't touch any script/php. I would try to reinstall Elxis. Just remember to backup the DB
|
|
|
|
|
Logged
|
I've got a snap in my finger... Got rhythm in my walk...
|
|
|
|
mmarch
|
 |
« Reply #7 on: August 16, 2007, 15:56:26 » |
|
Yeaa, i did it  I reinstalled and after that installed 3rd part addons. After that i am unable to update user profile from front end. And add-on for FF - FireBug gave me this error.
|
|
|
|
|
Logged
|
|
|
|
kboy_16
Newbie
Offline
Posts: 4
|
 |
« Reply #8 on: September 17, 2007, 08:02:17 » |
|
Hello all.. I really need your help.. Today i installed elxis.. and i got in the administration, i went to the Global Configuration but whenever i try to save it says a javascript error: 'document.adminForm.task' is null or not an objectI'm using IE 7 and also tried it with Firefox with no success..  I don't know how to fix this.. Could someame please guide me.. Thank u in advance! Regards.
|
|
|
|
« Last Edit: September 17, 2007, 08:03:55 by kboy_16 »
|
Logged
|
|
|
|
|
datahell
|
 |
« Reply #9 on: September 17, 2007, 09:21:42 » |
|
This is a general javascript function that is used from ALL backend and many front-end components and there is no problem with that function. If there was a problem with that function it would be impossible to save anything. Why it does not work for you? I don't know. Maybe you miss some files. Does this problem happens only in a certain component or everywhere?
If it is for frontend Elxis 2006.x loads mambojavascript.js ONLY if you have login in the site. So, in that case, you will have problem for sure. But not logged in users are not allowed to post anything. So, normaly: no problem.
Notice: Elxis 2008.x always loads elxis.js regardless if you are logged in or not. mambojavascript.js removed from Elxis 2008.
|
|
|
|
« Last Edit: September 17, 2007, 09:27:07 by datahell »
|
Logged
|
|
|
|
kboy_16
Newbie
Offline
Posts: 4
|
 |
« Reply #10 on: September 17, 2007, 15:52:10 » |
|
Hi datahell, thank u for your answer.. I uploaded all the files from the administrator folder.. This problem just happens in the Global Configuration.. I can save in the others administration sections..
|
|
|
|
|
Logged
|
|
|
|
|
datahell
|
 |
« Reply #11 on: September 17, 2007, 18:39:01 » |
|
Hmmmm...... Two cases of which the first is the most likely:
1. Your php misses posix functions. Open /administrator/components/com_config/admin.config.html.php Comment lines 839, 840 and 841: // $owner = @fileowner( $mosConfig_absolute_path ); // $owner = @posix_getpwuid($owner); // $owner = $owner['name']; Write bellow: $owner = 'Unknown';
Save the file. Done. 2. You have setup wrong FTP. Check FTP path.
|
|
|
|
|
Logged
|
|
|
|
kboy_16
Newbie
Offline
Posts: 4
|
 |
« Reply #12 on: September 17, 2007, 20:59:43 » |
|
thanks a lot datahell!!  that would do the trick.. now it's working!
|
|
|
|
|
Logged
|
|
|
|
|
datahell
|
 |
« Reply #13 on: September 17, 2007, 22:02:36 » |
|
You will have the same issue in tool "chmod". If you use this tool you can fix it the same way. Posix functions are also used in filemanager. Elxis 2008 checks if you have posix installed before use it's functions.
Notice: Posix functions are in the standard php distribution and exist in almost 99% of the servers.
|
|
|
|
|
Logged
|
|
|
|
kboy_16
Newbie
Offline
Posts: 4
|
 |
« Reply #14 on: September 18, 2007, 02:53:36 » |
|
OK Datahell.. and when will Elxis 2008 be released?
|
|
|
|
|
Logged
|
|
|
|
|