Home » Forum
NoNumber!

Joomla!® Websites & Extensions
development  -  support  -  consultancy

I try to respond within 48 hours (excluding weekends).
If I haven't responded by then, feel free to post a reminder or bug me via email.

My last reply was: 16 Hours, 46 Minutes ago.

Welcome, Guest
Please Login or Register.    Lost Password?

Problem on wamp localhost
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Problem on wamp localhost
#6041
Problem on wamp localhost 2 Years, 1 Month ago  
Hello

It seems that there is a problem in the javascript code generated by "cache cleaner" in case of a wamp server on a windows localhost.

A // appears in the generated paths and the paths are therefore breaked. It works perfectly on an unix system.
It seems that the code does not take into account the running O.S.

Extract of generated code:
-------------------------------------------
{
cachecleaner_show_start();
var myXHR = new XHR( {
method: 'get',
onSuccess: function( data ) {
$( 'cachecleaner_msg' ).addClass( 'success' );
$( 'cachecleaner_msg' ).setText( 'Cache nettoyé' );
cachecleaner_show_end( 2000 );
},
onFailure: function() {
$( 'cachecleaner_msg' ).addClass( 'failure' );
$( 'cachecleaner_msg' ).setText( 'Le cache n'a pas pu être nettoyé' );
cachecleaner_show_end( 2000 );
}
} );
myXHR.send( 'localhost/joomla//administrator/index.php?cleancache=1' );
}
var cachecleaner_show_start = function() {
$( 'cachecleaner_msg' )
.setHTML( '<img src="localhost/joomla//administrator/modules/...es/loading.gif" alt="" /> Cache en cours de nettoyage' )
.removeClass( 'success' ).removeClass( 'failure' )
.addClass( 'visible' );

$clear( cachecleaner_delay );
cachecleaner_fx.stop();
cachecleaner_fx.start({
'opacity': 0.8,
duration: 400
});
};
----------------------------------------------
Regards
Daniel
dpardons
Posts: 10
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
#6043
Problem on wamp localhost 2 Years, 1 Month ago  
It's wrong on all setups. Will fix in next version.

line 63 of /administrator/modules/mod_cachecleaner/mod_cachecleaner.php
.setHTML( '<img src="".JURI::root()."/administrator...

should be:
.setHTML( '<img src="".JURI::root()."administrator...

Peter van Westen
Admin
Posts: 9165
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
Need to contact me directly? Go to my contact page.
If you use any NoNumber! extensions, please post a rating and a review at the Joomla! Extensions Directory.
Are you happy with the support? Please consider buying a License Code to help me to continue development and support.
 
#6083
Problem on wamp localhost 2 Years, 1 Month ago  
Hello Peter

I was thincking that was the problem on a windows system but it is not.
Do you have ever tested cache cleaner on a WAMP system?
I tested it on several joomla installations and finally on a fresh joomla installation, it does not work.

Any suggestion?

Daniel
dpardons
Posts: 10
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
#6084
Problem on wamp localhost 2 Years, 1 Month ago  
I test it on a XAMPP (windows) setup and on a live setup (Linux).

I think the problem is that the fix I gave you was only for one of the lines. There is a path just above it (59) that needs the same fix:
myXHR.send( '".JURI::root()."/administrator...

should be:
myXHR.send( '".JURI::root()."administrator...

Peter van Westen
Admin
Posts: 9165
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
Need to contact me directly? Go to my contact page.
If you use any NoNumber! extensions, please post a rating and a review at the Joomla! Extensions Directory.
Are you happy with the support? Please consider buying a License Code to help me to continue development and support.
 
#6087
Problem on wamp localhost 2 Years, 1 Month ago  
Hi Peter

I found already the 2 lines and corrected it.
Need more investigation.
Will try to install a XAMP server to test again during W.E.

Daniel
dpardons
Posts: 10
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
#6093
Problem on wamp localhost 2 Years, 1 Month ago  
PS: You are the only one who has reported this
Peter van Westen
Admin
Posts: 9165
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
Need to contact me directly? Go to my contact page.
If you use any NoNumber! extensions, please post a rating and a review at the Joomla! Extensions Directory.
Are you happy with the support? Please consider buying a License Code to help me to continue development and support.
 
#6108
Problem on wamp localhost 2 Years, 1 Month ago  
Peter

I found the problem. The french translation file of the module was not saved correctly in utf8 and this was blocking the process.

I will send you tomorrow morning all the french files after putting a look on your new version 1.0.0.

Thanks for the support.
Daniel
dpardons
Posts: 10
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
#6112
Problem on wamp localhost 2 Years, 1 Month ago  
I have a pile of translations for different extensions I need to publish (UTF-8 of course).
Peter van Westen
Admin
Posts: 9165
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
Need to contact me directly? Go to my contact page.
If you use any NoNumber! extensions, please post a rating and a review at the Joomla! Extensions Directory.
Are you happy with the support? Please consider buying a License Code to help me to continue development and support.
 
Go to topPage: 1
Moderators: Peter van Westen
Open Source Training | Online Joomla! Training and Support
hosting joomla
MaxCDN | Content Delivery Network | Accelerate your site to the max