HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


getting replace_comments_form_with_ajax is not defined error

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#85264 (In Topic #17536)
Avatar

Community saint

In the process of upgrading from 7.1.6 to 8.01 on 2 of my 4 sites and I am getting error showing up when I click on Galleries:

An error occurred when loading this screen onto the web browser. You are being notified of this as you are staff. If you believe this is a bug in the software, please contact ocProducts with full details. More details are available in your browsers error console. The error was:

1237: replace_comments_form_with_ajax is not defined
http://ocporttalfan.com/index.php?page=galleries&type=misc&root=root


Also getting error when I click on Tree:

An error occurred when loading this screen onto the web browser. You are being notified of this as you are staff. If you believe this is a bug in the software, please contact ocProducts with full details. More details are available in your browsers error console. The error was:

13: assignment to undeclared variable scanner_for_b
http://ocporttalfan.com/themes/default_clone/templates_cached/EN/javascript_splurgh.js


Art and Imagination
of David L Friend

http://davidlfriend.com

  My Art Gallery
powered by ocPortal
Back to the top
 
Posted
Rating:
#85267
Avatar

First issue will be an override of the default JAVASCRIPT.tpl template, which needs cleaning out.

Second issue is a real bug. Fix attached:
Attachment
themes/default/templates/JAVASCRIPT_SPLURGH.tpl
» Download: JAVASCRIPT_SPLURGH.tpl (3 Kb, 117 downloads so far)


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#85273
Avatar

Community saint

Thanks I think that fixed one of the problems but I am getting this when I click on Account:

An error has occurred

The requested page (myhome) is missing.

Also how would I override of the default JAVASCRIPT.tpl template and clean it out?


Art and Imagination
of David L Friend

http://davidlfriend.com

  My Art Gallery
powered by ocPortal
Back to the top
 
Posted
Rating:
#85275
Avatar

Somehow you've got a themes/*/templates_custom/JAVASCRIPT.tpl file. If you don't know why, just delete it and clear the template cache.

Regarding myhome, delete the Account link – personal zone no longer exists (merged with members module in site zone now)


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#85278
Avatar

Community saint

I only found the Javascript.tpl in */templates.

In */templates_cached and */templates_custom you find only the index.html and .htaccess files


Art and Imagination
of David L Friend

http://davidlfriend.com

  My Art Gallery
powered by ocPortal
Back to the top
 
Posted
Rating:
#85280
Avatar

Try emptying your browser cache instead then.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#85281
Avatar

Community saint

Also my top menu reads
    personalzone | Site | Forums | Account | Collaboration Zone | Content Management | Admin Zone

and if I am understanding you I should delete
ACCOUNT and PERSONALZONE?


Art and Imagination
of David L Friend

http://davidlfriend.com

  My Art Gallery
powered by ocPortal
Back to the top
 
Posted
Rating:
#85282
Avatar

Community saint

Chris Graham said

Try emptying your browser cache instead then.

Clearing the browser cache seems to have fixed the not defined error so I'm still wondering if I am I should delete both ACCOUNT and PERSONALZONE from menu?


Art and Imagination
of David L Friend

http://davidlfriend.com

  My Art Gallery
powered by ocPortal
Back to the top
 
Posted
Rating:
#85283
Avatar

Community saint

When I click on the member test from the members list I get this error

An error has occurred

An error occurred when loading this screen onto the web browser. You are being notified of this as you are staff. If you believe this is a bug in the website software, please contact ocProducts with full details. More details are available in your browser's error console. The error was: 5173: event is not defined http://ocportalfan.com/index.php?page=members&type=view&id=test



Art and Imagination
of David L Friend

http://davidlfriend.com

  My Art Gallery
powered by ocPortal
Back to the top
 
Posted
Rating:
#85292
Avatar

friendly said

Chris Graham said

Try emptying your browser cache instead then.

Clearing the browser cache seems to have fixed the not defined error so I'm still wondering if I am I should delete both ACCOUNT and PERSONALZONE from menu?

yes, delete.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#85294
Avatar

friendly said

When I click on the member test from the members list I get this error

An error has occurred

An error occurred when loading this screen onto the web browser. You are being notified of this as you are staff. If you believe this is a bug in the website software, please contact ocProducts with full details. More details are available in your browser's error console. The error was: 5173: event is not defined http://ocportalfan.com/index.php?page=members&type=view&id=test



Can you bring this up again when the site is open? I can't reproduce this, so I suspect it is an overridden template, but I can't work out which at the moment.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#85302
Avatar

Community saint

Chris Graham said

friendly said

When I click on the member test from the members list I get this error

An error has occurred

An error occurred when loading this screen onto the web browser. You are being notified of this as you are staff. If you believe this is a bug in the website software, please contact ocProducts with full details. More details are available in your browser's error console. The error was: 5173: event is not defined http://ocportalfan.com/index.php?page=members&type=view&id=test


Can you bring this up again when the site is open? I can't reproduce this, so I suspect it is an overridden template, but I can't work out which at the moment.
I opened the site (ocPortal Fan) which is an almost virginal ''out of the package" ocPortal install.

Interestingly enough I am able to log out and enter as guest and perform the operation without the error message but when I log in and go to FORUMS and click on members then click on a members name I get the previously noted error message.


Art and Imagination
of David L Friend

http://davidlfriend.com

  My Art Gallery
powered by ocPortal
Back to the top
 
Posted
Rating:
#85303
Avatar

Community saint

friendly said

… interestingly enough I am able to log out and enter as guest and perform the operation without the error message but when I log in and go to FORUMS and click on members then click on a members name I get the previously noted error message.

You're obviously teasing and have fixed it - yes?



 :lol:




AHHHH! I now note that you only get the error when you 'login', and since I got those results as a 'guest', you probably still have the issue. Sorry!

 :o

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#85305
Avatar

Community saint

Fletch said

friendly said

… interestingly enough I am able to log out and enter as guest and perform the operation without the error message but when I log in and go to FORUMS and click on members then click on a members name I get the previously noted error message.

You're obviously teasing and have fixed it - yes?



 :lol:




AHHHH! I now note that you only get the error when you 'login', and since I got those results as a 'guest', you probably still have the issue. Sorry!

 :o

Houston, the problem is still with us (me)


Art and Imagination
of David L Friend

http://davidlfriend.com

  My Art Gallery
powered by ocPortal
Back to the top
 
Posted
Rating:
#85309
Avatar

Ok, this is a bug that I think happens when the following coincide:
  • 8.0.1 (not 8.0.0)
  • Firefox (I think)
  • When viewing a profile you have edit access on
  • If you're admin

A fix is attached.

Attachment
themes/default/templates/FORM_SCREEN_INPUT_RADIO_LIST.tpl
» Download: FORM_SCREEN_INPUT_RADIO_LIST.tpl (895 Bytes, 110 downloads so far)


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#85310
Avatar

Community saint

Appears to have done it, thanks Chris


Art and Imagination
of David L Friend

http://davidlfriend.com

  My Art Gallery
powered by ocPortal
Back to the top
 
Posted
Rating:
#86470
Avatar

Honoured member

this fixed the same issue for me, thanks Chris
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: