Can't modify events from frontend
Discuss JEvents 2.x for Joomla 1.5-2.5 here - club members can use the special club forum for faster response times.
Forum rules
When requesting support, please copy and paste the 'Version information for Support Forum' from the JEvents Control Panel into your post. If you cannot see this, please enable JEvents project news within it's configuration. Also, if you get a 500 Error, Enable Joomla! Maximum Error Reporting and view the page again, you should now have a more detailed error which will help us to resolve you issue quickly.
When requesting support, please copy and paste the 'Version information for Support Forum' from the JEvents Control Panel into your post. If you cannot see this, please enable JEvents project news within it's configuration. Also, if you get a 500 Error, Enable Joomla! Maximum Error Reporting and view the page again, you should now have a more detailed error which will help us to resolve you issue quickly.
Can't modify events from frontend
by alccad » Mon Nov 12, 2012 1:36 pm
Hi,
I've just installed the 2.2.8 over my basic 2.5.7 local installation (supported by EasyPHP 5.4.6) and everything went fine. I'm using the Beez5 template from Joomla, so nothing special and few modules.
My need is a frontpage calendar everybody can use at public level (no login required): add edit or delete events are allowed.
All works fine, but If anybody tries to open an event detail and click over the edit icon, nothing happens no matter what browser he's using.
Down below I can only see that the edit icon link is "Javascript:Void(0)".
I'm not a programmer so the fix of this issue is not easy. I just know I used JEvents many other times, but never had troubles even if with previous version of Joomla and Jevents.
I've already serached the forum for similar situations, but the thread I've found are not enough explicit for me or end in a private message fix.
Can anybody support this problem, please?
I can post every info You need, but sorry in advance, I don't have a public URL to show.
Thank You in advance for Your time.
Alccad
EDIT: I tried using the console inside Chrome to see what happens when I click on the icon and the reply is:
Uncaught TypeError: Cannot read property 'style' of null
referred to the view_detail.js:82, and if I open it, I only get:
myDiv.style.opacity=opacities[currentOpacity];
which for me has not too much sense...
I've just installed the 2.2.8 over my basic 2.5.7 local installation (supported by EasyPHP 5.4.6) and everything went fine. I'm using the Beez5 template from Joomla, so nothing special and few modules.
My need is a frontpage calendar everybody can use at public level (no login required): add edit or delete events are allowed.
All works fine, but If anybody tries to open an event detail and click over the edit icon, nothing happens no matter what browser he's using.
Down below I can only see that the edit icon link is "Javascript:Void(0)".
I'm not a programmer so the fix of this issue is not easy. I just know I used JEvents many other times, but never had troubles even if with previous version of Joomla and Jevents.
I've already serached the forum for similar situations, but the thread I've found are not enough explicit for me or end in a private message fix.
Can anybody support this problem, please?
I can post every info You need, but sorry in advance, I don't have a public URL to show.
Thank You in advance for Your time.
Alccad
EDIT: I tried using the console inside Chrome to see what happens when I click on the icon and the reply is:
Uncaught TypeError: Cannot read property 'style' of null
referred to the view_detail.js:82, and if I open it, I only get:
myDiv.style.opacity=opacities[currentOpacity];
which for me has not too much sense...
- alccad
- Posts: 4
- Joined: Mon Nov 08, 2010 1:33 pm
Re: Can't modify events from frontend
by Tonyp » Mon Nov 12, 2012 2:33 pm
Hello,
So does the event detail page load? if not, is it white? please see:
http://www.jevents.net/jevents-15-topme ... -page-load
The JS error could be down to the partial load..
Regards
Tony
So does the event detail page load? if not, is it white? please see:
http://www.jevents.net/jevents-15-topme ... -page-load
The JS error could be down to the partial load..
Regards
Tony
---------------------------------------
Do not forget if you like JEvents, why not join the CLUB! for priority support and lots of excellent plugin's. JEvents Club
Do not forget if you like JEvents, why not join the CLUB! for priority support and lots of excellent plugin's. JEvents Club
-

Tonyp - Contributor
- Posts: 8717
- Joined: Tue Oct 12, 2010 9:12 pm
- Location: Isle of Man
Re: Can't modify events from frontend
by alccad » Mon Nov 12, 2012 3:05 pm
Hi Tony,
thankYou for Your time.
The event details page loads correctly (at lest from what I see) but it's the edit button that doesn't work.
So I tried to enable the error reporting at max level, damn.. the page becomes a nightmare.
I can see hundreds of lines referring to some Jevents errors like the following:
And (I don't know if it matters) "around" the edit icon (I don't know if errors are close to objects they refer to) I can read:
Again, sorry I'm not a programmer.
thankYou for Your time.
The event details page loads correctly (at lest from what I see) but it's the edit button that doesn't work.
So I tried to enable the error reporting at max level, damn.. the page becomes a nightmare.
I can see hundreds of lines referring to some Jevents errors like the following:
- Code: Select all
Strict Standards: Only variables should be assigned by reference in C:\Program Files\EasyPHP-12.1\www\administrator\components\com_jevents\libraries\config.php on line 34
Strict Standards: Non-static method JSite::getMenu() should not be called statically in C:\Program Files\EasyPHP-12.1\www\components\com_jevents\router.php on line 45
Strict Standards: Non-static method JApplication::getMenu() should not be called statically in C:\Program Files\EasyPHP-12.1\www\includes\application.php on line 539
Strict Standards: Only variables should be assigned by reference in C:\Program Files\EasyPHP-12.1\www\components\com_jevents\router.php on line 45
Strict Standards: Only variables should be assigned by reference in C:\Program Files\EasyPHP-12.1\www\components\com_jevents\router.php on line 87
Strict Standards: Non-static method JEVHelper::getNow() should not be called statically in C:\Program Files\EasyPHP-12.1\www\components\com_jevents\router.php on line 88
And (I don't know if it matters) "around" the edit icon (I don't know if errors are close to objects they refer to) I can read:
- Code: Select all
Strict Standards: Non-static method JVersion::isCompatible() should not be called statically in C:\Program Files\EasyPHP-12.1\www\components\com_jevents\libraries\helper.php on line 1869
Again, sorry I'm not a programmer.
- alccad
- Posts: 4
- Joined: Mon Nov 08, 2010 1:33 pm
Re: Can't modify events from frontend
by Tonyp » Mon Nov 12, 2012 3:08 pm
Hello,
That is how EasyPHP is configured.
http://lmgtfy.com/?q=Disable+strict+standards+Easy+PHP
Are you sure this is a fresh install of Joomla! with only JEvents installed?
What editor are you using?
That is how EasyPHP is configured.
http://lmgtfy.com/?q=Disable+strict+standards+Easy+PHP
Are you sure this is a fresh install of Joomla! with only JEvents installed?
What editor are you using?
---------------------------------------
Do not forget if you like JEvents, why not join the CLUB! for priority support and lots of excellent plugin's. JEvents Club
Do not forget if you like JEvents, why not join the CLUB! for priority support and lots of excellent plugin's. JEvents Club
-

Tonyp - Contributor
- Posts: 8717
- Joined: Tue Oct 12, 2010 9:12 pm
- Location: Isle of Man
Re: Can't modify events from frontend
by alccad » Fri Nov 16, 2012 3:15 pm
The link was nice, I tried to edit the php.ini as instructed, but if I save and restart EasyPhp strict errors are always there...
Joomla installation is fresh as the W7 machine used for the purpose.
I'm using TinyMCE.
Joomla installation is fresh as the W7 machine used for the purpose.
I'm using TinyMCE.
- alccad
- Posts: 4
- Joined: Mon Nov 08, 2010 1:33 pm
Re: Can't modify events from frontend
by Tonyp » Fri Nov 16, 2012 3:50 pm
Hello,
Likely you edited the wrong php file?
Unfortunately this is an EasyPhp configuration issue. I personally use AMPPS.
Regards
Tony
Likely you edited the wrong php file?
Unfortunately this is an EasyPhp configuration issue. I personally use AMPPS.
Regards
Tony
---------------------------------------
Do not forget if you like JEvents, why not join the CLUB! for priority support and lots of excellent plugin's. JEvents Club
Do not forget if you like JEvents, why not join the CLUB! for priority support and lots of excellent plugin's. JEvents Club
-

Tonyp - Contributor
- Posts: 8717
- Joined: Tue Oct 12, 2010 9:12 pm
- Location: Isle of Man
Re: Can't modify events from frontend
by alccad » Fri Nov 16, 2012 4:46 pm
It's
Anyway I've just installed Wamp on a new machine, installed Joomla and JEvents 2.2.8 only.
The same issue happens there too: people (public) can add but not edit their events as when clicking on the edit icon nothing happens.
The error is a bit more verbose:
And here is the file (is it normal it starts with "COMPONENT FOR JOOMLA 1.5.X"? I did download the package for 2.5..
):
- Code: Select all
c:\program files\easyphp-12.1\conf_files\php.ini
Anyway I've just installed Wamp on a new machine, installed Joomla and JEvents 2.2.8 only.
The same issue happens there too: people (public) can add but not edit their events as when clicking on the edit icon nothing happens.
The error is a bit more verbose:
- Code: Select all
Object required
View_detail.js line 82
Object required
View_detail.js line 82
Object required
View_details.js line 82
Code: 0
URL: http://localhost/test/components/com_jevents/assets/js/view_detail.js
Line:82
Char: 3
And here is the file (is it normal it starts with "COMPONENT FOR JOOMLA 1.5.X"? I did download the package for 2.5..
- Code: Select all
/**
* JEvents Component for Joomla 1.5.x
*
* @version $Id: view_detail.js 1539 2010-12-07 10:30:01Z geraintedwards $
* @package JEvents
* @copyright Copyright (C) 2008-2009 GWE Systems Ltd, 2006-2008 JEvents Project Group
* @license GNU/GPLv2, see http://www.gnu.org/licenses/gpl-2.0.html
* @link http://www.jevents.net
*/
var myFaderTimeout=null;
var interval=10000;
if (myFaderTimeout) clearTimeout(myFaderTimeout);
var opacities = new Array();
var increments = 10;
var pause = 50;
var currentOpacity = 0;
for (var i=0;i<=increments ;i++){
opacities[i] = (i*1.0)/(increments*1.0);
}
function closeAllDialogs(){
currentOpacity=0;
if (myFaderTimeout) clearTimeout(myFaderTimeout);
var myDiv = document.getElementById("action_dialog");
if (myDiv) myDiv.style.visibility="hidden";
var myDiv = document.getElementById("ical_dialog");
if (myDiv) myDiv.style.visibility="hidden";
}
function clickEditButton(){
if (window.ie6) {
var action = document.getElementById('action_dialog');
action.style.display="block";
return;
}
closeAllDialogs();
if (currentOpacity<0) currentOpacity = 0;
fadeIn("action_dialog");
}
function clickIcalSaveButton(){
closeAllDialogs();
if (currentOpacity<0) currentOpacity = 0;
fadeIn("action_dialog");
return false;
}
function closedialog() {
if (window.ie6) {
var action = document.getElementById('action_dialog');
action.style.display="none";
return;
}
if (currentOpacity>opacities.length) currentOpacity =opacities.length;
fadeOut("action_dialog");
}
function clickIcalButton(){
closeAllDialogs();
if (currentOpacity<0) currentOpacity = 0;
fadeIn("ical_dialog");
}
function closeical() {
if (currentOpacity>opacities.length) currentOpacity =opacities.length;
fadeOut("ical_dialog");
}
function fadeIn(dlg) {
var myDiv = document.getElementById(dlg);
currentOpacity++;
if (currentOpacity>=opacities.length){
if (myFaderTimeout) clearTimeout(myFaderTimeout);
}
else {
//window.status=opacities[currentOpacity];
myDiv.style.opacity=opacities[currentOpacity];
myDiv.style.filter="alpha(opacity="+(100*opacities[currentOpacity])+")";
myDiv.style.visibility="visible";
if (myFaderTimeout) clearTimeout(myFaderTimeout);
myFaderTimeout = setTimeout("fadeIn('"+dlg+"')",pause);
}
}
function fadeOut(dlg) {
var myDiv = document.getElementById(dlg);
if (!myDiv) return;
currentOpacity--;
if (currentOpacity<=0){
if (myFaderTimeout) clearTimeout(myFaderTimeout);
myDiv.style.visibility="hidden";
}
else {
myDiv.style.opacity=opacities[currentOpacity];
//window.status = opacities[currentOpacity];
myDiv.style.filter="alpha(opacity="+(100*opacities[currentOpacity])+")";
if (myFaderTimeout) clearTimeout(myFaderTimeout);
myFaderTimeout = setTimeout("fadeOut('"+dlg+"')",pause);
}
}
function setupIE6(){
if (window.ie6) {
var action = document.getElementById('action_dialog');
if(action){
action.style.visibility="visible";
action.style.display="none";
}
}
}
window.addEvent('domready',function(){setupIE6();});
function jevSetupAddLink(){
var tds = $$("td.cal_td_today");
for (var i=0; i<tds.length; i++)
{
element = tds[i];
element.addEvent('mouseover', function(){ this.addClass('showjevadd'); });
element.addEvent('mouseout', function(){ this.removeClass('showjevadd'); });
}
var tds = $$("td.cal_td_daysnoevents");
for (var i=0; i<tds.length; i++)
{
element = tds[i];
element.addEvent('mouseover', function(){ this.addClass('showjevadd'); });
element.addEvent('mouseout', function(){ this.removeClass('showjevadd'); });
}
var tds = $$("td.cal_td_dayshasevents");
for (var i=0; i<tds.length; i++)
{
element = tds[i];
element.addEvent('mouseover', function(){ this.addClass('showjevadd'); });
element.addEvent('mouseout', function(){ this.removeClass('showjevadd'); });
}
var tds = $$("td.jev_daynoevents");
for (var i=0; i<tds.length; i++)
{
element = tds[i];
element.addEvent('mouseover', function(){ this.addClass('showjevadd'); });
element.addEvent('mouseout', function(){ this.removeClass('showjevadd'); });
}
var tds = $$("td.jev_today");
for (var i=0; i<tds.length; i++)
{
element = tds[i];
element.addEvent('mouseover', function(){ this.addClass('showjevadd'); });
element.addEvent('mouseout', function(){ this.removeClass('showjevadd'); });
}
var tds = $$("div.jev_daynum");
for (var i=0; i<tds.length; i++)
{
element = tds[i];
element.addEvent('mouseover', function(){ this.addClass('showjevadd'); });
element.addEvent('mouseout', function(){ this.removeClass('showjevadd'); });
}
// for ext layout
var tds = $$("td.todayclr");
for (var i=0; i<tds.length; i++)
{
element = tds[i];
element.addEvent('mouseover', function(){ this.addClass('showjevadd'); });
element.addEvent('mouseout', function(){ this.removeClass('showjevadd'); });
}
var tds = $$("td.weekdayclr");
for (var i=0; i<tds.length; i++)
{
element = tds[i];
element.addEvent('mouseover', function(){ this.addClass('showjevadd'); });
element.addEvent('mouseout', function(){ this.removeClass('showjevadd'); });
}
var tds = $$("td.sundayclr");
for (var i=0; i<tds.length; i++)
{
element = tds[i];
element.addEvent('mouseover', function(){ this.addClass('showjevadd'); });
element.addEvent('mouseout', function(){ this.removeClass('showjevadd'); });
}
var tds = $$("td.sundayemptyclr");
for (var i=0; i<tds.length; i++)
{
element = tds[i];
element.addEvent('mouseover', function(){ this.addClass('showjevadd'); });
element.addEvent('mouseout', function(){ this.removeClass('showjevadd'); });
}
}
window.addEvent('domready',function(){jevSetupAddLink();});
- alccad
- Posts: 4
- Joined: Mon Nov 08, 2010 1:33 pm
Re: Can't modify events from frontend
by Tonyp » Fri Nov 16, 2012 5:21 pm
Yes it is normal as its Joomla 1.5 and upwards the component does all.
Can you install on a web server rather than testing locally as this is why you are having issues.
Regards
Tony
Can you install on a web server rather than testing locally as this is why you are having issues.
Regards
Tony
---------------------------------------
Do not forget if you like JEvents, why not join the CLUB! for priority support and lots of excellent plugin's. JEvents Club
Do not forget if you like JEvents, why not join the CLUB! for priority support and lots of excellent plugin's. JEvents Club
-

Tonyp - Contributor
- Posts: 8717
- Joined: Tue Oct 12, 2010 9:12 pm
- Location: Isle of Man
8 posts
• Page 1 of 1
Return to Jevents 2.x (Free Access)
Who is online
Users browsing this forum: Bing [Bot]

