Front end editting - java script for SAVE and APPLY not working

General questions relating to Joomla! There are other boards for more specific help on Joomla! features and extensions.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Narck
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Mon May 29, 2006 7:52 pm

Front end editting - java script for SAVE and APPLY not working

Post by Narck » Mon Jul 24, 2006 11:18 am

Hi there,

Migrated my Joomla installation to another machine, and changed the configuration.php etc etc
all was successful except for some dumb ass hardcoded urls that were not relative to installation - blah blah

NOW - dammit when editing pages from front-end login the "save" and "cancel" options do NOT work - but successfully saves changes when in Joomla's Administration back-end - Oh yeah I am using JCE Editor !!

Please could someone point me in right direction - really clueless:

Is there some config file I need to edit when moving boxes

"Really new to this awesome beast of a tool - Joomla"

Thanks guys

Narck
Last edited by infograf768 on Tue Aug 08, 2006 6:52 am, edited 1 time in total.

kurdi89
Joomla! Intern
Joomla! Intern
Posts: 84
Joined: Sat Mar 04, 2006 10:16 am

problem in the administration

Post by kurdi89 » Mon Jul 31, 2006 5:56 am

Hi:

I have a problem in the administration
when I open the page of a NEW CONTENT or EDIT CONTENT

they write in te status bar :((done , but with errors on page))

Image

then when I click SAVE or APPLY or CANCEL it doesn't excute

Image



so I can't make any new content, edit a content or do anything with the

contents and that's a big problem.

so what to do ?

terram
Joomla! Intern
Joomla! Intern
Posts: 66
Joined: Thu Jun 29, 2006 5:07 pm
Location: Pennsylvania, USA
Contact:

Re: problem in the administration

Post by terram » Mon Jul 31, 2006 4:29 pm

I have had this problem many times...

First go to your profile and mess around with your selected editor... if it say select editor select tiny or something else...

then whatever you selected go to configuration and select the same one...

now try it... if that didnt work... go back and select the other one until it works...

this has happened to me so many times... some times its tiny editor sometimes none...

hope this helps
Please search everywhere for your answer. Search is your friend and at most times can be faster.
Also when your question is answered, mark your topic solved.

User avatar
mporcheron
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 224
Joined: Mon May 29, 2006 5:45 pm
Location: UK
Contact:

Re: problem in the administration

Post by mporcheron » Mon Jul 31, 2006 4:32 pm

This issue is to do with domain www. parts.

for example if your live_site url is http://mysite.com/ and you login to the admin area at http://www.mysite.com/ you will get this error.

if you have apache server and are using the Joomla! sef add this to the bottom of your .htaccess file:

Code: Select all

RewriteCond %{HTTP_HOST} ^www.mysite.com [NC] 
RewriteRule ^(.*) http://mysite.com/$1 [L,R=301]
this will redirect all pages on http://www.mysite.com to http://mysite.com
Martin Porcheron - mpwebwizard.com

kurdi89
Joomla! Intern
Joomla! Intern
Posts: 84
Joined: Sat Mar 04, 2006 10:16 am

Re: problem in the administration

Post by kurdi89 » Mon Jul 31, 2006 4:43 pm

thanks everybody

I was always logging to the admisitrator form http://www.mysite.com/ and go to the administrator and saw that problem
but I tried to log in the admin form http://mysite.com/ I never seen that probelm

  :o :o :o :o :o

and It really worked

thanx everybody

User avatar
paulcoyote
Joomla! Apprentice
Joomla! Apprentice
Posts: 35
Joined: Tue Dec 13, 2005 1:23 pm

Re: Front end editting - java script for SAVE and APPLY not working

Post by paulcoyote » Mon Jul 31, 2006 5:11 pm

Hi everyone:

Same error for me. I've erased the cache, erased the website, fresh instalation... and nothing works. Save, apply and cancel buttons don't work.
I've tried to slash te www as recommended but doesn't works

Any GOOD idea?

User avatar
mporcheron
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 224
Joined: Mon May 29, 2006 5:45 pm
Location: UK
Contact:

Re: Front end editting - java script for SAVE and APPLY not working

Post by mporcheron » Mon Jul 31, 2006 5:14 pm

make sure your template has the following code in it's head:

Code: Select all

<?php
mosShowHead();
if ( $my->id ) {
	initEditor();
}
?>
Martin Porcheron - mpwebwizard.com

User avatar
paulcoyote
Joomla! Apprentice
Joomla! Apprentice
Posts: 35
Joined: Tue Dec 13, 2005 1:23 pm

Re: problem in the administration

Post by paulcoyote » Mon Jul 31, 2006 6:19 pm

Not working... I've tried allmost all solution proposed here, and still get the javascript error.

Any Idea?

Paul

User avatar
paulcoyote
Joomla! Apprentice
Joomla! Apprentice
Posts: 35
Joined: Tue Dec 13, 2005 1:23 pm

Re: Front end editting - java script for SAVE and APPLY not working

Post by paulcoyote » Mon Jul 31, 2006 6:25 pm

And in the Backend?

I also can't get save, apply and cancel in the backend, when editing content itmes. Also, when I click in "all content items" the list stops near the 20th.

I've reinstalled about 4 times my website. I'm using now Joomla 1.0.10, php 4.4.2, safe mode off, Apache

User avatar
mporcheron
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 224
Joined: Mon May 29, 2006 5:45 pm
Location: UK
Contact:

Re: problem in the administration

Post by mporcheron » Mon Jul 31, 2006 9:45 pm

what browser/version are you using?
Martin Porcheron - mpwebwizard.com

User avatar
mporcheron
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 224
Joined: Mon May 29, 2006 5:45 pm
Location: UK
Contact:

Re: Front end editting - java script for SAVE and APPLY not working

Post by mporcheron » Mon Jul 31, 2006 9:50 pm

hi paulcoyote,

if you have a problem could you post it in ONE topic not two; for this reason could a mod mark this one as solved and i'll answer your problem in the other thread (link below). 

paulcoyote, please refer to this topic http://forum.joomla.org/index.php/topic,81499.0.html
Martin Porcheron - mpwebwizard.com

User avatar
paulcoyote
Joomla! Apprentice
Joomla! Apprentice
Posts: 35
Joined: Tue Dec 13, 2005 1:23 pm

Re: problem in the administration

Post by paulcoyote » Mon Jul 31, 2006 10:01 pm

Hi:

I'm using IE 5 & 6, Firefox, Opera, IE 5 in a win98 machine... I've just tried in a Cybercafe downtown... nothing works

Thanks

Paul

User avatar
mporcheron
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 224
Joined: Mon May 29, 2006 5:45 pm
Location: UK
Contact:

Re: problem in the administration

Post by mporcheron » Mon Jul 31, 2006 10:17 pm

i've thought of other possibilities,

* do you have javascript enabled,
* have you modified or changed the jooomla admin template
* what version of Joomla! are you running, are ALL files updated to this version?
Martin Porcheron - mpwebwizard.com

User avatar
paulcoyote
Joomla! Apprentice
Joomla! Apprentice
Posts: 35
Joined: Tue Dec 13, 2005 1:23 pm

Re: problem in the administration

Post by paulcoyote » Mon Jul 31, 2006 10:25 pm

I've checked the browser settings... java and javascript enabled in my laptop and my desktop pc.

I'm uploading again 1.0.10 all in binary mode... I'll get back with news.

This is driving me crazy...

User avatar
paulcoyote
Joomla! Apprentice
Joomla! Apprentice
Posts: 35
Joined: Tue Dec 13, 2005 1:23 pm

Re: problem in the administration

Post by paulcoyote » Tue Aug 01, 2006 1:26 am

Me again...

I've erased the whole site, instaled a fresh Joomla, restored de DB... and backend does not work...

Now I can update from the frontend, but in the backend still can't save, apply or cancel.

Another issue: I've just get "almost 20" items when request all content items. Following, a drawing.

Image

--
PHP built On:  Linux server106.tchmachines.com 2.6.9-11.ELsmp #1 SMP Wed Jun 8 17:54:20 CDT 2005 i686
Database Version: 4.1.19-standard
PHP Version: 4.4.2
Web Server: Apache
WebServer to PHP interface: apache
Joomla! Version: Joomla! 1.0.10 Stable [ Sundown ] 26 June 2006 00:00 UTC
User Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; es-AR; rv:1.8.0.5) Gecko/20060719 Firefox/1.5.0.5
Relevant PHP Settings:
Safe Mode: OFF
Open basedir: /home/whkplgfm/:/usr/lib/php:/usr/local/lib/php:/tmp
Display Errors: ON
Short Open Tags: ON
File Uploads: ON
Magic Quotes: ON
Register Globals: ON
Output Buffering: OFF
Session save path: /tmp
Session auto start: 0
XML enabled: Yes
Zlib enabled: Yes
Disabled Functions: none
WYSIWYG Editor: No WYSIWYG Editor
Configuration File:

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 19133
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: Front end editting - java script for SAVE and APPLY not working

Post by infograf768 » Tue Aug 01, 2006 6:57 am

Thread merged with the suggested one.  :)
Jean-Marie Simonet / infograf · http://www.info-graf.fr
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

User avatar
paulcoyote
Joomla! Apprentice
Joomla! Apprentice
Posts: 35
Joined: Tue Dec 13, 2005 1:23 pm

Re: Front end editting - java script for SAVE and APPLY not working

Post by paulcoyote » Tue Aug 01, 2006 2:50 pm

Infograf... thanks for join the discussion... hopefully we will find a solution for all

Regards

Paul

User avatar
paulcoyote
Joomla! Apprentice
Joomla! Apprentice
Posts: 35
Joined: Tue Dec 13, 2005 1:23 pm

Re: Front end editting - java script for SAVE and APPLY not working

Post by paulcoyote » Tue Aug 01, 2006 3:18 pm

A couple of toughts:

When I see the configuration.php in the backend, the last lines read:
$mosConfig_uniquemail = '1';
$mosConfig_user = 'xxxxxx'
$mosConfig_user = 'xxxxxx'
$mosConfig_vote = '0';
setlocale (LC_TIME, $mosConfig_locale);
But in the original configuration.php:
$mosConfig_uniquemail = '1';
$mosConfig_user = 'xxxxxx';
$mosConfig_useractivation = '1';
$mosConfig_vote = '0';
setlocale (LC_TIME, $mosConfig_locale);
Could it be the error? Or just a bug in display the configuration.php?

I read something in a Mambo forum:
okey dokey, I just fixed it by putting a trailing slash after the path in $mosConfig_absolute_path in the configuration.php file. Even though it has been working for months without the trailing slash!

$mosConfig_absolute_path = '/home/mysite/public_html/';
Gotta try this later

Gruessi

Paul

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 19133
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: Front end editting - java script for SAVE and APPLY not working

Post by infograf768 » Tue Aug 01, 2006 3:31 pm

Could you check with phpmyadmin that all your tables have the same prefix?
I see you used mos_ in the configuration.php above.
By default, Joomla now installs as jos_

What I would do is to install a fresh Joomla on a fresh database and test.
This would show if it is database related or not.
Jean-Marie Simonet / infograf · http://www.info-graf.fr
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

User avatar
paulcoyote
Joomla! Apprentice
Joomla! Apprentice
Posts: 35
Joined: Tue Dec 13, 2005 1:23 pm

Re: Front end editting - java script for SAVE and APPLY not working

Post by paulcoyote » Wed Aug 02, 2006 2:37 am

I've just made a fresh installation... and still not working

Even with the DB empty, the editor doesn't work

Ideas?

User avatar
paulcoyote
Joomla! Apprentice
Joomla! Apprentice
Posts: 35
Joined: Tue Dec 13, 2005 1:23 pm

Re: Front end editting - java script for SAVE and APPLY not working

Post by paulcoyote » Wed Aug 02, 2006 5:00 am

More bad news:

I've reinstalled MAMBO 4,5,4 and guess what? it does not work!

Could it be possible a server error?

Regards

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 19133
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: Front end editting - java script for SAVE and APPLY not working

Post by infograf768 » Wed Aug 02, 2006 6:52 am

Looks like some settings are indeed concerned.
Have you upgraded php recently.
There were some problems with version 4.4.2
Jean-Marie Simonet / infograf · http://www.info-graf.fr
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

User avatar
paulcoyote
Joomla! Apprentice
Joomla! Apprentice
Posts: 35
Joined: Tue Dec 13, 2005 1:23 pm

Re: Front end editting - java script for SAVE and APPLY not working

Post by paulcoyote » Wed Aug 02, 2006 1:16 pm

Hi Infograf:

I'm in a shared server... can't update.

I''ve requested support to my host... let's see what happen.

In the meanwhile, any further idea?

Regards

Paul

User avatar
paulcoyote
Joomla! Apprentice
Joomla! Apprentice
Posts: 35
Joined: Tue Dec 13, 2005 1:23 pm

re: java script for SAVE and APPLY not working

Post by paulcoyote » Wed Aug 02, 2006 3:12 pm

UPDATE (still not solved):

- I've erased all the public_html directory
- Installed via fantastico a fresh copy of Joomla
- Tested the item editor, modified some items
- Erased all the sample content
- Erased all the categories and sections
- Created a new section
- Created a new category
- Try to edit an item... AND STOP WORKING!!! the same javascript error

I'm about to cry...

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 19133
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: Front end editting - java script for SAVE and APPLY not working

Post by infograf768 » Wed Aug 02, 2006 3:26 pm

I suggest you do NOT use fantastico but the web installer using a fresh copy of Joomla dowloaded from the forge.
We have been told of many problems through Fantastico solved this way.
Jean-Marie Simonet / infograf · http://www.info-graf.fr
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

User avatar
paulcoyote
Joomla! Apprentice
Joomla! Apprentice
Posts: 35
Joined: Tue Dec 13, 2005 1:23 pm

Re: Front end editting - java script for SAVE and APPLY not working

Post by paulcoyote » Wed Aug 02, 2006 6:39 pm

ALMOST SOLVED:

- New fresh install (no using fantastico) http://www.estrellasecuatorianas.com on line
- Started editing... everything works
- Uploaded the template... keep working
- Uploaded the images directory... STOP WORKING!!!

I was using JCE EDITOR before the error... The editor of the webpage had uploaded a lot of pictures in the main directory of the images (/website/images/)... I delete all the images and the site works well

I'm not sure wich image is the one who is causing the trouble. I upladed 2 directories inside the /stories and stop working again. I'm uploading the images again, one by one, and see what happen.

The only isue that still is not solved is that in the full list of content items, I still get until the #20... and stops. But editor works (I'm using tynimce now)

I'll keep you posted

Paul

User avatar
mporcheron
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 224
Joined: Mon May 29, 2006 5:45 pm
Location: UK
Contact:

Re: Front end editting - java script for SAVE and APPLY not working

Post by mporcheron » Wed Aug 02, 2006 8:09 pm

are these problems in the front or backend  of your website, or both?
Martin Porcheron - mpwebwizard.com

User avatar
paulcoyote
Joomla! Apprentice
Joomla! Apprentice
Posts: 35
Joined: Tue Dec 13, 2005 1:23 pm

Re: Front end editting - java script for SAVE and APPLY not working

Post by paulcoyote » Wed Aug 02, 2006 9:18 pm

I haven't tried in the front end because the site does not have a front end access for editing, then... just in the backend

Still testing...

User avatar
mporcheron
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 224
Joined: Mon May 29, 2006 5:45 pm
Location: UK
Contact:

Re: Front end editting - java script for SAVE and APPLY not working

Post by mporcheron » Wed Aug 02, 2006 10:30 pm

the only thing i can think of is that there is a setting on your server which stops the page loading? 

does anything appear after line 20? ie. copyright or anything?
Martin Porcheron - mpwebwizard.com

svandena
Joomla! Apprentice
Joomla! Apprentice
Posts: 12
Joined: Mon Mar 06, 2006 3:30 pm
Location: Florida

Re: Front end editting - java script for SAVE and APPLY not working

Post by svandena » Wed Aug 02, 2006 11:24 pm

For what it's worth, I'm on the same webhost as paulcoyote.  I just loaded joomla 1.0.10 using fantastico and have not had a problem. Maybe they got the bugs worked out! :-\  Intersting dilemma!
Steve
----------
"Remember there is somebody somewhere that always knows more than you!" - Unknown


Locked

Return to “General Questions - 1.0.x”